Home
last modified time | relevance | path

Searched refs:rbuf (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dlibata.h58 extern unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf,
61 extern unsigned int ata_scsiop_inq_00(struct ata_scsi_args *args, u8 *rbuf,
64 extern unsigned int ata_scsiop_inq_80(struct ata_scsi_args *args, u8 *rbuf,
66 extern unsigned int ata_scsiop_inq_83(struct ata_scsi_args *args, u8 *rbuf,
68 extern unsigned int ata_scsiop_noop(struct ata_scsi_args *args, u8 *rbuf,
70 extern unsigned int ata_scsiop_sync_cache(struct ata_scsi_args *args, u8 *rbuf,
72 extern unsigned int ata_scsiop_mode_sense(struct ata_scsi_args *args, u8 *rbuf,
74 extern unsigned int ata_scsiop_read_cap(struct ata_scsi_args *args, u8 *rbuf,
76 extern unsigned int ata_scsiop_report_luns(struct ata_scsi_args *args, u8 *rbuf,
85 u8 *rbuf, unsigned int buflen));
Dlibata-scsi.c1369 u8 *rbuf, unsigned int buflen)) in ata_scsi_rbuf_fill() argument
1371 u8 *rbuf; in ata_scsi_rbuf_fill() local
1375 buflen = ata_scsi_rbuf_get(cmd, &rbuf); in ata_scsi_rbuf_fill()
1376 memset(rbuf, 0, buflen); in ata_scsi_rbuf_fill()
1377 rc = actor(args, rbuf, buflen); in ata_scsi_rbuf_fill()
1378 ata_scsi_rbuf_put(cmd, rbuf); in ata_scsi_rbuf_fill()
1398 unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf, in ata_scsiop_inq_std() argument
1415 memcpy(rbuf, hdr, sizeof(hdr)); in ata_scsiop_inq_std()
1418 memcpy(&rbuf[8], "ATA ", 8); in ata_scsiop_inq_std()
1419 ata_dev_id_string(args->id, &rbuf[16], ATA_ID_PROD_OFS, 16); in ata_scsiop_inq_std()
[all …]
/linux-2.4.37.9/drivers/isdn/
Disdn_v110.c166 unsigned char *rbuf = v->decodebuf; in SyncHeader() local
171 for (rbuf++, len--; len > 0; len--, rbuf++) /* such den SyncHeader in buf ! */ in SyncHeader()
172 if ((*rbuf & v->key) == 0) /* erstes byte gefunden ? */ in SyncHeader()
175 memcpy(v->decodebuf, rbuf, len); in SyncHeader()
261 unsigned char *rbuf; in isdn_v110_decode() local
267 rbuf = skb->data; in isdn_v110_decode()
276 for (; len > 0; len--, rbuf++) /* scan for SyncHeader in buf */ in isdn_v110_decode()
277 if ((*rbuf & v->key) == 0) in isdn_v110_decode()
284 memcpy(&(v->decodebuf[v->decodelen]), rbuf, len); in isdn_v110_decode()
462 unsigned char *rbuf; in isdn_v110_encode() local
[all …]
/linux-2.4.37.9/drivers/sound/
Dwavfront.c473 wavefront_cmd (int cmd, unsigned char *rbuf, unsigned char *wbuf) in wavefront_cmd() argument
493 wfcmd->write_cnt = (unsigned int) rbuf; in wavefront_cmd()
494 rbuf = 0; in wavefront_cmd()
557 rbuf[0] = WF_ST_EMPTY; in wavefront_cmd()
586 rbuf[i] = c; in wavefront_cmd()
589 DPRINT (WF_DEBUG_DATA, "read[%d] = 0x%x\n",i, rbuf[i]); in wavefront_cmd()
758 unsigned char rbuf[32], wbuf[32]; in wavefront_get_sample_status() local
763 if (wavefront_cmd (WFC_GET_NSAMPLES, rbuf, wbuf)) { in wavefront_get_sample_status()
775 if (wavefront_cmd (WFC_IDENTIFY_SAMPLE_TYPE, rbuf, wbuf)) { in wavefront_get_sample_status()
783 dev.sample_status[i] = (WF_SLOT_FILLED|rbuf[0]); in wavefront_get_sample_status()
[all …]
Dnec_vrc5477.c210 void *lbuf, *rbuf; member
626 ASSERT(db->rbuf); in dealloc_dmabuf()
630 db->rbuf, db->rbufDma); in dealloc_dmabuf()
631 db->lbuf = db->rbuf = NULL; in dealloc_dmabuf()
645 ASSERT(!db->rbuf); in prog_dmabuf()
654 db->rbuf = pci_alloc_consistent(s->dev, in prog_dmabuf()
657 if (db->lbuf && db->rbuf) break; in prog_dmabuf()
659 ASSERT(!db->rbuf); in prog_dmabuf()
667 ASSERT(!db->rbuf); in prog_dmabuf()
689 memset(db->rbuf, 0, db->fragTotalSize); in prog_dmabuf()
[all …]
/linux-2.4.37.9/drivers/char/
Dn_hdlc.c601 N_HDLC_BUF *rbuf; in n_hdlc_tty_read() local
627 rbuf = n_hdlc_buf_get(&n_hdlc->rx_buf_list); in n_hdlc_tty_read()
628 if (rbuf) in n_hdlc_tty_read()
640 if (rbuf->count > nr) { in n_hdlc_tty_read()
645 COPY_TO_USER(error,buf,rbuf->buf,rbuf->count); in n_hdlc_tty_read()
649 ret = (rw_ret_t)rbuf->count; in n_hdlc_tty_read()
656 kfree(rbuf); in n_hdlc_tty_read()
658 n_hdlc_buf_put(&n_hdlc->rx_free_buf_list,rbuf); in n_hdlc_tty_read()
/linux-2.4.37.9/include/linux/
Dloop.h65 static inline int lo_do_transfer(struct loop_device *lo, int cmd, char *rbuf, in lo_do_transfer() argument
71 return lo->transfer(lo, cmd, rbuf, lbuf, size, rblock); in lo_do_transfer()
Dwavefront.h560 unsigned char rbuf[WF_MAX_READ]; /* bytes read from card */ member
/linux-2.4.37.9/drivers/net/
Dnatsemi.c2355 u32 *rbuf = (u32 *)buf; in netdev_get_regs() local
2359 rbuf[i] = readl(dev->base_addr + i*4); in netdev_get_regs()
2364 rbuf[i++] = readw(dev->base_addr + PMDCSR); in netdev_get_regs()
2365 rbuf[i++] = readw(dev->base_addr + TSTDAT); in netdev_get_regs()
2366 rbuf[i++] = readw(dev->base_addr + DSPCFG); in netdev_get_regs()
2367 rbuf[i++] = readw(dev->base_addr + SDCFG); in netdev_get_regs()
2374 rbuf[i++] = readw(dev->base_addr + RxFilterData); in netdev_get_regs()
2379 if (rbuf[4] & rbuf[5]) { in netdev_get_regs()
2382 dev->name, rbuf[4] & rbuf[5]); in netdev_get_regs()
Dforcedeth.c2210 u32 *rbuf = buf; in nv_get_regs() local
2216 rbuf[i] = readl(base + i*sizeof(u32)); in nv_get_regs()
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc32.c2908 unsigned char rbuf[NFS_FHSIZE + sizeof (struct knfsd_fh)]; in sys32_nfsservctl() local
2909 KERNEL_SYSCALL(ret, sys_nfsservctl, cmd, &n, &rbuf); in sys32_nfsservctl()
2911 ret = copy_to_user(resp, rbuf, NFS_FHSIZE); in sys32_nfsservctl()
2913 ret = copy_to_user(resp, rbuf, sizeof (struct knfsd_fh)); in sys32_nfsservctl()