Searched refs:bufp (Results 1 - 25 of 70) sorted by path

123

/linux-master/drivers/message/fusion/
H A Dmptctl.h104 void __user *bufp; /* Pointer to firmware buffer */ member in struct:mpt_fw_xfer
111 u32 bufp; member in struct:mpt_fw_xfer32
H A Dmptctl.c758 return mptctl_do_fw_download(iocp, kfwdl.bufp, kfwdl.fwlen);
806 dctlprintk(iocp, printk(MYIOC_s_DEBUG_FMT "DbG: kfwdl.bufp = %p\n",
2743 kfw.bufp = compat_ptr(kfw32.bufp);
2745 ret = mptctl_do_fw_download(iocp, kfw.bufp, kfw.fwlen);
/linux-master/tools/virtio/ringtest/
H A Dnoring.c23 void *get_buf(unsigned *lenp, void **bufp) argument
64 bool use_buf(unsigned *lenp, void **bufp) argument
H A Dptr_ring.c147 void *get_buf(unsigned *lenp, void **bufp) argument
197 bool use_buf(unsigned *lenp, void **bufp) argument
H A Dring.c143 void *get_buf(unsigned *lenp, void **bufp) argument
156 *bufp = data[index].buf;
226 bool use_buf(unsigned *lenp, void **bufp) argument
H A Dvirtio_ring_0_9.c152 void *get_buf(unsigned *lenp, void **bufp) argument
186 *bufp = (void*)(unsigned long)ring.desc[index].addr;
270 bool use_buf(unsigned *lenp, void **bufp) argument
302 *bufp = (void *)(unsigned long)desc->addr;
/linux-master/arch/powerpc/include/asm/
H A Dfadump-internal.h138 void __init fadump_update_elfcore_header(char *bufp);
/linux-master/arch/powerpc/kernel/
H A Dfadump.c768 void __init fadump_update_elfcore_header(char *bufp) argument
772 bufp += sizeof(struct elfhdr);
775 phdr = (struct elf_phdr *)bufp;
964 static int fadump_init_elfcore_header(char *bufp) argument
968 elf = (struct elfhdr *) bufp;
969 bufp += sizeof(struct elfhdr);
1076 static int fadump_create_elfcore_headers(char *bufp) argument
1083 fadump_init_elfcore_header(bufp);
1084 elf = (struct elfhdr *)bufp;
1085 bufp
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-core.c140 Elf64_Off *bufp = (Elf64_Off *)oc_conf->auxv_buf; local
143 memset(bufp, 0, AUXV_DESC_SZ);
146 bufp[idx++] = cpu_to_be64(AT_ENTRY);
147 bufp[idx++] = cpu_to_be64(opal_boot_entry);
150 bufp[idx++] = cpu_to_be64(AT_NULL);
228 char *bufp; local
232 bufp = __va(oc_conf->cpu_state_destination_vaddr);
239 thdr = (struct hdat_fadump_thread_hdr *)bufp;
258 for (i = 0; i < oc_conf->num_cpus; i++, bufp += size_per_thread) {
259 thdr = (struct hdat_fadump_thread_hdr *)bufp;
310 char *bufp; local
[all...]
H A Dopal-fadump.c425 char *bufp; local
431 bufp = __va(fadump_conf->cpu_state_dest_vaddr);
448 thdr = (struct hdat_fadump_thread_hdr *)bufp;
459 for (i = 0; i < num_cpus; i++, bufp += size_per_thread) {
460 thdr = (struct hdat_fadump_thread_hdr *)bufp;
491 opal_fadump_read_regs((bufp + regs_offset), regs_cnt,
H A Dopal-fadump.h124 static inline void opal_fadump_read_regs(char *bufp, unsigned int regs_cnt, argument
135 for (i = 0; i < regs_cnt; i++, bufp += reg_entry_size) {
136 reg_entry = (struct hdat_fadump_reg_entry *)bufp;
/linux-master/arch/x86/crypto/
H A Dcrc32c-pcl-intel-asm_64.S77 #define bufp rdi define
107 mov %bufp, bufptmp # rdi = *buf
108 neg %bufp
109 and $7, %bufp # calculate the unalignment amount of
125 add %bufp, bufptmp # align buffer pointer for quadword
127 sub %bufp, len # update buffer length
131 dec %bufp
171 leaq jump_table(%rip), %bufp
172 mov (%bufp,%rax,8), %bufp
[all...]
/linux-master/drivers/bus/
H A Dti-sysc.c966 * @bufp: buffer to print the information to
969 static int sysc_show_rev(char *bufp, struct sysc *ddata) argument
974 return sprintf(bufp, ":NA");
976 len = sprintf(bufp, ":%08x", ddata->revision);
982 char *bufp, enum sysc_registers reg)
985 return sprintf(bufp, ":NA");
987 return sprintf(bufp, ":%x", ddata->offsets[reg]);
990 static int sysc_show_name(char *bufp, struct sysc *ddata) argument
995 return sprintf(bufp, ":%s", ddata->name);
1005 char *bufp local
981 sysc_show_reg(struct sysc *ddata, char *bufp, enum sysc_registers reg) argument
[all...]
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-tmc-core.c182 char *bufp; local
186 actual = tmc_get_sysfs_trace(drvdata, *ppos, len, &bufp);
190 if (copy_to_user(data, bufp, actual)) {
H A Dcoresight-tmc-etf.c62 char *bufp; local
67 bufp = drvdata->buf;
73 memcpy(bufp, &read_data, 4);
74 bufp += 4;
H A Dcoresight-tmc-etr.c942 char *bufp; local
945 CORESIGHT_BARRIER_PKT_SIZE, &bufp);
948 coresight_insert_barrier_packet(bufp);
/linux-master/drivers/infiniband/hw/irdma/
H A Dcm.c12 * @bufp: puda buffer to free
14 void irdma_free_sqbuf(struct irdma_sc_vsi *vsi, void *bufp) argument
16 struct irdma_puda_buf *buf = bufp;
H A Dmain.h518 void irdma_free_sqbuf(struct irdma_sc_vsi *vsi, void *bufp);
/linux-master/drivers/input/touchscreen/
H A Dsilead.c248 u8 *bufp, buf[SILEAD_TS_DATA_LEN]; local
269 bufp = buf + SILEAD_POINT_DATA_LEN;
270 for (i = 0; i < buf[0]; i++, bufp += SILEAD_POINT_DATA_LEN) {
271 softbutton = (bufp[SILEAD_POINT_Y_MSB_OFF] &
290 data->id[touch_nr] = (bufp[SILEAD_POINT_X_MSB_OFF] &
293 get_unaligned_le16(&bufp[SILEAD_POINT_X_OFF]) & 0xfff,
294 get_unaligned_le16(&bufp[SILEAD_POINT_Y_OFF]) & 0xfff);
/linux-master/drivers/misc/bcm-vk/
H A Dbcm_vk_dev.c533 static void bcm_vk_buf_notify(struct bcm_vk *vk, void *bufp, argument
549 void *bufp = NULL; local
582 bufp = dma_alloc_coherent(dev,
585 if (!bufp) {
604 bufp = dma_alloc_coherent(dev,
607 if (!bufp) {
613 bcm_vk_buf_notify(vk, bufp, boot_dma_addr, max_buf);
622 bufp, max_buf, offset);
631 bufp,
709 dev, bufp,
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c6134 char *bufp = buf; local
6139 bufp += sprintf(bufp, "100M/");
6141 bufp += sprintf(bufp, "1G/");
6143 bufp += sprintf(bufp, "10G/");
6145 bufp += sprintf(bufp, "25G/");
6147 bufp
[all...]
H A Dt4_hw.c2677 u32 *bufp = (u32 *)((char *)buf + reg); local
2682 while (reg <= last_reg && bufp < buf_end) {
2683 *bufp++ = t4_read_reg(adap, reg);
/linux-master/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c1806 void *bufp; local
1866 bufp = ((void *)il) + sizeof(*il);
1868 struct de_srom_media_block *ib = bufp;
1904 bufp += sizeof (ib->opts);
1910 bufp += sizeof(ib->csr13) + sizeof(ib->csr14) +
1924 if (bufp > ((void *)&ee_data[DE_EEPROM_SIZE - 3]))
/linux-master/drivers/net/ethernet/
H A Ddnet.c512 unsigned int *bufp; local
525 bufp = (unsigned int *)(((unsigned long) skb->data) & ~0x3UL);
534 dnet_writel(bp, *bufp++, TX_DATA_FIFO);
/linux-master/drivers/net/ethernet/smsc/
H A Dsmsc911x.c714 ulong bufp; local
736 bufp = (ulong)pdata->loopback_tx_pkt & (~0x3);
741 pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz);
780 bufp = (ulong)pdata->loopback_rx_pkt;
785 pdata->ops->rx_readfifo(pdata, (unsigned int *)bufp, rdsz);
1795 ulong bufp; local
1814 bufp = (ulong)skb->data & (~0x3);
1819 pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz);

Completed in 389 milliseconds

123