Home
last modified time | relevance | path

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

1234

/Linux-v6.1/drivers/media/platform/mediatek/vcodec/
Dvdec_drv_if.c26 ctx->hw_id = MTK_VDEC_CORE; in vdec_if_init()
29 ctx->hw_id = IS_VDEC_LAT_ARCH(hw_arch) ? MTK_VDEC_LAT0 : 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()
50 ctx->hw_id = IS_VDEC_LAT_ARCH(hw_arch) ? MTK_VDEC_LAT0 : MTK_VDEC_CORE; in vdec_if_init()
56 mtk_vcodec_dec_enable_hardware(ctx, ctx->hw_id); in vdec_if_init()
58 mtk_vcodec_dec_disable_hardware(ctx, ctx->hw_id); in vdec_if_init()
86 mtk_vcodec_dec_enable_hardware(ctx, ctx->hw_id); in vdec_if_decode()
[all …]
Dmtk_vcodec_intr.c16 unsigned int hw_id) in mtk_vcodec_wait_for_done_ctx() argument
22 ret = wait_event_interruptible_timeout(ctx->queue[hw_id], in mtk_vcodec_wait_for_done_ctx()
23 ctx->int_cond[hw_id], in mtk_vcodec_wait_for_done_ctx()
30 ctx->int_cond[hw_id], ctx->int_type[hw_id]); in mtk_vcodec_wait_for_done_ctx()
35 ctx->int_cond[hw_id], ctx->int_type[hw_id]); in mtk_vcodec_wait_for_done_ctx()
38 ctx->int_cond[hw_id] = 0; in mtk_vcodec_wait_for_done_ctx()
39 ctx->int_type[hw_id] = 0; in mtk_vcodec_wait_for_done_ctx()
Dmtk_vcodec_drv.h325 int hw_id; member
537 wake_up_ctx(struct mtk_vcodec_ctx *ctx, unsigned int reason, unsigned int hw_id) in wake_up_ctx() argument
539 ctx->int_cond[hw_id] = 1; in wake_up_ctx()
540 ctx->int_type[hw_id] = reason; in wake_up_ctx()
541 wake_up_interruptible(&ctx->queue[hw_id]); in wake_up_ctx()
Dmtk_vcodec_intr.h17 unsigned int hw_id);
/Linux-v6.1/drivers/thermal/qcom/
Dtsens.c198 static void tsens_set_interrupt_v1(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v1() argument
205 index = UP_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v1()
208 index = LOW_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v1()
217 static void tsens_set_interrupt_v2(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v2() argument
231 index_mask = UP_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2()
232 index_clear = UP_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v2()
235 index_mask = LOW_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2()
236 index_clear = LOW_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v2()
239 index_mask = CRIT_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2()
240 index_clear = CRIT_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v2()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhtb.c15 u32 hw_id; member
42 err = callback(data, node->qid, node->hw_id); in mlx5e_htb_enumerate_leaves()
200 err = mlx5_qos_create_root_node(htb->mdev, &root->hw_id); in mlx5e_htb_root_add()
242 err = mlx5_qos_destroy_node(htb->mdev, root->hw_id); in mlx5e_htb_root_del()
245 root->hw_id, err); in mlx5e_htb_root_del()
316 err = mlx5_qos_create_leaf_node(htb->mdev, node->parent->hw_id, in mlx5e_htb_leaf_alloc_queue()
318 &node->hw_id); in mlx5e_htb_leaf_alloc_queue()
328 err = mlx5e_open_qos_sq(priv, &priv->channels, node->qid, node->hw_id); in mlx5e_htb_leaf_alloc_queue()
334 mlx5e_activate_qos_sq(priv, node->qid, node->hw_id); in mlx5e_htb_leaf_alloc_queue()
358 err = mlx5_qos_create_inner_node(htb->mdev, node->parent->hw_id, in mlx5e_htb_leaf_to_inner()
[all …]
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);
Dqos.c70 u16 node_qid, u32 hw_id) in mlx5e_open_qos_sq() argument
130 &param_sq, sq, 0, hw_id, in mlx5e_open_qos_sq()
146 static int mlx5e_open_qos_sq_cb_wrapper(void *data, u16 node_qid, u32 hw_id) in mlx5e_open_qos_sq_cb_wrapper() argument
150 return mlx5e_open_qos_sq(cb_params->priv, cb_params->chs, node_qid, hw_id); in mlx5e_open_qos_sq_cb_wrapper()
153 int mlx5e_activate_qos_sq(void *data, u16 node_qid, u32 hw_id) in mlx5e_activate_qos_sq() argument
510 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
515 *hw_id = rl->leaves_id[tc]; in mlx5e_mqprio_rl_get_node_hw_id()
/Linux-v6.1/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-v6.1/drivers/net/ethernet/marvell/prestera/
Dprestera_hw.c363 __le32 hw_id; member
441 __le32 hw_id; member
554 __le32 hw_id; member
1022 u32 *dev_id, u32 *hw_id, u16 *fp_id) in prestera_hw_port_info_get() argument
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()
[all …]
/Linux-v6.1/arch/powerpc/sysdev/xics/
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()
241 cpu, hw_id); in icp_native_map_one_cpu()
249 cpu, hw_id, addr); in icp_native_map_one_cpu()
/Linux-v6.1/arch/arm/mach-iop32x/
Dadma.c99 .hw_id = DMA0_ID,
104 .hw_id = DMA1_ID,
109 .hw_id = AAU_ID,
/Linux-v6.1/drivers/thermal/
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()
178 tmu->sensors[i].hw_id = i; in imx8mm_tmu_probe()
/Linux-v6.1/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()
1661 hw_policer_id = policer_item->hw_id; in __mlxsw_sp_trap_group_init()
1692 u16 hw_id; in mlxsw_sp_trap_policer_item_init() local
1698 hw_id = find_first_zero_bit(trap->policers_usage, trap->max_policers); in mlxsw_sp_trap_policer_item_init()
[all …]
/Linux-v6.1/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-v6.1/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c109 .hw_id = ST_LSM9DS1_ID,
113 .hw_id = ST_LSM6DS0_ID,
217 .hw_id = ST_LSM6DS3_ID,
383 .hw_id = ST_LSM6DS3H_ID,
549 .hw_id = ST_LSM6DSL_ID,
553 .hw_id = ST_LSM6DSM_ID,
557 .hw_id = ST_ISM330DLC_ID,
561 .hw_id = ST_LSM6DS3TRC_ID,
768 .hw_id = ST_LSM6DSR_ID,
772 .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-v6.1/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-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c473 if (le16_to_cpu(ip->hw_id) >= HW_ID_MAX) { in amdgpu_discovery_validate_ip()
475 le16_to_cpu(ip->hw_id)); in amdgpu_discovery_validate_ip()
511 switch (le16_to_cpu(ip->hw_id)) { in amdgpu_discovery_read_harvest_bit_per_ip()
552 if (le16_to_cpu(harvest_info->list[i].hw_id) == 0) in amdgpu_discovery_read_from_harvest_table()
555 switch (le16_to_cpu(harvest_info->list[i].hw_id)) { in amdgpu_discovery_read_from_harvest_table()
580 int hw_id; member
591 int hw_id; member
608 return sysfs_emit(buf, "%d\n", ip_hw_instance->hw_id); in hw_id_show()
662 __ATTR_RO(hw_id),
846 le16_to_cpu(ip->hw_id) != ii) in amdgpu_discovery_sysfs_ips()
[all …]
/Linux-v6.1/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-v6.1/drivers/gpu/drm/amd/include/
Ddiscovery.h87 uint16_t hw_id; /* Hardware ID */ member
105 uint16_t hw_id; /* Hardware ID */ member
261 uint16_t hw_id; /* Hardware ID */ member
/Linux-v6.1/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-v6.1/drivers/infiniband/hw/bnxt_re/
Dqplib_res.c579 kfree(sgid_tbl->hw_id); in bnxt_qplib_free_sgid_tbl()
583 sgid_tbl->hw_id = NULL; in bnxt_qplib_free_sgid_tbl()
598 sgid_tbl->hw_id = kcalloc(max, sizeof(u16), GFP_KERNEL); in bnxt_qplib_alloc_sgid_tbl()
599 if (!sgid_tbl->hw_id) in bnxt_qplib_alloc_sgid_tbl()
616 kfree(sgid_tbl->hw_id); in bnxt_qplib_alloc_sgid_tbl()
617 sgid_tbl->hw_id = NULL; in bnxt_qplib_alloc_sgid_tbl()
636 memset(sgid_tbl->hw_id, -1, sizeof(u16) * sgid_tbl->max); in bnxt_qplib_cleanup_sgid_tbl()
649 memset(sgid_tbl->hw_id, -1, sizeof(u16) * sgid_tbl->max); in bnxt_qplib_init_sgid_tbl()
/Linux-v6.1/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()

1234