Home
last modified time | relevance | path

Searched refs:comp (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/linux/drivers/gpu/drm/mediatek/
H A Dmtk_ddp_comp.h103 static inline int mtk_ddp_comp_power_on(struct mtk_ddp_comp *comp) in mtk_ddp_comp_power_on() argument
105 if (comp->funcs && comp->funcs->power_on) in mtk_ddp_comp_power_on()
106 return comp->funcs->power_on(comp->dev); in mtk_ddp_comp_power_on()
108 return pm_runtime_resume_and_get(comp->dev); in mtk_ddp_comp_power_on()
112 static inline void mtk_ddp_comp_power_off(struct mtk_ddp_comp *comp) in mtk_ddp_comp_power_off() argument
114 if (comp->funcs && comp->funcs->power_off) in mtk_ddp_comp_power_off()
115 comp->funcs->power_off(comp->dev); in mtk_ddp_comp_power_off()
117 pm_runtime_put(comp->dev); in mtk_ddp_comp_power_off()
120 static inline int mtk_ddp_comp_clk_enable(struct mtk_ddp_comp *comp) in mtk_ddp_comp_clk_enable() argument
122 if (comp->funcs && comp->funcs->clk_enable) in mtk_ddp_comp_clk_enable()
[all …]
H A Dmtk_crtc.c144 struct mtk_ddp_comp *comp; in mtk_crtc_destroy() local
146 comp = mtk_crtc->ddp_comp[i]; in mtk_crtc_destroy()
147 mtk_ddp_comp_unregister_vblank_cb(comp); in mtk_crtc_destroy()
259 struct mtk_ddp_comp *comp; in mtk_ddp_comp_for_plane()
264 comp = mtk_crtc->ddp_comp[i]; in mtk_ddp_comp_for_plane()
265 if (local_index < (count + mtk_ddp_comp_layer_nr(comp))) { in mtk_ddp_comp_for_plane()
267 return comp; in mtk_ddp_comp_for_plane()
269 count += mtk_ddp_comp_layer_nr(comp); in mtk_ddp_comp_for_plane()
405 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[i]; in mtk_crtc_ddp_hw_init()
408 mtk_ddp_comp_bgclr_in_on(comp); in mtk_crtc_ddp_hw_init()
261 struct mtk_ddp_comp *comp; mtk_ddp_comp_for_plane() local
407 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[i]; mtk_crtc_ddp_hw_init() local
420 struct mtk_ddp_comp *comp; mtk_crtc_ddp_hw_init() local
490 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; mtk_crtc_ddp_config() local
669 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; mtk_crtc_enable_vblank() local
679 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; mtk_crtc_disable_vblank() local
709 struct mtk_ddp_comp *comp = &priv->ddp_comp[comp_id]; mtk_crtc_update_output() local
725 struct mtk_ddp_comp *comp; mtk_crtc_plane_check() local
781 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; mtk_crtc_atomic_enable() local
809 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; mtk_crtc_atomic_disable() local
936 struct mtk_ddp_comp *comp; mtk_crtc_num_comp_planes() local
969 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[comp_idx]; mtk_crtc_init_comp_planes() local
1031 struct mtk_ddp_comp *comp; mtk_crtc_create() local
1070 struct mtk_ddp_comp *comp; mtk_crtc_create() local
1167 struct mtk_ddp_comp *comp = &priv->ddp_comp[comp_id]; mtk_crtc_create() local
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddevcom.c48 struct mlx5_devcom_comp *comp; member
123 struct mlx5_devcom_comp *comp; in mlx5_devcom_comp_alloc() local
125 comp = kzalloc_obj(*comp); in mlx5_devcom_comp_alloc()
126 if (!comp) in mlx5_devcom_comp_alloc()
129 comp->id = id; in mlx5_devcom_comp_alloc()
130 comp->key.key = attr->key; in mlx5_devcom_comp_alloc()
131 comp->key.flags = attr->flags; in mlx5_devcom_comp_alloc()
133 write_pnet(&comp->key.net, attr->net); in mlx5_devcom_comp_alloc()
134 comp in mlx5_devcom_comp_alloc()
147 struct mlx5_devcom_comp *comp = container_of(ref, struct mlx5_devcom_comp, ref); mlx5_devcom_comp_release() local
158 devcom_alloc_comp_dev(struct mlx5_devcom_dev * devc,struct mlx5_devcom_comp * comp,void * data) devcom_alloc_comp_dev() argument
183 struct mlx5_devcom_comp *comp = devcom->comp; devcom_free_comp_dev() local
222 struct mlx5_devcom_comp *comp; devcom_component_get() local
248 struct mlx5_devcom_comp *comp; mlx5_devcom_register_component() local
288 struct mlx5_devcom_comp *comp = devcom->comp; mlx5_devcom_comp_get_size() local
298 struct mlx5_devcom_comp *comp; mlx5_devcom_locked_send_event() local
341 struct mlx5_devcom_comp *comp; mlx5_devcom_send_event() local
372 struct mlx5_devcom_comp *comp; mlx5_devcom_for_each_peer_begin() local
395 struct mlx5_devcom_comp *comp = devcom->comp; mlx5_devcom_get_next_peer_data() local
419 struct mlx5_devcom_comp *comp = devcom->comp; mlx5_devcom_get_next_peer_data_rcu() local
[all...]
/linux/sound/soc/codecs/
H A Dwcd-clsh-v2.c19 struct snd_soc_component *comp; member
122 struct snd_soc_component *comp = ctrl->comp; in wcd_enable_clsh_block() local
126 snd_soc_component_update_bits(comp, WCD9XXX_A_CDC_CLSH_CRC, in wcd_enable_clsh_block()
133 static inline void wcd_clsh_set_buck_mode(struct snd_soc_component *comp, in wcd_clsh_set_buck_mode() argument
138 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_buck_mode()
142 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_buck_mode()
161 static inline void wcd_clsh_set_flyback_mode(struct snd_soc_component *comp, in wcd_clsh_set_flyback_mode() argument
166 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_flyback_mode()
170 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIE in wcd_clsh_set_flyback_mode()
179 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_buck_ctrl() local
228 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_flyback_ctrl() local
248 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_set_gain_path() local
273 wcd_clsh_v2_set_hph_mode(struct snd_soc_component * comp,int mode) wcd_clsh_v2_set_hph_mode() argument
350 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_set_hph_mode() local
360 wcd_clsh_set_flyback_current(struct snd_soc_component * comp,int mode) wcd_clsh_set_flyback_current() argument
372 wcd_clsh_set_buck_regulator_mode(struct snd_soc_component * comp,int mode) wcd_clsh_set_buck_regulator_mode() argument
512 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_state_lo() local
571 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_state_hph_r() local
661 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_state_hph_l() local
745 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_state_ear() local
849 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_ctrl_set_state() local
881 wcd_clsh_ctrl_alloc(struct snd_soc_component * comp,int version) wcd_clsh_ctrl_alloc() argument
[all...]
H A Dwcd9335.c1646 struct snd_soc_component *comp = dai->component; in wcd9335_set_prim_interpolator_rate()
1647 struct wcd9335_codec *wcd = dev_get_drvdata(comp->dev); in wcd9335_set_prim_interpolator_rate()
1660 cfg0 = snd_soc_component_read(comp, in wcd9335_set_prim_interpolator_rate()
1662 cfg1 = snd_soc_component_read(comp, in wcd9335_set_prim_interpolator_rate()
1679 snd_soc_component_update_bits(comp, in wcd9335_set_prim_interpolator_rate()
1797 struct snd_soc_component *comp = dai->component; in wcd9335_set_decimator_rate()
1798 struct wcd9335_codec *wcd = snd_soc_component_get_drvdata(comp); in wcd9335_set_decimator_rate()
1834 tx_mux_sel = snd_soc_component_read(comp, tx_port_reg) & in wcd9335_set_decimator_rate()
1853 snd_soc_component_update_bits(comp, in wcd9335_set_decimator_rate()
2185 int comp in wcd9335_get_compander()
1642 struct snd_soc_component *comp = dai->component; wcd9335_set_prim_interpolator_rate() local
1793 struct snd_soc_component *comp = dai->component; wcd9335_set_decimator_rate() local
2181 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; wcd9335_get_compander() local
2193 int comp = ((struct soc_mixer_control *) kc->private_value)->shift; wcd9335_set_compander() local
2570 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); __wcd9335_codec_enable_micbias() local
2611 wcd9335_codec_set_tx_hold(struct snd_soc_component * comp,u16 amic_reg,bool set) wcd9335_codec_set_tx_hold() argument
2649 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_adc() local
2662 wcd9335_codec_find_amic_input(struct snd_soc_component * comp,int adc_mux_n) wcd9335_codec_find_amic_input() argument
2688 wcd9335_codec_get_amic_pwlvl_reg(struct snd_soc_component * comp,int amic) wcd9335_codec_get_amic_pwlvl_reg() argument
2719 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_dec() local
2860 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_dmic() local
2963 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_slim() local
2983 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_mix_path() local
3129 wcd9335_codec_enable_prim_interpolator(struct snd_soc_component * comp,u16 reg,int event) wcd9335_codec_enable_prim_interpolator() argument
3180 int comp; wcd9335_config_compander() local
3240 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_interpolator() local
3333 wcd9335_codec_hph_lohifi_config(struct snd_soc_component * comp,int event) wcd9335_codec_hph_lohifi_config() argument
3370 wcd9335_codec_hph_lp_config(struct snd_soc_component * comp,int event) wcd9335_codec_hph_lp_config() argument
3428 wcd9335_codec_hph_hifi_config(struct snd_soc_component * comp,int event) wcd9335_codec_hph_hifi_config() argument
3474 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_hphl_dac_event() local
3523 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_lineout_dac_event() local
3543 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_ear_dac_event() local
3625 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_hphr_dac_event() local
3674 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_hphl_pa() local
3722 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_lineout_pa() local
3793 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_rx_bias() local
3823 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_hphr_pa() local
3869 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_ear_pa() local
4029 struct snd_soc_component *comp = wcd->component; wcd9335_cdc_sido_ccl_enable() local
4192 struct snd_soc_component *comp = wcd->component; wcd9335_codec_apply_sido_voltage() local
4258 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_mclk() local
4742 wcd9335_enable_efuse_sensing(struct snd_soc_component * comp) wcd9335_enable_efuse_sensing() argument
4820 wcd9335_codec_remove(struct snd_soc_component * comp) wcd9335_codec_remove() argument
4828 wcd9335_codec_set_sysclk(struct snd_soc_component * comp,int clk_id,int source,unsigned int freq,int dir) wcd9335_codec_set_sysclk() argument
[all...]
H A Dwcd934x.c1377 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); in __wcd934x_cdc_mclk_enable()
1378 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev);
1484 struct snd_soc_component *comp = dai->component; in wcd934x_swrm_clock()
1485 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev);
1502 cfg0 = snd_soc_component_read(comp, in wcd934x_set_prim_interpolator_rate()
1504 cfg1 = snd_soc_component_read(comp, in wcd934x_set_prim_interpolator_rate()
1527 snd_soc_component_update_bits(comp, in wcd934x_set_prim_interpolator_rate()
1610 struct snd_soc_component *comp = dai->component; in wcd934x_set_interpolator_rate()
1611 struct wcd934x_codec *wcd = snd_soc_component_get_drvdata(comp);
1652 tx_mux_sel = snd_soc_component_read(comp, tx_port_re in wcd934x_set_decimator_rate()
1382 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_mclk() local
1489 struct snd_soc_component *comp = dai->component; wcd934x_set_prim_interpolator_rate() local
1615 struct snd_soc_component *comp = dai->component; wcd934x_set_decimator_rate() local
2169 wcd934x_init_dmic(struct snd_soc_component * comp) wcd934x_init_dmic() argument
3028 wcd934x_comp_remove(struct snd_soc_component * comp) wcd934x_comp_remove() argument
3036 wcd934x_comp_set_sysclk(struct snd_soc_component * comp,int clk_id,int source,unsigned int freq,int dir) wcd934x_comp_set_sysclk() argument
3169 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; wcd934x_compander_get() local
3182 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; wcd934x_compander_set() local
3387 struct snd_soc_component *comp; wcd934x_dec_enum_put() local
4114 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_slim() local
4165 wcd934x_codec_hphdelay_lutbypass(struct snd_soc_component * comp,u16 interp_idx,int event) wcd934x_codec_hphdelay_lutbypass() argument
4201 wcd934x_config_compander(struct snd_soc_component * comp,int interp_n,int event) wcd934x_config_compander() argument
4261 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_interp_clk() local
4302 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_mix_path() local
4333 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_set_iir_gain() local
4368 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_main_path() local
4387 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_ear_dac_event() local
4413 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_hphl_dac_event() local
4465 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_hphr_dac_event() local
4514 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_lineout_dac_event() local
4535 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_hphl_pa() local
4599 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_hphr_pa() local
4660 wcd934x_get_dmic_sample_rate(struct snd_soc_component * comp,unsigned int dmic,struct wcd934x_codec * wcd) wcd934x_get_dmic_sample_rate() argument
4706 wcd934x_get_dmic_clk_val(struct snd_soc_component * comp,u32 mclk_rate,u32 dmic_clk_rate) wcd934x_get_dmic_clk_val() argument
4759 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_dmic() local
4833 wcd934x_codec_find_amic_input(struct snd_soc_component * comp,int adc_mux_n) wcd934x_codec_find_amic_input() argument
4900 wcd934x_codec_get_amic_pwlvl_reg(struct snd_soc_component * comp,int amic) wcd934x_codec_get_amic_pwlvl_reg() argument
4925 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_dec() local
5056 wcd934x_codec_set_tx_hold(struct snd_soc_component * comp,u16 amic_reg,bool set) wcd934x_codec_set_tx_hold() argument
5087 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_adc() local
5765 wcd934x_codec_set_jack(struct snd_soc_component * comp,struct snd_soc_jack * jack,void * data) wcd934x_codec_set_jack() argument
[all...]
H A Dpcm3060.c19 struct snd_soc_component *comp = dai->component; in pcm3060_set_sysclk() local
20 struct pcm3060_priv *priv = snd_soc_component_get_drvdata(comp); in pcm3060_set_sysclk()
25 dev_err(comp->dev, "unsupported sysclock dir: %d\n", dir); in pcm3060_set_sysclk()
43 dev_err(comp->dev, "unsupported sysclock id: %d\n", clk_id); in pcm3060_set_sysclk()
61 struct snd_soc_component *comp = dai->component; in pcm3060_set_fmt() local
62 struct pcm3060_priv *priv = snd_soc_component_get_drvdata(comp); in pcm3060_set_fmt()
67 dev_err(comp->dev, "unsupported DAI polarity: 0x%x\n", fmt); in pcm3060_set_fmt()
79 dev_err(comp->dev, "unsupported DAI mode: 0x%x\n", fmt); in pcm3060_set_fmt()
94 dev_err(comp->dev, "unsupported DAI format: 0x%x\n", fmt); in pcm3060_set_fmt()
112 struct snd_soc_component *comp in pcm3060_hw_params() local
[all...]
/linux/Documentation/devicetree/bindings/infiniband/
H A Dhisilicon-hns-roce.txt
/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_comp.c14 void mtk_mdp_comp_clock_on(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_on() argument
18 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_on()
19 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_on()
21 err = clk_prepare_enable(comp->clk[i]); in mtk_mdp_comp_clock_on()
25 err, comp->type, i); in mtk_mdp_comp_clock_on()
29 void mtk_mdp_comp_clock_off(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_off() argument
33 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_off()
34 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_off()
36 clk_disable_unprepare(comp->clk[i]); in mtk_mdp_comp_clock_off()
41 struct mtk_mdp_comp *comp, in mtk_mdp_comp_init() argument
[all …]
/linux/drivers/dpll/zl3073x/
H A Dfw.c130 struct zl3073x_fw_component *comp; in zl3073x_fw_component_alloc() local
132 comp = kzalloc_obj(*comp); in zl3073x_fw_component_alloc()
133 if (!comp) in zl3073x_fw_component_alloc()
136 comp->size = size; in zl3073x_fw_component_alloc()
137 comp->data = kzalloc(size, GFP_KERNEL); in zl3073x_fw_component_alloc()
138 if (!comp->data) { in zl3073x_fw_component_alloc()
139 kfree(comp); in zl3073x_fw_component_alloc()
143 return comp; in zl3073x_fw_component_alloc()
151 zl3073x_fw_component_free(struct zl3073x_fw_component *comp) in zl3073x_fw_component_free() argument
153 if (comp) in zl3073x_fw_component_free()
[all …]
/linux/drivers/counter/
H A Dcounter-sysfs.c31 * @comp: Counter component callbacks and data
39 struct counter_comp comp; member
115 err = a->comp.device_u8_read(counter, &data); in counter_comp_u8_show()
118 err = a->comp.signal_u8_read(counter, a->parent, &data); in counter_comp_u8_show()
121 err = a->comp.count_u8_read(counter, a->parent, &data); in counter_comp_u8_show()
129 if (a->comp.type == COUNTER_COMP_BOOL) in counter_comp_u8_show()
146 if (a->comp.type == COUNTER_COMP_BOOL) { in counter_comp_u8_store()
156 err = a->comp.device_u8_write(counter, data); in counter_comp_u8_store()
159 err = a->comp.signal_u8_write(counter, a->parent, data); in counter_comp_u8_store()
162 err = a->comp in counter_comp_u8_store()
534 counter_avail_attr_create(struct device * const dev,struct counter_attribute_group * const group,const struct counter_comp * const comp,void * const parent) counter_avail_attr_create() argument
569 counter_attr_create(struct device * const dev,struct counter_attribute_group * const group,const struct counter_comp * const comp,const enum counter_scope scope,void * const parent) counter_attr_create() argument
765 counter_array_attrs_create(struct device * const dev,struct counter_attribute_group * const group,const struct counter_comp * const comp,const enum counter_scope scope,void * const parent,const size_t id) counter_array_attrs_create() argument
847 struct counter_comp comp; counter_signal_attrs_create() local
901 struct counter_comp comp; counter_sysfs_synapses_add() local
947 struct counter_comp comp; counter_count_attrs_create() local
[all...]
H A Dcounter-chrdev.c29 struct counter_comp comp; member
49 #define counter_comp_read_is_set(comp) \ argument
50 (comp.action_read || \
51 comp.device_u8_read || \
52 comp.count_u8_read || \
53 comp.signal_u8_read || \
54 comp.device_u32_read || \
55 comp.count_u32_read || \
56 comp.signal_u32_read || \
57 comp.device_u64_read || \
[all …]
/linux/sound/hda/codecs/side-codecs/
H A Dhda_component.c21 struct hda_component *comp; in hda_component_acpi_device_notify() local
26 comp = hda_component_from_index(parent, i); in hda_component_acpi_device_notify()
27 if (comp->dev && comp->acpi_notify) in hda_component_acpi_device_notify()
28 comp->acpi_notify(acpi_device_handle(comp->adev), event, comp->dev); in hda_component_acpi_device_notify()
39 struct hda_component *comp; in hda_component_manager_bind_acpi_notifications() local
48 comp = hda_component_from_index(parent, i); in hda_component_manager_bind_acpi_notifications()
50 comp in hda_component_manager_bind_acpi_notifications()
88 struct hda_component *comp; hda_component_manager_playback_hook() local
[all...]
/linux/sound/soc/intel/avs/
H A Dtopology.c127 int (*parse)(struct snd_soc_component *comp, void *elem, void *object, u32 offset);
131 avs_parse_uuid_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_uuid_token() argument
142 avs_parse_bool_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_bool_token() argument
153 avs_parse_byte_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_byte_token() argument
164 avs_parse_short_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_short_token() argument
175 avs_parse_word_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_word_token() argument
186 avs_parse_string_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_string_token() argument
196 static int avs_parse_uuid_tokens(struct snd_soc_component *comp, void *object, in avs_parse_uuid_tokens() argument
213 ret = parsers[j].parse(comp, tuple, object, parsers[j].offset); in avs_parse_uuid_tokens()
222 static int avs_parse_string_tokens(struct snd_soc_component *comp, voi argument
248 avs_parse_word_tokens(struct snd_soc_component * comp,void * object,const struct avs_tplg_token_parser * parsers,int count,struct snd_soc_tplg_vendor_array * tuples) avs_parse_word_tokens() argument
279 avs_parse_tokens(struct snd_soc_component * comp,void * object,const struct avs_tplg_token_parser * parsers,size_t count,struct snd_soc_tplg_vendor_array * tuples,int priv_size) avs_parse_tokens() argument
357 parse_audio_format_bitfield(struct snd_soc_component * comp,void * elem,void * object,u32 offset) parse_audio_format_bitfield() argument
399 parse_link_formatted_string(struct snd_soc_component * comp,void * elem,void * object,u32 offset) parse_link_formatted_string() argument
425 avs_parse_nhlt_config_size(struct snd_soc_component * comp,void * elem,void * object,u32 offset) avs_parse_nhlt_config_size() argument
442 parse_dictionary_header(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,void ** dict,u32 * num_entries,size_t entry_size,u32 num_entries_token) parse_dictionary_header() argument
466 parse_dictionary_entries(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size,void * dict,u32 num_entries,size_t entry_size,u32 entry_id_token,const struct avs_tplg_token_parser * parsers,size_t num_parsers) parse_dictionary_entries() argument
499 parse_dictionary(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size,void ** dict,u32 * num_entries,size_t entry_size,u32 num_entries_token,u32 entry_id_token,const struct avs_tplg_token_parser * parsers,size_t num_parsers) parse_dictionary() argument
530 avs_tplg_parse_libraries(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_libraries() argument
594 avs_tplg_parse_audio_formats(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_audio_formats() argument
635 avs_tplg_parse_modcfgs_base(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_modcfgs_base() argument
920 assign_copier_gtw_instance(struct snd_soc_component * comp,struct avs_tplg_modcfg_ext * cfg) assign_copier_gtw_instance() argument
955 avs_tplg_parse_modcfg_ext(struct snd_soc_component * comp,struct avs_tplg_modcfg_ext * cfg,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_modcfg_ext() argument
1005 avs_tplg_parse_modcfgs_ext(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_modcfgs_ext() argument
1077 avs_tplg_parse_pplcfgs(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_pplcfgs() argument
1142 avs_tplg_parse_bindings(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_bindings() argument
1222 avs_tplg_module_init_configs(struct snd_soc_component * comp,struct avs_tplg_module * module,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_module_init_configs() argument
1245 avs_tplg_module_create(struct snd_soc_component * comp,struct avs_tplg_pipeline * owner,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_module_create() argument
1314 avs_tplg_pipeline_create(struct snd_soc_component * comp,struct avs_tplg_path * owner,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_pipeline_create() argument
1442 avs_tplg_path_create(struct snd_soc_component * comp,struct avs_tplg_path_template * owner,struct snd_soc_tplg_vendor_array * tuples,u32 block_size,const struct avs_tplg_token_parser * parsers,u32 num_parsers) avs_tplg_path_create() argument
1541 parse_path_template(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size,struct avs_tplg_path_template * template,const struct avs_tplg_token_parser * tmpl_tokens,u32 num_tmpl_tokens,const struct avs_tplg_token_parser * path_tokens,u32 num_path_tokens) parse_path_template() argument
1588 avs_tplg_path_template_create(struct snd_soc_component * comp,struct avs_tplg * owner,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_path_template_create() argument
1611 avs_tplg_parse_condpath_templates(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_condpath_templates() argument
1682 avs_tplg_parse_initial_configs(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size,u32 * offset) avs_tplg_parse_initial_configs() argument
1757 avs_tplg_parse_nhlt_configs(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_nhlt_configs() argument
1806 avs_route_load(struct snd_soc_component * comp,int index,struct snd_soc_dapm_route * route) avs_route_load() argument
1846 avs_widget_load(struct snd_soc_component * comp,int index,struct snd_soc_dapm_widget * w,struct snd_soc_tplg_dapm_widget * dw) avs_widget_load() argument
1903 avs_widget_ready(struct snd_soc_component * comp,int index,struct snd_soc_dapm_widget * w,struct snd_soc_tplg_dapm_widget * dw) avs_widget_ready() argument
1913 avs_dai_load(struct snd_soc_component * comp,int index,struct snd_soc_dai_driver * dai_drv,struct snd_soc_tplg_pcm * pcm,struct snd_soc_dai * dai) avs_dai_load() argument
1930 avs_link_load(struct snd_soc_component * comp,int index,struct snd_soc_dai_link * link,struct snd_soc_tplg_link_config * cfg) avs_link_load() argument
1968 avs_manifest(struct snd_soc_component * comp,int index,struct snd_soc_tplg_manifest * manifest) avs_manifest() argument
2162 avs_control_load(struct snd_soc_component * comp,int index,struct snd_kcontrol_new * ctmpl,struct snd_soc_tplg_ctl_hdr * hdr) avs_control_load() argument
2216 avs_tplg_new(struct snd_soc_component * comp) avs_tplg_new() argument
2230 avs_load_topology(struct snd_soc_component * comp,const char * filename) avs_load_topology() argument
2248 avs_remove_topology(struct snd_soc_component * comp) avs_remove_topology() argument
[all...]
/linux/drivers/most/
H A Dcore.c33 struct most_component *comp; member
450 struct most_component *comp; in match_component() local
452 list_for_each_entry(comp, &comp_list, list) { in match_component()
453 if (!strcmp(comp->name, name)) in match_component()
454 return comp; in match_component()
473 if (c->pipe0.comp) { in print_links()
477 c->pipe0.comp->name, in print_links()
481 if (c->pipe1.comp) { in print_links()
485 c->pipe1.comp->name, in print_links()
517 struct most_component *comp; in components_show() local
[all …]
H A Dmost_cdev.c31 } comp; variable
55 return channel_has_mbo(c->iface, c->channel_id, &comp.cc) > 0; in ch_has_mbo()
61 *mbo = most_get_mbo(c->iface, c->channel_id, &comp.cc); in ch_get_mbo()
90 most_stop_channel(c->iface, c->channel_id, &comp.cc); in stop_channel()
106 ida_free(&comp.minor_id, MINOR(c->devno)); in destroy_channel()
146 ret = most_start_channel(c->iface, c->channel_id, &comp.cc); in comp_open()
431 current_minor = ida_alloc(&comp.minor_id, GFP_KERNEL); in comp_probe()
441 c->devno = MKDEV(comp.major, current_minor); in comp_probe()
478 ida_free(&comp.minor_id, current_minor); in comp_probe()
482 static struct cdev_component comp = { variable
[all …]
/linux/drivers/net/ethernet/amd/pds_core/
H A Dadminq.c10 union pds_core_notifyq_comp *comp; in pdsc_process_notifyq() local
18 comp = cq_info->comp; in pdsc_process_notifyq()
19 eid = le64_to_cpu(comp->event.eid); in pdsc_process_notifyq()
27 ecode = le16_to_cpu(comp->event.ecode); in pdsc_process_notifyq()
33 pdsc_notify(PDS_EVENT_LINK_CHANGE, comp); in pdsc_process_notifyq()
39 pdsc_notify(PDS_EVENT_RESET, comp); in pdsc_process_notifyq()
56 comp = cq_info->comp; in pdsc_process_notifyq()
57 eid = le64_to_cpu(comp->event.eid); in pdsc_process_notifyq()
78 union pds_core_adminq_comp *comp; in pdsc_process_adminq() local
108 comp = cq->info[cq->tail_idx].comp; in pdsc_process_adminq()
[all …]
H A Ddev.c89 return ioread8(&pdsc->cmd_regs->comp.status); in pdsc_devcmd_status()
192 union pds_core_dev_comp *comp, int max_seconds, in __pdsc_devcmd_locked() argument
207 memcpy_fromio(comp, &pdsc->cmd_regs->comp, sizeof(*comp)); in __pdsc_devcmd_locked()
248 union pds_core_dev_comp *comp, int max_seconds) in pdsc_devcmd_locked() argument
250 return __pdsc_devcmd_locked(pdsc, cmd, comp, max_seconds, true); in pdsc_devcmd_locked()
254 union pds_core_dev_comp *comp, int max_seconds) in pdsc_devcmd_locked_nomsg() argument
256 return __pdsc_devcmd_locked(pdsc, cmd, comp, max_seconds, false); in pdsc_devcmd_locked_nomsg()
260 union pds_core_dev_comp *comp, int max_seconds) in pdsc_devcmd() argument
265 err = pdsc_devcmd_locked(pdsc, cmd, comp, max_seconds); in pdsc_devcmd()
274 union pds_core_dev_comp *comp, in __pdsc_devcmd_with_data() argument
[all …]
/linux/drivers/vdpa/pds/
H A Dcmds.c25 union pds_core_adminq_comp comp = {}; in pds_vdpa_init_hw() local
30 &comp, 0); in pds_vdpa_init_hw()
33 comp.status, ERR_PTR(err)); in pds_vdpa_init_hw()
47 union pds_core_adminq_comp comp = {}; in pds_vdpa_cmd_reset() local
50 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa), &comp, 0); in pds_vdpa_cmd_reset()
53 comp.status, ERR_PTR(err)); in pds_vdpa_cmd_reset()
68 union pds_core_adminq_comp comp = {}; in pds_vdpa_cmd_set_status() local
71 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa_status), &comp, 0); in pds_vdpa_cmd_set_status()
74 status, comp.status, ERR_PTR(err)); in pds_vdpa_cmd_set_status()
89 union pds_core_adminq_comp comp = {}; in pds_vdpa_cmd_set_mac() local
[all …]
/linux/drivers/gpu/drm/omapdrm/dss/
H A Dbase.c190 struct omapdss_comp_node *comp; in omapdss_list_contains() local
192 list_for_each_entry(comp, &omapdss_comp_list, list) { in omapdss_list_contains()
193 if (comp->node == node) in omapdss_list_contains()
203 struct omapdss_comp_node *comp; in omapdss_walk_device() local
212 comp = devm_kzalloc_obj(dev, *comp); in omapdss_walk_device()
213 if (comp) { in omapdss_walk_device()
214 comp->node = node; in omapdss_walk_device()
215 comp->dss_core_component = dss_core; in omapdss_walk_device()
216 comp in omapdss_walk_device()
259 omapdss_component_is_loaded(struct omapdss_comp_node * comp) omapdss_component_is_loaded() argument
273 struct omapdss_comp_node *comp; omapdss_stack_is_ready() local
[all...]
/linux/drivers/vfio/pci/pds/
H A Dcmds.c99 union pds_core_adminq_comp comp = {}; in pds_vfio_suspend_wait_device_cmd() local
108 err = pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, true); in pds_vfio_suspend_wait_device_cmd()
139 union pds_core_adminq_comp comp = {}; in pds_vfio_suspend_device_cmd() local
149 err = pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, true); in pds_vfio_suspend_device_cmd()
173 union pds_core_adminq_comp comp = {}; in pds_vfio_resume_device_cmd() local
177 return pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, true); in pds_vfio_resume_device_cmd()
189 union pds_core_adminq_comp comp = {}; in pds_vfio_get_lm_state_size_cmd() local
194 err = pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, false); in pds_vfio_get_lm_state_size_cmd()
198 *size = le64_to_cpu(comp.lm_state_size.size); in pds_vfio_get_lm_state_size_cmd()
291 union pds_core_adminq_comp comp = {}; in pds_vfio_get_lm_state_cmd() local
[all …]
/linux/drivers/clk/ti/
H A Dcomposite.c83 struct component_clk *comp; in _lookup_component() local
85 list_for_each_entry(comp, &component_clks, link) { in _lookup_component()
86 if (comp->node == node) in _lookup_component()
87 return comp; in _lookup_component()
117 struct component_clk *comp; in _register_composite() local
129 comp = _lookup_component(cclk->comp_nodes[i]); in _register_composite()
130 if (!comp) { in _register_composite()
139 if (cclk->comp_clks[comp->type] != NULL) { in _register_composite()
141 node, component_clk_types[comp->type]); in _register_composite()
145 cclk->comp_clks[comp->type] = comp; in _register_composite()
[all …]
/linux/sound/soc/tegra/
H A Dtegra210_dmic.c162 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); in tegra210_dmic_get_boost_gain() local
163 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_get_boost_gain()
173 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); in tegra210_dmic_put_boost_gain() local
174 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_put_boost_gain()
188 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); in tegra210_dmic_get_ch_select() local
189 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_get_ch_select()
199 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); in tegra210_dmic_put_ch_select() local
200 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_put_ch_select()
214 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); in tegra210_dmic_get_mono_to_stereo() local
215 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_get_mono_to_stereo()
225 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); tegra210_dmic_put_mono_to_stereo() local
240 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); tegra210_dmic_get_stereo_to_mono() local
251 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); tegra210_dmic_put_stereo_to_mono() local
266 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); tegra210_dmic_get_osr_val() local
277 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); tegra210_dmic_put_osr_val() local
292 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); tegra210_dmic_get_pol_sel() local
303 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); tegra210_dmic_put_pol_sel() local
[all...]
/linux/fs/jffs2/
H A Dcompr.c301 int jffs2_register_compressor(struct jffs2_compressor *comp) in jffs2_register_compressor() argument
305 if (!comp->name) { in jffs2_register_compressor()
309 comp->compr_buf_size=0; in jffs2_register_compressor()
310 comp->compr_buf=NULL; in jffs2_register_compressor()
311 comp->usecount=0; in jffs2_register_compressor()
312 comp->stat_compr_orig_size=0; in jffs2_register_compressor()
313 comp->stat_compr_new_size=0; in jffs2_register_compressor()
314 comp->stat_compr_blocks=0; in jffs2_register_compressor()
315 comp->stat_decompr_blocks=0; in jffs2_register_compressor()
316 jffs2_dbg(1, "Registering JFFS2 compressor \"%s\"\n", comp->name); in jffs2_register_compressor()
[all …]
/linux/drivers/resctrl/
H A Dmpam_devices.c530 struct mpam_component *comp; in mpam_component_alloc() local
534 comp = kzalloc_obj(*comp); in mpam_component_alloc()
535 if (!comp) in mpam_component_alloc()
537 init_garbage(&comp->garbage); in mpam_component_alloc()
539 comp->comp_id = id; in mpam_component_alloc()
540 INIT_LIST_HEAD_RCU(&comp->vmsc); in mpam_component_alloc()
542 INIT_LIST_HEAD_RCU(&comp->class_list); in mpam_component_alloc()
543 comp->class = class; in mpam_component_alloc()
545 list_add_rcu(&comp in mpam_component_alloc()
552 mpam_component_destroy(struct mpam_component * comp) mpam_component_destroy() argument
570 struct mpam_component *comp; mpam_component_find() local
583 mpam_vmsc_alloc(struct mpam_component * comp,struct mpam_msc * msc) mpam_vmsc_alloc() argument
606 struct mpam_component *comp = vmsc->comp; mpam_vmsc_destroy() local
618 mpam_vmsc_find(struct mpam_component * comp,struct mpam_msc * msc) mpam_vmsc_find() argument
659 mpam_ris_get_affinity(struct mpam_msc * msc,cpumask_t * affinity,enum mpam_class_types type,struct mpam_class * class,struct mpam_component * comp) mpam_ris_get_affinity() argument
698 struct mpam_component *comp; mpam_ris_create_locked() local
757 struct mpam_component *comp = vmsc->comp; mpam_ris_destroy() local
1609 _msmon_read(struct mpam_component * comp,struct mon_read * arg) _msmon_read() argument
1660 mpam_msmon_read(struct mpam_component * comp,struct mon_cfg * ctx,enum mpam_device_features type,u64 * val) mpam_msmon_read() argument
1709 mpam_msmon_reset_mbwu(struct mpam_component * comp,struct mon_cfg * ctx) mpam_msmon_reset_mbwu() argument
2153 struct mpam_component *comp; global() member
2802 struct mpam_component *comp; mpam_enable_init_class_features() local
2812 mpam_enable_merge_vmsc_features(struct mpam_component * comp) mpam_enable_merge_vmsc_features() argument
2827 mpam_enable_merge_class_features(struct mpam_component * comp) mpam_enable_merge_class_features() argument
2855 struct mpam_component *comp; mpam_enable_merge_features() local
3076 __destroy_component_cfg(struct mpam_component * comp) __destroy_component_cfg() argument
3101 mpam_reset_component_cfg(struct mpam_component * comp) mpam_reset_component_cfg() argument
3122 __allocate_component_cfg(struct mpam_component * comp) __allocate_component_cfg() argument
3178 struct mpam_component *comp; mpam_allocate_config() local
3252 mpam_reset_component_locked(struct mpam_component * comp) mpam_reset_component_locked() argument
3284 struct mpam_component *comp; mpam_reset_class_locked() local
3414 mpam_apply_config(struct mpam_component * comp,u16 partid,struct mpam_config * cfg) mpam_apply_config() argument
[all...]

12345678910>>...14