Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_drv_if.c26 ctx->hw_id = MTK_VDEC_CORE; in vdec_if_init()
34 ctx->hw_id = MTK_VDEC_CORE; in vdec_if_init()
38 ctx->hw_id = MTK_VDEC_CORE; in vdec_if_init()
42 ctx->hw_id = MTK_VDEC_CORE; in vdec_if_init()
46 ctx->hw_id = MTK_VDEC_CORE; in vdec_if_init()
54 ctx->hw_id = MTK_VDEC_LAT0; in vdec_if_init()
58 ctx->hw_id = MTK_VDEC_LAT0; in vdec_if_init()
64 mtk_vcodec_dec_enable_hardware(ctx, ctx->hw_id); in vdec_if_init()
66 mtk_vcodec_dec_disable_hardware(ctx, ctx->hw_id); in vdec_if_init()
94 mtk_vcodec_dec_enable_hardware(ctx, ctx->hw_id); in vdec_if_decode()
[all …]
H A Dmtk_vcodec_dec_drv.h206 int hw_id; member
308 wake_up_dec_ctx(struct mtk_vcodec_dec_ctx *ctx, unsigned int reason, unsigned int hw_id) in wake_up_dec_ctx() argument
310 ctx->int_cond[hw_id] = 1; in wake_up_dec_ctx()
311 ctx->int_type[hw_id] = reason; in wake_up_dec_ctx()
312 wake_up_interruptible(&ctx->queue[hw_id]); in wake_up_dec_ctx()
/openbmc/linux/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_intr.c15 unsigned int hw_id) in mtk_vcodec_wait_for_done_ctx() argument
47 ret = wait_event_interruptible_timeout(ctx_queue[hw_id], in mtk_vcodec_wait_for_done_ctx()
48 ctx_int_cond[hw_id], in mtk_vcodec_wait_for_done_ctx()
55 ctx_int_cond[hw_id], ctx_int_type[hw_id]); in mtk_vcodec_wait_for_done_ctx()
60 ctx_int_cond[hw_id], ctx_int_type[hw_id]); in mtk_vcodec_wait_for_done_ctx()
63 ctx_int_cond[hw_id] = 0; in mtk_vcodec_wait_for_done_ctx()
64 ctx_int_type[hw_id] = 0; in mtk_vcodec_wait_for_done_ctx()
H A Dmtk_vcodec_intr.h17 unsigned int hw_id);
/openbmc/linux/drivers/thermal/qcom/
H A Dtsens.c531 hw_id, __func__, in tsens_read_irq_state()
546 return mask & (1 << hw_id); in masked_irq()
598 u32 hw_id = s->hw_id; in tsens_critical_irq_thread() local
607 hw_id, __func__); in tsens_critical_irq_thread()
645 u32 hw_id = s->hw_id; in tsens_irq_thread() local
696 u32 hw_id = s->hw_id; in tsens_set_trips() local
702 hw_id = 0; in tsens_set_trips()
706 hw_id, __func__, low, high); in tsens_set_trips()
753 int hw_id = s->hw_id; in get_temp_tsens_valid() local
784 int hw_id = s->hw_id; in get_temp_common() local
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dhtb.c15 u32 hw_id; member
245 root->hw_id, err); in mlx5e_htb_root_del()
318 &node->hw_id); in mlx5e_htb_leaf_alloc_queue()
402 node->hw_id, classid, err); in mlx5e_htb_leaf_to_inner()
404 node->hw_id = new_hw_id; in mlx5e_htb_leaf_to_inner()
473 node->hw_id, *classid, err); in mlx5e_htb_leaf_del()
585 node->hw_id, classid, err); in mlx5e_htb_leaf_del_last()
599 old_hw_id = node->hw_id; in mlx5e_htb_leaf_del_last()
600 node->hw_id = new_hw_id; in mlx5e_htb_leaf_del_last()
616 node->hw_id, classid, err); in mlx5e_htb_leaf_del_last()
[all …]
H A Dqos.h22 u16 node_qid, u32 hw_id);
23 int mlx5e_activate_qos_sq(void *data, u16 node_qid, u32 hw_id);
50 int mlx5e_mqprio_rl_get_node_hw_id(struct mlx5e_mqprio_rl *rl, int tc, u32 *hw_id);
H A Dqos.c70 u16 node_qid, u32 hw_id) in mlx5e_open_qos_sq() argument
131 &param_sq, sq, 0, hw_id, in mlx5e_open_qos_sq()
147 static int mlx5e_open_qos_sq_cb_wrapper(void *data, u16 node_qid, u32 hw_id) in mlx5e_open_qos_sq_cb_wrapper() argument
151 return mlx5e_open_qos_sq(cb_params->priv, cb_params->chs, node_qid, hw_id); in mlx5e_open_qos_sq_cb_wrapper()
154 int mlx5e_activate_qos_sq(void *data, u16 node_qid, u32 hw_id) in mlx5e_activate_qos_sq() argument
517 int mlx5e_mqprio_rl_get_node_hw_id(struct mlx5e_mqprio_rl *rl, int tc, u32 *hw_id) in mlx5e_mqprio_rl_get_node_hw_id() argument
522 *hw_id = rl->leaves_id[tc]; in mlx5e_mqprio_rl_get_node_hw_id()
/openbmc/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_i2c.c26 int hw_id; in st_lsm6dsx_i2c_probe() local
29 hw_id = (kernel_ulong_t)device_get_match_data(&client->dev); in st_lsm6dsx_i2c_probe()
30 if (!hw_id) in st_lsm6dsx_i2c_probe()
31 hw_id = i2c_client_get_device_id(client)->driver_data; in st_lsm6dsx_i2c_probe()
32 if (!hw_id) in st_lsm6dsx_i2c_probe()
41 return st_lsm6dsx_probe(&client->dev, client->irq, hw_id, regmap); in st_lsm6dsx_i2c_probe()
H A Dst_lsm6dsx_core.c119 .hw_id = ST_LSM9DS1_ID,
123 .hw_id = ST_LSM6DS0_ID,
227 .hw_id = ST_LSM6DS3_ID,
393 .hw_id = ST_LSM6DS3H_ID,
559 .hw_id = ST_LSM6DSL_ID,
563 .hw_id = ST_LSM6DSM_ID,
796 .hw_id = ST_LSM6DSR_ID,
804 .hw_id = ST_LSM6DSRX_ID,
808 .hw_id = ST_LSM6DSO_ID,
816 .hw_id = ST_LSM6DST_ID,
[all …]
H A 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()
/openbmc/linux/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 …]
/openbmc/linux/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_core.c1461 int hw_id = -1; in mtk_jpegenc_get_hw() local
1468 hw_id = i; in mtk_jpegenc_get_hw()
1475 return hw_id; in mtk_jpegenc_get_hw()
1479 int hw_id, in mtk_jpegenc_set_hw_param() argument
1508 int hw_id = -1; in mtk_jpegdec_get_hw() local
1515 hw_id = i; in mtk_jpegdec_get_hw()
1522 return hw_id; in mtk_jpegdec_get_hw()
1538 int hw_id, in mtk_jpegdec_set_hw_param() argument
1586 int ret, i, hw_id = 0; in mtk_jpegenc_worker() local
1600 if (hw_id < 0) { in mtk_jpegenc_worker()
[all …]
/openbmc/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
H A Dtracepoints.rst159 …..... 24610.188722: mlx5_sf_add: (0000:06:00.0) port_index=32768 controller=0 hw_id=0x8000 sfnum=88
166 … [038] ..... 26300.404749: mlx5_sf_free: (0000:06:00.0) port_index=32768 controller=0 hw_id=0x8000
173 …08] ..... 3669.635095: mlx5_sf_activate: (0000:08:00.0) port_index=32768 controller=0 hw_id=0x8000
180 …] ..... 4015.969467: mlx5_sf_deactivate: (0000:08:00.0) port_index=32768 controller=0 hw_id=0x8000
187 …devlink-9775 [031] ..... 26296.385259: mlx5_sf_hwc_alloc: (0000:06:00.0) controller=0 hw_id=0x8…
194 kworker/u128:3-9093 [046] ..... 24625.365771: mlx5_sf_hwc_free: (0000:06:00.0) hw_id=0x8000
201 devlink-9519 [046] ..... 24624.400271: mlx5_sf_hwc_deferred_free: (0000:06:00.0) hw_id=0x8000
208 …141.453530: mlx5_sf_update_state: (0000:08:00.0) port_index=32768 controller=0 hw_id=0x8000 state=2
215 …kworker/u128:3-9093 [046] ..... 24625.365525: mlx5_sf_vhca_event: (0000:06:00.0) hw_id=0x8000 s…
222 …24616.524495: mlx5_sf_dev_add: (0000:06:00.0) sfdev=00000000fc5d96fd aux_id=4 hw_id=0x8000 sfnum=88
[all …]
/openbmc/linux/arch/powerpc/sysdev/xics/
H A Dicp-native.c212 static int __init icp_native_map_one_cpu(int hw_id, unsigned long addr, in icp_native_map_one_cpu() argument
224 if (hw_id == get_hard_smp_processor_id(i)) { in icp_native_map_one_cpu()
237 cpu, hw_id); in icp_native_map_one_cpu()
243 cpu, hw_id); in icp_native_map_one_cpu()
251 cpu, hw_id, addr); in icp_native_map_one_cpu()
/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_drv.h232 wake_up_enc_ctx(struct mtk_vcodec_enc_ctx *ctx, unsigned int reason, unsigned int hw_id) in wake_up_enc_ctx() argument
234 ctx->int_cond[hw_id] = 1; in wake_up_enc_ctx()
235 ctx->int_type[hw_id] = reason; in wake_up_enc_ctx()
236 wake_up_interruptible(&ctx->queue[hw_id]); in wake_up_enc_ctx()
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_hw.c363 __le32 hw_id; member
441 __le32 hw_id; member
554 __le32 hw_id; member
1036 *hw_id = __le32_to_cpu(resp.hw_id); in prestera_hw_port_info_get()
1109 .port = __cpu_to_le32(port->hw_id), in prestera_hw_port_mac_mode_get()
1140 .port = __cpu_to_le32(port->hw_id), in prestera_hw_port_mac_mode_set()
1167 .port = __cpu_to_le32(port->hw_id), in prestera_hw_port_phy_mode_get()
1196 .port = __cpu_to_le32(port->hw_id), in prestera_hw_port_phy_mode_set()
1220 .port = __cpu_to_le32(port->hw_id), in prestera_hw_port_mtu_set()
1442 req.port.hw_id = __cpu_to_le32(iface->port->hw_id); in prestera_hw_vtcam_iface_bind()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_trap.c17 u16 hw_id; member
1236 u16 hw_id; in mlxsw_sp_trap_cpu_policers_set() local
1242 if (WARN_ON(hw_id == trap->max_policers)) in mlxsw_sp_trap_cpu_policers_set()
1245 __set_bit(hw_id, trap->policers_usage); in mlxsw_sp_trap_cpu_policers_set()
1246 trap->thin_policer_hw_id = hw_id; in mlxsw_sp_trap_cpu_policers_set()
1686 hw_policer_id = policer_item->hw_id; in __mlxsw_sp_trap_group_init()
1717 u16 hw_id; in mlxsw_sp_trap_policer_item_init() local
1724 if (WARN_ON(hw_id == trap->max_policers)) in mlxsw_sp_trap_policer_item_init()
1727 __set_bit(hw_id, trap->policers_usage); in mlxsw_sp_trap_policer_item_init()
1728 policer_item->hw_id = hw_id; in mlxsw_sp_trap_policer_item_init()
[all …]
/openbmc/linux/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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Drdma.c112 u8 hw_id[ETH_ALEN]; in mlx5_rdma_make_default_gid() local
114 mlx5_query_mac_address(dev, hw_id); in mlx5_rdma_make_default_gid()
116 addrconf_addr_eui48(&gid->raw[8], hw_id); in mlx5_rdma_make_default_gid()
/openbmc/linux/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')
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_discovery.c535 le16_to_cpu(ip->hw_id)); in amdgpu_discovery_validate_ip()
671 int hw_id; member
682 int hw_id; member
753 __ATTR_RO(hw_id),
917 uint16_t hw_id, uint8_t inst) in amdgpu_discovery_get_harvest_info() argument
922 switch (hw_id) { in amdgpu_discovery_get_harvest_info()
968 le16_to_cpu(ip->hw_id) != ii) in amdgpu_discovery_sysfs_ips()
980 ip_hw_id->hw_id = ii; in amdgpu_discovery_sysfs_ips()
1013 ip_hw_instance->hw_id = le16_to_cpu(ip->hw_id); /* == ii */ in amdgpu_discovery_sysfs_ips()
1020 adev, ip_hw_instance->hw_id, in amdgpu_discovery_sysfs_ips()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/include/
H A Ddiscovery.h94 uint16_t hw_id; /* Hardware ID */ member
112 uint16_t hw_id; /* Hardware ID */ member
129 uint16_t hw_id; /* Hardware ID */ member
319 uint16_t hw_id; /* Hardware ID */ member
/openbmc/linux/drivers/thermal/
H A Dimx8mm_thermal.c86 u32 hw_id; member
125 ready = test_bit(probe_status_offset(sensor->hw_id), &val); in imx8mp_tmu_get_temp()
129 val = sensor->hw_id ? FIELD_GET(TRITSR_TEMP1_VAL_MASK, val) : in imx8mp_tmu_get_temp()
341 tmu->sensors[i].hw_id = i; in imx8mm_tmu_probe()
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbna_types.h456 int hw_id; member
470 int hw_id; member
585 int hw_id; member
706 int hw_id; member
791 int hw_id; member

1234