Home
last modified time | relevance | path

Searched refs:lmac_cfg (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Dsmem.c35 struct iwl_shared_mem_lmac_cfg *lmac_cfg = in iwl_parse_shared_mem_22000() local
38 for (i = 0; i < ARRAY_SIZE(lmac_cfg->txfifo_size); i++) in iwl_parse_shared_mem_22000()
40 le32_to_cpu(lmac_cfg->txfifo_size[i]); in iwl_parse_shared_mem_22000()
42 le32_to_cpu(lmac_cfg->rxfifo1_size); in iwl_parse_shared_mem_22000()
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnic_main.c288 u64 lmac_cfg; in nic_set_tx_pkt_pad() local
307 lmac_cfg = nic_reg_read(nic, NIC_PF_LMAC_0_7_CFG | (lmac << 3)); in nic_set_tx_pkt_pad()
308 lmac_cfg &= ~(0xF << 2); in nic_set_tx_pkt_pad()
309 lmac_cfg |= ((size / 4) << 2); in nic_set_tx_pkt_pad()
310 nic_reg_write(nic, NIC_PF_LMAC_0_7_CFG | (lmac << 3), lmac_cfg); in nic_set_tx_pkt_pad()