/drivers/tty/hvc/ |
D | hvc_iucv.c | 154 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/ |
D | silead.c | 137 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/ |
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 | 1213 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init() 1215 if (unlikely((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init() 1702 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); in itd_patch() 1703 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); in itd_patch() 1707 u64 bufp = uf->bufp + 4096; in itd_patch() local 1710 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, bufp & ~(u32)0); in itd_patch() 1711 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(bufp >> 32)); in itd_patch() 2017 packet->bufp = buf; in sitd_sched_init() 2111 u64 bufp; in sitd_patch() local 2119 bufp = uf->bufp; in sitd_patch() [all …]
|
D | fotg210.h | 476 u64 bufp; /* itd->hw_bufp{,_hi}[pg] |= */ member
|
D | fotg210-hcd.c | 4056 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init() 4058 if (unlikely((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init() 4312 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, uf->bufp & ~(u32)0); in itd_patch() 4313 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(uf->bufp >> 32)); in itd_patch() 4317 u64 bufp = uf->bufp + 4096; in itd_patch() local 4320 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, bufp & ~(u32)0); in itd_patch() 4321 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(bufp >> 32)); in itd_patch()
|
D | ehci.h | 450 u64 bufp; /* itd->hw_bufp{,_hi}[pg] |= */ member
|
/drivers/hwtracing/coresight/ |
D | coresight-tmc-etf.c | 51 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()
|
D | coresight-tmc-core.c | 179 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()
|
D | coresight-tmc-etr.c | 942 char *bufp; in tmc_etr_buf_insert_barrier_packet() local 945 CORESIGHT_BARRIER_PKT_SIZE, &bufp); in tmc_etr_buf_insert_barrier_packet() 948 coresight_insert_barrier_packet(bufp); in tmc_etr_buf_insert_barrier_packet()
|
/drivers/bus/ |
D | ti-sysc.c | 989 static int sysc_show_rev(char *bufp, struct sysc *ddata) in sysc_show_rev() argument 994 return sprintf(bufp, ":NA"); in sysc_show_rev() 996 len = sprintf(bufp, ":%08x", ddata->revision); in sysc_show_rev() 1002 char *bufp, enum sysc_registers reg) in sysc_show_reg() argument 1005 return sprintf(bufp, ":NA"); in sysc_show_reg() 1007 return sprintf(bufp, ":%x", ddata->offsets[reg]); in sysc_show_reg() 1010 static int sysc_show_name(char *bufp, struct sysc *ddata) in sysc_show_name() argument 1015 return sprintf(bufp, ":%s", ddata->name); in sysc_show_name() 1025 char *bufp = buf; in sysc_show_registers() local 1029 bufp += sysc_show_reg(ddata, bufp, i); in sysc_show_registers() [all …]
|
/drivers/message/fusion/ |
D | mptctl.h | 104 void __user *bufp; /* Pointer to firmware buffer */ member 111 u32 bufp; member
|
D | mptctl.c | 760 return mptctl_do_fw_download(iocp, kfwdl.bufp, kfwdl.fwlen); in mptctl_fw_download() 2733 kfw.bufp = compat_ptr(kfw32.bufp); in compat_mptfwxfer_ioctl() 2735 ret = mptctl_do_fw_download(iocp, kfw.bufp, kfw.fwlen); in compat_mptfwxfer_ioctl()
|
/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 | 468 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/ |
D | hcd.c | 489 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/ |
D | core.c | 140 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/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 | 714 ulong bufp; in smsc911x_phy_check_loopbackpkt() local 736 bufp = (ulong)pdata->loopback_tx_pkt & (~0x3); in smsc911x_phy_check_loopbackpkt() 741 pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz); in smsc911x_phy_check_loopbackpkt() 780 bufp = (ulong)pdata->loopback_rx_pkt; in smsc911x_phy_check_loopbackpkt() 785 pdata->ops->rx_readfifo(pdata, (unsigned int *)bufp, rdsz); in smsc911x_phy_check_loopbackpkt() 1797 ulong bufp; in smsc911x_hard_start_xmit() local 1816 bufp = (ulong)skb->data & (~0x3); in smsc911x_hard_start_xmit() 1821 pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz); in smsc911x_hard_start_xmit()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 6140 char *bufp = buf; in print_port_info() local 6145 bufp += sprintf(bufp, "100M/"); in print_port_info() 6147 bufp += sprintf(bufp, "1G/"); in print_port_info() 6149 bufp += sprintf(bufp, "10G/"); in print_port_info() 6151 bufp += sprintf(bufp, "25G/"); in print_port_info() 6153 bufp += sprintf(bufp, "40G/"); in print_port_info() 6155 bufp += sprintf(bufp, "50G/"); in print_port_info() 6157 bufp += sprintf(bufp, "100G/"); in print_port_info() 6159 bufp += sprintf(bufp, "200G/"); in print_port_info() 6161 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 | 1804 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/infiniband/hw/irdma/ |
D | main.h | 515 void irdma_free_sqbuf(struct irdma_sc_vsi *vsi, void *bufp);
|