/linux-6.3-rc2/drivers/net/wwan/t7xx/ |
A D | t7xx_dpmaif.c | 88 isr_en_msk = &hw_info->isr_en_mask; in t7xx_dpmaif_mask_ulq_intr() 97 dev_err(hw_info->dev, in t7xx_dpmaif_mask_ulq_intr() 108 isr_en_msk = &hw_info->isr_en_mask; in t7xx_dpmaif_unmask_ulq_intr() 117 dev_err(hw_info->dev, in t7xx_dpmaif_unmask_ulq_intr() 154 dev_err(hw_info->dev, in t7xx_mask_dlq_intr() 424 t7xx_dpmaif_hw_reset(hw_info); in t7xx_dpmaif_hw_config() 771 t7xx_dpmaif_dl_dlq_pit_en(hw_info); in t7xx_dpmaif_config_dlq_pit_hw() 780 t7xx_dpmaif_config_dlq_pit_hw(hw_info, i, &hw_info->dl_que[i]); in t7xx_dpmaif_config_all_dlq_hw() 914 ul_que = &hw_info->ul_que[i]; in t7xx_dpmaif_config_ulq_hw() 1129 dl_que = &hw_info->dl_que[i]; in t7xx_dpmaif_set_queue_property() [all …]
|
A D | t7xx_cldma.c | 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() 126 void __iomem *base = hw_info->ap_pdn_base; in t7xx_cldma_hw_resume_queue() 142 hw_info->ap_pdn_base + REG_CLDMA_UL_STATUS; in t7xx_cldma_hw_queue_status() 177 hw_info->ap_pdn_base + REG_CLDMA_L2TISAR0; in t7xx_cldma_hw_int_status() 189 hw_info->ap_pdn_base + REG_CLDMA_L2TIMSR0; in t7xx_cldma_hw_irq_dis_txrx() 200 hw_info->ap_pdn_base + REG_CLDMA_L2TIMSR0; in t7xx_cldma_hw_irq_dis_eq() 212 hw_info->ap_pdn_base + REG_CLDMA_L2TIMCR0; in t7xx_cldma_hw_irq_en_txrx() 223 hw_info->ap_pdn_base + REG_CLDMA_L2TIMCR0; in t7xx_cldma_hw_irq_en_eq() [all …]
|
A D | t7xx_dpmaif.h | 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, 163 void t7xx_dpmaif_dlq_unmask_pitcnt_len_err_intr(struct dpmaif_hw_info *hw_info, 166 bool t7xx_dpmaif_ul_clr_done(struct dpmaif_hw_info *hw_info, unsigned int qno); 167 void t7xx_dpmaif_ul_clr_all_intr(struct dpmaif_hw_info *hw_info); 168 void t7xx_dpmaif_dl_clr_all_intr(struct dpmaif_hw_info *hw_info); 169 void t7xx_dpmaif_clr_ip_busy_sts(struct dpmaif_hw_info *hw_info); 170 void t7xx_dpmaif_dl_unmask_batcnt_len_err_intr(struct dpmaif_hw_info *hw_info); [all …]
|
A D | t7xx_hif_cldma.c | 121 hw_info = &md_ctrl->hw_info; in t7xx_cldma_gpd_rx_from_q() 206 hw_info = &md_ctrl->hw_info; in t7xx_cldma_gpd_rx_collect() 318 struct t7xx_cldma_hw *hw_info = &md_ctrl->hw_info; in t7xx_cldma_txq_empty_hndl() local 343 hw_info = &md_ctrl->hw_info; in t7xx_cldma_tx_done() 552 struct t7xx_cldma_hw *hw_info = &md_ctrl->hw_info; in t7xx_cldma_irq_work_cb() local 612 struct t7xx_cldma_hw *hw_info = &md_ctrl->hw_info; in t7xx_cldma_qs_are_active() local 638 struct t7xx_cldma_hw *hw_info = &md_ctrl->hw_info; in t7xx_cldma_stop() local 830 struct t7xx_cldma_hw *hw_info = &md_ctrl->hw_info; in t7xx_cldma_stop_all_qs() local 1113 hw_info = &md_ctrl->hw_info; in t7xx_cldma_resume_early() 1154 hw_info = &md_ctrl->hw_info; in t7xx_cldma_suspend_late() [all …]
|
A D | t7xx_cldma.h | 153 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, 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, 171 void t7xx_cldma_hw_set_start_addr(struct t7xx_cldma_hw *hw_info, 174 void t7xx_cldma_hw_stop(struct t7xx_cldma_hw *hw_info, enum mtk_txrx tx_rx); 177 void t7xx_cldma_hw_restore(struct t7xx_cldma_hw *hw_info); [all …]
|
A D | t7xx_hif_dpmaif.c | 85 struct dpmaif_hw_info *hw_info; in t7xx_dpmaif_irq_cb() local 89 hw_info = &dpmaif_ctrl->hw_info; 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() 301 struct dpmaif_hw_info *hw_info = &dpmaif_ctrl->hw_info; in t7xx_dpmaif_start() local 350 ret = t7xx_dpmaif_hw_init(hw_info, &hw_init_para); in t7xx_dpmaif_start() 364 t7xx_dpmaif_ul_clr_all_intr(hw_info); in t7xx_dpmaif_start() 365 t7xx_dpmaif_dl_clr_all_intr(hw_info); in t7xx_dpmaif_start() 388 t7xx_dpmaif_hw_stop_all_txq(&dpmaif_ctrl->hw_info); in t7xx_dpmaif_stop_hw() 457 t7xx_dpmaif_start_hw(&dpmaif_ctrl->hw_info); in t7xx_dpmaif_resume() [all …]
|
A D | t7xx_hif_dpmaif_rx.c | 213 ret = t7xx_dpmaif_dl_snd_hw_bat_cnt(&dpmaif_ctrl->hw_info, i); in t7xx_dpmaif_rx_buf_alloc() 217 hw_wr_idx = t7xx_dpmaif_dl_get_bat_wr_idx(&dpmaif_ctrl->hw_info, in t7xx_dpmaif_rx_buf_alloc() 238 struct dpmaif_hw_info *hw_info = &rxq->dpmaif_ctrl->hw_info; in t7xx_dpmaifq_release_pit_entry() local 379 t7xx_dpmaif_dl_snd_hw_frg_cnt(&dpmaif_ctrl->hw_info, i); in t7xx_dpmaif_rx_frag_alloc() 503 struct dpmaif_hw_info *hw_info = &rxq->dpmaif_ctrl->hw_info; in t7xx_dpmaif_release_bat_entry() local 513 hw_rd_idx = t7xx_dpmaif_dl_get_frg_rd_idx(hw_info, rxq->index); in t7xx_dpmaif_release_bat_entry() 516 hw_rd_idx = t7xx_dpmaif_dl_get_bat_rd_idx(hw_info, rxq->index); in t7xx_dpmaif_release_bat_entry() 873 t7xx_dpmaif_clr_ip_busy_sts(&rxq->dpmaif_ctrl->hw_info); in t7xx_dpmaif_napi_rx_poll() 876 t7xx_dpmaif_clr_ip_busy_sts(&rxq->dpmaif_ctrl->hw_info); in t7xx_dpmaif_napi_rx_poll() 877 t7xx_dpmaif_dlq_unmask_rx_done(&rxq->dpmaif_ctrl->hw_info, rxq->index); in t7xx_dpmaif_napi_rx_poll() [all …]
|
A D | t7xx_hif_dpmaif_tx.c | 62 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()
|
/linux-6.3-rc2/drivers/net/fjes/ |
A D | fjes_hw.c | 99 if (!hw->hw_info.share) 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() 224 if (!(hw->hw_info.req_buf)) in fjes_hw_setup() 231 if (!(hw->hw_info.res_buf)) in fjes_hw_setup() 287 kfree(hw->hw_info.req_buf); in fjes_hw_cleanup() 288 hw->hw_info.req_buf = NULL; in fjes_hw_cleanup() 350 vfree(hw->hw_info.trace); in fjes_hw_exit() 351 hw->hw_info.trace = NULL; in fjes_hw_exit() 1190 if (!hw->hw_info.trace) in fjes_hw_start_debug() [all …]
|
A D | fjes_ethtool.c | 235 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()
|
A D | fjes_main.c | 176 mutex_lock(&hw->hw_info.lock); in fjes_setup_resources() 192 mutex_unlock(&hw->hw_info.lock); in fjes_setup_resources() 195 mutex_unlock(&hw->hw_info.lock); in fjes_setup_resources() 222 mutex_lock(&hw->hw_info.lock); in fjes_setup_resources() 225 mutex_unlock(&hw->hw_info.lock); in fjes_setup_resources() 442 mutex_lock(&hw->hw_info.lock); in fjes_free_resources() 444 mutex_unlock(&hw->hw_info.lock); in fjes_free_resources() 469 hw->hw_info.buffer_share_bit = 0; in fjes_free_resources() 1227 mutex_lock(&hw->hw_info.lock); in fjes_watch_unshare_task() 1243 mutex_unlock(&hw->hw_info.lock); in fjes_watch_unshare_task() [all …]
|
/linux-6.3-rc2/drivers/hwtracing/coresight/ |
A D | coresight-cfg-afdo.c | 34 .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,
|
/linux-6.3-rc2/drivers/perf/amlogic/ |
A D | meson_ddr_pmu_core.c | 43 pmu->info.hw_info->enable(&pmu->info); in dmc_pmu_enable() 51 pmu->info.hw_info->disable(&pmu->info); in dmc_pmu_disable() 93 int chann_nr = pmu->info.hw_info->chann_nr; in meson_ddr_perf_event_update() 96 pmu->info.hw_info->get_counters(&pmu->info, &dc); in meson_ddr_perf_event_update() 354 if (info->hw_info->irq_handler(info, &counters) != 0) in dmc_irq_handler() 361 for (i = 0; i < pmu->info.hw_info->chann_nr; i++) in dmc_irq_handler() 370 info->hw_info->enable(info); in dmc_irq_handler() 427 for (i = 0; i < pmu->info.hw_info->chann_nr; i++, k++) { in fill_event_attr() 447 info->hw_info = of_device_get_match_data(&pdev->dev); in ddr_pmu_parse_dt() 449 for (i = 0; i < info->hw_info->dmc_nr; i++) { in ddr_pmu_parse_dt() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/ |
A D | qed.h | 268 ((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) 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) 285 ((dev)->hw_info.personality == QED_PCI_NVMETCP) [all …]
|
A D | qed_sp_commands.c | 320 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 …]
|
A D | qed_dev.c | 1462 return p_hwfn->hw_info.num_hw_tc; in qed_init_qm_get_num_tcs() 2106 p_hwfn->hw_info.hw_mode); in qed_qm_reconf() 2564 p_hwfn->hw_info.hw_mode); in qed_calc_hw_mode() 2921 p_hwfn->hw_info.ovlan); in qed_hw_init_pf() 3091 if (!p_hwfn->hw_info.mtu) { in qed_hw_init() 3092 p_hwfn->hw_info.mtu = 1500; in qed_hw_init() 3195 p_hwfn->hw_info.hw_mode); in qed_hw_init() 3209 p_hwfn->hw_info.hw_mode, in qed_hw_init() 3273 p_hwfn->hw_info.mtu); in qed_hw_init() 3578 p_hwfn->hw_info.concrete_fid, p_hwfn->hw_info.opaque_fid); in get_function_id() [all …]
|
A D | qed_devlink.c | 165 memcpy(buf, cdev->hwfns[0].hw_info.part_num, sizeof(cdev->hwfns[0].hw_info.part_num)); in qed_devlink_info_get() 166 buf[sizeof(cdev->hwfns[0].hw_info.part_num)] = 0; in qed_devlink_info_get()
|
/linux-6.3-rc2/drivers/net/ethernet/8390/ |
A D | pcnet_cs.c | 113 struct hw_info { struct 134 static struct hw_info hw_info[] = { argument 196 #define NR_INFO ARRAY_SIZE(hw_info) 302 if ((readb(base+0) == hw_info[i].a0) && in get_hwinfo() 303 (readb(base+2) == hw_info[i].a1) && in get_hwinfo() 304 (readb(base+4) == hw_info[i].a2)) { in get_hwinfo() 361 if ((prom[0] == hw_info[i].a0) && in get_prom() 362 (prom[2] == hw_info[i].a1) && in get_prom() 363 (prom[4] == hw_info[i].a2)) in get_prom() 509 struct hw_info *local_hw_info; in pcnet_try_config() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/quantenna/qtnfmac/ |
A D | core.c | 417 if (bus->hw_info.num_mac > 1) { in qtnf_core_mac_alloc() 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() 766 if (bus->hw_info.num_mac > QTNF_MAX_MAC) { in qtnf_core_attach() 768 bus->hw_info.num_mac); in qtnf_core_attach() 773 for (i = 0; i < bus->hw_info.num_mac; i++) { in qtnf_core_attach() [all …]
|
A D | cfg80211.c | 267 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() 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() 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() 1203 if (qtnf_hwcap_is_set(hw_info, QLINK_HW_CAPAB_REG_UPDATE)) { in qtnf_wiphy_register() 1226 strscpy(wiphy->fw_version, hw_info->fw_version, in qtnf_wiphy_register() [all …]
|
/linux-6.3-rc2/sound/firewire/bebob/ |
A D | bebob_proc.c | 11 struct hw_info { struct 39 struct hw_info *info; in proc_read_hw_info() argument 41 info = kzalloc(sizeof(struct hw_info), GFP_KERNEL); in proc_read_hw_info() 46 info, sizeof(struct hw_info)) < 0) in proc_read_hw_info()
|
/linux-6.3-rc2/drivers/input/touchscreen/ |
A D | goodix_fwupload.c | 28 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()
|
/linux-6.3-rc2/drivers/net/dsa/ |
A D | lantiq_gswip.c | 280 const struct gswip_hw_info *hw_info; member 648 unsigned int cpu_port = priv->hw_info->cpu_port; 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() 972 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_vlan_add_unaware() 1470 int cpu_port = priv->hw_info->cpu_port; in gswip_port_change_mtu() 2121 priv->hw_info = of_device_get_match_data(dev); in gswip_probe() 2122 if (!priv->hw_info) in gswip_probe() 2132 priv->ds->ops = priv->hw_info->ops; in gswip_probe() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/protocols/ |
A D | link_ddc.c | 110 struct gpio_ddc_hw_info hw_info; in ddc_service_construct() local 124 hw_info.ddc_channel = i2c_info.i2c_line; in ddc_service_construct() 126 hw_info.hw_supported = i2c_info.i2c_hw_assist; in ddc_service_construct() 128 hw_info.hw_supported = false; in ddc_service_construct() 134 &hw_info); in ddc_service_construct()
|
/linux-6.3-rc2/arch/powerpc/sysdev/ |
A D | tsi108_dev.c | 74 hw_info tsi_eth_data; in tsi108_eth_of_init() 141 sizeof(hw_info)); in tsi108_eth_of_init()
|