Home
last modified time | relevance | path

Searched refs:lmac (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/net/ethernet/cavium/thunder/
A Dthunder_bgx.c209 struct lmac *lmac; in bgx_get_lmac_link_state() local
405 struct lmac *lmac; in bgx_lmac_rx_tx_enable() local
437 struct lmac *lmac; in bgx_config_timestamping() local
466 struct lmac *lmac; in bgx_lmac_get_pfc() local
486 struct lmac *lmac; in bgx_lmac_set_pfc() local
660 struct lmac *lmac; in bgx_lmac_internal_loopback() local
998 struct lmac *lmac; in bgx_poll_for_link() local
1057 struct lmac *lmac; in bgx_lmac_enable() local
1142 struct lmac *lmac; in bgx_lmac_disable() local
1194 struct lmac *lmac; in bgx_init_hw() local
[all …]
A Dnic_main.c53 #define NIC_SET_VF_LMAC_MAP(bgx, lmac) (((bgx & 0xF) << 4) | (lmac & 0xF)) argument
161 int bgx_idx, lmac; in nic_mbx_send_ready() local
233 int bgx_idx, lmac; in nic_get_bgx_stats() local
306 for (lmac = 0; lmac < max_lmac; lmac++) { in nic_set_tx_pkt_pad()
330 for (lmac = 0; lmac < lmac_cnt; lmac++) in nic_set_lmac_vf_mapping()
342 for (; lmac < lmac_cnt + (bgx * MAX_LMAC_PER_BGX); lmac++) in nic_set_lmac_vf_mapping()
848 int bgx, lmac; in nic_enable_vf() local
863 int bgx, lmac; in nic_pause_frame() local
931 u8 bgx, lmac; in nic_link_status_get() local
960 int bgx, lmac; in nic_handle_mbx_intr() local
[all …]
A Dthunder_bgx.h237 u64 bgx_get_rx_stats(int node, int bgx_idx, int lmac, int idx);
238 u64 bgx_get_tx_stats(int node, int bgx_idx, int lmac, int idx);
/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Dcgx.c373 struct lmac *lmac; in cgx_lmac_addr_update() local
528 struct lmac *lmac; in cgx_lmac_internal_loopback() local
632 struct lmac *lmac; in cgx_lmac_enadis_rx_pause_fwding() local
919 struct lmac *lmac; in verify_lmac_fc_cfg() local
1091 struct lmac *lmac; in cgx_fwi_cmd_generic() local
1272 struct lmac *lmac) in cgx_link_change_handler() argument
1341 struct lmac *lmac = data; in cgx_fwi_event_handler() local
1396 struct lmac *lmac; in cgx_lmac_evh_register() local
1409 struct lmac *lmac; in cgx_lmac_evh_unregister() local
1650 struct lmac *lmac; in cgx_lmac_init() local
[all …]
A Dlmac_common.h32 struct lmac { struct
146 struct lmac *lmac_idmap[MAX_LMAC_COUNT];
162 void cgx_write(struct cgx *cgx, u64 lmac, u64 offset, u64 val);
163 u64 cgx_read(struct cgx *cgx, u64 lmac, u64 offset);
164 struct lmac *lmac_pdata(u8 lmac_id, struct cgx *cgx);
165 int cgx_fwi_cmd_send(u64 req, u64 *resp, struct lmac *lmac);
A Drvu_cgx.c128 int cgx, lmac, iter; in rvu_map_cgx_lmac_pf() local
310 int cgx, lmac, err; in cgx_lmac_event_handler_init() local
335 cgx, lmac); in cgx_lmac_event_handler_init()
408 int cgx, lmac; in rvu_cgx_exit() local
417 cgx_lmac_evh_unregister(cgxd, lmac); in rvu_cgx_exit()
558 u8 cgx_idx, lmac; in rvu_lmac_get_stats() local
613 u8 cgx_idx, lmac; in rvu_mbox_handler_cgx_stats_rst() local
642 u8 cgx_idx, lmac; in rvu_mbox_handler_cgx_fec_stats() local
911 u8 cgx_idx, lmac; in rvu_mbox_handler_cgx_features_get() local
1201 u8 cgx_idx, lmac; in rvu_mbox_handler_cgx_set_link_mode() local
[all …]
A Drpm.c94 cgx_write(rpm, lmac, offset, val); in rpm_write()
97 static u64 rpm_read(rpm_t *rpm, u64 lmac, u64 offset) in rpm_read() argument
99 return cgx_read(rpm, lmac, offset); in rpm_read()
166 struct lmac *lmac; in rpm_lmac_enadis_rx_pause_fwding() local
172 lmac = lmac_pdata(lmac_id, rpm); in rpm_lmac_enadis_rx_pause_fwding()
173 if (!lmac) in rpm_lmac_enadis_rx_pause_fwding()
177 if (!bitmap_weight(lmac->rx_fc_pfvf_bmap.bmap, lmac->rx_fc_pfvf_bmap.max)) in rpm_lmac_enadis_rx_pause_fwding()
571 struct lmac *lmac; in rpm_lmac_internal_loopback() local
577 lmac = lmac_pdata(lmac_id, rpm); in rpm_lmac_internal_loopback()
578 if (lmac->lmac_type == LMAC_MODE_QSGMII || in rpm_lmac_internal_loopback()
[all …]
A Dmcs.c943 int lmac; in cn10kb_mcs_bbe_intr_handler() local
957 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) { in cn10kb_mcs_bbe_intr_handler()
958 if (!(val & BIT_ULL(lmac))) in cn10kb_mcs_bbe_intr_handler()
967 int lmac; in cn10kb_mcs_pab_intr_handler() local
972 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) { in cn10kb_mcs_pab_intr_handler()
973 if (intr & BIT_ULL(lmac)) in cn10kb_mcs_pab_intr_handler()
1397 int lmac; in mcs_set_lmac_channels() local
1403 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) { in mcs_set_lmac_channels()
1510 int lmac, err = 0; in mcs_probe() local
1574 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) in mcs_probe()
[all …]
A Dmcs_rvu_if.c858 int cgx, lmac, port; in rvu_mcs_set_lmac_bmap() local
862 lmac = port % rvu->hw->lmac_per_cgx; in rvu_mcs_set_lmac_bmap()
863 if (!is_lmac_valid(rvu_cgx_pdata(cgx, rvu), lmac)) in rvu_mcs_set_lmac_bmap()
873 int lmac, err = 0, mcs_id; in rvu_mcs_init() local
894 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) in rvu_mcs_init()
895 mcs_set_lmac_mode(mcs, lmac, 0); in rvu_mcs_init()
A Drvu_cn10k.c523 int cgx, lmac; in rvu_rpm_set_channels() local
526 for (lmac = 0; lmac < hw->lmac_per_cgx; lmac++) { in rvu_rpm_set_channels()
527 __rvu_rpm_set_channels(cgx, lmac, base); in rvu_rpm_set_channels()
A Drvu_debugfs.c232 int lmac; in rvu_dbg_mcs_port_stats_display() local
237 mcs_get_port_stats(mcs, &stats, lmac, dir); in rvu_dbg_mcs_port_stats_display()
242 seq_printf(filp, "port%d: Preempt error: %lld\n", lmac, in rvu_dbg_mcs_port_stats_display()
245 seq_printf(filp, "port%d: Sectag insert error: %lld\n", lmac, in rvu_dbg_mcs_port_stats_display()
841 char cgx[10], lmac[10], chan[10]; in rvu_dbg_rvu_pf_cgx_map_display() local
866 lmac[0] = 0; in rvu_dbg_rvu_pf_cgx_map_display()
878 sprintf(lmac, "LMAC%d", lmac_id); in rvu_dbg_rvu_pf_cgx_map_display()
882 dev_name(&pdev->dev), pcifunc, blkid, cgx, lmac, in rvu_dbg_rvu_pf_cgx_map_display()
3007 rvu->rvu_dbg.lmac = in rvu_dbg_cgx_init()
3010 debugfs_create_file("stats", 0600, rvu->rvu_dbg.lmac, in rvu_dbg_cgx_init()
[all …]
A Drvu.h65 struct dentry *lmac; member
999 u32 rvu_cgx_get_lmac_fifolen(struct rvu *rvu, int cgx, int lmac);
A Drvu_nix.c4546 u8 cgx = 0, lmac = 0; in rvu_mbox_handler_nix_set_hw_frs() local
4580 rvu_get_cgx_lmac_id(rvu->pf2cgxlmac_map[pf], &cgx, &lmac); in rvu_mbox_handler_nix_set_hw_frs()
4581 link = (cgx * hw->lmac_per_cgx) + lmac; in rvu_mbox_handler_nix_set_hw_frs()
/linux/drivers/net/wireless/intel/iwlwifi/fw/
A Dsmem.c15 int i, lmac; in iwl_parse_shared_mem_22000() local
34 for (lmac = 0; lmac < lmac_num; lmac++) { in iwl_parse_shared_mem_22000()
36 &mem_cfg->lmac_smem[lmac]; in iwl_parse_shared_mem_22000()
39 fwrt->smem_cfg.lmac[lmac].txfifo_size[i] = in iwl_parse_shared_mem_22000()
41 fwrt->smem_cfg.lmac[lmac].rxfifo1_size = in iwl_parse_shared_mem_22000()
56 fwrt->smem_cfg.lmac[0].txfifo_size[i] = in iwl_parse_shared_mem()
59 fwrt->smem_cfg.lmac[0].rxfifo1_size = in iwl_parse_shared_mem()
A Ddbg.h310 struct iwl_lmac_alive *lmac, in iwl_fwrt_update_fw_versions() argument
313 if (lmac) { in iwl_fwrt_update_fw_versions()
314 fwrt->dump.fw_ver.type = lmac->ver_type; in iwl_fwrt_update_fw_versions()
315 fwrt->dump.fw_ver.subtype = lmac->ver_subtype; in iwl_fwrt_update_fw_versions()
316 fwrt->dump.fw_ver.lmac_major = le32_to_cpu(lmac->ucode_major); in iwl_fwrt_update_fw_versions()
317 fwrt->dump.fw_ver.lmac_minor = le32_to_cpu(lmac->ucode_minor); in iwl_fwrt_update_fw_versions()
A Druntime.h35 } lmac[MAX_NUM_LMAC]; member
87 int lmac; member
A Ddbg.c186 cfg->lmac[0].rxfifo1_size, 0, 0); in iwl_fw_dump_rxf()
194 cfg->lmac[1].rxfifo1_size, in iwl_fw_dump_rxf()
221 cfg->lmac[0].txfifo_size[i], 0, i); in iwl_fw_dump_txf()
233 cfg->lmac[1].txfifo_size[i], in iwl_fw_dump_txf()
907 u32 *txf_size = mem_cfg->lmac[i].txfifo_size; in iwl_fw_error_dump_file()
910 dump_smem_cfg->lmac[i].txfifo_size[j] = in iwl_fw_error_dump_file()
912 dump_smem_cfg->lmac[i].rxfifo1_size = in iwl_fw_error_dump_file()
913 cpu_to_le32(mem_cfg->lmac[i].rxfifo1_size); in iwl_fw_error_dump_file()
1310 iter->lmac = 1; in iwl_ini_txf_iter()
1312 iter->lmac = 0; in iwl_ini_txf_iter()
[all …]
A Derror-dump.h206 } lmac[MAX_NUM_LMAC]; member
/linux/net/llc/
A Dllc_if.c83 int llc_establish_connection(struct sock *sk, const u8 *lmac, u8 *dmac, u8 dsap) in llc_establish_connection() argument
94 memcpy(laddr.mac, lmac, sizeof(laddr.mac)); in llc_establish_connection()
/linux/include/net/
A Dllc_if.h65 int llc_establish_connection(struct sock *sk, const u8 *lmac, u8 *dmac,
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Dtx.c891 int lmac; in iwl_mvm_max_amsdu_size() local
923 lmac = iwl_mvm_get_lmac_id(mvm, band); in iwl_mvm_max_amsdu_size()
927 lmac = IWL_LMAC_5G_INDEX; in iwl_mvm_max_amsdu_size()
929 mvm->fwrt.smem_cfg.lmac[lmac].txfifo_size[txf] - 256); in iwl_mvm_max_amsdu_size()
930 lmac = IWL_LMAC_24G_INDEX; in iwl_mvm_max_amsdu_size()
932 lmac = IWL_LMAC_24G_INDEX; in iwl_mvm_max_amsdu_size()
936 mvm->fwrt.smem_cfg.lmac[lmac].txfifo_size[txf] - 256); in iwl_mvm_max_amsdu_size()

Completed in 834 milliseconds