Home
last modified time | relevance | path

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

123

/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A 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()
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 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);
/linux/drivers/thermal/qcom/
H A Dtsens.c113 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()
429 static void tsens_set_interrupt_v1(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v1() argument
436 index = UP_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v1()
439 index = LOW_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v1()
448 static void tsens_set_interrupt_v2(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v2() argument
462 index_mask = UP_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2()
463 index_clear = UP_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v2()
466 index_mask = LOW_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2()
467 index_clear = LOW_INT_CLEAR_0 + hw_id; in tsens_set_interrupt_v2()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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 …]
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
134 err = mlx5e_open_txqsq(c, tisn, txq_ix, params, &param_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()
H A Dhtb.h14 typedef int (*mlx5e_fp_htb_enumerate)(void *data, u16 qid, u32 hw_id);
/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 …]
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_hw.c363 __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()
1222 .port = __cpu_to_le32(port->hw_id), in prestera_hw_port_mtu_set()
[all …]
H A Dprestera.h138 u32 hw_id; member
355 u32 dev_id, u32 hw_id);
H A Dprestera_router_hw.h21 u16 hw_id; /* rif_id */ member
/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
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 = find_first_zero_bit(trap->policers_usage, trap->max_policers); in mlxsw_sp_trap_policer_item_init()
[all …]
/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()
/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()
/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')
/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
/linux/drivers/remoteproc/
H A Dst_slim_rproc.c115 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()
/linux/drivers/iio/light/
H A Dcm3232.c55 u8 hw_id; member
62 .hw_id = CM3232_HW_ID,
106 if ((ret & 0xFF) != chip->als_info->hw_id) in cm3232_reg_init()
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_pipeline.c166 size_t comp_sz, u32 id, u32 hw_id, in komeda_component_add() argument
207 c->hw_id = hw_id; in komeda_component_add()
H A Dkomeda_format_caps.h59 u32 hw_id; member
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-nvm-parse.h182 void iwl_nvm_fixups(u32 hw_id, unsigned int section, u8 *data,
/linux/tools/perf/util/
H A Dcs-etm.c345 u64 hw_id) in cs_etm__process_trace_id_v0_1() argument
349 u8 trace_chan_id = FIELD_GET(CS_AUX_HW_ID_TRACE_ID_MASK, hw_id); in cs_etm__process_trace_id_v0_1()
367 u64 hw_id) in cs_etm__process_trace_id_v0_1()
372 u32 sink_id = FIELD_GET(CS_AUX_HW_ID_SINK_ID_MASK, hw_id); in cs_etm__process_trace_id_v0_1()
373 u8 trace_id = FIELD_GET(CS_AUX_HW_ID_TRACE_ID_MASK, hw_id); in cs_etm__process_trace_id_v0_1()
516 u64 hw_id; in cs_etm__process_aux_output_hw_id()
520 hw_id = event->aux_output_hw_id.hw_id; in cs_etm__process_aux_output_hw_id()
521 version = FIELD_GET(CS_AUX_HW_ID_MAJOR_VERSION_MASK, hw_id); in cs_etm__process_aux_output_hw_id()
551 if (FIELD_GET(CS_AUX_HW_ID_MINOR_VERSION_MASK, hw_id) in cs_etm__etmq_get_timestamp()
323 cs_etm__process_trace_id_v0(struct cs_etm_auxtrace * etm,int cpu,u64 hw_id) cs_etm__process_trace_id_v0() argument
485 u64 hw_id; cs_etm__process_aux_output_hw_id() local
[all...]
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dbus.h70 u8 hw_id[ETH_ALEN]; member
/linux/drivers/usb/serial/
H A Dwhiteheat.h247 __u8 hw_id; /* hardware id number, WhiteHEAT = 0 */ member

123