| /linux/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/drivers/net/ethernet/marvell/octeontx2/af/ |
| A D | cgx.c | 208 struct lmac *lmac = lmac_pdata(lmac_id, cgxd); in cgx_get_link_info() local 376 struct lmac *lmac; in cgx_lmac_addr_update() local 533 struct lmac *lmac = lmac_pdata(lmac_id, cgx); in cgx_lmac_promisc_config() local 913 struct lmac *lmac; in cgx_fwi_cmd_generic() local 1088 struct lmac *lmac) in cgx_link_change_handler() argument 1157 struct lmac *lmac = data; in cgx_fwi_event_handler() local 1212 struct lmac *lmac; in cgx_lmac_evh_register() local 1225 struct lmac *lmac; in cgx_lmac_evh_unregister() local 1449 struct lmac *lmac; in cgx_lmac_init() local 1500 cgx->lmac_idmap[lmac->lmac_id] = lmac; in cgx_lmac_init() [all …]
|
| A D | lmac_common.h | 29 struct lmac { struct 117 struct lmac *lmac_idmap[MAX_LMAC_PER_CGX]; 133 void cgx_write(struct cgx *cgx, u64 lmac, u64 offset, u64 val); 134 u64 cgx_read(struct cgx *cgx, u64 lmac, u64 offset); 135 struct lmac *lmac_pdata(u8 lmac_id, struct cgx *cgx); 136 int cgx_fwi_cmd_send(u64 req, u64 *resp, struct lmac *lmac);
|
| A D | rvu_cgx.c | 125 int cgx, lmac, iter; in rvu_map_cgx_lmac_pf() local 165 rvu_map_cgx_nix_block(rvu, pf, cgx, lmac); in rvu_map_cgx_lmac_pf() 292 int cgx, lmac, err; in cgx_lmac_event_handler_init() local 317 cgx, lmac); in cgx_lmac_event_handler_init() 390 int cgx, lmac; in rvu_cgx_exit() local 399 cgx_lmac_evh_unregister(cgxd, lmac); in rvu_cgx_exit() 502 u8 cgx_idx, lmac; in rvu_lmac_get_stats() local 556 u8 cgx_idx, lmac; in rvu_mbox_handler_cgx_fec_stats() local 564 return cgx_get_fec_stats(cgxd, lmac, rsp); in rvu_mbox_handler_cgx_fec_stats() 802 u8 cgx_idx, lmac; in rvu_mbox_handler_cgx_features_get() local [all …]
|
| A D | rpm.c | 40 static void rpm_write(rpm_t *rpm, u64 lmac, u64 offset, u64 val) in rpm_write() argument 42 cgx_write(rpm, lmac, offset, val); in rpm_write() 45 static u64 rpm_read(rpm_t *rpm, u64 lmac, u64 offset) in rpm_read() argument 47 return cgx_read(rpm, lmac, offset); in rpm_read()
|
| 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 | rvu_debugfs.c | 500 char cgx[10], lmac[10]; in rvu_dbg_rvu_pf_cgx_map_display() local 522 lmac[0] = 0; in rvu_dbg_rvu_pf_cgx_map_display() 534 sprintf(lmac, "LMAC%d", lmac_id); in rvu_dbg_rvu_pf_cgx_map_display() 536 dev_name(&pdev->dev), pcifunc, blkid, cgx, lmac); in rvu_dbg_rvu_pf_cgx_map_display() 2268 rvu->rvu_dbg.lmac = in rvu_dbg_cgx_init() 2271 debugfs_create_file("stats", 0600, rvu->rvu_dbg.lmac, in rvu_dbg_cgx_init() 2274 rvu->rvu_dbg.lmac, cgx, in rvu_dbg_cgx_init()
|
| A D | rvu.h | 60 struct dentry *lmac; member
|
| A D | rvu_nix.c | 3938 u8 cgx = 0, lmac = 0; in rvu_mbox_handler_nix_set_hw_frs() local 3990 rvu_get_cgx_lmac_id(rvu->pf2cgxlmac_map[pf], &cgx, &lmac); in rvu_mbox_handler_nix_set_hw_frs() 3991 link = (cgx * hw->lmac_per_cgx) + lmac; in rvu_mbox_handler_nix_set_hw_frs()
|
| /linux/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() 911 u32 *txf_size = mem_cfg->lmac[i].txfifo_size; in iwl_fw_error_dump_file() 914 dump_smem_cfg->lmac[i].txfifo_size[j] = in iwl_fw_error_dump_file() 916 dump_smem_cfg->lmac[i].rxfifo1_size = in iwl_fw_error_dump_file() 917 cpu_to_le32(mem_cfg->lmac[i].rxfifo1_size); in iwl_fw_error_dump_file() 1278 iter->lmac = 1; in iwl_ini_txf_iter() 1280 iter->lmac = 0; in iwl_ini_txf_iter() [all …]
|
| A D | error-dump.h | 193 } lmac[MAX_NUM_LMAC]; member
|
| /linux/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/include/net/ |
| A D | llc_if.h | 65 int llc_establish_connection(struct sock *sk, const u8 *lmac, u8 *dmac,
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | tx.c | 752 int lmac = iwl_mvm_get_lmac_id(mvm->fw, band); in iwl_mvm_max_amsdu_size() local 767 mvm->fwrt.smem_cfg.lmac[lmac].txfifo_size[txf] - 256); in iwl_mvm_max_amsdu_size()
|