ddi_dma_numwin(9F) Kernel Functions for Drivers ddi_dma_numwin(9F)NAME
ddi_dma_numwin - retrieve number of DMA windows
SYNOPSIS
#include <sys/ddi.h>
#include <sys/sunddi.h>
int ddi_dma_numwin(ddi_dma_handle_t handle, uint_t *nwinp);
PARAMETERS
handle The DMA handle previously allocated by a call to ddi_dma_alloc_handle(9F).
nwinp Upon a successful return, nwinp will contain the number of DMA windows for this object.
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
DESCRIPTION
ddi_dma_numwin() returns the number of DMA windows for a DMA object if partial resource allocation was permitted.
RETURN VALUES
ddi_dma_numwin() returns:
DDI_SUCCESS Successfully filled in the number of DMA windows.
DDI_FAILURE DMA windows are not activated.
CONTEXT
ddi_dma_numwin() can be called from user, kernel, or interrupt context.
SEE ALSO ddi_dma_addr_bind_handle(9F), ddi_dma_alloc_handle(9F), ddi_dma_buf_bind_handle(9F), ddi_dma_unbind_handle(9F)
Writing Device Drivers
SunOS 5.10 29 Sep 1994 ddi_dma_numwin(9F)
Check Out this Related Man Page
ddi_dma_numwin(9F) Kernel Functions for Drivers ddi_dma_numwin(9F)NAME
ddi_dma_numwin - retrieve number of DMA windows
SYNOPSIS
#include <sys/ddi.h>
#include <sys/sunddi.h>
int ddi_dma_numwin(ddi_dma_handle_t handle, uint_t *nwinp);
PARAMETERS
handle The DMA handle previously allocated by a call to ddi_dma_alloc_handle(9F).
nwinp Upon a successful return, nwinp will contain the number of DMA windows for this object.
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
DESCRIPTION
ddi_dma_numwin() returns the number of DMA windows for a DMA object if partial resource allocation was permitted.
RETURN VALUES
ddi_dma_numwin() returns:
DDI_SUCCESS Successfully filled in the number of DMA windows.
DDI_FAILURE DMA windows are not activated.
CONTEXT
ddi_dma_numwin() can be called from user, kernel, or interrupt context.
SEE ALSO ddi_dma_addr_bind_handle(9F), ddi_dma_alloc_handle(9F), ddi_dma_buf_bind_handle(9F), ddi_dma_unbind_handle(9F)
Writing Device Drivers
SunOS 5.10 29 Sep 1994 ddi_dma_numwin(9F)
I wrote a program to format data with awk. This file will goto a windows machine and loaded into a windows app. The vendor said adding a line feed would help, but it would work as is. I am already doing a /n, will putting on the /r give the windows person what he wants. Thanks. (5 Replies)
I use windows and I wanted to know how I can use shell script in windows. I saw windows power shell but the commands they use seem to be different from those I know as a newbie. For example I wanted to change the permission of a file using chmod, but it doesn't recognise such a command. So I would... (12 Replies)
Hi guyz,
I have a Solaris 5.9 box from which i need to connect to a windows server using Coreftp (passwordless login). Coreftp is installed on windows and in solaris, it is already available.I generated a pair of key(public,private) in windows and specify pub key over there, edit the know_hosts... (7 Replies)
Hi All,
I need to call a unix script from windows bat file, please help if that can be done.
I cant install cygwin or putty or any other ssh on server.....!
do we have anything else? (8 Replies)
I'm trying to write a script to convert a unix text file to windows/dos format. Essentially all I want to do is replace the Unix return with a windows one.
on the command line I can do this successfully by:
sed s/$/^M/ ~/unix.txt ~/dos.txt
when I put this line in my shell script it... (5 Replies)
HI ! all
I have some model which works fine in windows 7 OS with matlab program I want to run all those from Ubuntu 12.04 32-bit OS.
is there any provision to run windows applications? wine I tried, its not working, if any other available kindly explain the usage also
Note : Dual boot ... (5 Replies)
Hi All,
I wanted to run a small socket application written in C on windows.
The code was written for GNU/linux..the compiler on windows CodeBlocks complains about the sys headers.
is there an equivalent for windows ? (4 Replies)
Hi guys
Let me start by saying that I'm a newbie, so feel free to point me to any good reading material. What I wanted to do is copy some specific files from windows to unix. Let me elaborate my view.
Let's say I have some directory tree in unix, CHO-species/C2H1O1/ VAS-S005-001-Ru444/OPT-0/,... (16 Replies)
I'm a windows user going to Linux I've tried manjaro, zorin, and other ones :p
But none of them will connect to the internet. :confused:
I use a cable. ;)
I'm running windows 8 :( and I'm trying to dual boot :eek:
Can anyone help me? :confused:
:b: - CamCK :b: (6 Replies)
Hello Friends,
I have observed one recent issue about ftp from windows to Linux.
Initially we had Solaris unix and any file sent from windows to solaris via ftp (binary or ascii) worked smoothly.
Say for e.g if I sent a shell script to soalris from windows, that script used to run corectly.... (17 Replies)
Hi, totally new to linux base using windows when started learning and using computers.
but i remember that one pc was there , look alike windows desktop, but could not do the task as windows just click and open and view edit etc. But, you could do a little differently even saving in and opening... (8 Replies)