Home
last modified time | relevance | path

Searched refs:pbuf (Results 1 – 25 of 160) sorted by relevance

1234567

/linux/drivers/staging/rtl8712/
A Dwifi.h76 #define GetPwrMgt(pbuf) (((*(__le16 *)(pbuf)) & \ argument
87 #define GetMData(pbuf) (((*(__le16 *)(pbuf)) & \ argument
98 #define GetPrivacy(pbuf) (((*(__le16 *)(pbuf)) & \ argument
101 #define GetOrder(pbuf) (((*(__le16 *)(pbuf)) & \ argument
104 #define GetFrameType(pbuf) (le16_to_cpu(*(__le16 *)(pbuf)) & \ argument
114 #define GetFrameSubType(pbuf) (le16_to_cpu(*(__le16 *)(pbuf)) & \ argument
141 #define GetPriority(pbuf) ((le16_to_cpu(*(__le16 *)(pbuf))) & 0xf) argument
151 #define GetAddr1Ptr(pbuf) ((unsigned char *)((addr_t)(pbuf) + 4)) argument
153 #define GetAddr2Ptr(pbuf) ((unsigned char *)((addr_t)(pbuf) + 10)) argument
155 #define GetAddr3Ptr(pbuf) ((unsigned char *)((addr_t)(pbuf) + 16)) argument
[all …]
A Drtl8712_cmd.c107 if (!pbuf) in r871x_internal_cmd_hdl()
109 pdrvcmd = (struct drvint_cmd_parm *)pbuf; in r871x_internal_cmd_hdl()
117 kfree(pdrvcmd->pbuf); in r871x_internal_cmd_hdl()
123 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in read_macreg_hdl()
137 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in write_macreg_hdl()
150 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in read_bbreg_hdl()
159 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in write_bbreg_hdl()
173 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in read_rfreg_hdl()
188 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in write_rfreg_hdl()
200 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in sys_suspend_hdl()
[all …]
A Drtl871x_mlme.h163 void r8712_survey_event_callback(struct _adapter *adapter, u8 *pbuf);
164 void r8712_surveydone_event_callback(struct _adapter *adapter, u8 *pbuf);
165 void r8712_joinbss_event_callback(struct _adapter *adapter, u8 *pbuf);
166 void r8712_stassoc_event_callback(struct _adapter *adapter, u8 *pbuf);
167 void r8712_stadel_event_callback(struct _adapter *adapter, u8 *pbuf);
168 void r8712_atimdone_event_callback(struct _adapter *adapter, u8 *pbuf);
169 void r8712_cpwm_event_callback(struct _adapter *adapter, u8 *pbuf);
170 void r8712_wpspbc_event_callback(struct _adapter *adapter, u8 *pbuf);
A Dieee80211.c88 u8 *r8712_set_ie(u8 *pbuf, sint index, uint len, u8 *source, uint *frlen) in r8712_set_ie() argument
90 *pbuf = (u8)index; in r8712_set_ie()
91 *(pbuf + 1) = (u8)len; in r8712_set_ie()
93 memcpy((void *)(pbuf + 2), (void *)source, len); in r8712_set_ie()
95 return pbuf + len + 2; in r8712_set_ie()
102 u8 *r8712_get_ie(u8 *pbuf, sint index, uint *len, sint limit) in r8712_get_ie() argument
109 p = pbuf; in r8712_get_ie()
/linux/drivers/infiniband/hw/hfi1/
A Dpio_copy.c186 pbuf->carry.val64 = 0; in read_low_bytes()
202 jcopy(&pbuf->carry.val8[pbuf->carry_bytes], from, nbytes); in read_extra_bytes()
216 struct pio_buf *pbuf, in merge_write8() argument
223 temp = pbuf->carry.val64 | (new << mshift(pbuf->carry_bytes)); in merge_write8()
225 pbuf->carry.val64 = new >> zshift(pbuf->carry_bytes); in merge_write8()
357 void __iomem *dest = pbuf->start + (pbuf->qw_written * sizeof(u64)); in mid_copy_mix()
460 pbuf->qw_written++; in mid_copy_mix()
485 void __iomem *dest = pbuf->start + (pbuf->qw_written * sizeof(u64)); in mid_copy_straight()
615 dest = pbuf->start + (pbuf->qw_written * sizeof(u64)); in seg_pio_copy_mid()
633 pbuf->qw_written++; in seg_pio_copy_mid()
[all …]
A Dpio.c880 struct pio_buf *pbuf; in sc_disable() local
905 pbuf = &sc->sr[sc->sr_tail].pbuf; in sc_disable()
906 if (pbuf->cb) in sc_disable()
907 (*pbuf->cb)(pbuf->arg, PRC_SC_DISABLE); in sc_disable()
1471 pbuf = &sc->sr[head].pbuf; in sc_buffer_alloc()
1473 pbuf->cb = cb; in sc_buffer_alloc()
1474 pbuf->arg = arg; in sc_buffer_alloc()
1497 return pbuf; in sc_buffer_alloc()
1686 pbuf = &sc->sr[tail].pbuf; in sc_release_update()
1692 if (pbuf->cb) { in sc_release_update()
[all …]
A Dpio.h52 struct pio_buf pbuf; member
283 void pio_copy(struct hfi1_devdata *dd, struct pio_buf *pbuf, u64 pbc,
285 void seg_pio_copy_start(struct pio_buf *pbuf, u64 pbc,
287 void seg_pio_copy_mid(struct pio_buf *pbuf, const void *from, size_t nbytes);
288 void seg_pio_copy_end(struct pio_buf *pbuf);
/linux/drivers/staging/rtl8723bs/include/
A Dwifi.h95 #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_TO_DS_)) != 0) argument
100 #define GetFrDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_FROM_DS_)) != 0) argument
112 #define GetRetry(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_RETRY_)) != 0) argument
151 #define GetFrameSubType(pbuf) (le16_to_cpu(*(__le16 *)(pbuf)) & (BIT(7) |\ argument
192 #define GetPriority(pbuf) ((le16_to_cpu(*(__le16 *)(pbuf))) & 0xf) argument
200 #define GetAckpolicy(pbuf) (((le16_to_cpu(*(__le16 *)pbuf)) >> 5) & 0x3) argument
202 #define GetAMsdu(pbuf) (((le16_to_cpu(*(__le16 *)pbuf)) >> 7) & 0x1) argument
206 #define GetAddr1Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 4)) argument
208 #define GetAddr2Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 10)) argument
210 #define GetAddr3Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 16)) argument
[all …]
A Drtw_mlme_ext.h669 u8 (*h2cfuns)(struct adapter *padapter, u8 *pbuf);
675 u8 read_bbreg_hdl(struct adapter *padapter, u8 *pbuf);
677 u8 read_rfreg_hdl(struct adapter *padapter, u8 *pbuf);
681 u8 NULL_hdl(struct adapter *padapter, u8 *pbuf);
682 u8 join_cmd_hdl(struct adapter *padapter, u8 *pbuf);
683 u8 disconnect_hdl(struct adapter *padapter, u8 *pbuf);
684 u8 createbss_hdl(struct adapter *padapter, u8 *pbuf);
685 u8 setopmode_hdl(struct adapter *padapter, u8 *pbuf);
687 u8 setauth_hdl(struct adapter *padapter, u8 *pbuf);
688 u8 setkey_hdl(struct adapter *padapter, u8 *pbuf);
[all …]
/linux/drivers/staging/r8188eu/include/
A Dwifi.h192 #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_TO_DS_)) != 0) argument
218 #define GetRetry(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_RETRY_)) != 0) argument
300 #define GetPriority(pbuf) ((le16_to_cpu(*(__le16 *)(pbuf))) & 0xf) argument
308 #define GetAckpolicy(pbuf) (((le16_to_cpu(*(__le16 *)pbuf)) >> 5) & 0x3) argument
310 #define GetAMsdu(pbuf) (((le16_to_cpu(*(__le16 *)pbuf)) >> 7) & 0x1) argument
317 #define GetTid(pbuf) (le16_to_cpu(*(__le16 *)((size_t)(pbuf) + \ argument
318 (((GetToDs(pbuf)<<1) | GetFrDs(pbuf)) == 3 ? \
321 #define GetAddr1Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 4)) argument
323 #define GetAddr2Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 10)) argument
325 #define GetAddr3Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 16)) argument
[all …]
A Drtw_mlme_ext.h650 u8 (*h2cfuns)(struct adapter *padapter, u8 *pbuf);
655 u8 read_bbreg_hdl(struct adapter *padapter, u8 *pbuf);
657 u8 read_rfreg_hdl(struct adapter *padapter, u8 *pbuf);
659 u8 NULL_hdl(struct adapter *padapter, u8 *pbuf);
660 u8 join_cmd_hdl(struct adapter *padapter, u8 *pbuf);
661 u8 disconnect_hdl(struct adapter *padapter, u8 *pbuf);
662 u8 createbss_hdl(struct adapter *padapter, u8 *pbuf);
663 u8 setopmode_hdl(struct adapter *padapter, u8 *pbuf);
665 u8 setauth_hdl(struct adapter *padapter, u8 *pbuf);
666 u8 setkey_hdl(struct adapter *padapter, u8 *pbuf);
[all …]
/linux/drivers/mtd/nand/raw/
A Dnand_onfi.c165 pbuf = kzalloc((sizeof(*pbuf) * ONFI_PARAM_PAGES), GFP_KERNEL); in nand_onfi_detect()
166 if (!pbuf) in nand_onfi_detect()
170 !nand_read_data_op(chip, &pbuf[0], sizeof(*pbuf), true, true)) in nand_onfi_detect()
178 ret = nand_read_data_op(chip, &pbuf[i], sizeof(*pbuf), in nand_onfi_detect()
182 &pbuf[i], sizeof(*pbuf), in nand_onfi_detect()
191 p = &pbuf[i]; in nand_onfi_detect()
201 srcbufs[j] = pbuf + j; in nand_onfi_detect()
205 sizeof(*pbuf)); in nand_onfi_detect()
212 p = pbuf; in nand_onfi_detect()
327 kfree(pbuf); in nand_onfi_detect()
[all …]
/linux/drivers/media/platform/rockchip/rkisp1/
A Drkisp1-stats.c178 struct rkisp1_stat_buffer *pbuf) in rkisp1_stats_get_awb_meas_v10() argument
186 pbuf->params.awb.awb_mean[0].cnt = in rkisp1_stats_get_awb_meas_v10()
199 struct rkisp1_stat_buffer *pbuf) in rkisp1_stats_get_awb_meas_v12() argument
207 pbuf->params.awb.awb_mean[0].cnt = in rkisp1_stats_get_awb_meas_v12()
220 struct rkisp1_stat_buffer *pbuf) in rkisp1_stats_get_aec_meas_v10() argument
227 pbuf->params.ae.exp_mean[i] = in rkisp1_stats_get_aec_meas_v10()
233 struct rkisp1_stat_buffer *pbuf) in rkisp1_stats_get_aec_meas_v12() argument
242 pbuf->params.ae.exp_mean[4 * i + 0] = in rkisp1_stats_get_aec_meas_v12()
264 af = &pbuf->params.af; in rkisp1_stats_get_afc_meas()
297 pbuf->params.hist.hist_bins[2 * i] = in rkisp1_stats_get_hst_meas_v12()
[all …]
/linux/drivers/staging/r8188eu/core/
A Drtw_ieee80211.c117 return pbuf + len; in rtw_set_fixed_ie()
123 u8 *pbuf, in rtw_set_ie() argument
131 *pbuf = (u8)index; in rtw_set_ie()
133 *(pbuf + 1) = (u8)len; in rtw_set_ie()
156 p = pbuf; in rtw_get_ie()
279 u8 *pbuf = pie; in rtw_get_wpa_ie() local
283 pbuf = rtw_get_ie(pbuf, _WPA_IE_ID_, &len, limit_new); in rtw_get_wpa_ie()
285 if (pbuf) { in rtw_get_wpa_ie()
297 return pbuf; in rtw_get_wpa_ie()
307 pbuf += (2 + len); in rtw_get_wpa_ie()
[all …]
/linux/drivers/staging/rtl8723bs/core/
A Drtw_ieee80211.c114 return pbuf + len; in rtw_set_fixed_ie()
118 u8 *rtw_set_ie(u8 *pbuf, in rtw_set_ie() argument
124 *pbuf = (u8)index; in rtw_set_ie()
126 *(pbuf + 1) = (u8)len; in rtw_set_ie()
133 return pbuf + len + 2; in rtw_set_ie()
147 p = pbuf; in rtw_get_ie()
364 u8 *pbuf = pie; in rtw_get_wpa_ie() local
369 pbuf = rtw_get_ie(pbuf, WLAN_EID_VENDOR_SPECIFIC, &len, limit_new); in rtw_get_wpa_ie()
371 if (pbuf) { in rtw_get_wpa_ie()
386 return pbuf; in rtw_get_wpa_ie()
[all …]
/linux/drivers/firmware/arm_ffa/
A Ddriver.c303 struct ffa_partition_info *pbuf; in ffa_partition_probe() local
311 pbuf = kcalloc(count, sizeof(*pbuf), GFP_KERNEL); in ffa_partition_probe()
312 if (!pbuf) in ffa_partition_probe()
316 uuid0_4[3], pbuf, count); in ffa_partition_probe()
318 kfree(pbuf); in ffa_partition_probe()
320 *buffer = pbuf; in ffa_partition_probe()
578 struct ffa_partition_info *pbuf; in ffa_partition_info_get() local
589 memcpy(buffer, pbuf, sizeof(*pbuf) * count); in ffa_partition_info_get()
590 kfree(pbuf); in ffa_partition_info_get()
662 kfree(pbuf); in ffa_device_match_uuid()
[all …]
/linux/drivers/staging/r8188eu/hal/
A Dusb_ops_linux.c200 if (pbuf[0] != 0) in interrupt_handler_8188eu()
206 u8 *pbuf; in recvbuf2recvframe() local
221 pbuf = pskb->data; in recvbuf2recvframe()
223 prxstat = (struct recv_stat *)pbuf; in recvbuf2recvframe()
227 prxstat = (struct recv_stat *)pbuf; in recvbuf2recvframe()
251 pphy_status = (struct phy_stat *)(pbuf + RXDESC_OFFSET); in recvbuf2recvframe()
303 precvframe->rx_tail = pbuf + pattrib->drvinfo_sz + RXDESC_SIZE; in recvbuf2recvframe()
352 pbuf += pkt_offset; in recvbuf2recvframe()
494 precvbuf->pbuf = precvbuf->pskb->data; in rtw_read_port()
500 precvbuf->pbuf = precvbuf->pskb->data; in rtw_read_port()
[all …]
A Drtl8188eu_xmit.c395 u32 pbuf; /* next pkt address */ in rtl8188eu_xmitframe_complete() local
424 pxmitframe->buf_addr = pxmitbuf->pbuf; in rtl8188eu_xmitframe_complete()
439 pbuf = _RND8(pbuf_tail); in rtl8188eu_xmitframe_complete()
444 if (pbuf < bulkptr) { in rtl8188eu_xmitframe_complete()
490 if (_RND8(pbuf + len) > MAX_XMITBUF_SZ) { in rtl8188eu_xmitframe_complete()
499 pxmitframe->buf_addr = pxmitbuf->pbuf + pbuf; in rtl8188eu_xmitframe_complete()
512 pbuf_tail = pbuf + len; in rtl8188eu_xmitframe_complete()
513 pbuf = _RND8(pbuf_tail); in rtl8188eu_xmitframe_complete()
519 if (pbuf < bulkptr) { in rtl8188eu_xmitframe_complete()
525 bulkptr = ((pbuf / bulksize) + 1) * bulksize; in rtl8188eu_xmitframe_complete()
[all …]
A Drtl8188eu_recv.c23 if (precvbuf->pbuf) { in rtl8188eu_init_recvbuf()
24 precvbuf->pdata = precvbuf->pbuf; in rtl8188eu_init_recvbuf()
25 precvbuf->phead = precvbuf->pbuf; in rtl8188eu_init_recvbuf()
26 precvbuf->ptail = precvbuf->pbuf; in rtl8188eu_init_recvbuf()
/linux/arch/mips/kvm/
A Dloongson_ipi.c58 void *pbuf; in loongson_vipi_read() local
81 pbuf = (void *)s->buf + (offset - 0x20); in loongson_vipi_read()
83 *(uint64_t *)val = *(uint64_t *)pbuf; in loongson_vipi_read()
85 *(uint32_t *)val = *(uint32_t *)pbuf; in loongson_vipi_read()
103 void *pbuf; in loongson_vipi_write() local
136 pbuf = (void *)s->buf + (offset - 0x20); in loongson_vipi_write()
138 *(uint64_t *)pbuf = (uint64_t)data; in loongson_vipi_write()
140 *(uint32_t *)pbuf = (uint32_t)data; in loongson_vipi_write()
/linux/drivers/usb/mon/
A Dmon_text.c102 char *pbuf; member
412 ptr.pbuf = rp->printf_buf; in mon_text_read_t()
451 ptr.pbuf = rp->printf_buf; in mon_text_read_u()
523 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_head_t()
541 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_head_u()
552 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset()
560 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset()
571 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_intstat()
595 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_isodesc()
623 p->cnt += scnprintf(p->pbuf + p->cnt, in mon_text_read_data()
[all …]
/linux/sound/parisc/
A Dharmony.c196 h->pbuf.buf += h->pbuf.count; /* PAGE_SIZE */ in snd_harmony_interrupt()
197 h->pbuf.buf %= h->pbuf.size; /* MAX_BUFS*PAGE_SIZE */ in snd_harmony_interrupt()
200 h->pbuf.addr + h->pbuf.buf); in snd_harmony_interrupt()
403 h->pbuf.size = snd_pcm_lib_buffer_bytes(ss); in snd_harmony_playback_prepare()
405 if (h->pbuf.buf >= h->pbuf.size) in snd_harmony_playback_prepare()
406 h->pbuf.buf = 0; in snd_harmony_playback_prepare()
419 h->pbuf.addr = rt->dma_addr; in snd_harmony_playback_prepare()
465 if ((h->pbuf.addr == 0) || (h->pbuf.size == 0)) in snd_harmony_playback_pointer()
469 played = pcuradd - h->pbuf.addr; in snd_harmony_playback_pointer()
473 pcuradd, h->pbuf.addr, played); in snd_harmony_playback_pointer()
[all …]
/linux/arch/powerpc/kexec/
A Delf_64.c42 struct kexec_buf pbuf = { .image = image, .buf_min = 0, in elf64_load() local
52 kbuf.buf_min = pbuf.buf_min = crashk_res.start; in elf64_load()
53 kbuf.buf_max = pbuf.buf_max = in elf64_load()
64 ret = kexec_load_purgatory(image, &pbuf); in elf64_load()
70 pr_debug("Loaded purgatory at 0x%lx\n", pbuf.mem); in elf64_load()
/linux/net/netfilter/
A Dnf_conntrack_amanda.c97 char pbuf[sizeof("65535")], *tmp; in amanda_help() local
136 len = min_t(unsigned int, sizeof(pbuf) - 1, stop - off); in amanda_help()
137 if (skb_copy_bits(skb, off, pbuf, len)) in amanda_help()
139 pbuf[len] = '\0'; in amanda_help()
141 port = htons(simple_strtoul(pbuf, &tmp, 10)); in amanda_help()
142 len = tmp - pbuf; in amanda_help()
/linux/lib/
A Dpacking.c89 int packing(void *pbuf, u64 *uval, int startbit, int endbit, size_t pbuflen, in packing() argument
181 pval = ((u8 *)pbuf)[box_addr] & box_mask; in packing()
205 ((u8 *)pbuf)[box_addr] &= ~box_mask; in packing()
206 ((u8 *)pbuf)[box_addr] |= pval; in packing()

Completed in 71 milliseconds

1234567