| /drivers/tty/hvc/ |
| A D | hvc_iucv.c | 154 struct iucv_tty_buffer *bufp; in alloc_tty_buffer() local 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() 168 bufp->mbuf->version = MSG_VERSION; in alloc_tty_buffer() 169 bufp->mbuf->type = MSG_TYPE_DATA; in alloc_tty_buffer() 170 bufp->mbuf->datalen = (u16) size; in alloc_tty_buffer() 172 return bufp; in alloc_tty_buffer() [all …]
|
| /drivers/hwtracing/coresight/ |
| A D | coresight-tmc-core.c | 184 char *bufp; in tmc_prepare_crashdata() local 217 CORESIGHT_BARRIER_PKT_SIZE, &bufp); in tmc_prepare_crashdata() 219 coresight_insert_barrier_packet(bufp); in tmc_prepare_crashdata() 307 char *bufp; in tmc_read() local 311 actual = tmc_get_sysfs_trace(drvdata, *ppos, len, &bufp); in tmc_read() 315 if (copy_to_user(data, bufp, actual)) { in tmc_read() 379 char *bufp; in tmc_crashdata_read() local 385 actual = tmc_get_resvbuf_trace(drvdata, *ppos, len, &bufp); in tmc_crashdata_read() 389 if (copy_to_user(data, bufp, actual)) { in tmc_crashdata_read()
|
| A D | coresight-tmc-etf.c | 65 char *bufp; in tmc_etb_dump_hw() local 70 bufp = drvdata->buf; in tmc_etb_dump_hw() 76 memcpy(bufp, &read_data, 4); in tmc_etb_dump_hw() 77 bufp += 4; in tmc_etb_dump_hw()
|
| A D | coresight-tmc-etr.c | 1014 char *bufp; in tmc_etr_buf_insert_barrier_packet() local 1017 CORESIGHT_BARRIER_PKT_SIZE, &bufp); in tmc_etr_buf_insert_barrier_packet() 1020 coresight_insert_barrier_packet(bufp); in tmc_etr_buf_insert_barrier_packet()
|
| /drivers/input/touchscreen/ |
| A 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/ |
| A 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/ |
| A D | bcm_vk_dev.c | 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() 774 if (bufp) in bcm_vk_load_image_by_type() [all …]
|
| /drivers/usb/host/ |
| A 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() 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() 2016 packet->bufp = buf; in sitd_sched_init() 2110 u64 bufp; in sitd_patch() local 2118 bufp = uf->bufp; in sitd_patch() 2119 sitd->hw_buf[0] = cpu_to_hc32(ehci, bufp); in sitd_patch() 2120 sitd->hw_buf_hi[0] = cpu_to_hc32(ehci, bufp >> 32); in sitd_patch() 2124 bufp += 4096; in sitd_patch() [all …]
|
| A D | ehci.h | 458 u64 bufp; /* itd->hw_bufp{,_hi}[pg] |= */ member
|
| /drivers/bus/ |
| A D | ti-sysc.c | 930 static int sysc_show_rev(char *bufp, struct sysc *ddata) in sysc_show_rev() argument 935 return sprintf(bufp, ":NA"); in sysc_show_rev() 937 len = sprintf(bufp, ":%08x", ddata->revision); in sysc_show_rev() 943 char *bufp, enum sysc_registers reg) in sysc_show_reg() argument 946 return sprintf(bufp, ":NA"); in sysc_show_reg() 948 return sprintf(bufp, ":%x", ddata->offsets[reg]); in sysc_show_reg() 956 return sprintf(bufp, ":%s", ddata->name); in sysc_show_name() 966 char *bufp = buf; in sysc_show_registers() local 970 bufp += sysc_show_reg(ddata, bufp, i); in sysc_show_registers() 972 bufp += sysc_show_rev(bufp, ddata); in sysc_show_registers() [all …]
|
| /drivers/parport/ |
| A 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()
|
| A 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/ |
| A D | mptctl.h | 104 void __user *bufp; /* Pointer to firmware buffer */ member 111 u32 bufp; member
|
| A D | mptctl.c | 758 return mptctl_do_fw_download(iocp, kfwdl.bufp, kfwdl.fwlen); in mptctl_fw_download() 2742 kfw.bufp = compat_ptr(kfw32.bufp); in compat_mptfwxfer_ioctl() 2744 ret = mptctl_do_fw_download(iocp, kfw.bufp, kfw.fwlen); in compat_mptfwxfer_ioctl()
|
| /drivers/net/wireless/realtek/rtw89/ |
| A D | debug.c | 787 bufp[cur + 1]); in __print_txpwr_ent() 793 bufp[cur + 1], in __print_txpwr_ent() 794 bufp[cur + 2], bufp[cur + 3]); in __print_txpwr_ent() 800 bufp[cur + 1], in __print_txpwr_ent() 801 bufp[cur + 2], bufp[cur + 3], bufp[cur + 4], in __print_txpwr_ent() 802 bufp[cur + 5], bufp[cur + 6], bufp[cur + 7]); in __print_txpwr_ent() 823 s8 *bufp, tmp; in __print_txpwr_map() local 826 bufp = vzalloc(map->addr_to - map->addr_from + 4); in __print_txpwr_map() 827 if (!bufp) in __print_txpwr_map() 847 bufp[cur + i] = tmp >> fct; in __print_txpwr_map() [all …]
|
| /drivers/usb/core/ |
| A D | hcd.c | 466 const u8 *bufp; in rh_call_control() local 497 bufp = tbuf; in rh_call_control() 553 bufp = usb31_rh_dev_descriptor; in rh_call_control() 556 bufp = usb3_rh_dev_descriptor; in rh_call_control() 559 bufp = usb2_rh_dev_descriptor; in rh_call_control() 562 bufp = usb11_rh_dev_descriptor; in rh_call_control() 576 bufp = ss_rh_config_descriptor; in rh_call_control() 580 bufp = hs_rh_config_descriptor; in rh_call_control() 584 bufp = fs_rh_config_descriptor; in rh_call_control() 688 memcpy (ubuf, bufp, len); in rh_call_control()
|
| /drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| A D | core.c | 147 char *buf, *bufp; in _brcmf_set_multicast_list() local 164 bufp = buf; in _brcmf_set_multicast_list() 167 memcpy(bufp, &cnt_le, sizeof(cnt_le)); in _brcmf_set_multicast_list() 168 bufp += sizeof(cnt_le); in _brcmf_set_multicast_list() 173 memcpy(bufp, ha->addr, ETH_ALEN); in _brcmf_set_multicast_list() 174 bufp += ETH_ALEN; in _brcmf_set_multicast_list()
|
| /drivers/spi/ |
| A D | spi-pl022.c | 751 void *bufp = buffer; in setup_dma_scatter() local 763 if (bytesleft < (PAGE_SIZE - offset_in_page(bufp))) in setup_dma_scatter() 766 mapbytes = PAGE_SIZE - offset_in_page(bufp); in setup_dma_scatter() 767 sg_set_page(sg, virt_to_page(bufp), in setup_dma_scatter() 768 mapbytes, offset_in_page(bufp)); in setup_dma_scatter() 769 bufp += mapbytes; in setup_dma_scatter() 773 bufp, mapbytes, bytesleft); in setup_dma_scatter()
|
| /drivers/net/ethernet/smsc/ |
| A 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/ |
| A D | cxgb4_main.c | 6130 bufp += sprintf(bufp, "100M/"); in print_port_info() 6132 bufp += sprintf(bufp, "1G/"); in print_port_info() 6134 bufp += sprintf(bufp, "10G/"); in print_port_info() 6136 bufp += sprintf(bufp, "25G/"); in print_port_info() 6138 bufp += sprintf(bufp, "40G/"); in print_port_info() 6140 bufp += sprintf(bufp, "50G/"); in print_port_info() 6142 bufp += sprintf(bufp, "100G/"); in print_port_info() 6144 bufp += sprintf(bufp, "200G/"); in print_port_info() 6146 bufp += sprintf(bufp, "400G/"); in print_port_info() 6147 if (bufp != buf) in print_port_info() [all …]
|
| /drivers/net/ethernet/ |
| A 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/net/ethernet/dec/tulip/ |
| A 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/ |
| A D | fotg210-hcd.h | 477 u64 bufp; /* itd->hw_bufp{,_hi}[pg] |= */ member
|
| A D | fotg210-hcd.c | 4048 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init() 4050 if (unlikely((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init() 4304 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, uf->bufp & ~(u32)0); in itd_patch() 4305 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(uf->bufp >> 32)); in itd_patch() 4309 u64 bufp = uf->bufp + 4096; in itd_patch() local 4312 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, bufp & ~(u32)0); in itd_patch() 4313 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(bufp >> 32)); in itd_patch()
|
| /drivers/infiniband/hw/irdma/ |
| A D | main.h | 521 void irdma_free_sqbuf(struct irdma_sc_vsi *vsi, void *bufp);
|