/linux-master/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | vdec_drv_if.c | 26 ctx->hw_id = MTK_VDEC_CORE; 29 ctx->hw_id = IS_VDEC_LAT_ARCH(hw_arch) ? MTK_VDEC_LAT0 : MTK_VDEC_CORE; 34 ctx->hw_id = MTK_VDEC_CORE; 38 ctx->hw_id = MTK_VDEC_CORE; 42 ctx->hw_id = MTK_VDEC_CORE; 46 ctx->hw_id = MTK_VDEC_CORE; 50 ctx->hw_id = IS_VDEC_LAT_ARCH(hw_arch) ? MTK_VDEC_LAT0 : MTK_VDEC_CORE; 54 ctx->hw_id = MTK_VDEC_LAT0; 58 ctx->hw_id = MTK_VDEC_LAT0; 64 mtk_vcodec_dec_enable_hardware(ctx, ctx->hw_id); [all...] |
H A D | mtk_vcodec_dec_drv.h | 171 * @hw_id: hardware index used to identify different hardware. 216 int hw_id; member in struct:mtk_vcodec_dec_ctx 322 wake_up_dec_ctx(struct mtk_vcodec_dec_ctx *ctx, unsigned int reason, unsigned int hw_id) argument 324 ctx->int_cond[hw_id] = 1; 325 ctx->int_type[hw_id] = reason; 326 wake_up_interruptible(&ctx->queue[hw_id]);
|
/linux-master/drivers/media/platform/mediatek/vcodec/common/ |
H A D | mtk_vcodec_intr.c | 15 unsigned int hw_id) 47 ret = wait_event_interruptible_timeout(ctx_queue[hw_id], 48 ctx_int_cond[hw_id], 55 ctx_int_cond[hw_id], ctx_int_type[hw_id]); 60 ctx_int_cond[hw_id], ctx_int_type[hw_id]); 63 ctx_int_cond[hw_id] = 0; 64 ctx_int_type[hw_id] = 0; 14 mtk_vcodec_wait_for_done_ctx(void *priv, int command, unsigned int timeout_ms, unsigned int hw_id) argument
|
H A D | mtk_vcodec_intr.h | 17 unsigned int hw_id);
|
/linux-master/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx_i2c.c | 26 int hw_id; local 29 hw_id = (kernel_ulong_t)device_get_match_data(&client->dev); 30 if (!hw_id) 31 hw_id = i2c_client_get_device_id(client)->driver_data; 32 if (!hw_id) 41 return st_lsm6dsx_probe(&client->dev, client->irq, hw_id, regmap);
|
H A D | st_lsm6dsx_spi.c | 27 int hw_id = id->driver_data; local 36 return st_lsm6dsx_probe(&spi->dev, spi->irq, hw_id, regmap);
|
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 2716 st_lsm6dsx_probe(struct device *dev, int irq, int hw_id, struct regmap *regmap) argument [all...] |
/linux-master/drivers/thermal/qcom/ |
H A D | tsens.c | 112 ret = snprintf(name, sizeof(name), "s%d_p1%s", priv->sensor[i].hw_id, 121 ret = snprintf(name, sizeof(name), "s%d_p2%s", priv->sensor[i].hw_id, 377 static void tsens_set_interrupt_v1(struct tsens_priv *priv, u32 hw_id, argument 384 index = UP_INT_CLEAR_0 + hw_id; 387 index = LOW_INT_CLEAR_0 + hw_id; 396 static void tsens_set_interrupt_v2(struct tsens_priv *priv, u32 hw_id, argument 410 index_mask = UP_INT_MASK_0 + hw_id; 411 index_clear = UP_INT_CLEAR_0 + hw_id; 414 index_mask = LOW_INT_MASK_0 + hw_id; 415 index_clear = LOW_INT_CLEAR_0 + hw_id; 443 tsens_set_interrupt(struct tsens_priv *priv, u32 hw_id, enum tsens_irq_type irq_type, bool enable) argument 464 tsens_threshold_violated(struct tsens_priv *priv, u32 hw_id, struct tsens_irq_data *d) argument 489 tsens_read_irq_state(struct tsens_priv *priv, u32 hw_id, const struct tsens_sensor *s, struct tsens_irq_data *d) argument 543 masked_irq(u32 hw_id, u32 mask, enum tsens_ver ver) argument 598 u32 hw_id = s->hw_id; local 645 u32 hw_id = s->hw_id; local 696 u32 hw_id = s->hw_id; local 753 int hw_id = s->hw_id; local 784 int hw_id = s->hw_id; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
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 | htb.c | 15 u32 hw_id; member in struct:mlx5e_qos_node 42 err = callback(data, node->qid, node->hw_id); 200 err = mlx5_qos_create_root_node(htb->mdev, &root->hw_id); 242 err = mlx5_qos_destroy_node(htb->mdev, root->hw_id); 245 root->hw_id, err); 316 err = mlx5_qos_create_leaf_node(htb->mdev, node->parent->hw_id, 318 &node->hw_id); 328 err = mlx5e_open_qos_sq(priv, &priv->channels, node->qid, node->hw_id); 334 mlx5e_activate_qos_sq(priv, node->qid, node->hw_id); 358 err = mlx5_qos_create_inner_node(htb->mdev, node->parent->hw_id, [all...] |
H A D | htb.h | 14 typedef int (*mlx5e_fp_htb_enumerate)(void *data, u16 qid, u32 hw_id);
|
H A D | qos.c | 70 u16 node_qid, u32 hw_id) 134 err = mlx5e_open_txqsq(c, tisn, txq_ix, params, ¶m_sq, sq, 0, hw_id, 150 static int mlx5e_open_qos_sq_cb_wrapper(void *data, u16 node_qid, u32 hw_id) argument 154 return mlx5e_open_qos_sq(cb_params->priv, cb_params->chs, node_qid, hw_id); 157 int mlx5e_activate_qos_sq(void *data, u16 node_qid, u32 hw_id) argument 520 int mlx5e_mqprio_rl_get_node_hw_id(struct mlx5e_mqprio_rl *rl, int tc, u32 *hw_id) argument 525 *hw_id = rl->leaves_id[tc]; 69 mlx5e_open_qos_sq(struct mlx5e_priv *priv, struct mlx5e_channels *chs, u16 node_qid, u32 hw_id) argument
|
/linux-master/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) argument 234 ctx->int_cond[hw_id] = 1; 235 ctx->int_type[hw_id] = reason; 236 wake_up_interruptible(&ctx->queue[hw_id]);
|
/linux-master/arch/powerpc/sysdev/xics/ |
H A D | icp-native.c | 212 static int __init icp_native_map_one_cpu(int hw_id, unsigned long addr, argument 224 if (hw_id == get_hard_smp_processor_id(i)) { 237 cpu, hw_id); 243 cpu, hw_id); 251 cpu, hw_id, addr);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | rdma.c | 112 u8 hw_id[ETH_ALEN]; local 114 mlx5_query_mac_address(dev, hw_id); 116 addrconf_addr_eui48(&gid->raw[8], hw_id);
|
/linux-master/drivers/media/platform/mediatek/jpeg/ |
H A D | mtk_jpeg_core.c | 1460 int hw_id = -1; local 1467 hw_id = i; 1474 return hw_id; 1478 int hw_id, 1482 struct mtk_jpegenc_comp_dev *jpeg = ctx->jpeg->enc_hw_dev[hw_id]; 1491 static int mtk_jpegenc_put_hw(struct mtk_jpeg_dev *jpeg, int hw_id) argument 1496 jpeg->enc_hw_dev[hw_id]->hw_state = MTK_JPEG_HW_IDLE; 1507 int hw_id = -1; local 1514 hw_id = i; 1521 return hw_id; 1477 mtk_jpegenc_set_hw_param(struct mtk_jpeg_ctx *ctx, int hw_id, struct vb2_v4l2_buffer *src_buf, struct vb2_v4l2_buffer *dst_buf) argument 1524 mtk_jpegdec_put_hw(struct mtk_jpeg_dev *jpeg, int hw_id) argument 1536 mtk_jpegdec_set_hw_param(struct mtk_jpeg_ctx *ctx, int hw_id, struct vb2_v4l2_buffer *src_buf, struct vb2_v4l2_buffer *dst_buf) argument 1585 int ret, i, hw_id = 0; local 1683 int ret, i, hw_id = 0; local [all...] |
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_hw.c | 363 __le32 hw_id; member in struct:prestera_msg_port_info_resp 441 __le32 hw_id; member in struct:prestera_msg_vtcam_bind_req::__anon983::__anon984 554 __le32 hw_id; member in struct:prestera_msg_nh 1022 u32 *dev_id, u32 *hw_id, u16 *fp_id) 1036 *hw_id = __le32_to_cpu(resp.hw_id); 1109 .port = __cpu_to_le32(port->hw_id), 1140 .port = __cpu_to_le32(port->hw_id), 1167 .port = __cpu_to_le32(port->hw_id), 1196 .port = __cpu_to_le32(port->hw_id), 1021 prestera_hw_port_info_get(const struct prestera_port *port, u32 *dev_id, u32 *hw_id, u16 *fp_id) argument [all...] |
/linux-master/include/linux/platform_data/ |
H A D | dma-iop32x.h | 101 int hw_id; member in struct:iop_adma_platform_data
|
/linux-master/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_format_caps.h | 51 * @hw_id: hw format id, hw specific value. 59 u32 hw_id; member in struct:komeda_format_caps
|
/linux-master/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-nvm-parse.h | 73 void iwl_nvm_fixups(u32 hw_id, unsigned int section, u8 *data,
|
/linux-master/drivers/hwmon/ |
H A D | ibmpowernv.c | 571 u32 opal_index, hw_id; local 607 hw_id = get_sensor_hwmon_index(&sdata[count], sdata, count); 609 populate_sensor(&sdata[count], opal_index, hw_id, sensor_id, 623 populate_sensor(&sdata[count], opal_index, hw_id, 631 populate_sensor(&sdata[count], opal_index, hw_id, 640 populate_sensor(&sdata[count], opal_index, hw_id, 649 hw_id = ++group_attr_id[type]; 650 populate_sensor(&sdata[count], opal_index, hw_id,
|
/linux-master/drivers/gpu/drm/amd/include/ |
H A D | discovery.h | 94 uint16_t hw_id; /* Hardware ID */ member in struct:ip 112 uint16_t hw_id; /* Hardware ID */ member in struct:ip_v3 129 uint16_t hw_id; /* Hardware ID */ member in struct:ip_v4 319 uint16_t hw_id; /* Hardware ID */ member in struct:harvest_info
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_trap.c | 17 u16 hw_id; member in struct:mlxsw_sp_trap_policer_item 1236 u16 hw_id; local 1241 hw_id = find_first_zero_bit(trap->policers_usage, trap->max_policers); 1242 if (WARN_ON(hw_id == trap->max_policers)) 1245 __set_bit(hw_id, trap->policers_usage); 1246 trap->thin_policer_hw_id = hw_id; 1247 mlxsw_reg_qpcr_pack(qpcr_pl, hw_id, MLXSW_REG_QPCR_IR_UNITS_M, 1686 hw_policer_id = policer_item->hw_id; 1717 u16 hw_id; local 1723 hw_id 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) argument [all...] |
/linux-master/drivers/ras/amd/ |
H A D | fmpm.c | 96 u64 hw_id; member in struct:cper_fru_poison_desc 264 if (old->hw_id != new->hw_id) 352 fpd.hw_id = m->ipid; 456 retire_dram_row(fpd->addr, fpd->hw_id, err_cpu); 457 save_spa(rec, i, fpd->addr, fpd->hw_id, err_cpu); 885 seq_printf(f, "%-*s", LONG_WIDTH, "hw_id"); 916 seq_printf(f, "0x%016llx%-*s", fpd->hw_id, U64_PAD, "");
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_discovery.c | 551 if (le16_to_cpu(ip->hw_id) >= HW_ID_MAX) { 552 DRM_ERROR("Unexpected hw_id (%d) from ip discovery blob\n", 553 le16_to_cpu(ip->hw_id)); 589 switch (le16_to_cpu(ip->hw_id)) { 643 if (le16_to_cpu(harvest_info->list[i].hw_id) == 0) 646 switch (le16_to_cpu(harvest_info->list[i].hw_id)) { 687 struct kobject kobj; /* ip_discovery/die/#die/#hw_id/#instance/<attrs...> */ 689 int hw_id; member in struct:ip_hw_instance 699 struct kset hw_id_kset; /* ip_discovery/die/#die/#hw_id/, contains ip_hw_instance */ 700 int hw_id; member in struct:ip_hw_id 934 amdgpu_discovery_get_harvest_info(struct amdgpu_device *adev, uint16_t hw_id, uint8_t inst) argument [all...] |