/drivers/staging/rtl8712/ |
D | wifi.h | 162 #define SetToDs(pbuf) ({ \ argument 163 *(unsigned short *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 166 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & \ argument 169 #define ClearToDs(pbuf) ({ \ argument 170 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 173 #define SetFrDs(pbuf) ({ \ argument 174 *(unsigned short *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 177 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & \ argument 180 #define ClearFrDs(pbuf) ({ \ argument 181 *(unsigned short *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ [all …]
|
D | ieee80211.c | 100 u8 *r8712_set_ie(u8 *pbuf, sint index, uint len, u8 *source, uint *frlen) in r8712_set_ie() argument 102 *pbuf = (u8)index; in r8712_set_ie() 103 *(pbuf + 1) = (u8)len; in r8712_set_ie() 105 memcpy((void *)(pbuf + 2), (void *)source, len); in r8712_set_ie() 107 return pbuf + len + 2; in r8712_set_ie() 113 u8 *r8712_get_ie(u8 *pbuf, sint index, sint *len, sint limit) in r8712_get_ie() argument 120 p = pbuf; in r8712_get_ie() 224 u8 *pbuf = pie; in r8712_get_wpa_ie() local 227 pbuf = r8712_get_ie(pbuf, _WPA_IE_ID_, &len, limit); in r8712_get_wpa_ie() 228 if (pbuf) { in r8712_get_wpa_ie() [all …]
|
D | rtl8712_cmd.c | 112 static void r871x_internal_cmd_hdl(struct _adapter *padapter, u8 *pbuf) in r871x_internal_cmd_hdl() argument 116 if (!pbuf) in r871x_internal_cmd_hdl() 118 pdrvcmd = (struct drvint_cmd_parm *)pbuf; in r871x_internal_cmd_hdl() 126 kfree(pdrvcmd->pbuf); in r871x_internal_cmd_hdl() 129 static u8 read_macreg_hdl(struct _adapter *padapter, u8 *pbuf) in read_macreg_hdl() argument 132 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in read_macreg_hdl() 143 static u8 write_macreg_hdl(struct _adapter *padapter, u8 *pbuf) in write_macreg_hdl() argument 146 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in write_macreg_hdl() 157 static u8 read_bbreg_hdl(struct _adapter *padapter, u8 *pbuf) in read_bbreg_hdl() argument 162 struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; in read_bbreg_hdl() [all …]
|
D | rtl871x_mlme.h | 189 void r8712_survey_event_callback(struct _adapter *adapter, u8 *pbuf); 190 void r8712_surveydone_event_callback(struct _adapter *adapter, u8 *pbuf); 191 void r8712_joinbss_event_callback(struct _adapter *adapter, u8 *pbuf); 192 void r8712_stassoc_event_callback(struct _adapter *adapter, u8 *pbuf); 193 void r8712_stadel_event_callback(struct _adapter *adapter, u8 *pbuf); 194 void r8712_atimdone_event_callback(struct _adapter *adapter, u8 *pbuf); 195 void r8712_cpwm_event_callback(struct _adapter *adapter, u8 *pbuf); 196 void r8712_wpspbc_event_callback(struct _adapter *adapter, u8 *pbuf);
|
D | usb_ops_linux.c | 42 void *pbuf; member 195 uint isevt, *pbuf; in r8712_usb_read_port_complete() local 210 pbuf = (uint *)precvbuf->pbuf; in r8712_usb_read_port_complete() 211 isevt = le32_to_cpu(*(pbuf + 1)) & 0x1ff; in r8712_usb_read_port_complete() 213 r8712_rxcmd_event_hdl(padapter, pbuf); in r8712_usb_read_port_complete() 290 precvbuf->pbuf = precvbuf->pskb->data; in r8712_usb_read_port() 296 precvbuf->pbuf = precvbuf->pskb->data; in r8712_usb_read_port() 303 precvbuf->pbuf, MAX_RECVBUF_SZ, in r8712_usb_read_port()
|
D | rtl8712_xmit.c | 265 struct tx_desc *ptx_desc = (struct tx_desc *)pxmitbuf->pbuf; in r8712_construct_txaggr_cmd_desc() 287 (pxmitbuf->pbuf + TXDESC_SIZE); in r8712_construct_txaggr_cmd_hdr() 302 struct tx_desc *ptx_desc = (struct tx_desc *)pxmitbuf->pbuf; in r8712_append_mpdu_unit() 345 pxmitframe->buf_addr = pxmitbuf->pbuf+TXDESC_SIZE+CMD_HDR_SZ; in r8712_xmitframe_aggr_1st() 362 pxmitframe->buf_addr = pxmitbuf->pbuf + TXDESC_SIZE + in r8712_xmitframe_aggr_next() 363 (((struct tx_desc *)pxmitbuf->pbuf)->txdw0 & 0x0000ffff); in r8712_xmitframe_aggr_next() 371 (((struct tx_desc *)pxmitbuf->pbuf)->txdw0 & 0x0000ffff); in r8712_xmitframe_aggr_next() 379 struct tx_desc *ptxdesc = (struct tx_desc *)pxmitbuf->pbuf; in r8712_dump_aggr_xframe() 381 (pxmitbuf->pbuf + TXDESC_SIZE); in r8712_dump_aggr_xframe() 394 pxmitframe->mem_addr = pxmitbuf->pbuf; in r8712_dump_aggr_xframe() [all …]
|
D | rtl871x_io.h | 84 u32 addr, u32 cnt, u8 *pbuf); 86 u32 addr, u32 cnt, u8 *pbuf); 91 u32 addr, u32 cnt, u8 *pbuf, 94 u32 addr, u32 cnt, u8 *pbuf); 119 u8 *pbuf; member
|
D | rtl871x_mlme.c | 47 u8 *pbuf; in _init_mlme_priv() local 65 pbuf = _malloc(MAX_BSS_CNT * (sizeof(struct wlan_network))); in _init_mlme_priv() 66 if (pbuf == NULL) in _init_mlme_priv() 68 pmlmepriv->free_bss_buf = pbuf; in _init_mlme_priv() 69 pnetwork = (struct wlan_network *)pbuf; in _init_mlme_priv() 501 void r8712_atimdone_event_callback(struct _adapter *adapter , u8 *pbuf) in r8712_atimdone_event_callback() argument 505 void r8712_survey_event_callback(struct _adapter *adapter, u8 *pbuf) in r8712_survey_event_callback() argument 512 pnetwork = (struct ndis_wlan_bssid_ex *)pbuf; in r8712_survey_event_callback() 576 void r8712_surveydone_event_callback(struct _adapter *adapter, u8 *pbuf) in r8712_surveydone_event_callback() argument 715 void r8712_joinbss_event_callback(struct _adapter *adapter, u8 *pbuf) in r8712_joinbss_event_callback() argument [all …]
|
D | rtl8712_recv.c | 132 if (precvbuf->pbuf) { in r8712_init_recvbuf() 133 precvbuf->pdata = precvbuf->pbuf; in r8712_init_recvbuf() 134 precvbuf->phead = precvbuf->pbuf; in r8712_init_recvbuf() 135 precvbuf->ptail = precvbuf->pbuf; in r8712_init_recvbuf() 1027 u8 *pbuf, shift_sz = 0; in recvbuf2recvframe() local 1039 pbuf = pskb->data; in recvbuf2recvframe() 1040 prxstat = (struct recv_stat *)pbuf; in recvbuf2recvframe() 1053 prxstat = (struct recv_stat *)pbuf; in recvbuf2recvframe() 1091 memcpy(pkt_copy->data, pbuf, tmp_len); in recvbuf2recvframe() 1099 precvframe->u.hdr.rx_head = pbuf; in recvbuf2recvframe() [all …]
|
D | rtl871x_event.h | 85 void (*event_callback)(struct _adapter *dev, u8 *pbuf);
|
/drivers/isdn/hardware/eicon/ |
D | mntfunc.c | 213 byte *pbuf; in maint_read_write() local 215 if (!(pbuf = diva_os_malloc(0, mask))) { in maint_read_write() 230 memcpy(pbuf, pmsg, size); in maint_read_write() 233 diva_os_copy_to_user(NULL, buf, (void *) pbuf, size)) in maint_read_write() 237 diva_os_free(0, pbuf); in maint_read_write() 245 byte *pbuf = NULL; in maint_read_write() local 252 if (!(pbuf = diva_os_malloc(0, mask))) { in maint_read_write() 268 pbuf[written++] = (byte) size; in maint_read_write() 269 pbuf[written++] = (byte) (size >> 8); in maint_read_write() 270 pbuf[written++] = 0; in maint_read_write() [all …]
|
/drivers/usb/mon/ |
D | mon_text.c | 97 char *pbuf; member 393 ptr.pbuf = rp->printf_buf; in mon_text_read_t() 398 ptr.cnt += snprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, in mon_text_read_t() 420 ptr.pbuf = rp->printf_buf; in mon_text_read_u() 434 ptr.cnt += snprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, in mon_text_read_u() 488 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_head_t() 506 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_head_u() 517 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset() 525 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset() 528 p->cnt += snprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset() [all …]
|
/drivers/net/ethernet/seeq/ |
D | sgiseeq.c | 209 sp->rx_desc[i].rdma.pbuf = dma_addr; in seeq_init_ring() 259 i, (&r[i]), r[i].rdma.pbuf, r[i].rdma.cntinfo, in sgiseeq_dump_rings() 263 i, (&r[i]), r[i].rdma.pbuf, r[i].rdma.cntinfo, in sgiseeq_dump_rings() 268 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo, in sgiseeq_dump_rings() 272 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo, in sgiseeq_dump_rings() 353 dma_unmap_single(dev->dev.parent, rd->rdma.pbuf, in sgiseeq_rx() 395 rd->rdma.pbuf = dma_map_single(dev->dev.parent, in sgiseeq_rx() 621 td->tdma.pbuf = dma_map_single(dev->dev.parent, skb->data, in sgiseeq_start_xmit() 685 buf[i].tdma.pbuf = 0; in setup_tx_ring() 702 buf[i].rdma.pbuf = 0; in setup_rx_ring() [all …]
|
/drivers/media/pci/ddbridge/ |
D | ddbridge-core.c | 221 dma_addr_t *pbuf, u32 num) 228 mem = pbuf[i]; 239 dma_addr_t *pbuf; in ddb_address_table() local 243 pbuf = dev->input[i].pbuf; in ddb_address_table() 245 mem = pbuf[j]; in ddb_address_table() 252 pbuf = dev->output[i].pbuf; in ddb_address_table() 254 mem = pbuf[j]; in ddb_address_table() 262 dma_addr_t *pbuf, u32 size, int num) in io_free() argument 268 pci_free_consistent(pdev, size, vbuf[i], pbuf[i]); in io_free() 275 dma_addr_t *pbuf, u32 size, int num) in io_alloc() argument [all …]
|
D | ddbridge.h | 78 dma_addr_t pbuf[INPUT_DMA_MAX_BUFS]; member 107 dma_addr_t pbuf[OUTPUT_DMA_MAX_BUFS]; member
|
/drivers/misc/vmw_vmci/ |
D | vmci_context.c | 696 u32 *buf_size, void **pbuf) in vmci_ctx_get_chkpt_notifiers() argument 705 *pbuf = NULL; in vmci_ctx_get_chkpt_notifiers() 723 *pbuf = notifiers; in vmci_ctx_get_chkpt_notifiers() 728 u32 *buf_size, void **pbuf) in vmci_ctx_get_chkpt_doorbells() argument 751 *pbuf = dbells; in vmci_ctx_get_chkpt_doorbells() 754 *pbuf = NULL; in vmci_ctx_get_chkpt_doorbells() 766 void **pbuf) in vmci_ctx_get_chkpt_state() argument 779 result = vmci_ctx_get_chkpt_notifiers(context, buf_size, pbuf); in vmci_ctx_get_chkpt_state() 789 *pbuf = NULL; in vmci_ctx_get_chkpt_state() 794 result = vmci_ctx_get_chkpt_doorbells(context, buf_size, pbuf); in vmci_ctx_get_chkpt_state()
|
/drivers/infiniband/hw/ehca/ |
D | ehca_mrmw.c | 1777 struct ib_phys_buf *pbuf = phys_buf_array; in ehca_mr_chk_buf_and_calc_size() local 1786 if (((u64)iova_start & ~PAGE_MASK) != (pbuf->addr & ~PAGE_MASK)) { in ehca_mr_chk_buf_and_calc_size() 1789 iova_start, pbuf->addr, pbuf->size); in ehca_mr_chk_buf_and_calc_size() 1792 if (((pbuf->addr + pbuf->size) % PAGE_SIZE) && in ehca_mr_chk_buf_and_calc_size() 1795 "pbuf->size=%llx", pbuf->addr, pbuf->size); in ehca_mr_chk_buf_and_calc_size() 1800 if ((i > 0) && (pbuf->addr % PAGE_SIZE)) { in ehca_mr_chk_buf_and_calc_size() 1803 i, pbuf->addr, pbuf->size); in ehca_mr_chk_buf_and_calc_size() 1808 (pbuf->size % PAGE_SIZE)) || (pbuf->size == 0)) { in ehca_mr_chk_buf_and_calc_size() 1810 i, pbuf->size); in ehca_mr_chk_buf_and_calc_size() 1813 size_count += pbuf->size; in ehca_mr_chk_buf_and_calc_size() [all …]
|
/drivers/spi/ |
D | spi-pxa2xx-dma.c | 31 void *buf, *pbuf; in pxa2xx_spi_map_dma_buffer() local 67 pbuf = buf; in pxa2xx_spi_map_dma_buffer() 72 sg_set_buf(sg, pbuf, bytes); in pxa2xx_spi_map_dma_buffer() 76 pbuf += bytes; in pxa2xx_spi_map_dma_buffer()
|
/drivers/net/wireless/rtlwifi/ |
D | efuse.h | 107 extern void read_efuse_byte(struct ieee80211_hw *hw, u16 _offset, u8 *pbuf); 112 u16 _size_byte, u8 *pbuf);
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 446 struct qlcnic_cmd_buffer *pbuf) in qlcnic_map_tx_skb() argument 454 nf = &pbuf->frag_array[0]; in qlcnic_map_tx_skb() 466 nf = &pbuf->frag_array[i+1]; in qlcnic_map_tx_skb() 480 nf = &pbuf->frag_array[i+1]; in qlcnic_map_tx_skb() 484 nf = &pbuf->frag_array[0]; in qlcnic_map_tx_skb() 492 struct qlcnic_cmd_buffer *pbuf) in qlcnic_unmap_buffers() argument 494 struct qlcnic_skb_frag *nf = &pbuf->frag_array[0]; in qlcnic_unmap_buffers() 498 nf = &pbuf->frag_array[i+1]; in qlcnic_unmap_buffers() 502 nf = &pbuf->frag_array[0]; in qlcnic_unmap_buffers() 504 pbuf->skb = NULL; in qlcnic_unmap_buffers() [all …]
|
/drivers/staging/tidspbridge/rmgr/ |
D | disp.c | 592 u8 *pbuf; in send_message() local 599 pbuf = disp_obj->buf; in send_message() 602 status = (*intf_fxns->chnl_add_io_req) (chnl_obj, pbuf, ul_bytes, 0, in send_message() 623 status = (*intf_fxns->chnl_add_io_req) (chnl_obj, pbuf, ul_bytes, in send_message() 644 *(int *)pbuf, status); in send_message()
|
D | strm.c | 344 int strm_issue(struct strm_object *stream_obj, u8 *pbuf, u32 ul_bytes, in strm_issue() argument 358 (void *)pbuf, in strm_issue() 366 (stream_obj->chnl_obj, pbuf, ul_bytes, ul_buf_size, in strm_issue() 374 " 0x%x status: 0x%x\n", __func__, stream_obj, pbuf, in strm_issue()
|
/drivers/net/wan/ |
D | sdla.c | 666 struct buf_entry *pbuf; in sdla_transmit() local 714 pbuf = (void *)(((int) dev->mem_start) + (addr & SDLA_ADDR_MASK)); in sdla_transmit() 715 __sdla_write(dev, pbuf->buf_addr, skb->data, skb->len); in sdla_transmit() 717 pbuf->opp_flag = 1; in sdla_transmit() 760 struct buf_entry *pbuf; in sdla_receive() local 774 pbuf = NULL; in sdla_receive() 795 …pbuf = (void *) (dev->mem_start + ((pbufi->rse_base + flp->buffer * sizeof(struct buf_entry)) & SD… in sdla_receive() 796 success = pbuf->opp_flag; in sdla_receive() 802 dlci = pbuf->dlci; in sdla_receive() 803 len = pbuf->length; in sdla_receive() [all …]
|
/drivers/staging/tidspbridge/pmgr/ |
D | cmm.c | 776 void *pbuf = NULL; in cmm_xlator_alloc_buf() local 784 pbuf = in cmm_xlator_alloc_buf() 786 if (pbuf) { in cmm_xlator_alloc_buf() 790 pbuf, CMM_PA2VA); in cmm_xlator_alloc_buf() 794 return pbuf; in cmm_xlator_alloc_buf()
|
/drivers/scsi/qla2xxx/ |
D | qla_dbg.c | 2424 char pbuf[128]; in ql_log() local 2432 snprintf(pbuf, sizeof(pbuf), "%s [%s]-%04x:%ld: ", in ql_log() 2435 snprintf(pbuf, sizeof(pbuf), "%s [%s]-%04x: : ", in ql_log() 2438 pbuf[sizeof(pbuf) - 1] = 0; in ql_log() 2447 pr_crit("%s%pV", pbuf, &vaf); in ql_log() 2450 pr_err("%s%pV", pbuf, &vaf); in ql_log() 2453 pr_warn("%s%pV", pbuf, &vaf); in ql_log() 2456 pr_info("%s%pV", pbuf, &vaf); in ql_log() 2483 char pbuf[128]; in ql_log_pci() local 2491 snprintf(pbuf, sizeof(pbuf), "%s [%s]-%04x: : ", in ql_log_pci() [all …]
|