Home
last modified time | relevance | path

Searched defs:lmac (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.c42 struct lmac { struct
50 u8 lmac_type; argument
55 int lmacid; /* ID within BGX */ argument
56 int lmacid_bd; /* ID on board */ argument
69 struct lmac lmac[MAX_LMAC_PER_BGX]; argument
107 static u64 bgx_reg_read(struct bgx *bgx, u8 lmac, u64 offset) in bgx_reg_read()
114 static void bgx_reg_write(struct bgx *bgx, u8 lmac, u64 offset, u64 val) in bgx_reg_write()
121 static void bgx_reg_modify(struct bgx *bgx, u8 lmac, u64 offset, u64 val) in bgx_reg_modify()
128 static int bgx_poll_reg(struct bgx *bgx, u8 lmac, u64 reg, u64 mask, bool zero) in bgx_poll_reg()
209 struct lmac *lmac; in bgx_get_lmac_link_state() local
[all …]
H 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
255 int bgx, lmac, lmac_cnt; in nic_update_hw_frs() local
286 int lmac, max_lmac; in nic_set_tx_pkt_pad() local
321 int lmac, lmac_cnt = 0; in nic_set_lmac_vf_mapping() local
475 u32 vnic, bgx, lmac, chan; in nic_config_cpi() local
615 u32 bgx, lmac, chan; in nic_tx_channel_cfg() local
848 int bgx, lmac; in nic_enable_vf() local
863 int bgx, lmac; in nic_pause_frame() local
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dlmac_common.h32 struct lmac { struct
46 u8 lmac_id; argument
47 u8 lmac_type; argument
70 /* lmac offset is different is RPM */ argument
H A Dcgx.c120 void cgx_write(struct cgx *cgx, u64 lmac, u64 offset, u64 val) in cgx_write()
126 u64 cgx_read(struct cgx *cgx, u64 lmac, u64 offset) in cgx_read()
243 struct lmac *lmac = lmac_pdata(lmac_id, cgxd); in cgx_get_link_info() local
255 struct lmac *lmac = lmac_pdata(lmac_id, cgx_dev); in cgx_lmac_addr_set() local
317 struct lmac *lmac = lmac_pdata(lmac_id, cgx_dev); in cgx_lmac_addr_add() local
360 struct lmac *lmac = lmac_pdata(lmac_id, cgx_dev); in cgx_lmac_addr_reset() local
396 struct lmac *lmac; in cgx_lmac_addr_update() local
428 struct lmac *lmac = lmac_pdata(lmac_id, cgx_dev); in cgx_lmac_addr_del() local
474 struct lmac *lmac = lmac_pdata(lmac_id, cgx_dev); in cgx_lmac_addr_max_entries_get() local
485 struct lmac *lmac = lmac_pdata(lmac_id, cgx_dev); in cgx_lmac_addr_get() local
[all …]
H 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
402 int cgx, lmac, err; in cgx_start_linkup() local
432 int cgx, lmac; in rvu_cgx_exit() local
582 u8 cgx_idx, lmac; in rvu_lmac_get_stats() local
637 u8 cgx_idx, lmac; in rvu_mbox_handler_cgx_stats_rst() local
666 u8 cgx_idx, lmac; in rvu_mbox_handler_cgx_fec_stats() local
935 u8 cgx_idx, lmac; in rvu_mbox_handler_cgx_features_get() local
958 u32 rvu_cgx_get_lmac_fifolen(struct rvu *rvu, int cgx, int lmac) in rvu_cgx_get_lmac_fifolen()
1224 u8 cgx_idx, lmac; in rvu_mbox_handler_cgx_set_link_mode() local
[all …]
H A Drpm.c96 static void rpm_write(rpm_t *rpm, u64 lmac, u64 offset, u64 val) in rpm_write()
101 static u64 rpm_read(rpm_t *rpm, u64 lmac, u64 offset) in rpm_read()
170 struct lmac *lmac; in rpm_lmac_enadis_rx_pause_fwding() local
575 struct lmac *lmac; in rpm_lmac_internal_loopback() local
H A Dmcs.c943 int lmac; in cn10kb_mcs_bbe_intr_handler() local
967 int lmac; in cn10kb_mcs_pab_intr_handler() local
1397 int lmac; in mcs_set_lmac_channels() local
1510 int lmac, err = 0; in mcs_probe() local
H A Dmcs_rvu_if.c858 int cgx, lmac, port; in rvu_mcs_set_lmac_bmap() local
873 int lmac, err = 0, mcs_id; in rvu_mcs_init() local
H A Drvu_cn10k.c523 int cgx, lmac; in rvu_rpm_set_channels() local
H A Drvu.h65 struct dentry *lmac; member
H A Drvu_nix.c4608 u8 cgx = 0, lmac = 0; in rvu_mbox_handler_nix_set_hw_frs() local
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Dsmem.c15 int i, lmac; in iwl_parse_shared_mem_22000() local
H A Druntime.h35 } lmac[MAX_NUM_LMAC]; member
87 int lmac; member
/linux/net/llc/
H A Dllc_if.c83 int llc_establish_connection(struct sock *sk, const u8 *lmac, u8 *dmac, u8 dsap) in llc_establish_connection()