/Linux-v5.10/drivers/staging/rtl8712/ |
D | wifi.h | 141 #define SetToDs(pbuf) ({ \ argument 142 *(__le16 *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 145 #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_TO_DS_)) != 0) argument 147 #define ClearToDs(pbuf) ({ \ argument 148 *(__le16 *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 151 #define SetFrDs(pbuf) ({ \ argument 152 *(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 155 #define GetFrDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_FROM_DS_)) != 0) argument 157 #define ClearFrDs(pbuf) ({ \ argument 158 *(__le16 *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
D | rtl8712_cmd.c | 103 static void r871x_internal_cmd_hdl(struct _adapter *padapter, u8 *pbuf) in r871x_internal_cmd_hdl() argument 107 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() 120 static u8 read_macreg_hdl(struct _adapter *padapter, u8 *pbuf) in read_macreg_hdl() argument 123 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in read_macreg_hdl() 134 static u8 write_macreg_hdl(struct _adapter *padapter, u8 *pbuf) in write_macreg_hdl() argument 137 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in write_macreg_hdl() 148 static u8 read_bbreg_hdl(struct _adapter *padapter, u8 *pbuf) in read_bbreg_hdl() argument 150 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in read_bbreg_hdl() [all …]
|
D | rtl871x_mlme.h | 164 void r8712_survey_event_callback(struct _adapter *adapter, u8 *pbuf); 165 void r8712_surveydone_event_callback(struct _adapter *adapter, u8 *pbuf); 166 void r8712_joinbss_event_callback(struct _adapter *adapter, u8 *pbuf); 167 void r8712_stassoc_event_callback(struct _adapter *adapter, u8 *pbuf); 168 void r8712_stadel_event_callback(struct _adapter *adapter, u8 *pbuf); 169 void r8712_atimdone_event_callback(struct _adapter *adapter, u8 *pbuf); 170 void r8712_cpwm_event_callback(struct _adapter *adapter, u8 *pbuf); 171 void r8712_wpspbc_event_callback(struct _adapter *adapter, u8 *pbuf);
|
D | ieee80211.c | 88 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()
|
D | usb_ops_linux.c | 30 void *pbuf; member 184 __le32 *pbuf; in r8712_usb_read_port_complete() local 200 pbuf = (__le32 *)precvbuf->pbuf; in r8712_usb_read_port_complete() 201 isevt = le32_to_cpu(*(pbuf + 1)) & 0x1ff; in r8712_usb_read_port_complete() 203 r8712_rxcmd_event_hdl(padapter, pbuf); in r8712_usb_read_port_complete() 277 precvbuf->pbuf = precvbuf->pskb->data; in r8712_usb_read_port() 283 precvbuf->pbuf = precvbuf->pskb->data; in r8712_usb_read_port() 289 precvbuf->pbuf, MAX_RECVBUF_SZ, in r8712_usb_read_port()
|
/Linux-v5.10/drivers/infiniband/hw/hfi1/ |
D | pio_copy.c | 71 void pio_copy(struct hfi1_devdata *dd, struct pio_buf *pbuf, u64 pbc, in pio_copy() argument 74 void __iomem *dest = pbuf->start + SOP_DISTANCE; in pio_copy() 125 if (pbuf->end <= dend) { in pio_copy() 126 while (dest < pbuf->end) { in pio_copy() 132 dest -= pbuf->sc->size; in pio_copy() 133 dend -= pbuf->sc->size; in pio_copy() 164 this_cpu_dec(*pbuf->sc->buffers_allocated); in pio_copy() 224 static inline void read_low_bytes(struct pio_buf *pbuf, const void *from, in read_low_bytes() argument 227 pbuf->carry.val64 = 0; in read_low_bytes() 228 jcopy(&pbuf->carry.val8[0], from, nbytes); in read_low_bytes() [all …]
|
D | pio.h | 94 struct pio_buf pbuf; member 327 void pio_copy(struct hfi1_devdata *dd, struct pio_buf *pbuf, u64 pbc, 329 void seg_pio_copy_start(struct pio_buf *pbuf, u64 pbc, 331 void seg_pio_copy_mid(struct pio_buf *pbuf, const void *from, size_t nbytes); 332 void seg_pio_copy_end(struct pio_buf *pbuf);
|
D | pio.c | 922 struct pio_buf *pbuf; in sc_disable() local 946 pbuf = &sc->sr[sc->sr_tail].pbuf; in sc_disable() 947 if (pbuf->cb) in sc_disable() 948 (*pbuf->cb)(pbuf->arg, PRC_SC_DISABLE); in sc_disable() 1452 struct pio_buf *pbuf = NULL; in sc_buffer_alloc() local 1510 pbuf = &sc->sr[head].pbuf; in sc_buffer_alloc() 1511 pbuf->sent_at = sc->fill; in sc_buffer_alloc() 1512 pbuf->cb = cb; in sc_buffer_alloc() 1513 pbuf->arg = arg; in sc_buffer_alloc() 1514 pbuf->sc = sc; /* could be filled in at sc->sr init time */ in sc_buffer_alloc() [all …]
|
/Linux-v5.10/drivers/staging/rtl8188eu/include/ |
D | wifi.h | 114 #define SetToDs(pbuf) \ argument 115 *(__le16 *)(pbuf) |= cpu_to_le16(_TO_DS_) 117 #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_TO_DS_)) != 0) argument 119 #define ClearToDs(pbuf) \ argument 120 *(__le16 *)(pbuf) &= (~cpu_to_le16(_TO_DS_)) 122 #define SetFrDs(pbuf) \ argument 123 *(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_) 125 #define GetFrDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_FROM_DS_)) != 0) argument 127 #define ClearFrDs(pbuf) \ argument 128 *(__le16 *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)) [all …]
|
D | rtw_mlme_ext.h | 578 u8 (*h2cfuns)(struct adapter *padapter, u8 *pbuf); 581 u8 read_macreg_hdl(struct adapter *padapter, u8 *pbuf); 582 u8 write_macreg_hdl(struct adapter *padapter, u8 *pbuf); 583 u8 read_bbreg_hdl(struct adapter *padapter, u8 *pbuf); 584 u8 write_bbreg_hdl(struct adapter *padapter, u8 *pbuf); 585 u8 read_rfreg_hdl(struct adapter *padapter, u8 *pbuf); 586 u8 write_rfreg_hdl(struct adapter *padapter, u8 *pbuf); 587 u8 join_cmd_hdl(struct adapter *padapter, u8 *pbuf); 588 u8 disconnect_hdl(struct adapter *padapter, u8 *pbuf); 589 u8 createbss_hdl(struct adapter *padapter, u8 *pbuf); [all …]
|
D | rtw_mlme.h | 219 void rtw_joinbss_event_prehandle(struct adapter *adapter, u8 *pbuf); 220 void rtw_survey_event_callback(struct adapter *adapter, u8 *pbuf); 221 void rtw_surveydone_event_callback(struct adapter *adapter, u8 *pbuf); 222 void rtw_joinbss_event_callback(struct adapter *adapter, u8 *pbuf); 223 void rtw_stassoc_event_callback(struct adapter *adapter, u8 *pbuf); 224 void rtw_stadel_event_callback(struct adapter *adapter, u8 *pbuf); 225 void rtw_atimdone_event_callback(struct adapter *adapter, u8 *pbuf); 226 void rtw_cpwm_event_callback(struct adapter *adapter, u8 *pbuf);
|
/Linux-v5.10/drivers/staging/rtl8723bs/include/ |
D | wifi.h | 201 #define SetToDs(pbuf) \ argument 202 *(__le16 *)(pbuf) |= cpu_to_le16(_TO_DS_) 204 #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_TO_DS_)) != 0) argument 206 #define ClearToDs(pbuf) \ argument 207 *(__le16 *)(pbuf) &= (~cpu_to_le16(_TO_DS_)) 209 #define SetFrDs(pbuf) \ argument 210 *(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_) 212 #define GetFrDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_FROM_DS_)) != 0) argument 214 #define ClearFrDs(pbuf) \ argument 215 *(__le16 *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)) [all …]
|
D | rtw_mlme_ext.h | 732 u8 (*h2cfuns)(struct adapter *padapter, u8 *pbuf); 736 u8 read_macreg_hdl(struct adapter *padapter, u8 *pbuf); 737 u8 write_macreg_hdl(struct adapter *padapter, u8 *pbuf); 738 u8 read_bbreg_hdl(struct adapter *padapter, u8 *pbuf); 739 u8 write_bbreg_hdl(struct adapter *padapter, u8 *pbuf); 740 u8 read_rfreg_hdl(struct adapter *padapter, u8 *pbuf); 741 u8 write_rfreg_hdl(struct adapter *padapter, u8 *pbuf); 744 u8 NULL_hdl(struct adapter *padapter, u8 *pbuf); 745 u8 join_cmd_hdl(struct adapter *padapter, u8 *pbuf); 746 u8 disconnect_hdl(struct adapter *padapter, u8 *pbuf); [all …]
|
/Linux-v5.10/drivers/mtd/nand/raw/ |
D | nand_onfi.c | 149 struct nand_onfi_params *p = NULL, *pbuf; in nand_onfi_detect() local 165 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() 175 ret = nand_read_param_page_op(chip, 0, &pbuf[i], in nand_onfi_detect() 176 sizeof(*pbuf)); in nand_onfi_detect() 178 ret = nand_read_data_op(chip, &pbuf[i], sizeof(*pbuf), in nand_onfi_detect() 181 ret = nand_change_read_column_op(chip, sizeof(*pbuf) * i, in nand_onfi_detect() 182 &pbuf[i], sizeof(*pbuf), in nand_onfi_detect() 189 crc = onfi_crc16(ONFI_CRC_BASE, (u8 *)&pbuf[i], 254); in nand_onfi_detect() [all …]
|
/Linux-v5.10/drivers/staging/media/rkisp1/ |
D | rkisp1-stats.c | 197 struct rkisp1_stat_buffer *pbuf) in rkisp1_stats_get_awb_meas() argument 203 pbuf->meas_type |= RKISP1_CIF_ISP_STAT_AWB; in rkisp1_stats_get_awb_meas() 205 pbuf->params.awb.awb_mean[0].cnt = in rkisp1_stats_get_awb_meas() 209 pbuf->params.awb.awb_mean[0].mean_cr_or_r = in rkisp1_stats_get_awb_meas() 211 pbuf->params.awb.awb_mean[0].mean_cb_or_b = in rkisp1_stats_get_awb_meas() 213 pbuf->params.awb.awb_mean[0].mean_y_or_g = in rkisp1_stats_get_awb_meas() 218 struct rkisp1_stat_buffer *pbuf) in rkisp1_stats_get_aec_meas() argument 223 pbuf->meas_type |= RKISP1_CIF_ISP_STAT_AUTOEXP; in rkisp1_stats_get_aec_meas() 225 pbuf->params.ae.exp_mean[i] = in rkisp1_stats_get_aec_meas() 231 struct rkisp1_stat_buffer *pbuf) in rkisp1_stats_get_afc_meas() argument [all …]
|
/Linux-v5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_ieee80211.c | 112 u8 *rtw_set_fixed_ie(void *pbuf, unsigned int len, void *source, in rtw_set_fixed_ie() argument 115 memcpy(pbuf, source, len); in rtw_set_fixed_ie() 117 return ((u8 *)pbuf) + len; in rtw_set_fixed_ie() 123 u8 *pbuf, in rtw_set_ie() argument 130 *pbuf = (u8)index; in rtw_set_ie() 132 *(pbuf + 1) = (u8)len; in rtw_set_ie() 135 memcpy((void *)(pbuf + 2), (void *)source, len); in rtw_set_ie() 139 return pbuf + len + 2; in rtw_set_ie() 147 u8 *rtw_get_ie(u8 *pbuf, int index, uint *len, int limit) in rtw_get_ie() argument 155 p = pbuf; in rtw_get_ie() [all …]
|
/Linux-v5.10/arch/mips/kvm/ |
D | loongson_ipi.c | 58 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-v5.10/drivers/usb/mon/ |
D | mon_text.c | 102 char *pbuf; member 412 ptr.pbuf = rp->printf_buf; in mon_text_read_t() 417 ptr.cnt += scnprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, in mon_text_read_t() 451 ptr.pbuf = rp->printf_buf; in mon_text_read_u() 465 ptr.cnt += scnprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, 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() 563 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset() [all …]
|
/Linux-v5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 113 u8 *rtw_set_fixed_ie(unsigned char *pbuf, unsigned int len, unsigned char *source, in rtw_set_fixed_ie() argument 116 memcpy((void *)pbuf, (void *)source, len); in rtw_set_fixed_ie() 118 return pbuf + len; in rtw_set_fixed_ie() 124 u8 *pbuf, in rtw_set_ie() argument 131 *pbuf = (u8)index; in rtw_set_ie() 133 *(pbuf + 1) = (u8)len; in rtw_set_ie() 136 memcpy((void *)(pbuf + 2), (void *)source, len); in rtw_set_ie() 140 return pbuf + len + 2; in rtw_set_ie() 146 u8 *rtw_get_ie(u8 *pbuf, sint index, sint *len, sint limit) in rtw_get_ie() argument 154 p = pbuf; in rtw_get_ie() [all …]
|
/Linux-v5.10/arch/powerpc/kexec/ |
D | elf_64.c | 42 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-v5.10/block/ |
D | cmdline-parser.c | 168 char *pbuf; in cmdline_parts_parse() local 174 next = pbuf = buf = kstrdup(cmdline, GFP_KERNEL); in cmdline_parts_parse() 180 while (next && *pbuf) { in cmdline_parts_parse() 181 next = strchr(pbuf, ';'); in cmdline_parts_parse() 185 ret = parse_parts(next_parts, pbuf); in cmdline_parts_parse() 190 pbuf = ++next; in cmdline_parts_parse()
|
/Linux-v5.10/net/netfilter/ |
D | nf_conntrack_amanda.c | 97 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-v5.10/sound/parisc/ |
D | harmony.c | 196 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() 304 harmony_write(h, HARMONY_PNXTADD, h->pbuf.addr); in snd_harmony_playback_trigger() 403 h->pbuf.size = snd_pcm_lib_buffer_bytes(ss); in snd_harmony_playback_prepare() 404 h->pbuf.count = snd_pcm_lib_period_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() [all …]
|
/Linux-v5.10/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_xmit.c | 427 u32 pbuf; /* next pkt address */ in rtl8188eu_xmitframe_complete() local 455 pxmitframe->buf_addr = pxmitbuf->pbuf; in rtl8188eu_xmitframe_complete() 470 pbuf = round_up(pbuf_tail, 8); in rtl8188eu_xmitframe_complete() 475 if (pbuf < bulkptr) { in rtl8188eu_xmitframe_complete() 479 bulkptr = ((pbuf / bulksize) + 1) * bulksize; /* round to next bulksize */ in rtl8188eu_xmitframe_complete() 521 if (round_up(pbuf + len, 8) > MAX_XMITBUF_SZ) { in rtl8188eu_xmitframe_complete() 530 pxmitframe->buf_addr = pxmitbuf->pbuf + pbuf; in rtl8188eu_xmitframe_complete() 543 pbuf_tail = pbuf + len; in rtl8188eu_xmitframe_complete() 544 pbuf = round_up(pbuf_tail, 8); in rtl8188eu_xmitframe_complete() 550 if (pbuf < bulkptr) { in rtl8188eu_xmitframe_complete() [all …]
|
/Linux-v5.10/lib/ |
D | packing.c | 89 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()
|