pio_bcopyout(D3X)

pio_bcopyout - copy data from kernel's virtual space to a bus (I/O) address

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     pio_bcopyout - copy data from kernel's virtual space to a bus (I/O)
     address

SYNOPSIS
     #include <sys/types.h>
     #include <sys/ddi.h>
     #include <sys/pio.h>

     int pio_bcopyout (piomap_t *piomap, iopaddr_t iopaddr, void *kvaddr,
                   int size, int itmsz, int flag);

   Arguments
     piomap
          The PIO map returned from pio_mapalloc(D3X).

     iopaddr
          The bus (I/O) address.

     kvaddr
          The kernel's virtual address.

     size The byte count of the transfer.

     itmsz
          The element size of each read or write on the bus.

     flag PIO_NOSLEEP if this call shouldn't block.

DESCRIPTION
     pio_bcopyin copies data from the kernel virtual address space to the bus
     address space.

   Return Values
     The number of bytes transferred.

   See Also
     pio_mapalloc(D3X), pio_mapfree(D3X), pio_mapaddr(D3X), pio_badaddr(D3X),
     pio_wbadaddr(D3X), pio_bcopyin(D3X)