Home
last modified time | relevance | path

Searched refs:nic_id (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/net/wireless/intersil/orinoco/
Dhw.c50 static inline enum fwtype determine_firmware_type(struct comp_id *nic_id) in determine_firmware_type() argument
52 if (nic_id->id < 0x8000) in determine_firmware_type()
54 else if (nic_id->id == 0x8000 && nic_id->major == 0) in determine_firmware_type()
76 struct comp_id nic_id, sta_id; in determine_fw_capabilities() local
81 err = HERMES_READ_RECORD_PR(hw, USER_BAP, HERMES_RID_NICID, &nic_id); in determine_fw_capabilities()
88 le16_to_cpus(&nic_id.id); in determine_fw_capabilities()
89 le16_to_cpus(&nic_id.variant); in determine_fw_capabilities()
90 le16_to_cpus(&nic_id.major); in determine_fw_capabilities()
91 le16_to_cpus(&nic_id.minor); in determine_fw_capabilities()
93 nic_id.id, nic_id.variant, nic_id.major, nic_id.minor); in determine_fw_capabilities()
[all …]
/linux-6.1.9/drivers/staging/gdm724x/
Dgdm_lte.h59 u32 nic_id; member
Dgdm_lte.c347 nic_type = 0x00000010 | nic->nic_id; in gdm_lte_tx_nic_type()
895 nic->nic_id = index; in register_lte_device()
/linux-6.1.9/drivers/misc/habanalabs/gaudi/
Dgaudi.c3203 int qman_id, u64 qman_base_addr, int nic_id) in gaudi_init_nic_qman() argument
3276 nic_id); in gaudi_init_nic_qman()
3300 int i, nic_id, internal_q_index; in gaudi_init_nic_qmans() local
3310 for (nic_id = 0 ; nic_id < NIC_NUMBER_OF_ENGINES ; nic_id++) { in gaudi_init_nic_qmans()
3311 if (!(hdev->nic_ports_mask & (1 << nic_id))) { in gaudi_init_nic_qmans()
3313 if (nic_id & 1) { in gaudi_init_nic_qmans()
3322 nic_id * QMAN_STREAMS + i; in gaudi_init_nic_qmans()
3326 qman_base_addr, nic_id); in gaudi_init_nic_qmans()
3333 if (nic_id & 1) { in gaudi_init_nic_qmans()
3338 gaudi->hw_cap_initialized |= 1 << (HW_CAP_NIC_SHIFT + nic_id); in gaudi_init_nic_qmans()
[all …]
/linux-6.1.9/drivers/misc/habanalabs/gaudi2/
Dgaudi2.c2816 u8 nic_id, umr_block_id; in gaudi2_user_mapped_blocks_init() local
2818 nic_id = i / NUM_OF_USER_NIC_UMR_BLOCKS; in gaudi2_user_mapped_blocks_init()
2823 (nic_id / NIC_NUMBER_OF_QM_PER_MACRO) * NIC_OFFSET + in gaudi2_user_mapped_blocks_init()
2824 (nic_id % NIC_NUMBER_OF_QM_PER_MACRO) * NIC_QM_OFFSET + in gaudi2_user_mapped_blocks_init()