Home
last modified time | relevance | path

Searched refs:hw_id (Results 1 – 25 of 63) sorted by relevance

123

/Linux-v5.15/drivers/thermal/qcom/
Dtsens.c197 static void tsens_set_interrupt_v1(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v1() argument
204 index = UP_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v1()
207 index = LOW_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v1()
216 static void tsens_set_interrupt_v2(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v2() argument
230 index_mask = UP_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2()
231 index_clear = UP_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v2()
234 index_mask = LOW_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2()
235 index_clear = LOW_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v2()
238 index_mask = CRIT_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2()
239 index_clear = CRIT_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v2()
[all …]
/Linux-v5.15/drivers/net/ethernet/marvell/prestera/
Dprestera_hw.c276 u32 hw_id; member
639 u32 *dev_id, u32 *hw_id, u16 *fp_id) in prestera_hw_port_info_get() argument
653 *hw_id = resp.hw_id; in prestera_hw_port_info_get()
721 .port = port->hw_id, in prestera_hw_port_state_set()
736 .port = port->hw_id, in prestera_hw_port_mtu_set()
751 .port = port->hw_id, in prestera_hw_port_mac_set()
766 .port = port->hw_id, in prestera_hw_port_accept_frm_type()
782 .port = port->hw_id, in prestera_hw_port_cap_get()
806 .port = port->hw_id, in prestera_hw_port_remote_cap_get()
827 .port = port->hw_id, in prestera_hw_port_remote_fc_get()
[all …]
Dprestera.h80 u32 hw_id; member
224 u32 dev_id, u32 hw_id);
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dqos.c42 u32 hw_id; member
241 &param_sq, sq, 0, node->hw_id, node->qid); in mlx5e_open_qos_sq()
482 err = mlx5_qos_create_root_node(priv->mdev, &root->hw_id); in mlx5e_htb_root_add()
520 err = mlx5_qos_destroy_node(priv->mdev, root->hw_id); in mlx5e_htb_root_del()
523 root->hw_id, err); in mlx5e_htb_root_del()
591 err = mlx5_qos_create_leaf_node(priv->mdev, node->parent->hw_id, in mlx5e_htb_leaf_alloc_queue()
593 &node->hw_id); in mlx5e_htb_leaf_alloc_queue()
631 err = mlx5_qos_create_inner_node(priv->mdev, node->parent->hw_id, in mlx5e_htb_leaf_to_inner()
653 child->max_average_bw, &child->hw_id); in mlx5e_htb_leaf_to_inner()
672 err = mlx5_qos_destroy_node(priv->mdev, node->hw_id); in mlx5e_htb_leaf_to_inner()
[all …]
/Linux-v5.15/drivers/net/wireless/ath/ath10k/
Dcoredump.c1293 .hw_id = QCA6174_HW_1_0_VERSION,
1302 .hw_id = QCA6174_HW_1_1_VERSION,
1311 .hw_id = QCA6174_HW_1_3_VERSION,
1320 .hw_id = QCA6174_HW_2_1_VERSION,
1329 .hw_id = QCA6174_HW_3_0_VERSION,
1338 .hw_id = QCA6174_HW_3_2_VERSION,
1347 .hw_id = QCA6174_HW_3_2_VERSION,
1356 .hw_id = QCA9377_HW_1_1_DEV_VERSION,
1365 .hw_id = QCA988X_HW_2_0_VERSION,
1374 .hw_id = QCA9984_HW_1_0_DEV_VERSION,
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c296 hw_id_names[le16_to_cpu(ip->hw_id)], in amdgpu_discovery_reg_base_init()
297 le16_to_cpu(ip->hw_id), in amdgpu_discovery_reg_base_init()
302 if (le16_to_cpu(ip->hw_id) == VCN_HWID) in amdgpu_discovery_reg_base_init()
315 if (hw_id_map[hw_ip] == le16_to_cpu(ip->hw_id)) { in amdgpu_discovery_reg_base_init()
317 hw_id_names[le16_to_cpu(ip->hw_id)]); in amdgpu_discovery_reg_base_init()
331 int amdgpu_discovery_get_ip_version(struct amdgpu_device *adev, int hw_id, int number_instance, in amdgpu_discovery_get_ip_version() argument
363 if ((le16_to_cpu(ip->hw_id) == hw_id) && (ip->number_instance == number_instance)) { in amdgpu_discovery_get_ip_version()
398 if (le32_to_cpu(harvest_info->list[i].hw_id) == 0) in amdgpu_discovery_harvest_ip()
401 switch (le32_to_cpu(harvest_info->list[i].hw_id)) { in amdgpu_discovery_harvest_ip()
Damdgpu_discovery.h33 int amdgpu_discovery_get_ip_version(struct amdgpu_device *adev, int hw_id, int number_instance,
/Linux-v5.15/arch/powerpc/sysdev/xics/
Dicp-native.c211 static int __init icp_native_map_one_cpu(int hw_id, unsigned long addr, in icp_native_map_one_cpu() argument
223 if (hw_id == get_hard_smp_processor_id(i)) { in icp_native_map_one_cpu()
236 cpu, hw_id); in icp_native_map_one_cpu()
240 cpu, hw_id); in icp_native_map_one_cpu()
248 cpu, hw_id, addr); in icp_native_map_one_cpu()
/Linux-v5.15/arch/arm/mach-iop32x/
Dadma.c99 .hw_id = DMA0_ID,
104 .hw_id = DMA1_ID,
109 .hw_id = AAU_ID,
/Linux-v5.15/drivers/thermal/
Dimx8mm_thermal.c49 u32 hw_id; member
82 ready = test_bit(probe_status_offset(sensor->hw_id), &val); in imx8mp_tmu_get_temp()
86 val = sensor->hw_id ? FIELD_GET(TRITSR_TEMP1_VAL_MASK, val) : in imx8mp_tmu_get_temp()
175 tmu->sensors[i].hw_id = i; in imx8mm_tmu_probe()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.c17 u16 hw_id; member
1211 u16 hw_id; in mlxsw_sp_trap_cpu_policers_set() local
1216 hw_id = find_first_zero_bit(trap->policers_usage, trap->max_policers); in mlxsw_sp_trap_cpu_policers_set()
1217 if (WARN_ON(hw_id == trap->max_policers)) in mlxsw_sp_trap_cpu_policers_set()
1220 __set_bit(hw_id, trap->policers_usage); in mlxsw_sp_trap_cpu_policers_set()
1221 trap->thin_policer_hw_id = hw_id; in mlxsw_sp_trap_cpu_policers_set()
1222 mlxsw_reg_qpcr_pack(qpcr_pl, hw_id, MLXSW_REG_QPCR_IR_UNITS_M, in mlxsw_sp_trap_cpu_policers_set()
1662 hw_policer_id = policer_item->hw_id; in __mlxsw_sp_trap_group_init()
1693 u16 hw_id; in mlxsw_sp_trap_policer_item_init() local
1699 hw_id = find_first_zero_bit(trap->policers_usage, trap->max_policers); in mlxsw_sp_trap_policer_item_init()
[all …]
/Linux-v5.15/drivers/hwmon/
Dibmpowernv.c571 u32 opal_index, hw_id; in create_device_attrs() local
607 hw_id = get_sensor_hwmon_index(&sdata[count], sdata, count); in create_device_attrs()
609 populate_sensor(&sdata[count], opal_index, hw_id, sensor_id, in create_device_attrs()
623 populate_sensor(&sdata[count], opal_index, hw_id, in create_device_attrs()
631 populate_sensor(&sdata[count], opal_index, hw_id, in create_device_attrs()
640 populate_sensor(&sdata[count], opal_index, hw_id, in create_device_attrs()
649 hw_id = ++group_attr_id[type]; in create_device_attrs()
650 populate_sensor(&sdata[count], opal_index, hw_id, in create_device_attrs()
/Linux-v5.15/Documentation/networking/devlink/
Ddevlink-flash.rst89 $hw_id = devlink-dev-info['fixed']
92 $want_flash_vers = some-db-backed.lookup($hw_id, 'flash')
96 $file = some-db-backed.download($hw_id, 'flash')
100 $want_fw_vers = some-db-backed.lookup($hw_id, 'all')
104 $file = some-db-backed.download($hw_id, 'disk')
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Drdma.c124 u8 hw_id[ETH_ALEN]; in mlx5_rdma_make_default_gid() local
126 mlx5_query_mac_address(dev, hw_id); in mlx5_rdma_make_default_gid()
128 addrconf_addr_eui48(&gid->raw[8], hw_id); in mlx5_rdma_make_default_gid()
/Linux-v5.15/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c108 .hw_id = ST_LSM9DS1_ID,
112 .hw_id = ST_LSM6DS0_ID,
214 .hw_id = ST_LSM6DS3_ID,
380 .hw_id = ST_LSM6DS3H_ID,
546 .hw_id = ST_LSM6DSL_ID,
550 .hw_id = ST_LSM6DSM_ID,
554 .hw_id = ST_ISM330DLC_ID,
558 .hw_id = ST_LSM6DS3TRC_ID,
765 .hw_id = ST_LSM6DSR_ID,
769 .hw_id = ST_ISM330DHCX_ID,
[all …]
Dst_lsm6dsx_i2c.c27 int hw_id = id->driver_data; in st_lsm6dsx_i2c_probe() local
36 return st_lsm6dsx_probe(&client->dev, client->irq, hw_id, regmap); in st_lsm6dsx_i2c_probe()
Dst_lsm6dsx_spi.c27 int hw_id = id->driver_data; in st_lsm6dsx_spi_probe() local
36 return st_lsm6dsx_probe(&spi->dev, spi->irq, hw_id, regmap); in st_lsm6dsx_spi_probe()
/Linux-v5.15/drivers/gpu/drm/amd/include/
Ddiscovery.h83 uint16_t hw_id; /* Hardware ID */ member
152 uint16_t hw_id; /* Hardware ID */ member
/Linux-v5.15/drivers/net/ethernet/brocade/bna/
Dbna_types.h450 int hw_id; member
461 int hw_id; member
576 int hw_id; member
697 int hw_id; member
776 int hw_id; member
/Linux-v5.15/drivers/infiniband/hw/bnxt_re/
Dqplib_res.c595 kfree(sgid_tbl->hw_id); in bnxt_qplib_free_sgid_tbl()
599 sgid_tbl->hw_id = NULL; in bnxt_qplib_free_sgid_tbl()
614 sgid_tbl->hw_id = kcalloc(max, sizeof(u16), GFP_KERNEL); in bnxt_qplib_alloc_sgid_tbl()
615 if (!sgid_tbl->hw_id) in bnxt_qplib_alloc_sgid_tbl()
632 kfree(sgid_tbl->hw_id); in bnxt_qplib_alloc_sgid_tbl()
633 sgid_tbl->hw_id = NULL; in bnxt_qplib_alloc_sgid_tbl()
652 memset(sgid_tbl->hw_id, -1, sizeof(u16) * sgid_tbl->max); in bnxt_qplib_cleanup_sgid_tbl()
665 memset(sgid_tbl->hw_id, -1, sizeof(u16) * sgid_tbl->max); in bnxt_qplib_init_sgid_tbl()
Dqplib_sp.c263 if (sgid_tbl->hw_id[index] == 0xFFFF) { in bnxt_qplib_del_sgid()
268 req.gid_index = cpu_to_le16(sgid_tbl->hw_id[index]); in bnxt_qplib_del_sgid()
281 index, sgid_tbl->hw_id[index], sgid_tbl->active); in bnxt_qplib_del_sgid()
282 sgid_tbl->hw_id[index] = (u16)-1; in bnxt_qplib_del_sgid()
361 sgid_tbl->hw_id[free_idx] = le32_to_cpu(resp.xid); in bnxt_qplib_add_sgid()
372 free_idx, sgid_tbl->hw_id[free_idx], sgid_tbl->active); in bnxt_qplib_add_sgid()
525 req.sgid_index = cpu_to_le16(res->sgid_tbl.hw_id[ah->sgid_index]); in bnxt_qplib_create_ah()
/Linux-v5.15/drivers/remoteproc/
Dst_slim_rproc.c116 unsigned long hw_id, hw_ver, fw_rev; in slim_rproc_start() local
141 hw_id = readl_relaxed(slim_rproc->slimcore + SLIM_ID_OFST); in slim_rproc_start()
149 hw_id, hw_ver); in slim_rproc_start()
/Linux-v5.15/drivers/iio/light/
Dcm3232.c56 u8 hw_id; member
64 .hw_id = CM3232_HW_ID,
99 if ((ret & 0xFF) != chip->als_info->hw_id) in cm3232_reg_init()
/Linux-v5.15/drivers/gpu/drm/arm/display/komeda/
Dkomeda_pipeline.c162 size_t comp_sz, u32 id, u32 hw_id, in komeda_component_add() argument
203 c->hw_id = hw_id; in komeda_component_add()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-parse.h72 void iwl_nvm_fixups(u32 hw_id, unsigned int section, u8 *data,

123