/drivers/thermal/qcom/ |
D | tsens.c | 195 static void tsens_set_interrupt_v1(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v1() argument 202 index = UP_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v1() 205 index = LOW_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v1() 214 static void tsens_set_interrupt_v2(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v2() argument 228 index_mask = UP_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2() 229 index_clear = UP_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v2() 232 index_mask = LOW_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2() 233 index_clear = LOW_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v2() 236 index_mask = CRIT_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2() 237 index_clear = CRIT_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v2() [all …]
|
/drivers/net/ethernet/marvell/prestera/ |
D | prestera_hw.c | 235 u32 hw_id; member 481 u32 *dev_id, u32 *hw_id, u16 *fp_id) in prestera_hw_port_info_get() argument 495 *hw_id = resp.hw_id; in prestera_hw_port_info_get() 561 .port = port->hw_id, in prestera_hw_port_state_set() 576 .port = port->hw_id, in prestera_hw_port_mtu_set() 591 .port = port->hw_id, in prestera_hw_port_mac_set() 606 .port = port->hw_id, in prestera_hw_port_accept_frm_type() 622 .port = port->hw_id, in prestera_hw_port_cap_get() 646 .port = port->hw_id, in prestera_hw_port_remote_cap_get() 667 .port = port->hw_id, in prestera_hw_port_remote_fc_get() [all …]
|
D | prestera.h | 68 u32 hw_id; member 193 u32 dev_id, u32 hw_id);
|
D | prestera_main.c | 51 u32 dev_id, u32 hw_id) in prestera_port_find_by_hwid() argument 57 if (tmp->dev_id == dev_id && tmp->hw_id == hw_id) { in prestera_port_find_by_hwid() 297 err = prestera_hw_port_info_get(port, &port->dev_id, &port->hw_id, in prestera_port_create()
|
/drivers/net/wireless/ath/ath10k/ |
D | coredump.c | 1293 .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 …]
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_trap.c | 17 u16 hw_id; member 1058 u16 hw_id; in mlxsw_sp_trap_cpu_policers_set() local 1063 hw_id = find_first_zero_bit(trap->policers_usage, trap->max_policers); in mlxsw_sp_trap_cpu_policers_set() 1064 if (WARN_ON(hw_id == trap->max_policers)) in mlxsw_sp_trap_cpu_policers_set() 1067 __set_bit(hw_id, trap->policers_usage); in mlxsw_sp_trap_cpu_policers_set() 1068 trap->thin_policer_hw_id = hw_id; in mlxsw_sp_trap_cpu_policers_set() 1069 mlxsw_reg_qpcr_pack(qpcr_pl, hw_id, MLXSW_REG_QPCR_IR_UNITS_M, in mlxsw_sp_trap_cpu_policers_set() 1509 hw_policer_id = policer_item->hw_id; in __mlxsw_sp_trap_group_init() 1540 u16 hw_id; in mlxsw_sp_trap_policer_item_init() local 1546 hw_id = find_first_zero_bit(trap->policers_usage, trap->max_policers); in mlxsw_sp_trap_policer_item_init() [all …]
|
D | switchib.c | 33 u8 hw_id[ETH_ALEN]; member 114 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_sib->hw_id); in mlxsw_sib_hw_id_get() 285 mlxsw_sib->hw_id, sizeof(mlxsw_sib->hw_id)); in mlxsw_sib_port_create()
|
/drivers/thermal/ |
D | imx8mm_thermal.c | 50 u32 hw_id; member 89 ready = test_bit(probe_status_offset(sensor->hw_id), &val); in imx8mp_tmu_get_temp() 93 val = sensor->hw_id ? FIELD_GET(TRITSR_TEMP1_VAL_MASK, val) : in imx8mp_tmu_get_temp() 183 tmu->sensors[i].hw_id = i; in imx8mm_tmu_probe()
|
/drivers/hwmon/ |
D | ibmpowernv.c | 571 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()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_discovery.c | 295 hw_id_names[le16_to_cpu(ip->hw_id)], in amdgpu_discovery_reg_base_init() 296 le16_to_cpu(ip->hw_id), in amdgpu_discovery_reg_base_init() 311 if (hw_id_map[hw_ip] == le16_to_cpu(ip->hw_id)) { in amdgpu_discovery_reg_base_init() 313 hw_id_names[le16_to_cpu(ip->hw_id)]); in amdgpu_discovery_reg_base_init() 327 int amdgpu_discovery_get_ip_version(struct amdgpu_device *adev, int hw_id, in amdgpu_discovery_get_ip_version() argument 359 if (le16_to_cpu(ip->hw_id) == hw_id) { in amdgpu_discovery_get_ip_version()
|
D | amdgpu_discovery.h | 32 int amdgpu_discovery_get_ip_version(struct amdgpu_device *adev, int hw_id,
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | rdma.c | 124 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()
|
/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_core.c | 109 .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, 549 .hw_id = ST_LSM6DSM_ID, 552 .hw_id = ST_ISM330DLC_ID, 555 .hw_id = ST_LSM6DS3TRC_ID, 762 .hw_id = ST_LSM6DSO_ID, 765 .hw_id = ST_LSM6DSOX_ID, [all …]
|
D | st_lsm6dsx_i2c.c | 27 int hw_id = id->driver_data; in st_lsm6dsx_i2c_probe() local 37 return st_lsm6dsx_probe(&client->dev, client->irq, hw_id, regmap); in st_lsm6dsx_i2c_probe()
|
D | st_lsm6dsx_spi.c | 27 int hw_id = id->driver_data; in st_lsm6dsx_spi_probe() local 37 return st_lsm6dsx_probe(&spi->dev, spi->irq, hw_id, regmap); in st_lsm6dsx_spi_probe()
|
/drivers/net/ethernet/brocade/bna/ |
D | bna_types.h | 450 int hw_id; member 461 int hw_id; member 576 int hw_id; member 697 int hw_id; member 776 int hw_id; member
|
/drivers/infiniband/hw/bnxt_re/ |
D | qplib_res.c | 587 kfree(sgid_tbl->hw_id); in bnxt_qplib_free_sgid_tbl() 591 sgid_tbl->hw_id = NULL; in bnxt_qplib_free_sgid_tbl() 606 sgid_tbl->hw_id = kcalloc(max, sizeof(u16), GFP_KERNEL); in bnxt_qplib_alloc_sgid_tbl() 607 if (!sgid_tbl->hw_id) in bnxt_qplib_alloc_sgid_tbl() 624 kfree(sgid_tbl->hw_id); in bnxt_qplib_alloc_sgid_tbl() 625 sgid_tbl->hw_id = NULL; in bnxt_qplib_alloc_sgid_tbl() 644 memset(sgid_tbl->hw_id, -1, sizeof(u16) * sgid_tbl->max); in bnxt_qplib_cleanup_sgid_tbl() 657 memset(sgid_tbl->hw_id, -1, sizeof(u16) * sgid_tbl->max); in bnxt_qplib_init_sgid_tbl()
|
D | qplib_sp.c | 252 if (sgid_tbl->hw_id[index] == 0xFFFF) { in bnxt_qplib_del_sgid() 257 req.gid_index = cpu_to_le16(sgid_tbl->hw_id[index]); in bnxt_qplib_del_sgid() 270 index, sgid_tbl->hw_id[index], sgid_tbl->active); in bnxt_qplib_del_sgid() 271 sgid_tbl->hw_id[index] = (u16)-1; in bnxt_qplib_del_sgid() 350 sgid_tbl->hw_id[free_idx] = le32_to_cpu(resp.xid); in bnxt_qplib_add_sgid() 361 free_idx, sgid_tbl->hw_id[free_idx], sgid_tbl->active); in bnxt_qplib_add_sgid() 514 req.sgid_index = cpu_to_le16(res->sgid_tbl.hw_id[ah->sgid_index]); in bnxt_qplib_create_ah()
|
/drivers/gpu/drm/i915/gt/ |
D | intel_engine_cs.c | 62 unsigned int hw_id; member 74 .hw_id = RCS0_HW, 82 .hw_id = BCS0_HW, 90 .hw_id = VCS0_HW, 100 .hw_id = VCS1_HW, 109 .hw_id = VCS2_HW, 117 .hw_id = VCS3_HW, 125 .hw_id = VECS0_HW, 134 .hw_id = VECS1_HW, 308 engine->hw_id = engine->guc_id = info->hw_id; in intel_engine_setup()
|
/drivers/remoteproc/ |
D | st_slim_rproc.c | 116 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()
|
/drivers/gpu/drm/amd/include/ |
D | discovery.h | 83 uint16_t hw_id; /* Hardware ID */ member 201 uint16_t hw_id; /* Hardware ID */ member
|
/drivers/iio/light/ |
D | cm3232.c | 56 u8 hw_id; member 64 .hw_id = CM3232_HW_ID, 99 if ((ret & 0xFF) != chip->als_info->hw_id) in cm3232_reg_init()
|
/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_pipeline.c | 161 size_t comp_sz, u32 id, u32 hw_id, in komeda_component_add() argument 202 c->hw_id = hw_id; in komeda_component_add()
|
/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-nvm-parse.h | 127 void iwl_nvm_fixups(u32 hw_id, unsigned int section, u8 *data,
|
/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_trace.h | 517 TP_PROTO(uint32_t drm_id, int32_t hw_id, int rc, s64 time, 519 TP_ARGS(drm_id, hw_id, rc, time, expected_time, atomic_cnt), 522 __field( int32_t, hw_id ) 530 __entry->hw_id = hw_id; 537 __entry->drm_id, __entry->hw_id, __entry->rc, __entry->time,
|