/linux/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 | 355 mutex_lock(&hw->hw_info.lock); in fjes_setup_resources() 371 mutex_unlock(&hw->hw_info.lock); in fjes_setup_resources() 374 mutex_unlock(&hw->hw_info.lock); in fjes_setup_resources() 401 mutex_lock(&hw->hw_info.lock); in fjes_setup_resources() 404 mutex_unlock(&hw->hw_info.lock); in fjes_setup_resources() 439 mutex_lock(&hw->hw_info.lock); in fjes_free_resources() 441 mutex_unlock(&hw->hw_info.lock); in fjes_free_resources() 466 hw->hw_info.buffer_share_bit = 0; in fjes_free_resources() 1424 mutex_lock(&hw->hw_info.lock); in fjes_watch_unshare_task() 1440 mutex_unlock(&hw->hw_info.lock); in fjes_watch_unshare_task() [all …]
|
A D | fjes_trace.h | 282 __entry->ep_status = hw->hw_info.share->ep_status[src_epid]; 303 __entry->ep_status = hw->hw_info.share->ep_status[src_epid]; 326 __entry->ep_status = hw->hw_info.share->ep_status[src_epid]; 347 __entry->ep_status = hw->hw_info.share->ep_status[src_epid];
|
/linux/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/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 | 318 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_start() 341 outer_tag_config->outer_tag.tci = cpu_to_le16(p_hwfn->hw_info.ovlan); in qed_sp_pf_start() 384 switch (p_hwfn->hw_info.personality) { in qed_sp_pf_start() 401 p_hwfn->hw_info.personality); in qed_sp_pf_start() 436 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_update() 466 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_update_ufp() 504 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_update_tunn_cfg() 535 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_pf_stop() 556 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_heartbeat_ramrod() 577 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() 3192 p_hwfn->hw_info.hw_mode); in qed_hw_init() 3206 p_hwfn->hw_info.hw_mode, in qed_hw_init() 3270 p_hwfn->hw_info.mtu); in qed_hw_init() 3575 p_hwfn->hw_info.concrete_fid, p_hwfn->hw_info.opaque_fid); in get_function_id() [all …]
|
A D | qed_devlink.c | 169 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()
|
A D | qed_roce.c | 255 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()
|
A D | qed_int.c | 1556 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() 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() 2192 if (!p_hwfn->hw_info.p_igu_info) in qed_int_igu_read_cam() 2195 p_igu_info = p_hwfn->hw_info.p_igu_info; in qed_int_igu_read_cam() [all …]
|
A D | qed_iscsi.c | 156 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; 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() 604 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_iscsi_func_stop() [all …]
|
A D | qed_nvmetcp.c | 66 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_nvmetcp_func_start() 130 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_nvmetcp_func_stop() 284 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_nvmetcp_conn_offload() 370 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_nvmetcp_conn_update() 406 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_nvmetcp_conn_terminate() 434 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_nvmetcp_conn_clear_sq() 543 p_conn->fw_cid = (p_hwfn->hw_info.opaque_fid << 16) | icid; in qed_nvmetcp_acquire_connection()
|
A D | qed_rdma.c | 442 p_hwfn->hw_info.hw_mac_addr); in qed_rdma_init_devinfo() 589 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_rdma_start_fw() 754 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_rdma_stop() 1081 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_rdma_create_cq() 1158 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_rdma_destroy_cq() 1496 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_rdma_register_tid() 1613 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_rdma_deregister_tid() 1721 opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_rdma_modify_srq() 1748 opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_rdma_destroy_srq() 1814 opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_rdma_create_srq() [all …]
|
A D | qed_fcoe.c | 105 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_fcoe_func_start() 120 if (fcoe_pf_params->num_cqs > p_hwfn->hw_info.feat_num[QED_FCOE_CQ]) { in qed_sp_fcoe_func_start() 124 p_hwfn->hw_info.feat_num[QED_FCOE_CQ]); in qed_sp_fcoe_func_start() 168 tmp = (__force __le16)p_hwfn->hw_info.resc_start[QED_CMDQS_CQS]; in qed_sp_fcoe_func_start() 240 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_fcoe_conn_offload() 317 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_fcoe_conn_destroy() 348 init_data.opaque_fid = p_hwfn->hw_info.opaque_fid; in qed_sp_fcoe_func_stop() 627 p_conn->fw_cid = (p_hwfn->hw_info.opaque_fid << 16) | icid; in qed_fcoe_acquire_connection()
|
/linux/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/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() 1073 qtnf_hwcap_is_set(&bus->hw_info, QLINK_HW_CAPAB_DFS_OFFLOAD)) in qtnf_wiphy_allocate() 1076 if (!qtnf_hwcap_is_set(&bus->hw_info, QLINK_HW_CAPAB_PWR_MGMT)) in qtnf_wiphy_allocate() 1162 qtnf_hwcap_is_set(hw_info, QLINK_HW_CAPAB_DFS_OFFLOAD)) in qtnf_wiphy_register() 1165 if (qtnf_hwcap_is_set(hw_info, QLINK_HW_CAPAB_SCAN_DWELL)) in qtnf_wiphy_register() 1181 if (qtnf_hwcap_is_set(hw_info, QLINK_HW_CAPAB_STA_INACT_TIMEOUT)) in qtnf_wiphy_register() 1187 if (!qtnf_hwcap_is_set(hw_info, QLINK_HW_CAPAB_OBSS_SCAN)) in qtnf_wiphy_register() 1190 if (qtnf_hwcap_is_set(hw_info, QLINK_HW_CAPAB_SAE)) in qtnf_wiphy_register() 1201 if (qtnf_hwcap_is_set(hw_info, QLINK_HW_CAPAB_REG_UPDATE)) { in qtnf_wiphy_register() 1224 strlcpy(wiphy->fw_version, hw_info->fw_version, in qtnf_wiphy_register() [all …]
|
/linux/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/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/drivers/net/dsa/ |
A D | lantiq_gswip.c | 270 const struct gswip_hw_info *hw_info; member 633 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_add_single_port_br() 798 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_setup() 807 for (i = 0; i < priv->hw_info->max_ports; i++) { in gswip_setup() 848 for (i = 0; i < priv->hw_info->max_ports; i++) in gswip_setup() 959 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_vlan_add_unaware() 2111 priv->hw_info = of_device_get_match_data(dev); in gswip_probe() 2112 if (!priv->hw_info) in gswip_probe() 2120 priv->ds->num_ports = priv->hw_info->max_ports; in gswip_probe() 2122 priv->ds->ops = priv->hw_info->ops; in gswip_probe() [all …]
|
/linux/drivers/usb/serial/ |
A D | whiteheat.c | 222 struct whiteheat_hw_info *hw_info; in whiteheat_attach() local 239 result = kmalloc(sizeof(*hw_info) + 1, GFP_KERNEL); in whiteheat_attach() 265 sizeof(*hw_info) + 1, &alen, COMMAND_TIMEOUT_MS); in whiteheat_attach() 270 } else if (alen != sizeof(*hw_info) + 1) { in whiteheat_attach() 280 hw_info = (struct whiteheat_hw_info *)&result[1]; in whiteheat_attach() 284 hw_info->sw_major_rev, hw_info->sw_minor_rev); in whiteheat_attach()
|
/linux/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()
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_link_ddc.c | 193 struct gpio_ddc_hw_info hw_info; in ddc_service_construct() local 207 hw_info.ddc_channel = i2c_info.i2c_line; in ddc_service_construct() 209 hw_info.hw_supported = i2c_info.i2c_hw_assist; in ddc_service_construct() 211 hw_info.hw_supported = false; in ddc_service_construct() 217 &hw_info); in ddc_service_construct()
|
/linux/drivers/media/usb/dvb-usb-v2/ |
A D | anysee.c | 493 u8 hw_info[3]; in anysee_read_config() local 499 ret = anysee_get_hw_info(d, hw_info); in anysee_read_config() 503 ret = anysee_get_hw_info(d, hw_info); in anysee_read_config() 511 KBUILD_MODNAME, hw_info[1], hw_info[2], hw_info[0]); in anysee_read_config() 513 state->hw = hw_info[0]; in anysee_read_config()
|