Home
last modified time | relevance | path

Searched refs:hw_info (Results 1 – 25 of 62) sorted by relevance

123

/drivers/net/wwan/t7xx/
Dt7xx_dpmaif.c34 static int t7xx_dpmaif_init_intr(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_init_intr() argument
36 struct dpmaif_isr_en_mask *isr_en_msk = &hw_info->isr_en_mask; in t7xx_dpmaif_init_intr()
42 iowrite32(DPMAIF_AP_ALL_L2TISAR0_MASK, hw_info->pcie_base + DPMAIF_AP_L2TISAR0); in t7xx_dpmaif_init_intr()
45 iowrite32(ul_intr_enable, hw_info->pcie_base + DPMAIF_AO_UL_AP_L2TIMCR0); in t7xx_dpmaif_init_intr()
46 iowrite32(~ul_intr_enable, hw_info->pcie_base + DPMAIF_AO_UL_AP_L2TIMSR0); in t7xx_dpmaif_init_intr()
49 ret = ioread32_poll_timeout_atomic(hw_info->pcie_base + DPMAIF_AO_UL_AP_L2TIMR0, in t7xx_dpmaif_init_intr()
60 iowrite32(DPMAIF_AP_APDL_ALL_L2TISAR0_MASK, hw_info->pcie_base + DPMAIF_AP_APDL_L2TISAR0); in t7xx_dpmaif_init_intr()
63 iowrite32(~ul_intr_enable, hw_info->pcie_base + DPMAIF_AO_UL_APDL_L2TIMSR0); in t7xx_dpmaif_init_intr()
64 ret = ioread32_poll_timeout_atomic(hw_info->pcie_base + DPMAIF_AO_UL_APDL_L2TIMR0, in t7xx_dpmaif_init_intr()
71 iowrite32(DPMAIF_AP_IP_BUSY_MASK, hw_info->pcie_base + DPMAIF_AP_IP_BUSY); in t7xx_dpmaif_init_intr()
[all …]
Dt7xx_cldma.c28 void t7xx_cldma_clear_ip_busy(struct t7xx_cldma_hw *hw_info) in t7xx_cldma_clear_ip_busy() argument
32 val = ioread32(hw_info->ap_pdn_base + REG_CLDMA_IP_BUSY); in t7xx_cldma_clear_ip_busy()
34 iowrite32(val, hw_info->ap_pdn_base + REG_CLDMA_IP_BUSY); in t7xx_cldma_clear_ip_busy()
43 void t7xx_cldma_hw_restore(struct t7xx_cldma_hw *hw_info) in t7xx_cldma_hw_restore() argument
47 ul_cfg = ioread32(hw_info->ap_pdn_base + REG_CLDMA_UL_CFG); in t7xx_cldma_hw_restore()
50 if (hw_info->hw_mode == MODE_BIT_64) in t7xx_cldma_hw_restore()
52 else if (hw_info->hw_mode == MODE_BIT_40) in t7xx_cldma_hw_restore()
54 else if (hw_info->hw_mode == MODE_BIT_36) in t7xx_cldma_hw_restore()
57 iowrite32(ul_cfg, hw_info->ap_pdn_base + REG_CLDMA_UL_CFG); in t7xx_cldma_hw_restore()
59 iowrite32(UL_MEM_CHECK_DIS, hw_info->ap_pdn_base + REG_CLDMA_UL_MEM); in t7xx_cldma_hw_restore()
[all …]
Dt7xx_hif_cldma.c116 struct t7xx_cldma_hw *hw_info; in t7xx_cldma_gpd_rx_from_q() local
121 hw_info = &md_ctrl->hw_info; in t7xx_cldma_gpd_rx_from_q()
142 gpd_addr = ioread64(hw_info->ap_pdn_base + REG_CLDMA_DL_CURRENT_ADDRL_0 + in t7xx_cldma_gpd_rx_from_q()
200 struct t7xx_cldma_hw *hw_info; in t7xx_cldma_gpd_rx_collect() local
206 hw_info = &md_ctrl->hw_info; in t7xx_cldma_gpd_rx_collect()
219 if (!t7xx_cldma_hw_queue_status(hw_info, queue->index, MTK_RX)) in t7xx_cldma_gpd_rx_collect()
220 t7xx_cldma_hw_resume_queue(hw_info, queue->index, MTK_RX); in t7xx_cldma_gpd_rx_collect()
222 pending_rx_int = t7xx_cldma_hw_int_status(hw_info, BIT(queue->index), in t7xx_cldma_gpd_rx_collect()
225 t7xx_cldma_hw_rx_done(hw_info, pending_rx_int); in t7xx_cldma_gpd_rx_collect()
251 t7xx_cldma_clear_ip_busy(&md_ctrl->hw_info); in t7xx_cldma_rx_done()
[all …]
Dt7xx_dpmaif.h150 int t7xx_dpmaif_hw_init(struct dpmaif_hw_info *hw_info, struct dpmaif_hw_params *init_param);
151 int t7xx_dpmaif_hw_stop_all_txq(struct dpmaif_hw_info *hw_info);
152 int t7xx_dpmaif_hw_stop_all_rxq(struct dpmaif_hw_info *hw_info);
153 void t7xx_dpmaif_start_hw(struct dpmaif_hw_info *hw_info);
154 int t7xx_dpmaif_hw_get_intr_cnt(struct dpmaif_hw_info *hw_info,
156 void t7xx_dpmaif_unmask_ulq_intr(struct dpmaif_hw_info *hw_info, unsigned int q_num);
157 void t7xx_dpmaif_ul_update_hw_drb_cnt(struct dpmaif_hw_info *hw_info, unsigned int q_num,
159 int t7xx_dpmaif_dl_snd_hw_bat_cnt(struct dpmaif_hw_info *hw_info, unsigned int bat_entry_cnt);
160 int t7xx_dpmaif_dl_snd_hw_frg_cnt(struct dpmaif_hw_info *hw_info, unsigned int frg_entry_cnt);
161 int t7xx_dpmaif_dlq_add_pit_remain_cnt(struct dpmaif_hw_info *hw_info, unsigned int dlq_pit_idx,
[all …]
Dt7xx_cldma.h153 void t7xx_cldma_hw_irq_dis_txrx(struct t7xx_cldma_hw *hw_info, unsigned int qno,
155 void t7xx_cldma_hw_irq_dis_eq(struct t7xx_cldma_hw *hw_info, unsigned int qno,
157 void t7xx_cldma_hw_irq_en_txrx(struct t7xx_cldma_hw *hw_info, unsigned int qno,
159 void t7xx_cldma_hw_irq_en_eq(struct t7xx_cldma_hw *hw_info, unsigned int qno, enum mtk_txrx tx_rx);
160 unsigned int t7xx_cldma_hw_queue_status(struct t7xx_cldma_hw *hw_info, unsigned int qno,
162 void t7xx_cldma_hw_init(struct t7xx_cldma_hw *hw_info);
163 void t7xx_cldma_hw_resume_queue(struct t7xx_cldma_hw *hw_info, unsigned int qno,
165 void t7xx_cldma_hw_start(struct t7xx_cldma_hw *hw_info);
166 void t7xx_cldma_hw_start_queue(struct t7xx_cldma_hw *hw_info, unsigned int qno,
168 void t7xx_cldma_hw_tx_done(struct t7xx_cldma_hw *hw_info, unsigned int bitmask);
[all …]
Dt7xx_hif_dpmaif.c85 struct dpmaif_hw_info *hw_info; in t7xx_dpmaif_irq_cb() local
89 hw_info = &dpmaif_ctrl->hw_info; in t7xx_dpmaif_irq_cb()
91 if (t7xx_dpmaif_hw_get_intr_cnt(hw_info, &intr_status, isr_para->dlq_id) < 0) { in t7xx_dpmaif_irq_cb()
112 t7xx_dpmaif_dl_unmask_batcnt_len_err_intr(hw_info); in t7xx_dpmaif_irq_cb()
117 t7xx_dpmaif_dl_unmask_pitcnt_len_err_intr(hw_info); in t7xx_dpmaif_irq_cb()
122 t7xx_dpmaif_dlq_unmask_pitcnt_len_err_intr(hw_info, DPF_RX_QNO_DFT); in t7xx_dpmaif_irq_cb()
127 t7xx_dpmaif_dlq_unmask_pitcnt_len_err_intr(hw_info, DPF_RX_QNO1); in t7xx_dpmaif_irq_cb()
292 struct dpmaif_hw_info *hw_info = &dpmaif_ctrl->hw_info; in t7xx_dpmaif_start() local
341 ret = t7xx_dpmaif_hw_init(hw_info, &hw_init_para); in t7xx_dpmaif_start()
347 ret = t7xx_dpmaif_dl_snd_hw_bat_cnt(hw_info, rxq->bat_req->bat_size_cnt - 1); in t7xx_dpmaif_start()
[all …]
Dt7xx_hif_dpmaif_rx.c249 ret = t7xx_dpmaif_dl_snd_hw_bat_cnt(&dpmaif_ctrl->hw_info, i); in t7xx_dpmaif_rx_buf_alloc()
253 hw_wr_idx = t7xx_dpmaif_dl_get_bat_wr_idx(&dpmaif_ctrl->hw_info, in t7xx_dpmaif_rx_buf_alloc()
274 struct dpmaif_hw_info *hw_info = &rxq->dpmaif_ctrl->hw_info; in t7xx_dpmaifq_release_pit_entry() local
292 ret = t7xx_dpmaif_dlq_add_pit_remain_cnt(hw_info, rxq->index, rel_entry_num); in t7xx_dpmaifq_release_pit_entry()
415 t7xx_dpmaif_dl_snd_hw_frg_cnt(&dpmaif_ctrl->hw_info, i); in t7xx_dpmaif_rx_frag_alloc()
539 struct dpmaif_hw_info *hw_info = &rxq->dpmaif_ctrl->hw_info; in t7xx_dpmaif_release_bat_entry() local
549 hw_rd_idx = t7xx_dpmaif_dl_get_frg_rd_idx(hw_info, rxq->index); in t7xx_dpmaif_release_bat_entry()
552 hw_rd_idx = t7xx_dpmaif_dl_get_bat_rd_idx(hw_info, rxq->index); in t7xx_dpmaif_release_bat_entry()
859 hw_wr_idx = t7xx_dpmaif_dl_dlq_pit_get_wr_idx(&rxq->dpmaif_ctrl->hw_info, rxq->index); in t7xx_dpmaifq_poll_pit()
894 struct dpmaif_hw_info *hw_info = &dpmaif_ctrl->hw_info; in t7xx_dpmaif_do_rx() local
[all …]
Dt7xx_hif_dpmaif_tx.c62 new_hw_rd_idx = t7xx_dpmaif_ul_get_rd_idx(&dpmaif_ctrl->hw_info, q_num); in t7xx_dpmaif_update_drb_rd_idx()
162 struct dpmaif_hw_info *hw_info; in t7xx_dpmaif_tx_done() local
172 hw_info = &dpmaif_ctrl->hw_info; in t7xx_dpmaif_tx_done()
175 (t7xx_dpmaif_ul_clr_done(hw_info, txq->index) && in t7xx_dpmaif_tx_done()
180 t7xx_dpmaif_clr_ip_busy_sts(hw_info); in t7xx_dpmaif_tx_done()
182 t7xx_dpmaif_clr_ip_busy_sts(hw_info); in t7xx_dpmaif_tx_done()
183 t7xx_dpmaif_unmask_ulq_intr(hw_info, txq->index); in t7xx_dpmaif_tx_done()
438 t7xx_dpmaif_ul_update_hw_drb_cnt(&dpmaif_ctrl->hw_info, txq->index, in t7xx_do_tx_hw_push()
/drivers/net/fjes/
Dfjes_hw.c98 hw->hw_info.share = kzalloc(size, GFP_KERNEL); in fjes_hw_alloc_shared_status_region()
99 if (!hw->hw_info.share) in fjes_hw_alloc_shared_status_region()
102 hw->hw_info.share->epnum = hw->max_epid; in fjes_hw_alloc_shared_status_region()
109 kfree(hw->hw_info.share); in fjes_hw_free_shared_status_region()
110 hw->hw_info.share = NULL; in fjes_hw_free_shared_status_region()
212 hw->hw_info.max_epid = &hw->max_epid; in fjes_hw_setup()
213 hw->hw_info.my_epid = &hw->my_epid; in fjes_hw_setup()
223 hw->hw_info.req_buf = kzalloc(mem_size, GFP_KERNEL); in fjes_hw_setup()
224 if (!(hw->hw_info.req_buf)) { in fjes_hw_setup()
229 hw->hw_info.req_buf_size = mem_size; in fjes_hw_setup()
[all …]
Dfjes_ethtool.c235 mutex_lock(&hw->hw_info.lock); in fjes_set_dump()
237 mutex_unlock(&hw->hw_info.lock); in fjes_set_dump()
246 mutex_lock(&hw->hw_info.lock); in fjes_set_dump()
248 mutex_unlock(&hw->hw_info.lock); in fjes_set_dump()
260 dump->len = hw->hw_info.trace_size; in fjes_get_dump_flag()
274 if (hw->hw_info.trace) in fjes_get_dump_data()
275 memcpy(buf, hw->hw_info.trace, hw->hw_info.trace_size); in fjes_get_dump_data()
Dfjes_main.c178 mutex_lock(&hw->hw_info.lock); in fjes_setup_resources()
184 hw->hw_info.res_buf->info.info[epidx].es_status; in fjes_setup_resources()
186 hw->hw_info.res_buf->info.info[epidx].zone; in fjes_setup_resources()
194 mutex_unlock(&hw->hw_info.lock); in fjes_setup_resources()
197 mutex_unlock(&hw->hw_info.lock); in fjes_setup_resources()
224 mutex_lock(&hw->hw_info.lock); in fjes_setup_resources()
227 mutex_unlock(&hw->hw_info.lock); in fjes_setup_resources()
263 set_bit(src_epid, &hw->hw_info.buffer_unshare_reserve_bit); in fjes_stop_req_irq()
444 mutex_lock(&hw->hw_info.lock); in fjes_free_resources()
446 mutex_unlock(&hw->hw_info.lock); in fjes_free_resources()
[all …]
/drivers/hwtracing/coresight/
Dcoresight-cfg-afdo.c34 .hw_info = ETM4_CFG_RES_SEL,
40 .hw_info = ETM4_CFG_RES_SEQ,
47 .hw_info = ETM4_CFG_RES_CTR,
52 .hw_info = ETM4_CFG_RES_CTR,
58 .hw_info = ETM4_CFG_RES_CTR,
65 .hw_info = ETM4_CFG_RES_CTR,
70 .hw_info = ETM4_CFG_RES_CTR,
76 .hw_info = ETM4_CFG_RES_CTR,
83 .hw_info = ETM4_CFG_RES_SEQ,
89 .hw_info = ETM4_CFG_RES_SEQ,
/drivers/net/ethernet/qlogic/qed/
Dqed.h268 ((dev)->hw_info.personality == QED_PCI_ETH_ROCE || \
269 (dev)->hw_info.personality == QED_PCI_ETH_IWARP || \
270 (dev)->hw_info.personality == QED_PCI_ETH_RDMA)
272 ((dev)->hw_info.personality == QED_PCI_ETH_ROCE || \
273 (dev)->hw_info.personality == QED_PCI_ETH_RDMA)
275 ((dev)->hw_info.personality == QED_PCI_ETH_IWARP || \
276 (dev)->hw_info.personality == QED_PCI_ETH_RDMA)
278 ((dev)->hw_info.personality == QED_PCI_ETH || \
281 ((dev)->hw_info.personality == QED_PCI_FCOE)
283 ((dev)->hw_info.personality == QED_PCI_ISCSI)
[all …]
Dqed_sp_commands.c320 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_start()
343 outer_tag_config->outer_tag.tci = cpu_to_le16(p_hwfn->hw_info.ovlan); in qed_sp_pf_start()
386 switch (p_hwfn->hw_info.personality) { in qed_sp_pf_start()
403 p_hwfn->hw_info.personality); in qed_sp_pf_start()
438 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_update()
468 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_update_ufp()
506 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_update_tunn_cfg()
537 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_stop()
558 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_heartbeat_ramrod()
579 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_update_stag()
[all …]
Dqed_dev.c716 p_hwfn->hw_info.hw_mac_addr); in qed_llh_hw_init_pf()
1382 if (p_hwfn->hw_info.personality == QED_PCI_FCOE) in qed_resc_free()
1385 if (p_hwfn->hw_info.personality == QED_PCI_ISCSI) { in qed_resc_free()
1390 if (p_hwfn->hw_info.personality == QED_PCI_NVMETCP) { in qed_resc_free()
1430 switch (p_hwfn->hw_info.personality) { in qed_get_pq_flags()
1452 "unknown personality %d\n", p_hwfn->hw_info.personality); in qed_get_pq_flags()
1462 return p_hwfn->hw_info.num_hw_tc; in qed_init_qm_get_num_tcs()
1649 return p_hwfn->hw_info.offload_tc_set; in qed_is_offload_tc_set()
1655 return p_hwfn->hw_info.offload_tc; in qed_get_offload_tc()
1857 p_hwfn->hw_info.offload_tc : tc, in qed_init_qm_mtc_pqs()
[all …]
Dqed_devlink.c169 memcpy(buf, cdev->hwfns[0].hw_info.part_num, sizeof(cdev->hwfns[0].hw_info.part_num)); in qed_devlink_info_get()
170 buf[sizeof(cdev->hwfns[0].hw_info.part_num)] = 0; in qed_devlink_info_get()
Dqed_roce.c255 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_roce_sp_create_responder()
309 p_ramrod->cq_cid = cpu_to_le32((p_hwfn->hw_info.opaque_fid << 16) | in qed_roce_sp_create_responder()
333 p_ramrod->srq_id.opaque_fid = cpu_to_le16(p_hwfn->hw_info.opaque_fid); in qed_roce_sp_create_responder()
393 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_roce_sp_create_requester()
446 cpu_to_le32((p_hwfn->hw_info.opaque_fid << 16) | qp->sq_cq_id); in qed_roce_sp_create_requester()
511 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_roce_sp_modify_responder()
599 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_roce_sp_modify_requester()
700 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_roce_sp_destroy_qp_responder()
780 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_roce_sp_destroy_qp_requester()
861 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_roce_query_qp()
Dqed_int.c1556 u8 num_tc = p_hwfn->hw_info.num_hw_tc; in qed_int_cau_conf_sb()
1606 p_block = &p_hwfn->hw_info.p_igu_info->entry[igu_id]; in qed_get_igu_free_sb()
1626 p_block = &p_hwfn->hw_info.p_igu_info->entry[igu_id]; in qed_get_pf_igu_sb_id()
1645 igu_sb_id = p_hwfn->hw_info.p_igu_info->igu_dsb_id; in qed_get_igu_sb_id()
1676 p_info = p_hwfn->hw_info.p_igu_info; in qed_int_sb_init()
1728 p_info = p_hwfn->hw_info.p_igu_info; in qed_int_sb_release()
1962 p_block = &p_hwfn->hw_info.p_igu_info->entry[igu_sb_id]; in qed_int_igu_init_pure_rt_single()
2003 struct qed_igu_info *p_info = p_hwfn->hw_info.p_igu_info; in qed_int_igu_init_pure_rt()
2023 p_hwfn->hw_info.opaque_fid, in qed_int_igu_init_pure_rt()
2030 p_hwfn->hw_info.opaque_fid, in qed_int_igu_init_pure_rt()
[all …]
Dqed_iscsi.c156 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_iscsi_func_start()
172 if (p_params->num_queues > p_hwfn->hw_info.feat_num[QED_ISCSI_CQ]) { in qed_sp_iscsi_func_start()
176 p_hwfn->hw_info.feat_num[QED_ISCSI_CQ]); in qed_sp_iscsi_func_start()
187 p_hwfn->hw_info.resc_start[QED_LL2_RAM_QUEUE] + in qed_sp_iscsi_func_start()
203 dval = (u8)p_hwfn->hw_info.resc_start[QED_CMDQS_CQS]; in qed_sp_iscsi_func_start()
284 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_iscsi_conn_offload()
463 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_iscsi_conn_update()
504 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_iscsi_mac_update()
546 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_iscsi_conn_terminate()
580 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_iscsi_conn_clear_sq()
[all …]
/drivers/net/ethernet/8390/
Dpcnet_cs.c113 struct hw_info { struct
134 static struct hw_info hw_info[] = { argument
196 #define NR_INFO ARRAY_SIZE(hw_info)
198 static struct hw_info default_info = { 0, 0, 0, 0, 0 };
199 static struct hw_info dl10019_info = { 0, 0, 0, 0, IS_DL10019|HAS_MII };
200 static struct hw_info dl10022_info = { 0, 0, 0, 0, IS_DL10022|HAS_MII };
277 static struct hw_info *get_hwinfo(struct pcmcia_device *link) in get_hwinfo()
300 hw_info[i].offset & ~(resource_size(link->resource[2])-1)); in get_hwinfo()
301 base = &virt[hw_info[i].offset & (resource_size(link->resource[2])-1)]; in get_hwinfo()
302 if ((readb(base+0) == hw_info[i].a0) && in get_hwinfo()
[all …]
/drivers/net/wireless/quantenna/qtnfmac/
Dcore.c417 if (bus->hw_info.num_mac > 1) { in qtnf_core_mac_alloc()
487 if (qtnf_hwcap_is_set(&mac->bus->hw_info, QLINK_HW_CAPAB_HW_BRIDGE)) in qtnf_core_net_attach()
564 if (!(bus->hw_info.mac_bitmap & BIT(macid))) { in qtnf_core_mac_attach()
605 ret = qtnf_wiphy_register(&bus->hw_info, mac); in qtnf_core_mac_attach()
624 if (qtnf_hwcap_is_set(&bus->hw_info, QLINK_HW_CAPAB_HW_BRIDGE)) { in qtnf_core_mac_attach()
694 qtnf_hwcap_is_set(&bus->hw_info, in qtnf_core_netdevice_event()
746 if (QLINK_VER_MAJOR(bus->hw_info.ql_proto_ver) != in qtnf_core_attach()
750 QLINK_VER_MAJOR(bus->hw_info.ql_proto_ver)); in qtnf_core_attach()
762 if (qtnf_hwcap_is_set(&bus->hw_info, QLINK_HW_CAPAB_HW_BRIDGE) && in qtnf_core_attach()
766 if (bus->hw_info.num_mac > QTNF_MAX_MAC) { in qtnf_core_attach()
[all …]
Dcfg80211.c267 if (qtnf_hwcap_is_set(&mac->bus->hw_info, QLINK_HW_CAPAB_HW_BRIDGE)) { in qtnf_add_virtual_intf()
1075 qtnf_hwcap_is_set(&bus->hw_info, QLINK_HW_CAPAB_DFS_OFFLOAD)) in qtnf_wiphy_allocate()
1078 if (!qtnf_hwcap_is_set(&bus->hw_info, QLINK_HW_CAPAB_PWR_MGMT)) in qtnf_wiphy_allocate()
1121 int qtnf_wiphy_register(struct qtnf_hw_info *hw_info, struct qtnf_wmac *mac) in qtnf_wiphy_register() argument
1164 qtnf_hwcap_is_set(hw_info, QLINK_HW_CAPAB_DFS_OFFLOAD)) in qtnf_wiphy_register()
1167 if (qtnf_hwcap_is_set(hw_info, QLINK_HW_CAPAB_SCAN_DWELL)) in qtnf_wiphy_register()
1183 if (qtnf_hwcap_is_set(hw_info, QLINK_HW_CAPAB_STA_INACT_TIMEOUT)) in qtnf_wiphy_register()
1186 if (qtnf_hwcap_is_set(hw_info, QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR)) in qtnf_wiphy_register()
1189 if (!qtnf_hwcap_is_set(hw_info, QLINK_HW_CAPAB_OBSS_SCAN)) in qtnf_wiphy_register()
1192 if (qtnf_hwcap_is_set(hw_info, QLINK_HW_CAPAB_SAE)) in qtnf_wiphy_register()
[all …]
/drivers/net/dsa/
Dlantiq_gswip.c280 const struct gswip_hw_info *hw_info; member
648 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_add_single_port_br()
649 unsigned int max_ports = priv->hw_info->max_ports; in gswip_add_single_port_br()
813 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_setup()
822 for (i = 0; i < priv->hw_info->max_ports; i++) { in gswip_setup()
863 for (i = 0; i < priv->hw_info->max_ports; i++) in gswip_setup()
913 unsigned int max_ports = priv->hw_info->max_ports; in gswip_vlan_active_create()
971 unsigned int max_ports = priv->hw_info->max_ports; in gswip_vlan_add_unaware()
972 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_vlan_add_unaware()
1033 unsigned int max_ports = priv->hw_info->max_ports; in gswip_vlan_add_aware()
[all …]
/drivers/input/touchscreen/
Dgoodix_fwupload.c28 u8 hw_info[4]; member
76 fw_header->hw_info[0], fw_header->hw_info[1], in goodix_firmware_verify()
77 fw_header->hw_info[2], fw_header->hw_info[3]); in goodix_firmware_verify()
/drivers/usb/serial/
Dwhiteheat.c219 struct whiteheat_hw_info *hw_info; in whiteheat_attach() local
236 result = kmalloc(sizeof(*hw_info) + 1, GFP_KERNEL); in whiteheat_attach()
262 sizeof(*hw_info) + 1, &alen, COMMAND_TIMEOUT_MS); in whiteheat_attach()
267 } else if (alen != sizeof(*hw_info) + 1) { in whiteheat_attach()
277 hw_info = (struct whiteheat_hw_info *)&result[1]; in whiteheat_attach()
281 hw_info->sw_major_rev, hw_info->sw_minor_rev); in whiteheat_attach()

123