Home
last modified time | relevance | path

Searched refs:bufp (Results 1 – 25 of 28) sorted by relevance

12

/drivers/tty/hvc/
Dhvc_iucv.c154 struct iucv_tty_buffer *bufp; in alloc_tty_buffer() local
156 bufp = mempool_alloc(hvc_iucv_mempool, flags); in alloc_tty_buffer()
157 if (!bufp) in alloc_tty_buffer()
159 memset(bufp, 0, sizeof(*bufp)); in alloc_tty_buffer()
162 bufp->msg.length = MSG_SIZE(size); in alloc_tty_buffer()
163 bufp->mbuf = kmalloc(bufp->msg.length, flags | GFP_DMA); in alloc_tty_buffer()
164 if (!bufp->mbuf) { in alloc_tty_buffer()
165 mempool_free(bufp, hvc_iucv_mempool); in alloc_tty_buffer()
168 bufp->mbuf->version = MSG_VERSION; in alloc_tty_buffer()
169 bufp->mbuf->type = MSG_TYPE_DATA; in alloc_tty_buffer()
[all …]
/drivers/input/touchscreen/
Dsilead.c137 u8 *bufp, buf[SILEAD_TS_DATA_LEN]; in silead_ts_read_data() local
155 bufp = buf + SILEAD_POINT_DATA_LEN; in silead_ts_read_data()
156 for (i = 0; i < buf[0]; i++, bufp += SILEAD_POINT_DATA_LEN) { in silead_ts_read_data()
157 softbutton = (bufp[SILEAD_POINT_Y_MSB_OFF] & in silead_ts_read_data()
176 data->id[touch_nr] = (bufp[SILEAD_POINT_X_MSB_OFF] & in silead_ts_read_data()
179 get_unaligned_le16(&bufp[SILEAD_POINT_X_OFF]) & 0xfff, in silead_ts_read_data()
180 get_unaligned_le16(&bufp[SILEAD_POINT_Y_OFF]) & 0xfff); in silead_ts_read_data()
/drivers/pci/hotplug/
Dacpiphp_ibm.c85 static int ibm_get_table_from_acpi(char **bufp);
282 static int ibm_get_table_from_acpi(char **bufp) in ibm_get_table_from_acpi() argument
312 if (bufp == NULL) in ibm_get_table_from_acpi()
320 *bufp = lbuf; in ibm_get_table_from_acpi()
/drivers/usb/host/
Dehci-sched.c1207 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init()
1209 if (unlikely((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init()
1690 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); in itd_patch()
1691 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); in itd_patch()
1695 u64 bufp = uf->bufp + 4096; in itd_patch() local
1698 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, bufp & ~(u32)0); in itd_patch()
1699 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(bufp >> 32)); in itd_patch()
2005 packet->bufp = buf; in sitd_sched_init()
2099 u64 bufp; in sitd_patch() local
2107 bufp = uf->bufp; in sitd_patch()
[all …]
Dfotg210.h479 u64 bufp; /* itd->hw_bufp{,_hi}[pg] |= */ member
Dfotg210-hcd.c4053 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init()
4055 if (unlikely((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init()
4308 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, uf->bufp & ~(u32)0); in itd_patch()
4309 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(uf->bufp >> 32)); in itd_patch()
4313 u64 bufp = uf->bufp + 4096; in itd_patch() local
4316 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, bufp & ~(u32)0); in itd_patch()
4317 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(bufp >> 32)); in itd_patch()
Dehci.h449 u64 bufp; /* itd->hw_bufp{,_hi}[pg] |= */ member
/drivers/hwtracing/coresight/
Dcoresight-tmc-etf.c51 char *bufp; in tmc_etb_dump_hw() local
56 bufp = drvdata->buf; in tmc_etb_dump_hw()
62 memcpy(bufp, &read_data, 4); in tmc_etb_dump_hw()
63 bufp += 4; in tmc_etb_dump_hw()
Dcoresight-tmc-core.c179 char *bufp; in tmc_read() local
183 actual = tmc_get_sysfs_trace(drvdata, *ppos, len, &bufp); in tmc_read()
187 if (copy_to_user(data, bufp, actual)) { in tmc_read()
Dcoresight-tmc-etr.c944 char *bufp; in tmc_etr_buf_insert_barrier_packet() local
947 CORESIGHT_BARRIER_PKT_SIZE, &bufp); in tmc_etr_buf_insert_barrier_packet()
950 coresight_insert_barrier_packet(bufp); in tmc_etr_buf_insert_barrier_packet()
/drivers/bus/
Dti-sysc.c985 static int sysc_show_rev(char *bufp, struct sysc *ddata) in sysc_show_rev() argument
990 return sprintf(bufp, ":NA"); in sysc_show_rev()
992 len = sprintf(bufp, ":%08x", ddata->revision); in sysc_show_rev()
998 char *bufp, enum sysc_registers reg) in sysc_show_reg() argument
1001 return sprintf(bufp, ":NA"); in sysc_show_reg()
1003 return sprintf(bufp, ":%x", ddata->offsets[reg]); in sysc_show_reg()
1006 static int sysc_show_name(char *bufp, struct sysc *ddata) in sysc_show_name() argument
1011 return sprintf(bufp, ":%s", ddata->name); in sysc_show_name()
1021 char *bufp = buf; in sysc_show_registers() local
1025 bufp += sysc_show_reg(ddata, bufp, i); in sysc_show_registers()
[all …]
/drivers/message/fusion/
Dmptctl.h104 void __user *bufp; /* Pointer to firmware buffer */ member
111 u32 bufp; member
Dmptctl.c762 return mptctl_do_fw_download(iocp, kfwdl.bufp, kfwdl.fwlen); in mptctl_fw_download()
2741 kfw.bufp = compat_ptr(kfw32.bufp); in compat_mptfwxfer_ioctl()
2743 ret = mptctl_do_fw_download(iocp, kfw.bufp, kfw.fwlen); in compat_mptfwxfer_ioctl()
/drivers/parport/
Dparport_ip32.c1116 u8 *bufp = buf; in parport_ip32_epp_read() local
1118 *bufp++ = readb(eppreg); in parport_ip32_epp_read()
1155 const u8 *bufp = buf; in parport_ip32_epp_write() local
1157 writeb(*bufp++, eppreg); in parport_ip32_epp_write()
1385 const u8 *bufp = buf; in parport_ip32_fifo_write_block_pio() local
1401 writeb(*bufp, priv->regs.fifo); in parport_ip32_fifo_write_block_pio()
1402 bufp++, left--; in parport_ip32_fifo_write_block_pio()
1404 writesb(priv->regs.fifo, bufp, count); in parport_ip32_fifo_write_block_pio()
1405 bufp += count, left -= count; in parport_ip32_fifo_write_block_pio()
Dparport_pc.c468 const unsigned char *bufp = buf; in parport_pc_fifo_write_block_pio() local
538 outsb(fifo, bufp, n); in parport_pc_fifo_write_block_pio()
539 bufp += n; in parport_pc_fifo_write_block_pio()
553 byte = *bufp++; in parport_pc_fifo_write_block_pio()
/drivers/usb/core/
Dhcd.c489 const u8 *bufp; in rh_call_control() local
520 bufp = tbuf; in rh_call_control()
576 bufp = usb31_rh_dev_descriptor; in rh_call_control()
579 bufp = usb3_rh_dev_descriptor; in rh_call_control()
582 bufp = usb25_rh_dev_descriptor; in rh_call_control()
585 bufp = usb2_rh_dev_descriptor; in rh_call_control()
588 bufp = usb11_rh_dev_descriptor; in rh_call_control()
602 bufp = ss_rh_config_descriptor; in rh_call_control()
607 bufp = hs_rh_config_descriptor; in rh_call_control()
611 bufp = fs_rh_config_descriptor; in rh_call_control()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcore.c140 char *buf, *bufp; in _brcmf_set_multicast_list() local
157 bufp = buf; in _brcmf_set_multicast_list()
160 memcpy(bufp, &cnt_le, sizeof(cnt_le)); in _brcmf_set_multicast_list()
161 bufp += sizeof(cnt_le); in _brcmf_set_multicast_list()
166 memcpy(bufp, ha->addr, ETH_ALEN); in _brcmf_set_multicast_list()
167 bufp += ETH_ALEN; in _brcmf_set_multicast_list()
/drivers/net/ethernet/smsc/
Dsmsc911x.c710 ulong bufp; in smsc911x_phy_check_loopbackpkt() local
732 bufp = (ulong)pdata->loopback_tx_pkt & (~0x3); in smsc911x_phy_check_loopbackpkt()
737 pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz); in smsc911x_phy_check_loopbackpkt()
776 bufp = (ulong)pdata->loopback_rx_pkt; in smsc911x_phy_check_loopbackpkt()
781 pdata->ops->rx_readfifo(pdata, (unsigned int *)bufp, rdsz); in smsc911x_phy_check_loopbackpkt()
1784 ulong bufp; in smsc911x_hard_start_xmit() local
1803 bufp = (ulong)skb->data & (~0x3); in smsc911x_hard_start_xmit()
1808 pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz); in smsc911x_hard_start_xmit()
/drivers/spi/
Dspi-pl022.c873 void *bufp = buffer; in setup_dma_scatter() local
885 if (bytesleft < (PAGE_SIZE - offset_in_page(bufp))) in setup_dma_scatter()
888 mapbytes = PAGE_SIZE - offset_in_page(bufp); in setup_dma_scatter()
889 sg_set_page(sg, virt_to_page(bufp), in setup_dma_scatter()
890 mapbytes, offset_in_page(bufp)); in setup_dma_scatter()
891 bufp += mapbytes; in setup_dma_scatter()
895 bufp, mapbytes, bytesleft); in setup_dma_scatter()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c6144 char *bufp = buf; in print_port_info() local
6149 bufp += sprintf(bufp, "100M/"); in print_port_info()
6151 bufp += sprintf(bufp, "1G/"); in print_port_info()
6153 bufp += sprintf(bufp, "10G/"); in print_port_info()
6155 bufp += sprintf(bufp, "25G/"); in print_port_info()
6157 bufp += sprintf(bufp, "40G/"); in print_port_info()
6159 bufp += sprintf(bufp, "50G/"); in print_port_info()
6161 bufp += sprintf(bufp, "100G/"); in print_port_info()
6163 bufp += sprintf(bufp, "200G/"); in print_port_info()
6165 bufp += sprintf(bufp, "400G/"); in print_port_info()
[all …]
/drivers/net/ethernet/
Ddnet.c512 unsigned int *bufp; in dnet_start_xmit() local
525 bufp = (unsigned int *)(((unsigned long) skb->data) & ~0x3UL); in dnet_start_xmit()
534 dnet_writel(bp, *bufp++, TX_DATA_FIFO); in dnet_start_xmit()
/drivers/net/ethernet/dec/tulip/
Dde2104x.c1804 void *bufp; in de21041_get_srom_info() local
1865 bufp = ((void *)il) + sizeof(*il); in de21041_get_srom_info()
1867 struct de_srom_media_block *ib = bufp; in de21041_get_srom_info()
1903 bufp += sizeof (ib->opts); in de21041_get_srom_info()
1909 bufp += sizeof(ib->csr13) + sizeof(ib->csr14) + in de21041_get_srom_info()
1923 if (bufp > ((void *)&ee_data[DE_EEPROM_SIZE - 3])) in de21041_get_srom_info()
/drivers/usb/gadget/udc/
Dnet2272.c389 u16 *bufp; in net2272_write_packet() local
401 bufp = (u16 *)buf; in net2272_write_packet()
405 writew(*bufp++, ep_data); in net2272_write_packet()
408 buf = (u8 *)bufp; in net2272_write_packet()
498 u16 *bufp; in net2272_read_packet() local
517 bufp = (u16 *)buf; in net2272_read_packet()
520 *bufp++ = readw(ep_data); in net2272_read_packet()
/drivers/infiniband/hw/i40iw/
Di40iw.h555 void i40iw_free_sqbuf(struct i40iw_sc_vsi *vsi, void *bufp);
/drivers/scsi/qla2xxx/
Dqla_def.h985 void *bufp; member
998 void *bufp; member

12