Home
last modified time | relevance | path

Searched full:ctl (Results 1 – 25 of 1090) sorted by relevance

12345678910>>...44

/openbmc/linux/drivers/net/wwan/t7xx/
H A Dt7xx_state_monitor.c52 struct t7xx_fsm_ctl *ctl = md->fsm_ctl; in t7xx_fsm_notifier_register() local
55 spin_lock_irqsave(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_register()
56 list_add_tail(&notifier->entry, &ctl->notifier_list); in t7xx_fsm_notifier_register()
57 spin_unlock_irqrestore(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_register()
63 struct t7xx_fsm_ctl *ctl = md->fsm_ctl; in t7xx_fsm_notifier_unregister() local
66 spin_lock_irqsave(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_unregister()
67 list_for_each_entry_safe(notifier_cur, notifier_next, &ctl->notifier_list, entry) { in t7xx_fsm_notifier_unregister()
71 spin_unlock_irqrestore(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_unregister()
76 struct t7xx_fsm_ctl *ctl = md->fsm_ctl; in fsm_state_notify() local
80 spin_lock_irqsave(&ctl->notifier_lock, flags); in fsm_state_notify()
[all …]
/openbmc/linux/tools/testing/selftests/alsa/
H A Dmixer-test.c62 int card, ctl, err; in find_controls() local
112 for (ctl = 0; ctl < card_data->num_ctls; ctl++) { in find_controls()
119 ctl_data->elem = ctl; in find_controls()
121 ctl); in find_controls()
135 snd_ctl_elem_list_get_id(card_data->ctls, ctl, in find_controls()
187 static int wait_for_event(struct ctl_data *ctl, int timeout) in wait_for_event() argument
198 err = poll(&(ctl->card->pollfd), 1, timeout); in wait_for_event()
201 ctl->name, strerror(errno), errno); in wait_for_event()
208 err = snd_ctl_poll_descriptors_revents(ctl->card->handle, in wait_for_event()
209 &(ctl->card->pollfd), in wait_for_event()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_ctl.c10 * CTL - MDP Control Pool Manager
20 * In certain use cases (high-resolution dual pipe), one single CTL can be
32 /* CTL status bitmask */
44 /* when do CTL registers need to be flushed? (mask of trigger bits) */
49 /* True if the current CTL has FLUSH bits pending for single FLUSH. */
52 struct mdp5_ctl *pair; /* Paired CTL to be flushed together */
58 /* number of CTL / Layer Mixers in this hw config: */
83 void ctl_write(struct mdp5_ctl *ctl, u32 reg, u32 data) in ctl_write() argument
85 struct mdp5_kms *mdp5_kms = get_kms(ctl->ctlm); in ctl_write()
87 (void)ctl->reg_offset; /* TODO use this instead of mdp5_write */ in ctl_write()
[all …]
H A Dmdp5_ctl.h12 * CTL Manager prototypes:
13 * mdp5_ctlm_init() returns a ctlm (CTL Manager) handler,
23 * CTL prototypes:
24 * mdp5_ctl_request(ctlm, ...) returns a ctl (CTL resource) handler,
25 * which is then used to call the other mdp5_ctl_*(ctl, ...) functions.
29 int mdp5_ctl_get_ctl_id(struct mdp5_ctl *ctl);
33 int mdp5_ctl_set_pipeline(struct mdp5_ctl *ctl, struct mdp5_pipeline *p);
34 int mdp5_ctl_set_encoder_state(struct mdp5_ctl *ctl, struct mdp5_pipeline *p,
37 int mdp5_ctl_set_cursor(struct mdp5_ctl *ctl, struct mdp5_pipeline *pipeline,
51 * CTL registers need to be flushed after calling this function
[all …]
/openbmc/linux/sound/pci/ice1712/
H A Dwm8766.c147 memcpy(wm->ctl, snd_wm8766_default_ctl, sizeof(wm->ctl)); in snd_wm8766_init()
188 uinfo->count = (wm->ctl[n].flags & WM8766_FLAG_STEREO) ? 2 : 1; in snd_wm8766_volume_info()
189 uinfo->value.integer.min = wm->ctl[n].min; in snd_wm8766_volume_info()
190 uinfo->value.integer.max = wm->ctl[n].max; in snd_wm8766_volume_info()
201 return snd_ctl_enum_info(uinfo, 1, wm->ctl[n].max, in snd_wm8766_enum_info()
202 wm->ctl[n].enum_names); in snd_wm8766_enum_info()
212 if (wm->ctl[n].get) in snd_wm8766_ctl_get()
213 wm->ctl[n].get(wm, &val1, &val2); in snd_wm8766_ctl_get()
215 val1 = wm->regs[wm->ctl[n].reg1] & wm->ctl[n].mask1; in snd_wm8766_ctl_get()
216 val1 >>= __ffs(wm->ctl[n].mask1); in snd_wm8766_ctl_get()
[all …]
H A Dwm8776.c72 if (wm->ctl[i].flags & flags_off) in snd_wm8776_update_agc_ctl()
73 snd_wm8776_activate_ctl(wm, wm->ctl[i].name, false); in snd_wm8776_update_agc_ctl()
74 else if (wm->ctl[i].flags & flags_on) in snd_wm8776_update_agc_ctl()
75 snd_wm8776_activate_ctl(wm, wm->ctl[i].name, true); in snd_wm8776_update_agc_ctl()
420 memcpy(wm->ctl, snd_wm8776_default_ctl, sizeof(wm->ctl)); in snd_wm8776_init()
458 uinfo->count = (wm->ctl[n].flags & WM8776_FLAG_STEREO) ? 2 : 1; in snd_wm8776_volume_info()
459 uinfo->value.integer.min = wm->ctl[n].min; in snd_wm8776_volume_info()
460 uinfo->value.integer.max = wm->ctl[n].max; in snd_wm8776_volume_info()
471 return snd_ctl_enum_info(uinfo, 1, wm->ctl[n].max, in snd_wm8776_enum_info()
472 wm->ctl[n].enum_names); in snd_wm8776_enum_info()
[all …]
/openbmc/linux/drivers/thunderbolt/
H A Dctl.c16 #include "ctl.h"
53 #define tb_ctl_WARN(ctl, format, arg...) \ argument
54 dev_WARN(&(ctl)->nhi->pdev->dev, format, ## arg)
56 #define tb_ctl_err(ctl, format, arg...) \ argument
57 dev_err(&(ctl)->nhi->pdev->dev, format, ## arg)
59 #define tb_ctl_warn(ctl, format, arg...) \ argument
60 dev_warn(&(ctl)->nhi->pdev->dev, format, ## arg)
62 #define tb_ctl_info(ctl, format, arg...) \ argument
63 dev_info(&(ctl)->nhi->pdev->dev, format, ## arg)
65 #define tb_ctl_dbg(ctl, format, arg...) \ argument
[all …]
/openbmc/linux/drivers/irqchip/
H A Dirq-meson-gpio.c49 static void meson8_gpio_irq_sel_pin(struct meson_gpio_irq_controller *ctl,
51 static void meson_gpio_irq_init_dummy(struct meson_gpio_irq_controller *ctl);
52 static void meson_a1_gpio_irq_sel_pin(struct meson_gpio_irq_controller *ctl,
55 static void meson_a1_gpio_irq_init(struct meson_gpio_irq_controller *ctl);
56 static int meson8_gpio_irq_set_type(struct meson_gpio_irq_controller *ctl,
58 static int meson_s4_gpio_irq_set_type(struct meson_gpio_irq_controller *ctl,
62 void (*gpio_irq_sel_pin)(struct meson_gpio_irq_controller *ctl,
64 void (*gpio_irq_init)(struct meson_gpio_irq_controller *ctl);
65 int (*gpio_irq_set_type)(struct meson_gpio_irq_controller *ctl,
179 static void meson_gpio_irq_update_bits(struct meson_gpio_irq_controller *ctl, in meson_gpio_irq_update_bits() argument
[all …]
/openbmc/linux/sound/pci/ctxfi/
H A Dcthw20k1.c82 u16 ctl:1; member
95 unsigned int ctl; member
178 struct src_rsc_ctrl_blk *ctl = blk; in src_set_state() local
180 set_field(&ctl->ctl, SRCCTL_STATE, state); in src_set_state()
181 ctl->dirty.bf.ctl = 1; in src_set_state()
187 struct src_rsc_ctrl_blk *ctl = blk; in src_set_bm() local
189 set_field(&ctl->ctl, SRCCTL_BM, bm); in src_set_bm()
190 ctl->dirty.bf.ctl = 1; in src_set_bm()
196 struct src_rsc_ctrl_blk *ctl = blk; in src_set_rsr() local
198 set_field(&ctl->ctl, SRCCTL_RSR, rsr); in src_set_rsr()
[all …]
H A Dcthw20k2.c82 u16 ctl:1; member
95 unsigned int ctl; member
178 struct src_rsc_ctrl_blk *ctl = blk; in src_set_state() local
180 set_field(&ctl->ctl, SRCCTL_STATE, state); in src_set_state()
181 ctl->dirty.bf.ctl = 1; in src_set_state()
187 struct src_rsc_ctrl_blk *ctl = blk; in src_set_bm() local
189 set_field(&ctl->ctl, SRCCTL_BM, bm); in src_set_bm()
190 ctl->dirty.bf.ctl = 1; in src_set_bm()
196 struct src_rsc_ctrl_blk *ctl = blk; in src_set_rsr() local
198 set_field(&ctl->ctl, SRCCTL_RSR, rsr); in src_set_rsr()
[all …]
/openbmc/linux/drivers/hwmon/
H A Daxi-fan-control.c63 const struct axi_fan_control_data *ctl) in axi_iowrite() argument
65 iowrite32(val, ctl->base + reg); in axi_iowrite()
69 const struct axi_fan_control_data *ctl) in axi_ioread() argument
71 return ioread32(ctl->base + reg); in axi_ioread()
80 struct axi_fan_control_data *ctl = dev_get_drvdata(dev); in axi_fan_control_show() local
82 u32 temp = axi_ioread(attr->index, ctl); in axi_fan_control_show()
92 struct axi_fan_control_data *ctl = dev_get_drvdata(dev); in axi_fan_control_store() local
102 axi_iowrite(temp, attr->index, ctl); in axi_fan_control_store()
107 static long axi_fan_control_get_pwm_duty(const struct axi_fan_control_data *ctl) in axi_fan_control_get_pwm_duty() argument
109 u32 pwm_width = axi_ioread(ADI_REG_PWM_WIDTH, ctl); in axi_fan_control_get_pwm_duty()
[all …]
/openbmc/linux/fs/btrfs/
H A Dfree-space-cache.c47 static int link_free_space(struct btrfs_free_space_ctl *ctl,
49 static void unlink_free_space(struct btrfs_free_space_ctl *ctl,
51 static int search_bitmap(struct btrfs_free_space_ctl *ctl,
54 static void free_bitmap(struct btrfs_free_space_ctl *ctl,
56 static void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl,
60 static void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache() argument
65 while ((node = rb_last(&ctl->free_space_offset)) != NULL) { in __btrfs_remove_free_space_cache()
68 unlink_free_space(ctl, info, true); in __btrfs_remove_free_space_cache()
71 free_bitmap(ctl, info); in __btrfs_remove_free_space_cache()
74 cond_resched_lock(&ctl->tree_lock); in __btrfs_remove_free_space_cache()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dcs35l35.h21 #define CS35L35_PWRCTL1 0x06 /* Power Ctl 1 */
22 #define CS35L35_PWRCTL2 0x07 /* Power Ctl 2 */
23 #define CS35L35_PWRCTL3 0x08 /* Power Ctl 3 */
24 #define CS35L35_CLK_CTL1 0x0A /* Clocking Ctl 1 */
25 #define CS35L35_CLK_CTL2 0x0B /* Clocking Ctl 2 */
26 #define CS35L35_CLK_CTL3 0x0C /* Clocking Ctl 3 */
30 #define CS35L35_MAG_COMP_CTL 0x13 /* Magnitude Comp CTL */
31 #define CS35L35_AMP_INP_DRV_CTL 0x14 /* Amp Input Drive Ctl */
32 #define CS35L35_AMP_DIG_VOL_CTL 0x15 /* Amplifier Dig Volume Ctl */
35 #define CS35L35_PROTECT_CTL 0x18 /* Amp Gain - Prot Ctl Param */
[all …]
H A Dcs35l34.h19 #define CS35L34_PWRCTL1 0x06 /* Power Ctl 1 */
20 #define CS35L34_PWRCTL2 0x07 /* Power Ctl 2 */
21 #define CS35L34_PWRCTL3 0x08 /* Power Ctl 3 */
22 #define CS35L34_ADSP_CLK_CTL 0x0A /* (ADSP) Clock Ctl */
23 #define CS35L34_MCLK_CTL 0x0B /* Master Clocking Ctl */
24 #define CS35L34_AMP_INP_DRV_CTL 0x14 /* Amp Input Drive Ctl */
25 #define CS35L34_AMP_DIG_VOL_CTL 0x15 /* Amplifier Dig Volume Ctl */
27 #define CS35L34_AMP_ANLG_GAIN_CTL 0x17 /* Amplifier Analog Gain Ctl */
28 #define CS35L34_PROTECT_CTL 0x18 /* Amp Gain - Prot Ctl Param */
29 #define CS35L34_AMP_KEEP_ALIVE_CTL 0x1A /* Amplifier Keep Alive Ctl */
[all …]
/openbmc/linux/Documentation/admin-guide/media/
H A Dimx.rst248 media-ctl -V "'ipu1_csi0_mux':2[fmt:UYVY2X8/1280x960]"
249 media-ctl -V "'ipu1_csi0':0[crop:(0,0)/640x480]"
250 media-ctl -V "'ipu1_csi0':0[compose:(0,0)/320x240]"
266 media-ctl -V "'ipu1_csi0':0[fmt:UYVY2X8/640x480@1/60]"
267 media-ctl -V "'ipu1_csi0':2[fmt:UYVY2X8/640x480@1/30]"
442 media-ctl -l "'ov5642 1-0042':0 -> 'ipu1_csi0_mux':1[1]"
443 media-ctl -l "'ipu1_csi0_mux':2 -> 'ipu1_csi0':0[1]"
444 media-ctl -l "'ipu1_csi0':2 -> 'ipu1_csi0 capture':0[1]"
446 media-ctl -l "'ov5640 1-0040':0 -> 'imx6-mipi-csi2':0[1]"
447 media-ctl -l "'imx6-mipi-csi2':2 -> 'ipu1_csi1':0[1]"
[all …]
/openbmc/u-boot/cmd/
H A Duniverse.c79 writel(0x00800000, &dev->uregs->lsi[j].ctl); in universe_init()
80 writel(0x00800000, &dev->uregs->vsi[j].ctl); in universe_init()
122 unsigned int ctl = 0; in universe_pci_slave_window() local
130 if (0x00800000 == readl(&dev->uregs->lsi[i].ctl)) in universe_pci_slave_window()
148 ctl = 0x00000000; in universe_pci_slave_window()
151 ctl = 0x00010000; in universe_pci_slave_window()
154 ctl = 0x00020000; in universe_pci_slave_window()
160 ctl |= 0x00000000; in universe_pci_slave_window()
163 ctl |= 0x00008000; in universe_pci_slave_window()
168 ctl |= 0x00001000; in universe_pci_slave_window()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_eeprom.c30 /* Local defines to distinguish between extension and control CTL's */
39 #define CTL(_tpower, _flag) ((_tpower) | ((_flag) << 6)) macro
284 { { CTL(60, 0), CTL(60, 1), CTL(60, 0), CTL(60, 0) } },
285 { { CTL(60, 0), CTL(60, 1), CTL(60, 0), CTL(60, 0) } },
286 { { CTL(60, 1), CTL(60, 0), CTL(60, 0), CTL(60, 1) } },
288 { { CTL(60, 1), CTL(60, 0), CTL(60, 0), CTL(60, 0) } },
289 { { CTL(60, 0), CTL(60, 1), CTL(60, 0), CTL(60, 0) } },
290 { { CTL(60, 0), CTL(60, 1), CTL(60, 0), CTL(60, 0) } },
292 { { CTL(60, 0), CTL(60, 1), CTL(60, 1), CTL(60, 0) } },
293 { { CTL(60, 0), CTL(60, 1), CTL(60, 0), CTL(60, 0) } },
[all …]
/openbmc/linux/sound/pci/oxygen/
H A Doxygen_mixer.c16 static int dac_volume_info(struct snd_kcontrol *ctl, in dac_volume_info() argument
19 struct oxygen *chip = ctl->private_data; in dac_volume_info()
28 static int dac_volume_get(struct snd_kcontrol *ctl, in dac_volume_get() argument
31 struct oxygen *chip = ctl->private_data; in dac_volume_get()
41 static int dac_volume_put(struct snd_kcontrol *ctl, in dac_volume_put() argument
44 struct oxygen *chip = ctl->private_data; in dac_volume_put()
61 static int dac_mute_get(struct snd_kcontrol *ctl, in dac_mute_get() argument
64 struct oxygen *chip = ctl->private_data; in dac_mute_get()
72 static int dac_mute_put(struct snd_kcontrol *ctl, in dac_mute_put() argument
75 struct oxygen *chip = ctl->private_data; in dac_mute_put()
[all …]
H A Dxonar_wm87x6.c499 static int wm8776_bit_switch_get(struct snd_kcontrol *ctl, in wm8776_bit_switch_get() argument
502 struct oxygen *chip = ctl->private_data; in wm8776_bit_switch_get()
504 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_get()
505 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; in wm8776_bit_switch_get()
506 bool invert = (ctl->private_value >> 24) & 1; in wm8776_bit_switch_get()
513 static int wm8776_bit_switch_put(struct snd_kcontrol *ctl, in wm8776_bit_switch_put() argument
516 struct oxygen *chip = ctl->private_data; in wm8776_bit_switch_put()
518 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_put()
520 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; in wm8776_bit_switch_put()
521 bool invert = (ctl->private_value >> 24) & 1; in wm8776_bit_switch_put()
[all …]
/openbmc/linux/sound/pci/hda/
H A Dhda_cs_dsp_ctl.c41 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_coeff_info() local
42 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_coeff_info()
52 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_coeff_put() local
53 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_coeff_put()
66 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_coeff_get() local
67 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_coeff_get()
103 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_free_kcontrol() local
104 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_free_kcontrol()
108 kfree(ctl); in hda_cs_dsp_free_kcontrol()
117 struct hda_cs_dsp_coeff_ctl *ctl __free(kfree) = NULL; in hda_cs_dsp_add_kcontrol()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A D0002-localedef-fix-ups-hardlink-to-make-it-compile.patch52 if (ctl->verbose > 1 && ctl->nlinks)
55 - printf(_("Directories: %9lld\n"), ctl->ndirs);
56 - printf(_("Objects: %9lld\n"), ctl->nobjects);
57 - printf(_("Regular files: %9lld\n"), ctl->nregfiles);
58 - printf(_("Comparisons: %9lld\n"), ctl->ncomp);
59 + printf(("Directories: %9lld\n"), ctl->ndirs);
60 + printf(("Objects: %9lld\n"), ctl->nobjects);
61 + printf(("Regular files: %9lld\n"), ctl->nregfiles);
62 + printf(("Comparisons: %9lld\n"), ctl->ncomp);
63 printf( "%s%9lld\n", (ctl->no_link ?
[all …]
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_ctl.h63 * @ctx : ctl path ctx pointer
68 * check if the ctl is started
69 * @ctx : ctl path ctx pointer
78 * @ctx : ctl path ctx pointer
86 * @ctx : ctl path ctx pointer
93 * @ctx : ctl path ctx pointer
100 * @ctx : ctl path ctx pointer
109 * @ctx : ctl path ctx pointer
118 * @ctx : ctl path ctx pointer
127 * @ctx : ctl path ctx pointer
[all …]
/openbmc/linux/drivers/crypto/caam/
H A Ddebugfs.c40 debugfs_create_file("qi_congested", 0444, ctrlpriv->ctl, in caam_debugfs_qi_init()
55 ctrlpriv->ctl = debugfs_create_dir("ctl", root); in caam_debugfs_init()
57 debugfs_create_file("rq_dequeued", 0444, ctrlpriv->ctl, in caam_debugfs_init()
59 debugfs_create_file("ob_rq_encrypted", 0444, ctrlpriv->ctl, in caam_debugfs_init()
61 debugfs_create_file("ib_rq_decrypted", 0444, ctrlpriv->ctl, in caam_debugfs_init()
63 debugfs_create_file("ob_bytes_encrypted", 0444, ctrlpriv->ctl, in caam_debugfs_init()
65 debugfs_create_file("ob_bytes_protected", 0444, ctrlpriv->ctl, in caam_debugfs_init()
67 debugfs_create_file("ib_bytes_decrypted", 0444, ctrlpriv->ctl, in caam_debugfs_init()
69 debugfs_create_file("ib_bytes_validated", 0444, ctrlpriv->ctl, in caam_debugfs_init()
73 debugfs_create_file("fault_addr", 0444, ctrlpriv->ctl, in caam_debugfs_init()
[all …]
/openbmc/linux/drivers/accel/habanalabs/include/gaudi2/
H A Dgaudi2_packets.h67 __le32 ctl; member
72 __le32 ctl; member
77 __le32 ctl; member
82 __le32 ctl; member
88 __le32 ctl; member
118 __le32 ctl; member
123 __le32 ctl; member
141 __le32 ctl; member
158 __le32 ctl; member
165 __le32 ctl; member
[all …]
/openbmc/linux/drivers/accel/habanalabs/include/gaudi/
H A Dgaudi_packets.h62 __le32 ctl; member
67 __le32 ctl; member
72 __le32 ctl; member
77 __le32 ctl; member
86 __le32 ctl; member
119 __le32 ctl; member
124 __le32 ctl; member
142 __le32 ctl; member
159 __le32 ctl; member
166 __le32 ctl; member
[all …]

12345678910>>...44