/drivers/tty/hvc/ |
D | hvc_iucv.c | 152 struct iucv_tty_buffer *bufp; in alloc_tty_buffer() local 154 bufp = mempool_alloc(hvc_iucv_mempool, flags); in alloc_tty_buffer() 155 if (!bufp) in alloc_tty_buffer() 157 memset(bufp, 0, sizeof(*bufp)); in alloc_tty_buffer() 160 bufp->msg.length = MSG_SIZE(size); in alloc_tty_buffer() 161 bufp->mbuf = kmalloc(bufp->msg.length, flags | GFP_DMA); in alloc_tty_buffer() 162 if (!bufp->mbuf) { in alloc_tty_buffer() 163 mempool_free(bufp, hvc_iucv_mempool); in alloc_tty_buffer() 166 bufp->mbuf->version = MSG_VERSION; in alloc_tty_buffer() 167 bufp->mbuf->type = MSG_TYPE_DATA; in alloc_tty_buffer() [all …]
|
/drivers/isdn/hysdn/ |
D | hysdn_boot.c | 72 unsigned char *bufp = boot->buf.BootBuf; in DecryptBuf() local 76 *bufp++ ^= (unsigned char)boot->Cryptor; in DecryptBuf() 271 pof_write_open(hysdn_card *card, unsigned char **bufp) in pof_write_open() argument 304 *bufp = boot->buf.BootBuf; /* point to buffer */ in pof_write_open()
|
/drivers/pci/hotplug/ |
D | acpiphp_ibm.c | 99 static int ibm_get_table_from_acpi(char **bufp); 283 static int ibm_get_table_from_acpi(char **bufp) in ibm_get_table_from_acpi() argument 313 if (bufp == NULL) in ibm_get_table_from_acpi() 321 *bufp = lbuf; in ibm_get_table_from_acpi()
|
/drivers/usb/host/ |
D | ehci-sched.c | 1242 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init() 1244 if (unlikely ((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init() 1725 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); in itd_patch() 1726 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); in itd_patch() 1730 u64 bufp = uf->bufp + 4096; in itd_patch() local 1733 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, bufp & ~(u32)0); in itd_patch() 1734 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(bufp >> 32)); in itd_patch() 2041 packet->bufp = buf; in sitd_sched_init() 2135 u64 bufp = uf->bufp; in sitd_patch() local 2143 bufp = uf->bufp; in sitd_patch() [all …]
|
D | fotg210.h | 525 u64 bufp; /* itd->hw_bufp{,_hi}[pg] |= */ member
|
D | fusbh200.h | 515 u64 bufp; /* itd->hw_bufp{,_hi}[pg] |= */ member
|
D | fusbh200-hcd.c | 4181 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init() 4183 if (unlikely ((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init() 4467 itd->hw_bufp[pg] |= cpu_to_hc32(fusbh200, uf->bufp & ~(u32)0); in itd_patch() 4468 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fusbh200, (u32)(uf->bufp >> 32)); in itd_patch() 4472 u64 bufp = uf->bufp + 4096; in itd_patch() local 4475 itd->hw_bufp[pg] |= cpu_to_hc32(fusbh200, bufp & ~(u32)0); in itd_patch() 4476 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fusbh200, (u32)(bufp >> 32)); in itd_patch()
|
D | fotg210-hcd.c | 4247 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init() 4249 if (unlikely((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init() 4531 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, uf->bufp & ~(u32)0); in itd_patch() 4532 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(uf->bufp >> 32)); in itd_patch() 4536 u64 bufp = uf->bufp + 4096; in itd_patch() local 4539 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, bufp & ~(u32)0); in itd_patch() 4540 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(bufp >> 32)); in itd_patch()
|
D | ehci.h | 448 u64 bufp; /* itd->hw_bufp{,_hi}[pg] |= */ member
|
/drivers/message/fusion/ |
D | mptctl.h | 104 void __user *bufp; /* Pointer to firmware buffer */ member 111 u32 bufp; member
|
D | mptctl.c | 769 return mptctl_do_fw_download(kfwdl.iocnum, kfwdl.bufp, kfwdl.fwlen); in mptctl_fw_download() 2860 kfw.bufp = compat_ptr(kfw32.bufp); in compat_mptfwxfer_ioctl() 2862 ret = mptctl_do_fw_download(kfw.iocnum, kfw.bufp, kfw.fwlen); in compat_mptfwxfer_ioctl()
|
/drivers/parport/ |
D | parport_ip32.c | 1126 u8 *bufp = buf; in parport_ip32_epp_read() local 1128 *bufp++ = readb(eppreg); in parport_ip32_epp_read() 1165 const u8 *bufp = buf; in parport_ip32_epp_write() local 1167 writeb(*bufp++, eppreg); in parport_ip32_epp_write() 1396 const u8 *bufp = buf; in parport_ip32_fifo_write_block_pio() local 1412 writeb(*bufp, priv->regs.fifo); in parport_ip32_fifo_write_block_pio() 1413 bufp++, left--; in parport_ip32_fifo_write_block_pio() 1415 writesb(priv->regs.fifo, bufp, count); in parport_ip32_fifo_write_block_pio() 1416 bufp += count, left -= count; in parport_ip32_fifo_write_block_pio()
|
D | parport_pc.c | 474 const unsigned char *bufp = buf; in parport_pc_fifo_write_block_pio() local 544 outsb(fifo, bufp, n); in parport_pc_fifo_write_block_pio() 545 bufp += n; in parport_pc_fifo_write_block_pio() 559 byte = *bufp++; in parport_pc_fifo_write_block_pio()
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | dhd_linux.c | 93 char *buf, *bufp; in _brcmf_set_multicast_list() local 112 bufp = buf; in _brcmf_set_multicast_list() 115 memcpy(bufp, &cnt_le, sizeof(cnt_le)); in _brcmf_set_multicast_list() 116 bufp += sizeof(cnt_le); in _brcmf_set_multicast_list() 121 memcpy(bufp, ha->addr, ETH_ALEN); in _brcmf_set_multicast_list() 122 bufp += ETH_ALEN; in _brcmf_set_multicast_list()
|
/drivers/media/dvb-core/ |
D | dvb_filter.c | 397 static u8 *skip_pes_header(u8 **bufp) 399 u8 *inbuf = *bufp; 429 *bufp = buf;
|
/drivers/usb/core/ |
D | hcd.c | 475 const u8 *bufp; in rh_call_control() local 506 bufp = tbuf; in rh_call_control() 561 bufp = usb3_rh_dev_descriptor; in rh_call_control() 564 bufp = usb25_rh_dev_descriptor; in rh_call_control() 567 bufp = usb2_rh_dev_descriptor; in rh_call_control() 570 bufp = usb11_rh_dev_descriptor; in rh_call_control() 582 bufp = ss_rh_config_descriptor; in rh_call_control() 587 bufp = hs_rh_config_descriptor; in rh_call_control() 591 bufp = fs_rh_config_descriptor; in rh_call_control() 689 memcpy (ubuf, bufp, len); in rh_call_control()
|
/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 705 ulong bufp; in smsc911x_phy_check_loopbackpkt() local 727 bufp = (ulong)pdata->loopback_tx_pkt & (~0x3); in smsc911x_phy_check_loopbackpkt() 732 pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz); in smsc911x_phy_check_loopbackpkt() 771 bufp = (ulong)pdata->loopback_rx_pkt; in smsc911x_phy_check_loopbackpkt() 776 pdata->ops->rx_readfifo(pdata, (unsigned int *)bufp, rdsz); in smsc911x_phy_check_loopbackpkt() 1688 ulong bufp; in smsc911x_hard_start_xmit() local 1707 bufp = (ulong)skb->data & (~0x3); in smsc911x_hard_start_xmit() 1712 pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz); in smsc911x_hard_start_xmit()
|
/drivers/spi/ |
D | spi-pl022.c | 881 void *bufp = buffer; in setup_dma_scatter() local 893 if (bytesleft < (PAGE_SIZE - offset_in_page(bufp))) in setup_dma_scatter() 896 mapbytes = PAGE_SIZE - offset_in_page(bufp); in setup_dma_scatter() 897 sg_set_page(sg, virt_to_page(bufp), in setup_dma_scatter() 898 mapbytes, offset_in_page(bufp)); in setup_dma_scatter() 899 bufp += mapbytes; in setup_dma_scatter() 903 bufp, mapbytes, bytesleft); in setup_dma_scatter()
|
/drivers/net/ethernet/ |
D | dnet.c | 543 unsigned int *bufp; in dnet_start_xmit() local 558 bufp = (unsigned int *)(((unsigned long) skb->data) & ~0x3UL); in dnet_start_xmit() 567 dnet_writel(bp, *bufp++, TX_DATA_FIFO); in dnet_start_xmit()
|
/drivers/net/ethernet/dec/tulip/ |
D | de2104x.c | 1793 void *bufp; in de21041_get_srom_info() local 1854 bufp = ((void *)il) + sizeof(*il); in de21041_get_srom_info() 1856 struct de_srom_media_block *ib = bufp; in de21041_get_srom_info() 1892 bufp += sizeof (ib->opts); in de21041_get_srom_info() 1898 bufp += sizeof(ib->csr13) + sizeof(ib->csr14) + in de21041_get_srom_info() 1912 if (bufp > ((void *)&ee_data[DE_EEPROM_SIZE - 3])) in de21041_get_srom_info()
|
/drivers/usb/gadget/udc/ |
D | net2272.c | 407 u16 *bufp; in net2272_write_packet() local 419 bufp = (u16 *)buf; in net2272_write_packet() 423 writew(*bufp++, ep_data); in net2272_write_packet() 426 buf = (u8 *)bufp; in net2272_write_packet() 516 u16 *bufp; in net2272_read_packet() local 535 bufp = (u16 *)buf; in net2272_read_packet() 538 *bufp++ = readw(ep_data); in net2272_read_packet()
|
/drivers/staging/iio/light/ |
D | tsl2583.c | 791 static int taos_tsl258x_device(unsigned char *bufp) in taos_tsl258x_device() argument 793 return ((bufp[TSL258X_CHIPID] & 0xf0) == 0x90); in taos_tsl258x_device()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 6468 char *bufp = buf; in print_port_info() local 6481 bufp += sprintf(bufp, "100/"); in print_port_info() 6483 bufp += sprintf(bufp, "1000/"); in print_port_info() 6485 bufp += sprintf(bufp, "10G/"); in print_port_info() 6487 bufp += sprintf(bufp, "40G/"); in print_port_info() 6488 if (bufp != buf) in print_port_info() 6489 --bufp; in print_port_info() 6490 sprintf(bufp, "BASE-%s", t4_get_port_type_description(pi->port_type)); in print_port_info()
|
/drivers/net/wireless/ath/ath10k/ |
D | wmi.h | 2378 u8 bufp[0]; member 2396 u8 bufp[0]; member 2927 char bufp[WMI_MAX_DEBUG_MESG]; member
|
D | wmi.c | 1829 tlv = (struct phyerr_tlv *)&event->bufp[i]; in ath10k_wmi_event_dfs() 1831 tlv_buf = &event->bufp[i + sizeof(*tlv)]; in ath10k_wmi_event_dfs() 1885 tlv = (struct phyerr_tlv *)&event->bufp[i]; in ath10k_wmi_event_spectral_scan() 1887 tlv_buf = &event->bufp[i + sizeof(*tlv)]; in ath10k_wmi_event_spectral_scan() 1950 event = (struct wmi_single_phyerr_rx_event *)comb_event->bufp; in ath10k_wmi_event_phyerr()
|