/drivers/tty/hvc/ |
D | hvc_iucv.c | 153 struct iucv_tty_buffer *bufp; in alloc_tty_buffer() local 155 bufp = mempool_alloc(hvc_iucv_mempool, flags); in alloc_tty_buffer() 156 if (!bufp) in alloc_tty_buffer() 158 memset(bufp, 0, sizeof(*bufp)); in alloc_tty_buffer() 161 bufp->msg.length = MSG_SIZE(size); in alloc_tty_buffer() 162 bufp->mbuf = kmalloc(bufp->msg.length, flags | GFP_DMA); in alloc_tty_buffer() 163 if (!bufp->mbuf) { in alloc_tty_buffer() 164 mempool_free(bufp, hvc_iucv_mempool); in alloc_tty_buffer() 167 bufp->mbuf->version = MSG_VERSION; in alloc_tty_buffer() 168 bufp->mbuf->type = MSG_TYPE_DATA; in alloc_tty_buffer() [all …]
|
/drivers/input/touchscreen/ |
D | silead.c | 247 u8 *bufp, buf[SILEAD_TS_DATA_LEN]; in silead_ts_read_data() local 268 bufp = buf + SILEAD_POINT_DATA_LEN; in silead_ts_read_data() 269 for (i = 0; i < buf[0]; i++, bufp += SILEAD_POINT_DATA_LEN) { in silead_ts_read_data() 270 softbutton = (bufp[SILEAD_POINT_Y_MSB_OFF] & in silead_ts_read_data() 289 data->id[touch_nr] = (bufp[SILEAD_POINT_X_MSB_OFF] & in silead_ts_read_data() 292 get_unaligned_le16(&bufp[SILEAD_POINT_X_OFF]) & 0xfff, in silead_ts_read_data() 293 get_unaligned_le16(&bufp[SILEAD_POINT_Y_OFF]) & 0xfff); in silead_ts_read_data()
|
/drivers/pci/hotplug/ |
D | acpiphp_ibm.c | 85 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/misc/bcm-vk/ |
D | bcm_vk_dev.c | 533 static void bcm_vk_buf_notify(struct bcm_vk *vk, void *bufp, in bcm_vk_buf_notify() argument 549 void *bufp = NULL; in bcm_vk_load_image_by_type() local 582 bufp = dma_alloc_coherent(dev, in bcm_vk_load_image_by_type() 585 if (!bufp) { in bcm_vk_load_image_by_type() 604 bufp = dma_alloc_coherent(dev, in bcm_vk_load_image_by_type() 607 if (!bufp) { in bcm_vk_load_image_by_type() 613 bcm_vk_buf_notify(vk, bufp, boot_dma_addr, max_buf); in bcm_vk_load_image_by_type() 622 bufp, max_buf, offset); in bcm_vk_load_image_by_type() 631 bufp, in bcm_vk_load_image_by_type() 709 dev, bufp, in bcm_vk_load_image_by_type() [all …]
|
/drivers/usb/host/ |
D | ehci-sched.c | 1212 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init() 1214 if (unlikely((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init() 1701 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); in itd_patch() 1702 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); in itd_patch() 1706 u64 bufp = uf->bufp + 4096; in itd_patch() local 1709 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, bufp & ~(u32)0); in itd_patch() 1710 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(bufp >> 32)); in itd_patch() 2016 packet->bufp = buf; in sitd_sched_init() 2110 u64 bufp; in sitd_patch() local 2118 bufp = uf->bufp; in sitd_patch() [all …]
|
D | ehci.h | 452 u64 bufp; /* itd->hw_bufp{,_hi}[pg] |= */ member
|
/drivers/bus/ |
D | ti-sysc.c | 969 static int sysc_show_rev(char *bufp, struct sysc *ddata) in sysc_show_rev() argument 974 return sprintf(bufp, ":NA"); in sysc_show_rev() 976 len = sprintf(bufp, ":%08x", ddata->revision); in sysc_show_rev() 982 char *bufp, enum sysc_registers reg) in sysc_show_reg() argument 985 return sprintf(bufp, ":NA"); in sysc_show_reg() 987 return sprintf(bufp, ":%x", ddata->offsets[reg]); in sysc_show_reg() 990 static int sysc_show_name(char *bufp, struct sysc *ddata) in sysc_show_name() argument 995 return sprintf(bufp, ":%s", ddata->name); in sysc_show_name() 1005 char *bufp = buf; in sysc_show_registers() local 1009 bufp += sysc_show_reg(ddata, bufp, i); in sysc_show_registers() [all …]
|
/drivers/hwtracing/coresight/ |
D | coresight-tmc-etf.c | 62 char *bufp; in tmc_etb_dump_hw() local 67 bufp = drvdata->buf; in tmc_etb_dump_hw() 73 memcpy(bufp, &read_data, 4); in tmc_etb_dump_hw() 74 bufp += 4; in tmc_etb_dump_hw()
|
D | coresight-tmc-core.c | 181 char *bufp; in tmc_read() local 185 actual = tmc_get_sysfs_trace(drvdata, *ppos, len, &bufp); in tmc_read() 189 if (copy_to_user(data, bufp, actual)) { in tmc_read()
|
D | coresight-tmc-etr.c | 922 char *bufp; in tmc_etr_buf_insert_barrier_packet() local 925 CORESIGHT_BARRIER_PKT_SIZE, &bufp); in tmc_etr_buf_insert_barrier_packet() 928 coresight_insert_barrier_packet(bufp); in tmc_etr_buf_insert_barrier_packet()
|
/drivers/parport/ |
D | parport_ip32.c | 1116 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()
|
D | parport_pc.c | 487 const unsigned char *bufp = buf; in parport_pc_fifo_write_block_pio() local 557 outsb(fifo, bufp, n); in parport_pc_fifo_write_block_pio() 558 bufp += n; in parport_pc_fifo_write_block_pio() 572 byte = *bufp++; in parport_pc_fifo_write_block_pio()
|
/drivers/message/fusion/ |
D | mptctl.h | 104 void __user *bufp; /* Pointer to firmware buffer */ member 111 u32 bufp; member
|
D | mptctl.c | 758 return mptctl_do_fw_download(iocp, kfwdl.bufp, kfwdl.fwlen); in mptctl_fw_download() 2744 kfw.bufp = compat_ptr(kfw32.bufp); in compat_mptfwxfer_ioctl() 2746 ret = mptctl_do_fw_download(iocp, kfw.bufp, kfw.fwlen); in compat_mptfwxfer_ioctl()
|
/drivers/usb/core/ |
D | hcd.c | 468 const u8 *bufp; in rh_call_control() local 499 bufp = tbuf; in rh_call_control() 555 bufp = usb31_rh_dev_descriptor; in rh_call_control() 558 bufp = usb3_rh_dev_descriptor; in rh_call_control() 561 bufp = usb2_rh_dev_descriptor; in rh_call_control() 564 bufp = usb11_rh_dev_descriptor; in rh_call_control() 578 bufp = ss_rh_config_descriptor; in rh_call_control() 582 bufp = hs_rh_config_descriptor; in rh_call_control() 586 bufp = fs_rh_config_descriptor; in rh_call_control() 690 memcpy (ubuf, bufp, len); in rh_call_control()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | core.c | 142 char *buf, *bufp; in _brcmf_set_multicast_list() local 159 bufp = buf; in _brcmf_set_multicast_list() 162 memcpy(bufp, &cnt_le, sizeof(cnt_le)); in _brcmf_set_multicast_list() 163 bufp += sizeof(cnt_le); in _brcmf_set_multicast_list() 168 memcpy(bufp, ha->addr, ETH_ALEN); in _brcmf_set_multicast_list() 169 bufp += ETH_ALEN; in _brcmf_set_multicast_list()
|
/drivers/spi/ |
D | spi-pl022.c | 864 void *bufp = buffer; in setup_dma_scatter() local 876 if (bytesleft < (PAGE_SIZE - offset_in_page(bufp))) in setup_dma_scatter() 879 mapbytes = PAGE_SIZE - offset_in_page(bufp); in setup_dma_scatter() 880 sg_set_page(sg, virt_to_page(bufp), in setup_dma_scatter() 881 mapbytes, offset_in_page(bufp)); in setup_dma_scatter() 882 bufp += mapbytes; in setup_dma_scatter() 886 bufp, mapbytes, bytesleft); in setup_dma_scatter()
|
/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 713 ulong bufp; in smsc911x_phy_check_loopbackpkt() local 735 bufp = (ulong)pdata->loopback_tx_pkt & (~0x3); in smsc911x_phy_check_loopbackpkt() 740 pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz); in smsc911x_phy_check_loopbackpkt() 779 bufp = (ulong)pdata->loopback_rx_pkt; in smsc911x_phy_check_loopbackpkt() 784 pdata->ops->rx_readfifo(pdata, (unsigned int *)bufp, rdsz); in smsc911x_phy_check_loopbackpkt() 1794 ulong bufp; in smsc911x_hard_start_xmit() local 1813 bufp = (ulong)skb->data & (~0x3); in smsc911x_hard_start_xmit() 1818 pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz); in smsc911x_hard_start_xmit()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 6134 char *bufp = buf; in print_port_info() local 6139 bufp += sprintf(bufp, "100M/"); in print_port_info() 6141 bufp += sprintf(bufp, "1G/"); in print_port_info() 6143 bufp += sprintf(bufp, "10G/"); in print_port_info() 6145 bufp += sprintf(bufp, "25G/"); in print_port_info() 6147 bufp += sprintf(bufp, "40G/"); in print_port_info() 6149 bufp += sprintf(bufp, "50G/"); in print_port_info() 6151 bufp += sprintf(bufp, "100G/"); in print_port_info() 6153 bufp += sprintf(bufp, "200G/"); in print_port_info() 6155 bufp += sprintf(bufp, "400G/"); in print_port_info() [all …]
|
/drivers/net/ethernet/ |
D | dnet.c | 512 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/usb/gadget/udc/ |
D | net2272.c | 389 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/net/ethernet/dec/tulip/ |
D | de2104x.c | 1806 void *bufp; in de21041_get_srom_info() local 1866 bufp = ((void *)il) + sizeof(*il); in de21041_get_srom_info() 1868 struct de_srom_media_block *ib = bufp; in de21041_get_srom_info() 1904 bufp += sizeof (ib->opts); in de21041_get_srom_info() 1910 bufp += sizeof(ib->csr13) + sizeof(ib->csr14) + in de21041_get_srom_info() 1924 if (bufp > ((void *)&ee_data[DE_EEPROM_SIZE - 3])) in de21041_get_srom_info()
|
/drivers/usb/fotg210/ |
D | fotg210-hcd.h | 477 u64 bufp; /* itd->hw_bufp{,_hi}[pg] |= */ member
|
D | fotg210-hcd.c | 4052 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init() 4054 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()
|
/drivers/infiniband/hw/irdma/ |
D | main.h | 518 void irdma_free_sqbuf(struct irdma_sc_vsi *vsi, void *bufp);
|