/linux-6.3-rc2/drivers/net/ethernet/cavium/thunder/ |
A D | thunder_bgx.c | 209 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 658 struct lmac *lmac; in bgx_lmac_internal_loopback() local 996 struct lmac *lmac; in bgx_poll_for_link() local 1055 struct lmac *lmac; in bgx_lmac_enable() local 1141 struct lmac *lmac; in bgx_lmac_disable() local 1193 struct lmac *lmac; in bgx_init_hw() local [all …]
|
A D | nic_main.c | 53 #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 D | thunder_bgx.h | 224 void bgx_add_dmac_addr(u64 dmac, int node, int bgx_idx, int lmac); 239 u64 bgx_get_rx_stats(int node, int bgx_idx, int lmac, int idx); 240 u64 bgx_get_tx_stats(int node, int bgx_idx, int lmac, int idx);
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | cgx.c | 378 struct lmac *lmac; in cgx_lmac_addr_update() local 635 struct lmac *lmac; in cgx_lmac_enadis_rx_pause_fwding() local 893 struct lmac *lmac; in verify_lmac_fc_cfg() local 1065 struct lmac *lmac; in cgx_fwi_cmd_generic() local 1240 struct lmac *lmac) in cgx_link_change_handler() argument 1309 struct lmac *lmac = data; in cgx_fwi_event_handler() local 1364 struct lmac *lmac; in cgx_lmac_evh_register() local 1377 struct lmac *lmac; in cgx_lmac_evh_unregister() local 1601 struct lmac *lmac; in cgx_lmac_init() local 1667 cgx->lmac_idmap[lmac->lmac_id] = lmac; in cgx_lmac_init() [all …]
|
A D | lmac_common.h | 31 struct lmac { struct 142 struct lmac *lmac_idmap[MAX_LMAC_COUNT]; 158 void cgx_write(struct cgx *cgx, u64 lmac, u64 offset, u64 val); 159 u64 cgx_read(struct cgx *cgx, u64 lmac, u64 offset); 160 struct lmac *lmac_pdata(u8 lmac_id, struct cgx *cgx); 161 int cgx_fwi_cmd_send(u64 req, u64 *resp, struct lmac *lmac);
|
A D | rvu_cgx.c | 128 int cgx, lmac, iter; in rvu_map_cgx_lmac_pf() local 169 rvu_map_cgx_nix_block(rvu, pf, cgx, lmac); in rvu_map_cgx_lmac_pf() 297 int cgx, lmac, err; in cgx_lmac_event_handler_init() local 322 cgx, lmac); in cgx_lmac_event_handler_init() 395 int cgx, lmac; in rvu_cgx_exit() local 404 cgx_lmac_evh_unregister(cgxd, lmac); in rvu_cgx_exit() 528 u8 cgx_idx, lmac; in rvu_lmac_get_stats() local 583 u8 cgx_idx, lmac; in rvu_mbox_handler_cgx_fec_stats() local 852 u8 cgx_idx, lmac; in rvu_mbox_handler_cgx_features_get() local 889 return mac_ops->lmac_fifo_len(cgxd, lmac); in rvu_cgx_get_lmac_fifolen() [all …]
|
A D | rpm.c | 88 static void rpm_write(rpm_t *rpm, u64 lmac, u64 offset, u64 val) in rpm_write() argument 90 cgx_write(rpm, lmac, offset, val); in rpm_write() 93 static u64 rpm_read(rpm_t *rpm, u64 lmac, u64 offset) in rpm_read() argument 95 return cgx_read(rpm, lmac, offset); in rpm_read() 162 struct lmac *lmac; in rpm_lmac_enadis_rx_pause_fwding() local 168 lmac = lmac_pdata(lmac_id, rpm); in rpm_lmac_enadis_rx_pause_fwding() 169 if (!lmac) in rpm_lmac_enadis_rx_pause_fwding() 173 if (!bitmap_weight(lmac->rx_fc_pfvf_bmap.bmap, lmac->rx_fc_pfvf_bmap.max)) in rpm_lmac_enadis_rx_pause_fwding()
|
A D | mcs_rvu_if.c | 816 int cgx, lmac, port; in rvu_mcs_set_lmac_bmap() local 820 lmac = port % rvu->hw->lmac_per_cgx; in rvu_mcs_set_lmac_bmap() 821 if (!is_lmac_valid(rvu_cgx_pdata(cgx, rvu), lmac)) in rvu_mcs_set_lmac_bmap() 831 int lmac, err = 0, mcs_id; in rvu_mcs_init() local 852 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) in rvu_mcs_init() 853 mcs_set_lmac_mode(mcs, lmac, 0); in rvu_mcs_init()
|
A D | rvu_cn10k.c | 520 int cgx, lmac; in rvu_rpm_set_channels() local 523 for (lmac = 0; lmac < hw->lmac_per_cgx; lmac++) { in rvu_rpm_set_channels() 524 __rvu_rpm_set_channels(cgx, lmac, base); in rvu_rpm_set_channels()
|
A D | mcs.c | 1391 int lmac; in mcs_set_lmac_channels() local 1397 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) { in mcs_set_lmac_channels() 1398 cfg = mcs_reg_read(mcs, MCSX_LINK_LMACX_CFG(lmac)); in mcs_set_lmac_channels() 1402 mcs_reg_write(mcs, MCSX_LINK_LMACX_CFG(lmac), cfg); in mcs_set_lmac_channels() 1500 int lmac, err = 0; in mcs_probe() local 1564 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) in mcs_probe() 1565 mcs_lmac_init(mcs, lmac); in mcs_probe()
|
A D | rvu_debugfs.c | 232 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() 843 char cgx[10], lmac[10]; in rvu_dbg_rvu_pf_cgx_map_display() local 865 lmac[0] = 0; in rvu_dbg_rvu_pf_cgx_map_display() 877 sprintf(lmac, "LMAC%d", lmac_id); in rvu_dbg_rvu_pf_cgx_map_display() 879 dev_name(&pdev->dev), pcifunc, blkid, cgx, lmac); in rvu_dbg_rvu_pf_cgx_map_display() 2618 rvu->rvu_dbg.lmac = in rvu_dbg_cgx_init() 2621 debugfs_create_file("stats", 0600, rvu->rvu_dbg.lmac, in rvu_dbg_cgx_init() [all …]
|
A D | rvu.h | 62 struct dentry *lmac; member 867 u32 rvu_cgx_get_lmac_fifolen(struct rvu *rvu, int cgx, int lmac);
|
A D | rvu_nix.c | 3962 u8 cgx = 0, lmac = 0; in rvu_mbox_handler_nix_set_hw_frs() local 4014 rvu_get_cgx_lmac_id(rvu->pf2cgxlmac_map[pf], &cgx, &lmac); in rvu_mbox_handler_nix_set_hw_frs() 4015 link = (cgx * hw->lmac_per_cgx) + lmac; in rvu_mbox_handler_nix_set_hw_frs() 4038 lmac_fifo_len = rvu_cgx_get_lmac_fifolen(rvu, cgx, lmac); in rvu_mbox_handler_nix_set_hw_frs() 4042 __func__, cgx, lmac); in rvu_mbox_handler_nix_set_hw_frs()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/fw/ |
A D | smem.c | 15 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 D | dbg.h | 310 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 D | runtime.h | 33 } lmac[MAX_NUM_LMAC]; member 80 int lmac; member
|
A D | dbg.c | 187 cfg->lmac[0].rxfifo1_size, 0, 0); in iwl_fw_dump_rxf() 195 cfg->lmac[1].rxfifo1_size, in iwl_fw_dump_rxf() 222 cfg->lmac[0].txfifo_size[i], 0, i); in iwl_fw_dump_txf() 234 cfg->lmac[1].txfifo_size[i], in iwl_fw_dump_txf() 908 u32 *txf_size = mem_cfg->lmac[i].txfifo_size; in iwl_fw_error_dump_file() 911 dump_smem_cfg->lmac[i].txfifo_size[j] = in iwl_fw_error_dump_file() 913 dump_smem_cfg->lmac[i].rxfifo1_size = in iwl_fw_error_dump_file() 914 cpu_to_le32(mem_cfg->lmac[i].rxfifo1_size); in iwl_fw_error_dump_file() 1274 iter->lmac = 1; in iwl_ini_txf_iter() 1276 iter->lmac = 0; in iwl_ini_txf_iter() [all …]
|
A D | error-dump.h | 193 } lmac[MAX_NUM_LMAC]; member
|
/linux-6.3-rc2/net/llc/ |
A D | llc_if.c | 83 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-6.3-rc2/include/net/ |
A D | llc_if.h | 65 int llc_establish_connection(struct sock *sk, const u8 *lmac, u8 *dmac,
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | tx.c | 797 int lmac = iwl_mvm_get_lmac_id(mvm->fw, band); in iwl_mvm_max_amsdu_size() local 812 mvm->fwrt.smem_cfg.lmac[lmac].txfifo_size[txf] - 256); in iwl_mvm_max_amsdu_size()
|