Searched refs:lmac (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/ |
D | thunder_bgx.c | 27 struct lmac { struct 47 struct lmac lmac[MAX_LMAC_PER_BGX]; argument 59 static int bgx_xaui_check_link(struct lmac *lmac); 83 static u64 bgx_reg_read(struct bgx *bgx, u8 lmac, u64 offset) in bgx_reg_read() argument 85 void __iomem *addr = bgx->reg_base + ((u32)lmac << 20) + offset; in bgx_reg_read() 90 static void bgx_reg_write(struct bgx *bgx, u8 lmac, u64 offset, u64 val) in bgx_reg_write() argument 92 void __iomem *addr = bgx->reg_base + ((u32)lmac << 20) + offset; in bgx_reg_write() 97 static void bgx_reg_modify(struct bgx *bgx, u8 lmac, u64 offset, u64 val) in bgx_reg_modify() argument 99 void __iomem *addr = bgx->reg_base + ((u32)lmac << 20) + offset; in bgx_reg_modify() 104 static int bgx_poll_reg(struct bgx *bgx, u8 lmac, u64 reg, u64 mask, bool zero) in bgx_poll_reg() argument [all …]
|
D | nic_main.c | 36 #define NIC_SET_VF_LMAC_MAP(bgx, lmac) (((bgx & 0xF) << 4) | (lmac & 0xF)) argument 144 int bgx_idx, lmac; in nic_mbx_send_ready() local 154 lmac = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[vf]); in nic_mbx_send_ready() 156 mac = bgx_get_lmac_mac(nic->node, bgx_idx, lmac); in nic_mbx_send_ready() 216 int bgx_idx, lmac; in nic_get_bgx_stats() local 220 lmac = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]); in nic_get_bgx_stats() 228 lmac, bgx->idx); in nic_get_bgx_stats() 231 lmac, bgx->idx); in nic_get_bgx_stats() 256 int lmac; in nic_set_tx_pkt_pad() local 263 for (lmac = 0; lmac < (MAX_BGX_PER_CN88XX * MAX_LMAC_PER_BGX); lmac++) { in nic_set_tx_pkt_pad() [all …]
|
D | thunder_bgx.h | 187 void bgx_add_dmac_addr(u64 dmac, int node, int bgx_idx, int lmac); 195 u64 bgx_get_rx_stats(int node, int bgx_idx, int lmac, int idx); 196 u64 bgx_get_tx_stats(int node, int bgx_idx, int lmac, int idx);
|
/linux-4.4.14/net/llc/ |
D | llc_if.c | 79 int llc_establish_connection(struct sock *sk, u8 *lmac, u8 *dmac, u8 dsap) in llc_establish_connection() argument 90 memcpy(laddr.mac, lmac, sizeof(laddr.mac)); in llc_establish_connection()
|
/linux-4.4.14/include/net/ |
D | llc_if.h | 65 int llc_establish_connection(struct sock *sk, u8 *lmac, u8 *dmac, u8 dsap);
|