/drivers/infiniband/hw/usnic/ |
D | usnic_vnic.c | 75 int buf_sz, in usnic_vnic_dump() argument 88 offset += scnprintf(buf + offset, buf_sz - offset, in usnic_vnic_dump() 94 offset += printtitle(hdr_obj, buf + offset, buf_sz - offset); in usnic_vnic_dump() 95 offset += scnprintf(buf + offset, buf_sz - offset, "\n"); in usnic_vnic_dump() 96 offset += scnprintf(buf + offset, buf_sz - offset, in usnic_vnic_dump() 99 offset += printcols(buf + offset, buf_sz - offset); in usnic_vnic_dump() 100 offset += scnprintf(buf + offset, buf_sz - offset, "\n"); in usnic_vnic_dump() 107 offset += scnprintf(buf + offset, buf_sz - offset, in usnic_vnic_dump() 113 buf_sz - offset); in usnic_vnic_dump() 115 offset += scnprintf(buf + offset, buf_sz - offset, in usnic_vnic_dump() [all …]
|
D | usnic_transport.c | 49 int usnic_transport_sock_to_str(char *buf, int buf_sz, in usnic_transport_sock_to_str() argument 57 memset(buf, 0, buf_sz); in usnic_transport_sock_to_str() 62 return scnprintf(buf, buf_sz, "Proto:%u Addr:%pI4h Port:%hu", in usnic_transport_sock_to_str()
|
D | usnic_ib_qp_grp.h | 98 int usnic_ib_qp_grp_dump_hdr(char *buf, int buf_sz); 99 int usnic_ib_qp_grp_dump_rows(void *obj, char *buf, int buf_sz);
|
D | usnic_vnic.h | 72 int usnic_vnic_dump(struct usnic_vnic *vnic, char *buf, int buf_sz, 82 int usnic_vnic_spec_dump(char *buf, int buf_sz,
|
D | usnic_ib_qp_grp.c | 57 int usnic_ib_qp_grp_dump_hdr(char *buf, int buf_sz) in usnic_ib_qp_grp_dump_hdr() argument 59 return scnprintf(buf, buf_sz, "|QPN\t|State\t|PID\t|VF Idx\t|Fil ID"); in usnic_ib_qp_grp_dump_hdr() 62 int usnic_ib_qp_grp_dump_rows(void *obj, char *buf, int buf_sz) in usnic_ib_qp_grp_dump_rows() argument 69 return scnprintf(buf, buf_sz, "|%d\t|%s\t|%d\t|%hu\t|%d", in usnic_ib_qp_grp_dump_rows() 77 return scnprintf(buf, buf_sz, "|N/A\t|N/A\t|N/A\t|N/A\t|N/A"); in usnic_ib_qp_grp_dump_rows()
|
D | usnic_transport.h | 29 int usnic_transport_sock_to_str(char *buf, int buf_sz,
|
D | usnic_ib_main.c | 61 static int usnic_ib_dump_vf_hdr(void *obj, char *buf, int buf_sz) in usnic_ib_dump_vf_hdr() argument 64 return scnprintf(buf, buf_sz, "PF: %s ", vf->pf->ib_dev.name); in usnic_ib_dump_vf_hdr() 68 static void usnic_ib_dump_vf(struct usnic_ib_vf *vf, char *buf, int buf_sz) in usnic_ib_dump_vf() argument 70 usnic_vnic_dump(vf->vnic, buf, buf_sz, vf, in usnic_ib_dump_vf()
|
/drivers/net/wireless/ath/ath10k/ |
D | pci.c | 383 skb = dev_alloc_skb(pipe->buf_sz); in __ath10k_pci_rx_post_buf() 421 if (pipe->buf_sz == 0) in __ath10k_pci_rx_post_pipe() 1159 u32 buf_sz; in ath10k_pci_rx_pipe_cleanup() local 1163 buf_sz = pipe_info->buf_sz; in ath10k_pci_rx_pipe_cleanup() 1166 if (buf_sz == 0) in ath10k_pci_rx_pipe_cleanup() 1191 u32 buf_sz; in ath10k_pci_tx_pipe_cleanup() local 1193 buf_sz = pipe_info->buf_sz; in ath10k_pci_tx_pipe_cleanup() 1196 if (buf_sz == 0) in ath10k_pci_tx_pipe_cleanup() 1632 pipe_info->buf_sz = (size_t)(attr->src_sz_max); in ath10k_pci_ce_init()
|
D | pci.h | 146 size_t buf_sz; member
|
/drivers/net/ethernet/calxeda/ |
D | xgmac.c | 414 static inline void desc_set_buf_len(struct xgmac_dma_desc *p, u32 buf_sz) in desc_set_buf_len() argument 416 if (buf_sz > MAX_DESC_BUF_SZ) in desc_set_buf_len() 418 (buf_sz - MAX_DESC_BUF_SZ) << DESC_BUFFER2_SZ_OFFSET); in desc_set_buf_len() 420 p->buf_size = cpu_to_le32(buf_sz); in desc_set_buf_len() 431 int buf_sz) in desc_init_rx_desc() argument 438 desc_set_buf_len(p, buf_sz); in desc_init_rx_desc()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 96 static int buf_sz = DEFAULT_BUFSIZE; variable 97 module_param(buf_sz, int, S_IRUGO | S_IWUSR); 98 MODULE_PARM_DESC(buf_sz, "DMA buffer size"); 139 if (unlikely((buf_sz < DEFAULT_BUFSIZE) || (buf_sz > BUF_SIZE_16KiB))) in stmmac_verify_args() 140 buf_sz = DEFAULT_BUFSIZE; in stmmac_verify_args() 1066 buf_sz = bfsize; in init_dma_desc_rings() 1758 priv->dma_buf_sz = STMMAC_ALIGN(buf_sz); in stmmac_open() 3071 if (kstrtoint(opt + 7, 0, &buf_sz)) in stmmac_cmdline_opt()
|
/drivers/net/ethernet/via/ |
D | via-velocity.c | 1519 vptr->rx.buf_sz = (mtu <= ETH_DATA_LEN) ? PKT_BUF_SZ : mtu + 32; in velocity_set_rxbufsize() 1537 rd_info->skb = netdev_alloc_skb(vptr->netdev, vptr->rx.buf_sz + 64); in velocity_alloc_rx_buf() 1548 vptr->rx.buf_sz, DMA_FROM_DEVICE); in velocity_alloc_rx_buf() 1555 rd->size = cpu_to_le16(vptr->rx.buf_sz) | RX_INTEN; in velocity_alloc_rx_buf() 1611 dma_unmap_single(vptr->dev, rd_info->skb_dma, vptr->rx.buf_sz, in velocity_free_rd_ring() 2070 vptr->rx.buf_sz, DMA_FROM_DEVICE); in velocity_receive_frame() 2088 dma_unmap_single(vptr->dev, rd_info->skb_dma, vptr->rx.buf_sz, in velocity_receive_frame() 2092 vptr->rx.buf_sz, DMA_FROM_DEVICE); in velocity_receive_frame()
|
D | via-velocity.h | 1463 int buf_sz; member
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_vfpf.h | 241 u16 buf_sz; member
|
D | bnx2x_vfpf.c | 600 req->rxq.buf_sz = fp->rx_buf_size; in bnx2x_vfpf_setup_q() 1458 rxq_params->buf_sz = setup_q->rxq.buf_sz; in bnx2x_vf_mbx_setup_q()
|
D | bnx2x_sp.h | 950 u16 buf_sz; member
|
D | bnx2x_sriov.c | 157 rxq_params->buf_sz, in bnx2x_vfop_qctor_dump_rx()
|
D | bnx2x_sp.c | 4432 rx_data->max_bytes_on_bd = cpu_to_le16(params->buf_sz); in bnx2x_q_fill_init_rx_data()
|
D | bnx2x_main.c | 3223 rxq_init->buf_sz = fp->rx_buf_size - BNX2X_FW_RX_ALIGN_START - in bnx2x_pf_rx_q_prep()
|