/drivers/net/ethernet/ti/ |
D | netcp.h | 142 static inline u32 *netcp_push_psdata(struct netcp_packet *p_info, in netcp_push_psdata() argument 152 if ((p_info->psdata_len + words) > NETCP_PSDATA_LEN) in netcp_push_psdata() 155 p_info->psdata_len += words; in netcp_push_psdata() 156 buf = &p_info->psdata[NETCP_PSDATA_LEN - p_info->psdata_len]; in netcp_push_psdata() 160 static inline int netcp_align_psdata(struct netcp_packet *p_info, in netcp_align_psdata() argument 175 padding = (p_info->psdata_len << 2) % 8; in netcp_align_psdata() 178 padding = (p_info->psdata_len << 2) % 16; in netcp_align_psdata() 181 padding = (p_info->psdata_len << 2) % byte_align; in netcp_align_psdata()
|
D | netcp_core.c | 648 struct netcp_packet p_info; in netcp_process_one_rx_packet() local 736 p_info.skb = skb; in netcp_process_one_rx_packet() 738 p_info.rxtstamp_complete = false; in netcp_process_one_rx_packet() 739 get_desc_info(&tmp, &p_info.eflags, desc); in netcp_process_one_rx_packet() 740 p_info.epib = desc->epib; in netcp_process_one_rx_packet() 741 p_info.psdata = (u32 __force *)desc->psdata; in netcp_process_one_rx_packet() 742 p_info.eflags = ((p_info.eflags >> KNAV_DMA_DESC_EFLAGS_SHIFT) & in netcp_process_one_rx_packet() 748 &p_info); in netcp_process_one_rx_packet() 1176 struct netcp_packet p_info; in netcp_tx_submit_skb() local 1183 p_info.netcp = netcp; in netcp_tx_submit_skb() [all …]
|
D | netcp_ethss.c | 2547 const struct netcp_packet *p_info) in gbe_need_txtstamp() argument 2549 struct sk_buff *skb = p_info->skb; in gbe_need_txtstamp() 2555 struct netcp_packet *p_info) in gbe_txtstamp_mark_pkt() argument 2557 struct phy_device *phydev = p_info->skb->dev->phydev; in gbe_txtstamp_mark_pkt() 2560 if (!(skb_shinfo(p_info->skb)->tx_flags & SKBTX_HW_TSTAMP) || in gbe_txtstamp_mark_pkt() 2569 skb_shinfo(p_info->skb)->tx_flags |= SKBTX_IN_PROGRESS; in gbe_txtstamp_mark_pkt() 2573 if (gbe_need_txtstamp(gbe_intf, p_info)) { in gbe_txtstamp_mark_pkt() 2574 p_info->txtstamp = gbe_txtstamp; in gbe_txtstamp_mark_pkt() 2575 p_info->ts_context = (void *)gbe_intf; in gbe_txtstamp_mark_pkt() 2576 skb_shinfo(p_info->skb)->tx_flags |= SKBTX_IN_PROGRESS; in gbe_txtstamp_mark_pkt() [all …]
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_int.c | 1647 struct qed_igu_info *p_info; in qed_int_sb_init() local 1650 p_info = p_hwfn->hw_info.p_igu_info; in qed_int_sb_init() 1651 p_block = &p_info->entry[sb_info->igu_sb_id]; in qed_int_sb_init() 1655 p_info->usage.free_cnt--; in qed_int_sb_init() 1688 struct qed_igu_info *p_info; in qed_int_sb_release() local 1702 p_info = p_hwfn->hw_info.p_igu_info; in qed_int_sb_release() 1703 p_block = &p_info->entry[sb_info->igu_sb_id]; in qed_int_sb_release() 1714 p_info->usage.free_cnt++; in qed_int_sb_release() 1977 struct qed_igu_info *p_info = p_hwfn->hw_info.p_igu_info; in qed_int_igu_init_pure_rt() local 1989 p_block = &p_info->entry[igu_sb_id]; in qed_int_igu_init_pure_rt() [all …]
|
D | qed_mcp.c | 192 struct qed_mcp_info *p_info = p_hwfn->mcp_info; in qed_load_mcp_offsets() local 198 p_info->public_base = qed_rd(p_hwfn, p_ptt, MISC_REG_SHARED_MEM_ADDR); in qed_load_mcp_offsets() 199 if (!p_info->public_base) { in qed_load_mcp_offsets() 205 p_info->public_base |= GRCBASE_MCP; in qed_load_mcp_offsets() 209 SECTION_OFFSIZE_ADDR(p_info->public_base, in qed_load_mcp_offsets() 211 p_info->mfw_mb_addr = SECTION_ADDR(mfw_mb_offsize, mcp_pf_id); in qed_load_mcp_offsets() 212 p_info->mfw_mb_length = (u16)qed_rd(p_hwfn, p_ptt, in qed_load_mcp_offsets() 213 p_info->mfw_mb_addr + in qed_load_mcp_offsets() 222 while (!p_info->mfw_mb_length && --cnt) { in qed_load_mcp_offsets() 224 p_info->mfw_mb_length = in qed_load_mcp_offsets() [all …]
|
D | qed_cxt.h | 66 struct qed_cxt_info *p_info); 77 struct qed_tid_mem *p_info);
|
D | qed_rdma.c | 989 struct qed_rdma_info *p_info = p_hwfn->p_rdma_info; in qed_rdma_toggle_bit_create_resize_cq() local 998 bmap_id = icid - qed_cxt_get_proto_cid_start(p_hwfn, p_info->proto); in qed_rdma_toggle_bit_create_resize_cq() 1000 spin_lock_bh(&p_info->lock); in qed_rdma_toggle_bit_create_resize_cq() 1002 p_info->toggle_bits.bitmap); in qed_rdma_toggle_bit_create_resize_cq() 1003 spin_unlock_bh(&p_info->lock); in qed_rdma_toggle_bit_create_resize_cq() 1016 struct qed_rdma_info *p_info = p_hwfn->p_rdma_info; in qed_rdma_create_cq() local 1028 spin_lock_bh(&p_info->lock); in qed_rdma_create_cq() 1029 rc = qed_rdma_bmap_alloc_id(p_hwfn, &p_info->cq_map, &returned_id); in qed_rdma_create_cq() 1030 spin_unlock_bh(&p_info->lock); in qed_rdma_create_cq() 1038 p_info->proto); in qed_rdma_create_cq() [all …]
|
D | qed_cxt.c | 2027 int qed_cxt_get_cid_info(struct qed_hwfn *p_hwfn, struct qed_cxt_info *p_info) in qed_cxt_get_cid_info() argument 2036 b_acquired = qed_cxt_test_cid_acquired(p_hwfn, p_info->iid, in qed_cxt_get_cid_info() 2043 p_info->type = type; in qed_cxt_get_cid_info() 2050 line = p_info->iid / cxts_per_p; in qed_cxt_get_cid_info() 2056 p_info->p_cxt = p_mngr->ilt_shadow[line].p_virt + in qed_cxt_get_cid_info() 2057 p_info->iid % cxts_per_p * conn_cxt_size; in qed_cxt_get_cid_info() 2061 p_info->iid / cxts_per_p, p_info->p_cxt, p_info->iid); in qed_cxt_get_cid_info() 2200 struct qed_tid_mem *p_info) in qed_cxt_get_tid_mem_info() argument 2237 p_info->blocks[i] = p_mngr->ilt_shadow[shadow_line].p_virt; in qed_cxt_get_tid_mem_info() 2239 p_info->waste = ILT_PAGE_IN_BYTES(p_cli->p_size.val) - in qed_cxt_get_tid_mem_info() [all …]
|
D | qed_dev.c | 1645 void qed_hw_info_set_offload_tc(struct qed_hw_info *p_info, u8 tc) in qed_hw_info_set_offload_tc() argument 1647 p_info->offload_tc = tc; in qed_hw_info_set_offload_tc() 1648 p_info->offload_tc_set = true; in qed_hw_info_set_offload_tc() 2837 struct qed_mcp_function_info *p_info; in qed_hw_init_pf() local 2839 p_info = &p_hwfn->mcp_info->func_info; in qed_hw_init_pf() 2840 if (p_info->bandwidth_min) in qed_hw_init_pf() 2841 p_hwfn->qm_info.pf_wfq = p_info->bandwidth_min; in qed_hw_init_pf()
|
D | qed.h | 991 void qed_hw_info_set_offload_tc(struct qed_hw_info *p_info, u8 tc);
|
D | qed_dcbx.c | 359 struct qed_hw_info *p_info; in qed_dcbx_process_mib_info() local 374 p_info = &p_hwfn->hw_info; in qed_dcbx_process_mib_info() 382 p_info->num_active_tc = QED_MFW_GET_FIELD(p_ets->flags, in qed_dcbx_process_mib_info()
|
D | qed_sriov.c | 936 struct qed_igu_info *p_info = p_hwfn->hw_info.p_igu_info; in qed_iov_free_vf_igu_sbs() local 949 p_info->entry[igu_id].status |= QED_IGU_STATUS_FREE; in qed_iov_free_vf_igu_sbs()
|
/drivers/infiniband/hw/qedr/ |
D | qedr.h | 337 #define QEDR_INC_SW_IDX(p_info, index) \ argument 339 p_info->index = (p_info->index + 1) & \ 340 qed_chain_get_capacity(p_info->pbl) \
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ddp.c | 49 if (i40e_ddp_profiles_eq(pinfo, &profile_list->p_info[i])) in i40e_ddp_does_profile_exist() 105 &profile_list->p_info[i])) in i40e_ddp_does_profile_overlap()
|
D | i40e.h | 337 struct i40e_profile_info p_info[0]; member
|