/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | vdec_drv_if.c | 26 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() 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() [all...] |
/linux/drivers/media/platform/mediatek/vcodec/common/ |
H A D | mtk_vcodec_intr.c | 15 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()
|
/linux/drivers/thermal/qcom/ |
H A D | tsens.c | 113 ret = snprintf(name, sizeof(name), "s%d_p1%s", priv->sensor[i].hw_id, in tsens_read_calibration() 122 ret = snprintf(name, sizeof(name), "s%d_p2%s", priv->sensor[i].hw_id, in tsens_read_calibration() 378 static void tsens_set_interrupt_v1(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v1() argument 385 index = UP_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v1() 388 index = LOW_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v1() 397 static void tsens_set_interrupt_v2(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v2() argument 411 index_mask = UP_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2() 412 index_clear = UP_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v2() 415 index_mask = LOW_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2() 416 index_clear = LOW_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v2() 444 tsens_set_interrupt(struct tsens_priv * priv,u32 hw_id,enum tsens_irq_type irq_type,bool enable) tsens_set_interrupt() argument 465 tsens_threshold_violated(struct tsens_priv * priv,u32 hw_id,struct tsens_irq_data * d) tsens_threshold_violated() argument 490 tsens_read_irq_state(struct tsens_priv * priv,u32 hw_id,const struct tsens_sensor * s,struct tsens_irq_data * d) tsens_read_irq_state() argument 544 masked_irq(u32 hw_id,u32 mask,enum tsens_ver ver) masked_irq() argument 599 u32 hw_id = s->hw_id; tsens_critical_irq_thread() local 646 u32 hw_id = s->hw_id; tsens_irq_thread() local 697 u32 hw_id = s->hw_id; tsens_set_trips() local 754 int hw_id = s->hw_id; get_temp_tsens_valid() local 785 int hw_id = s->hw_id; get_temp_common() local [all...] |
H A D | tsens-v2.c | 152 ret = snprintf(name, sizeof(name), "tsens_sens%d_off", sensor->hw_id); in tsens_v2_calibrate_sensor() 182 regmap_write(map, SENSOR_CONVERSION(sensor->hw_id), val); in tsens_v2_calibrate_sensor() 249 val |= 1 << priv->sensor[i].hw_id; in init_tsens_v2_no_rpm()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | htb.c | 15 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...] |
H A D | qos.h | 22 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 D | qos.c | 70 u16 node_qid, u32 hw_id) in mlx5e_open_qos_sq() argument 134 err = mlx5e_open_txqsq(c, tisn, txq_ix, params, ¶m_sq, sq, 0, hw_id, in mlx5e_open_qos_sq() 150 static int mlx5e_open_qos_sq_cb_wrapper(void *data, u16 node_qid, u32 hw_id) in mlx5e_open_qos_sq_cb_wrapper() argument 154 return mlx5e_open_qos_sq(cb_params->priv, cb_params->chs, node_qid, hw_id); in mlx5e_open_qos_sq_cb_wrapper() 157 int mlx5e_activate_qos_sq(void *data, u16 node_qid, u32 hw_id) in mlx5e_activate_qos_sq() argument 529 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 534 *hw_id = rl->leaves_id[tc]; in mlx5e_mqprio_rl_get_node_hw_id()
|
/linux/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx_i2c.c | 26 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 D | st_lsm6dsx_core.c | 136 .hw_id = ST_LSM9DS1_ID, 140 .hw_id = ST_LSM6DS0_ID, 244 .hw_id = ST_LSM6DS3_ID, 410 .hw_id = ST_LSM6DS3H_ID, 576 .hw_id = ST_LSM6DSL_ID, 580 .hw_id = ST_LSM6DSM_ID, 584 .hw_id = ST_ISM330DLC_ID, 588 .hw_id = ST_LSM6DS3TRC_ID, 813 .hw_id = ST_LSM6DSR_ID, 817 .hw_id 2631 st_lsm6dsx_probe(struct device * dev,int irq,int hw_id,struct regmap * regmap) st_lsm6dsx_probe() argument [all...] |
H A D | st_lsm6dsx_spi.c | 27 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/drivers/net/wireless/ath/ath10k/ |
H A D | coredump.c | 1296 .hw_id = QCA6174_HW_1_0_VERSION, 1305 .hw_id = QCA6174_HW_1_1_VERSION, 1314 .hw_id = QCA6174_HW_1_3_VERSION, 1323 .hw_id = QCA6174_HW_2_1_VERSION, 1332 .hw_id = QCA6174_HW_3_0_VERSION, 1341 .hw_id = QCA6174_HW_3_2_VERSION, 1350 .hw_id = QCA6174_HW_3_2_VERSION, 1359 .hw_id = QCA9377_HW_1_1_DEV_VERSION, 1368 .hw_id = QCA988X_HW_2_0_VERSION, 1377 .hw_id [all...] |
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | tracepoints.rst | 159 devlink-9363 [031] ..... 24610.188722: mlx5_sf_add: (0000:06:00.0) port_index=32768 controller=0 hw_id=0x8000 sfnum=88 166 devlink-9830 [038] ..... 26300.404749: mlx5_sf_free: (0000:06:00.0) port_index=32768 controller=0 hw_id=0x8000 173 devlink-29841 [008] ..... 3669.635095: mlx5_sf_activate: (0000:08:00.0) port_index=32768 controller=0 hw_id=0x8000 180 devlink-29994 [008] ..... 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=0x8000 sfnum=88 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 kworker/u20:3-29490 [009] ..... 4141.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 sfnum=88 vhca_state=1 222 kworker/u128:3-9093 [000] ..... 24616.524495: mlx5_sf_dev_add: (0000:06:00.0) sfdev=00000000fc5d96fd aux_id=4 hw_id [all...] |
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_hw.c | 363 __le32 hw_id; member 432 __le32 hw_id; member 555 __le32 hw_id; member 1024 u32 *dev_id, u32 *hw_id, u16 *fp_id) in prestera_hw_port_info_get() argument 1038 *hw_id = __le32_to_cpu(resp.hw_id); in prestera_hw_port_info_get() 1111 .port = __cpu_to_le32(port->hw_id), in prestera_hw_port_mac_mode_get() 1142 .port = __cpu_to_le32(port->hw_id), in prestera_hw_port_mac_mode_set() 1169 .port = __cpu_to_le32(port->hw_id), in prestera_hw_port_phy_mode_get() 1198 .port = __cpu_to_le32(port->hw_id), in prestera_hw_port_phy_mode_set() [all...] |
/linux/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | mtk_vcodec_enc_drv.h | 232 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()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_discovery.c | 628 uint8_t instance, uint16_t hw_id) in amdgpu_discovery_validate_ip() argument 636 if (hw_id >= HW_ID_MAX) { in amdgpu_discovery_validate_ip() 638 "Unexpected hw_id (%d) from ip discovery blob\n", in amdgpu_discovery_validate_ip() 639 hw_id); in amdgpu_discovery_validate_ip() 654 uint16_t hw_id; in amdgpu_discovery_read_harvest_bit_per_ip() local 674 hw_id = le16_to_cpu(ip->hw_id); in amdgpu_discovery_read_harvest_bit_per_ip() 675 if (amdgpu_discovery_validate_ip(adev, inst, hw_id)) in amdgpu_discovery_read_harvest_bit_per_ip() 679 switch (hw_id) { in amdgpu_discovery_read_harvest_bit_per_ip() 731 if (le16_to_cpu(harvest_info->list[i].hw_id) in amdgpu_discovery_read_from_harvest_table() 783 int hw_id; global() member 794 int hw_id; global() member 1029 amdgpu_discovery_get_harvest_info(struct amdgpu_device * adev,uint16_t hw_id,uint8_t inst) amdgpu_discovery_get_harvest_info() argument 1064 uint16_t hw_id; amdgpu_discovery_sysfs_ips() local 1332 uint16_t hw_id; amdgpu_discovery_reg_base_init() local [all...] |
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_trap.c | 17 u16 hw_id; member 1236 u16 hw_id; in mlxsw_sp_trap_cpu_policers_set() local 1241 hw_id = find_first_zero_bit(trap->policers_usage, trap->max_policers); in mlxsw_sp_trap_cpu_policers_set() 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() 1247 mlxsw_reg_qpcr_pack(qpcr_pl, hw_id, MLXSW_REG_QPCR_IR_UNITS_M, 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 1723 hw_id in mlxsw_sp_trap_policer_item_init() 1755 __mlxsw_sp_trap_policer_set(struct mlxsw_sp * mlxsw_sp,u16 hw_id,u64 rate,u64 burst,bool clear_counter,struct netlink_ext_ack * extack) __mlxsw_sp_trap_policer_set() argument [all...] |
/linux/drivers/hwmon/ |
H A 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()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | rdma.c | 112 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()
|
/linux/drivers/gpu/drm/tidss/ |
H A D | tidss_dispc.c | 112 .hw_id = 0, 194 .hw_id = 0, 199 .hw_id = 1, 295 .hw_id = 0, 300 .hw_id = 1, 305 .hw_id = 2, 310 .hw_id = 3, 366 .hw_id = 0, 371 .hw_id = 1, 431 .hw_id 860 u32 hw_id = dispc->feat->vid_info[hw_plane].hw_id; dispc_k3_vid_read_irqstatus() local 869 u32 hw_id = dispc->feat->vid_info[hw_plane].hw_id; dispc_k3_vid_write_irqstatus() local 894 u32 hw_id = dispc->feat->vid_info[hw_plane].hw_id; dispc_k3_vid_read_irqenable() local 903 u32 hw_id = dispc->feat->vid_info[hw_plane].hw_id; dispc_k3_vid_set_irqenable() local 983 u32 hw_id = dispc->feat->vid_info[i].hw_id; dispc_k3_set_irqenable() local 1491 u32 hw_id = dispc->feat->vid_info[hw_plane].hw_id; dispc_am65x_ovr_set_plane() local 1505 u32 hw_id = dispc->feat->vid_info[hw_plane].hw_id; dispc_j721e_ovr_set_plane() local [all...] |
/linux/Documentation/networking/devlink/ |
H A D | devlink-flash.rst | 89 $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/drivers/ras/amd/ |
H A D | fmpm.c | 98 u64 hw_id; member 271 if (old->hw_id != new->hw_id) in fpds_equal() 359 fpd.hw_id = m->ipid; in update_fru_record() 463 retire_dram_row(fpd->addr, fpd->hw_id, err_cpu); in retire_mem_fmp() 464 save_spa(rec, i, fpd->addr, fpd->hw_id, err_cpu); in retire_mem_fmp() 892 seq_printf(f, "%-*s", LONG_WIDTH, "hw_id"); in fmpm_show() 923 seq_printf(f, "0x%016llx%-*s", fpd->hw_id, U64_PAD, ""); in fmpm_show()
|
/linux/drivers/gpu/drm/amd/include/ |
H A D | discovery.h | 94 uint16_t hw_id; /* Hardware ID */ member 112 uint16_t hw_id; /* Hardware ID */ member 129 uint16_t hw_id; /* Hardware ID */ member 361 uint16_t hw_id; /* Hardware ID */ member
|
/linux/drivers/media/platform/qcom/camss/ |
H A D | camss.h | 167 void camss_buf_done(struct camss *camss, int hw_id, int port_id); 168 void camss_reg_update(struct camss *camss, int hw_id,
|
/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bna_types.h | 456 int hw_id; member 470 int hw_id; member 585 int hw_id; member 706 int hw_id; member 791 int hw_id; member
|
/linux/drivers/remoteproc/ |
H A D | st_slim_rproc.c | 115 unsigned long hw_id, hw_ver, fw_rev; in slim_rproc_start() local 140 hw_id = readl_relaxed(slim_rproc->slimcore + SLIM_ID_OFST); in slim_rproc_start() 148 hw_id, hw_ver); in slim_rproc_start()
|