/linux-6.12.1/drivers/net/wwan/t7xx/ |
D | t7xx_state_monitor.c | 59 struct t7xx_fsm_ctl *ctl = md->fsm_ctl; in t7xx_fsm_notifier_register() local 62 spin_lock_irqsave(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_register() 63 list_add_tail(¬ifier->entry, &ctl->notifier_list); in t7xx_fsm_notifier_register() 64 spin_unlock_irqrestore(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_register() 70 struct t7xx_fsm_ctl *ctl = md->fsm_ctl; in t7xx_fsm_notifier_unregister() local 73 spin_lock_irqsave(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_unregister() 74 list_for_each_entry_safe(notifier_cur, notifier_next, &ctl->notifier_list, entry) { in t7xx_fsm_notifier_unregister() 78 spin_unlock_irqrestore(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_unregister() 83 struct t7xx_fsm_ctl *ctl = md->fsm_ctl; in fsm_state_notify() local 87 spin_lock_irqsave(&ctl->notifier_lock, flags); in fsm_state_notify() [all …]
|
/linux-6.12.1/tools/testing/selftests/alsa/ |
D | mixer-test.c | 64 int card, ctl, err; in find_controls() local 132 for (ctl = 0; ctl < card_data->num_ctls; ctl++) { in find_controls() 139 ctl_data->elem = ctl; in find_controls() 141 ctl); in find_controls() 155 snd_ctl_elem_list_get_id(card_data->ctls, ctl, in find_controls() 207 static int wait_for_event(struct ctl_data *ctl, int timeout) in wait_for_event() argument 218 err = poll(&(ctl->card->pollfd), 1, timeout); in wait_for_event() 221 ctl->name, strerror(errno), errno); in wait_for_event() 228 err = snd_ctl_poll_descriptors_revents(ctl->card->handle, in wait_for_event() 229 &(ctl->card->pollfd), in wait_for_event() [all …]
|
/linux-6.12.1/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_ctl.c | 10 * 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 …]
|
D | mdp5_ctl.h | 12 * CTL Manager prototypes: 13 * mdp5_ctlm_init() returns a ctlm (CTL Manager) handler, 22 * CTL prototypes: 23 * mdp5_ctl_request(ctlm, ...) returns a ctl (CTL resource) handler, 24 * which is then used to call the other mdp5_ctl_*(ctl, ...) functions. 28 int mdp5_ctl_get_ctl_id(struct mdp5_ctl *ctl); 32 int mdp5_ctl_set_pipeline(struct mdp5_ctl *ctl, struct mdp5_pipeline *p); 33 int mdp5_ctl_set_encoder_state(struct mdp5_ctl *ctl, struct mdp5_pipeline *p, 36 int mdp5_ctl_set_cursor(struct mdp5_ctl *ctl, struct mdp5_pipeline *pipeline, 50 * CTL registers need to be flushed after calling this function [all …]
|
/linux-6.12.1/sound/pci/ice1712/ |
D | wm8766.c | 147 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 …]
|
D | wm8776.c | 72 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 …]
|
/linux-6.12.1/drivers/thunderbolt/ |
D | ctl.c | 16 #include "ctl.h" 58 #define tb_ctl_WARN(ctl, format, arg...) \ argument 59 dev_WARN(&(ctl)->nhi->pdev->dev, format, ## arg) 61 #define tb_ctl_err(ctl, format, arg...) \ argument 62 dev_err(&(ctl)->nhi->pdev->dev, format, ## arg) 64 #define tb_ctl_warn(ctl, format, arg...) \ argument 65 dev_warn(&(ctl)->nhi->pdev->dev, format, ## arg) 67 #define tb_ctl_info(ctl, format, arg...) \ argument 68 dev_info(&(ctl)->nhi->pdev->dev, format, ## arg) 70 #define tb_ctl_dbg(ctl, format, arg...) \ argument [all …]
|
D | ctl.h | 26 void tb_ctl_start(struct tb_ctl *ctl); 27 void tb_ctl_stop(struct tb_ctl *ctl); 28 void tb_ctl_free(struct tb_ctl *ctl); 47 struct tb_ctl *ctl; member 55 * @ctl: Pointer to the control channel structure. Only set when the 78 struct tb_ctl *ctl; member 103 int tb_cfg_request(struct tb_ctl *ctl, struct tb_cfg_request *req, 106 struct tb_cfg_result tb_cfg_request_sync(struct tb_ctl *ctl, 125 int tb_cfg_ack_notification(struct tb_ctl *ctl, u64 route, 127 int tb_cfg_ack_plug(struct tb_ctl *ctl, u64 route, u32 port, bool unplug); [all …]
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-meson-gpio.c | 49 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, 184 static void meson_gpio_irq_update_bits(struct meson_gpio_irq_controller *ctl, in meson_gpio_irq_update_bits() argument [all …]
|
/linux-6.12.1/drivers/hwmon/ |
D | axi-fan-control.c | 64 const struct axi_fan_control_data *ctl) in axi_iowrite() argument 66 iowrite32(val, ctl->base + reg); in axi_iowrite() 70 const struct axi_fan_control_data *ctl) in axi_ioread() argument 72 return ioread32(ctl->base + reg); in axi_ioread() 81 struct axi_fan_control_data *ctl = dev_get_drvdata(dev); in axi_fan_control_show() local 83 u32 temp = axi_ioread(attr->index, ctl); in axi_fan_control_show() 93 struct axi_fan_control_data *ctl = dev_get_drvdata(dev); in axi_fan_control_store() local 103 axi_iowrite(temp, attr->index, ctl); in axi_fan_control_store() 108 static long axi_fan_control_get_pwm_duty(const struct axi_fan_control_data *ctl) in axi_fan_control_get_pwm_duty() argument 110 u32 pwm_width = axi_ioread(ADI_REG_PWM_WIDTH, ctl); in axi_fan_control_get_pwm_duty() [all …]
|
/linux-6.12.1/sound/pci/ctxfi/ |
D | cthw20k1.c | 82 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 …]
|
D | cthw20k2.c | 82 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 …]
|
/linux-6.12.1/fs/btrfs/ |
D | free-space-cache.c | 45 static int link_free_space(struct btrfs_free_space_ctl *ctl, 47 static void unlink_free_space(struct btrfs_free_space_ctl *ctl, 49 static int search_bitmap(struct btrfs_free_space_ctl *ctl, 52 static void free_bitmap(struct btrfs_free_space_ctl *ctl, 54 static void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, 63 static void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache() argument 68 while ((node = rb_last(&ctl->free_space_offset)) != NULL) { in __btrfs_remove_free_space_cache() 71 unlink_free_space(ctl, info, true); in __btrfs_remove_free_space_cache() 74 free_bitmap(ctl, info); in __btrfs_remove_free_space_cache() 77 cond_resched_lock(&ctl->tree_lock); in __btrfs_remove_free_space_cache() [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | cs35l35.h | 21 #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 …]
|
D | cs35l34.h | 19 #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 …]
|
/linux-6.12.1/Documentation/admin-guide/media/ |
D | imx.rst | 248 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 …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath9k/ |
D | ar9003_eeprom.c | 30 /* 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 …]
|
/linux-6.12.1/sound/pci/oxygen/ |
D | oxygen_mixer.c | 16 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 …]
|
D | xonar_wm87x6.c | 499 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 …]
|
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_ctl.h | 65 * @ctx : ctl path ctx pointer 70 * check if the ctl is started 71 * @ctx : ctl path ctx pointer 80 * @ctx : ctl path ctx pointer 88 * @ctx : ctl path ctx pointer 95 * @ctx : ctl path ctx pointer 102 * @ctx : ctl path ctx pointer 111 * @ctx : ctl path ctx pointer 120 * @ctx : ctl path ctx pointer 129 * @ctx : ctl path ctx pointer [all …]
|
/linux-6.12.1/sound/pci/hda/ |
D | hda_cs_dsp_ctl.c | 41 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() 61 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_coeff_get() local 62 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_coeff_get() 93 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_free_kcontrol() local 94 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_free_kcontrol() 98 kfree(ctl); in hda_cs_dsp_free_kcontrol() 107 struct hda_cs_dsp_coeff_ctl *ctl __free(kfree) = NULL; in hda_cs_dsp_add_kcontrol() [all …]
|
/linux-6.12.1/drivers/crypto/caam/ |
D | debugfs.c | 40 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 …]
|
/linux-6.12.1/drivers/accel/habanalabs/include/gaudi2/ |
D | gaudi2_packets.h | 67 __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 …]
|
/linux-6.12.1/drivers/accel/habanalabs/include/gaudi/ |
D | gaudi_packets.h | 62 __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 …]
|
/linux-6.12.1/drivers/mmc/host/ |
D | sdhci-milbeaut.c | 89 u32 ctl; in sdhci_milbeaut_reset() local 118 ctl = sdhci_readl(host, F_SDH30_ESD_CONTROL); in sdhci_milbeaut_reset() 119 ctl |= F_SDH30_CMD_DAT_DELAY; in sdhci_milbeaut_reset() 120 sdhci_writel(host, ctl, F_SDH30_ESD_CONTROL); in sdhci_milbeaut_reset() 179 u32 ctl; in sdhci_milbeaut_vendor_init() local 181 ctl = sdhci_readl(host, F_SDH30_IO_CONTROL2); in sdhci_milbeaut_vendor_init() 182 ctl |= F_SDH30_CRES_O_DN; in sdhci_milbeaut_vendor_init() 183 sdhci_writel(host, ctl, F_SDH30_IO_CONTROL2); in sdhci_milbeaut_vendor_init() 184 ctl &= ~F_SDH30_MSEL_O_1_8; in sdhci_milbeaut_vendor_init() 185 sdhci_writel(host, ctl, F_SDH30_IO_CONTROL2); in sdhci_milbeaut_vendor_init() [all …]
|