Home
last modified time | relevance | path

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

123456

/OK3568_Linux_fs/kernel/drivers/thermal/qcom/
H A Dtsens.c195 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/prestera/
H A Dprestera_hw.c235 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 …]
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/vp9d/
H A Dhal_vp9d_api.c37 RK_U32 hw_id = 0; in hal_vp9d_init() local
45 hw_id = mpp_get_client_hw_id(client_type); in hal_vp9d_init()
47 p->hw_id = hw_id; in hal_vp9d_init()
49 if (hw_id == HWID_VDPU382_RK3528 || hw_id == HWID_VDPU382_RK3562) { in hal_vp9d_init()
52 } else if (hw_id == HWID_VDPU34X || hw_id == HWID_VDPU38X) { in hal_vp9d_init()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/halmac/halmac_88xx/halmac_8822b/
H A Dhalmac_common_8822b.c36 get_hw_value_8822b(struct halmac_adapter *adapter, enum halmac_hw_id hw_id, in get_hw_value_8822b() argument
46 if (get_hw_value_88xx(adapter, hw_id, value) == HALMAC_RET_SUCCESS) in get_hw_value_8822b()
49 switch (hw_id) { in get_hw_value_8822b()
76 set_hw_value_8822b(struct halmac_adapter *adapter, enum halmac_hw_id hw_id, in set_hw_value_8822b() argument
88 if (set_hw_value_88xx(adapter, hw_id, value) == HALMAC_RET_SUCCESS) in set_hw_value_8822b()
91 switch (hw_id) { in set_hw_value_8822b()
H A Dhalmac_common_8822b.h25 enum halmac_hw_id hw_id, void *value);
29 enum halmac_hw_id hw_id, void *value);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/halmac/halmac_88xx/halmac_8821c/
H A Dhalmac_common_8821c.c40 get_hw_value_8821c(struct halmac_adapter *adapter, enum halmac_hw_id hw_id, in get_hw_value_8821c() argument
50 if (get_hw_value_88xx(adapter, hw_id, value) == HALMAC_RET_SUCCESS) in get_hw_value_8821c()
53 switch (hw_id) { in get_hw_value_8821c()
80 set_hw_value_8821c(struct halmac_adapter *adapter, enum halmac_hw_id hw_id, in set_hw_value_8821c() argument
92 if (set_hw_value_88xx(adapter, hw_id, value) == HALMAC_RET_SUCCESS) in set_hw_value_8821c()
95 switch (hw_id) { in set_hw_value_8821c()
H A Dhalmac_common_8821c.h25 get_hw_value_8821c(struct halmac_adapter *adapter, enum halmac_hw_id hw_id,
29 set_hw_value_8821c(struct halmac_adapter *adapter, enum halmac_hw_id hw_id,
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/halmac/halmac_88xx/halmac_8821c/
H A Dhalmac_common_8821c.c39 get_hw_value_8821c(struct halmac_adapter *adapter, enum halmac_hw_id hw_id, in get_hw_value_8821c() argument
49 if (get_hw_value_88xx(adapter, hw_id, value) == HALMAC_RET_SUCCESS) in get_hw_value_8821c()
52 switch (hw_id) { in get_hw_value_8821c()
79 set_hw_value_8821c(struct halmac_adapter *adapter, enum halmac_hw_id hw_id, in set_hw_value_8821c() argument
91 if (set_hw_value_88xx(adapter, hw_id, value) == HALMAC_RET_SUCCESS) in set_hw_value_8821c()
94 switch (hw_id) { in set_hw_value_8821c()
H A Dhalmac_common_8821c.h24 get_hw_value_8821c(struct halmac_adapter *adapter, enum halmac_hw_id hw_id,
28 set_hw_value_8821c(struct halmac_adapter *adapter, enum halmac_hw_id hw_id,
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/halmac/halmac_88xx/halmac_8822c/
H A Dhalmac_common_8822c.c42 get_hw_value_8822c(struct halmac_adapter *adapter, enum halmac_hw_id hw_id, in get_hw_value_8822c() argument
54 if (get_hw_value_88xx(adapter, hw_id, value) == HALMAC_RET_SUCCESS) in get_hw_value_8822c()
57 switch (hw_id) { in get_hw_value_8822c()
92 set_hw_value_8822c(struct halmac_adapter *adapter, enum halmac_hw_id hw_id, in set_hw_value_8822c() argument
104 if (set_hw_value_88xx(adapter, hw_id, value) == HALMAC_RET_SUCCESS) in set_hw_value_8822c()
107 switch (hw_id) { in set_hw_value_8822c()
H A Dhalmac_common_8822c.h24 get_hw_value_8822c(struct halmac_adapter *adapter, enum halmac_hw_id hw_id,
28 set_hw_value_8822c(struct halmac_adapter *adapter, enum halmac_hw_id hw_id,
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h265d/
H A Dhal_h265d_api.c40 RK_U32 hw_id = 0; in hal_h265d_init() local
56 hw_id = mpp_get_client_hw_id(client_type); in hal_h265d_init()
58 p->is_v345 = (hw_id == HWID_VDPU345); in hal_h265d_init()
59 p->is_v34x = (hw_id == HWID_VDPU34X || hw_id == HWID_VDPU38X); in hal_h265d_init()
62 if (hw_id == HWID_VDPU382_RK3528 || hw_id == HWID_VDPU382_RK3562) in hal_h265d_init()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath10k/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/powerpc/sysdev/xics/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_trap.c17 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 …]
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h264d/
H A Dhal_h264d_api.c135 RK_U32 hw_id = mpp_get_client_hw_id(client_type); in hal_h264d_init() local
137 if (hw_id == HWID_VDPU382_RK3528 || hw_id == HWID_VDPU382_RK3562) { in hal_h264d_init()
146 } else if (hw_id == HWID_VDPU34X || hw_id == HWID_VDPU38X) { in hal_h264d_init()
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A 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()
/OK3568_Linux_fs/kernel/drivers/thermal/
H A Dimx8mm_thermal.c50 u32 hw_id; member
83 ready = test_bit(probe_status_offset(sensor->hw_id), &val); in imx8mp_tmu_get_temp()
87 val = sensor->hw_id ? FIELD_GET(TRITSR_TEMP1_VAL_MASK, val) : in imx8mp_tmu_get_temp()
177 tmu->sensors[i].hw_id = i; in imx8mm_tmu_probe()
/OK3568_Linux_fs/kernel/arch/arm/mach-iop32x/
H A Dadma.c99 .hw_id = DMA0_ID,
104 .hw_id = DMA1_ID,
109 .hw_id = AAU_ID,
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_discovery.c295 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()
/OK3568_Linux_fs/external/mpp/osal/
H A Dmpp_platform.cpp144 RK_U32 hw_id = 0; in get_hw_id() local
147 hw_id = hw_ids[client_type]; in get_hw_id()
149 return hw_id; in get_hw_id()
/OK3568_Linux_fs/kernel/Documentation/networking/devlink/
H A 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')
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
/OK3568_Linux_fs/kernel/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_core.c109 .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 …]
H A Dst_lsm6dsx_i2c.c27 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()

123456