| /linux/tools/testing/selftests/alsa/ |
| A D | mixer-test.c | 132 for (ctl = 0; ctl < card_data->num_ctls; ctl++) { in find_controls() 437 ctl->card->card_name, ctl->elem); in test_ctl_get_value() 461 ctl->card->card, ctl->elem, ctl->name); in test_ctl_name() 471 ctl->card->card, ctl->elem, ctl->name); in test_ctl_name() 477 ctl->card->card_name, ctl->elem); in test_ctl_name() 741 ctl->card->card_name, ctl->elem); in test_ctl_write_default() 891 ctl->card->card_name, ctl->elem); in test_ctl_write_valid() 1103 ctl->card->card_name, ctl->elem); in test_ctl_write_invalid() 1109 ctl->card->card_name, ctl->elem); in test_ctl_event_missing() 1115 ctl->card->card_name, ctl->elem); in test_ctl_event_spurious() [all …]
|
| /linux/drivers/net/wwan/t7xx/ |
| A D | t7xx_state_monitor.c | 276 fsm_finish_command(ctl, cmd, fsm_stopped_handler(ctl)); in fsm_routine_stopped() 297 fsm_finish_command(ctl, cmd, fsm_stopped_handler(ctl)); in fsm_routine_stopping() 336 if (ctl->exp_flg) in fsm_routine_starting() 562 if (ctl) in t7xx_fsm_get_md_state() 570 if (ctl) in t7xx_fsm_get_ctl_state() 607 ctl = devm_kzalloc(dev, sizeof(*ctl), GFP_KERNEL); in t7xx_fsm_init() 608 if (!ctl) in t7xx_fsm_init() 611 md->fsm_ctl = ctl; in t7xx_fsm_init() 612 ctl->md = md; in t7xx_fsm_init() 625 ctl->fsm_thread = kthread_run(fsm_main_thread, ctl, "t7xx_fsm"); in t7xx_fsm_init() [all …]
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| A D | mdp5_ctl.c | 164 ctl_write(ctl, REG_MDP5_CTL_OP(ctl->id), ctl_op); in set_ctl_op() 212 ctl_write(ctl, REG_MDP5_CTL_START(ctl->id), 1); in send_start_signal() 260 ctl->id); in mdp5_ctl_set_cursor() 340 ctl_write(ctl, REG_MDP5_CTL_LAYER_REG(ctl->id, i), 0x0); in mdp5_ctl_reset_blend_regs() 341 ctl_write(ctl, REG_MDP5_CTL_LAYER_EXT_REG(ctl->id, i), 0x0); in mdp5_ctl_reset_blend_regs() 499 *flush_id = min_t(u32, ctl->id, ctl->pair->id); in fix_for_single_flush() 582 return ctl_read(ctl, REG_MDP5_CTL_FLUSH(ctl->id)); in mdp5_ctl_get_commit_status() 587 return WARN_ON(!ctl) ? -EINVAL : ctl->id; in mdp5_ctl_get_ctl_id() 667 return ctl; in mdp5_ctlm_request() 679 ctl_write(ctl, REG_MDP5_CTL_OP(ctl->id), 0); in mdp5_ctlm_hw_reset() [all …]
|
| /linux/drivers/irqchip/ |
| A D | irq-meson-gpio.c | 250 idx = find_first_zero_bit(ctl->channel_map, ctl->params->nr_channels); in meson_gpio_irq_request_channel() 266 ctl->params->ops.gpio_irq_sel_pin(ctl, idx, hwirq); in meson_gpio_irq_request_channel() 410 ret = ctl->params->ops.gpio_irq_set_type(ctl, type, channel_hwirq); in meson_gpio_irq_set_type() 544 ctl->params->ops.gpio_irq_init(ctl); in meson_gpio_irq_parse_dt() 566 ctl = kzalloc(sizeof(*ctl), GFP_KERNEL); in meson_gpio_irq_of_init() 567 if (!ctl) in meson_gpio_irq_of_init() 573 if (!ctl->base) { in meson_gpio_irq_of_init() 586 ctl); in meson_gpio_irq_of_init() 594 ctl->params->nr_hwirq, ctl->params->nr_channels); in meson_gpio_irq_of_init() 599 iounmap(ctl->base); in meson_gpio_irq_of_init() [all …]
|
| /linux/drivers/hwmon/ |
| A D | axi-fan-control.c | 148 return DIV_ROUND_CLOSEST(60 * ctl->clk_rate, ctl->ppr * tach); in axi_fan_control_get_fan_rpm() 178 *val = ctl->fan_fault; in axi_fan_control_read_fan() 180 ctl->fan_fault = 0; in axi_fan_control_read_fan() 362 ctl->fan_fault = 1; in axi_fan_control_irq_handler() 382 if (ctl->ppr != 1 && ctl->ppr != 2 && ctl->ppr != 4) in axi_fan_control_init() 460 ctl = devm_kzalloc(&pdev->dev, sizeof(*ctl), GFP_KERNEL); in axi_fan_control_probe() 461 if (!ctl) in axi_fan_control_probe() 474 if (!ctl->clk_rate) in axi_fan_control_probe() 496 ctl, in axi_fan_control_probe() 504 if (ctl->irq < 0) in axi_fan_control_probe() [all …]
|
| /linux/drivers/thunderbolt/ |
| A D | ctl.c | 139 req->ctl = ctl; in tb_cfg_request_enqueue() 148 struct tb_ctl *ctl = req->ctl; in tb_cfg_request_dequeue() local 329 pkg->ctl = ctl; in tb_ctl_pkg_alloc() 642 struct tb_ctl *ctl = kzalloc(sizeof(*ctl), GFP_KERNEL); in tb_ctl_alloc() local 643 if (!ctl) in tb_ctl_alloc() 669 ctl->rx_packets[i] = tb_ctl_pkg_alloc(ctl); in tb_ctl_alloc() 676 return ctl; in tb_ctl_alloc() 694 if (!ctl) in tb_ctl_free() 697 if (ctl->rx) in tb_ctl_free() 699 if (ctl->tx) in tb_ctl_free() [all …]
|
| A 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 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, 128 struct tb_cfg_result tb_cfg_reset(struct tb_ctl *ctl, u64 route); 129 struct tb_cfg_result tb_cfg_read_raw(struct tb_ctl *ctl, void *buffer, [all …]
|
| /linux/sound/pci/ctxfi/ |
| A D | cthw20k1.c | 181 ctl->dirty.bf.ctl = 1; in src_set_state() 190 ctl->dirty.bf.ctl = 1; in src_set_bm() 199 ctl->dirty.bf.ctl = 1; in src_set_rsr() 208 ctl->dirty.bf.ctl = 1; in src_set_sf() 217 ctl->dirty.bf.ctl = 1; in src_set_wr() 226 ctl->dirty.bf.ctl = 1; in src_set_pm() 235 ctl->dirty.bf.ctl = 1; in src_set_rom() 244 ctl->dirty.bf.ctl = 1; in src_set_vo() 253 ctl->dirty.bf.ctl = 1; in src_set_st() 262 ctl->dirty.bf.ctl = 1; in src_set_ie() [all …]
|
| A D | cthw20k2.c | 181 ctl->dirty.bf.ctl = 1; in src_set_state() 190 ctl->dirty.bf.ctl = 1; in src_set_bm() 199 ctl->dirty.bf.ctl = 1; in src_set_rsr() 208 ctl->dirty.bf.ctl = 1; in src_set_sf() 217 ctl->dirty.bf.ctl = 1; in src_set_wr() 226 ctl->dirty.bf.ctl = 1; in src_set_pm() 235 ctl->dirty.bf.ctl = 1; in src_set_rom() 244 ctl->dirty.bf.ctl = 1; in src_set_vo() 253 ctl->dirty.bf.ctl = 1; in src_set_st() 262 ctl->dirty.bf.ctl = 1; in src_set_ie() [all …]
|
| /linux/sound/pci/ice1712/ |
| A D | wm8766.c | 215 val1 = wm->regs[wm->ctl[n].reg1] & wm->ctl[n].mask1; in snd_wm8766_ctl_get() 218 val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2; in snd_wm8766_ctl_get() 225 val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min); in snd_wm8766_ctl_get() 227 val2 = wm->ctl[n].max - (val2 - wm->ctl[n].min); in snd_wm8766_ctl_get() 247 regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min); in snd_wm8766_ctl_put() 253 val = wm->regs[wm->ctl[n].reg1] & ~wm->ctl[n].mask1; in snd_wm8766_ctl_put() 257 wm->ctl[n].reg1 == wm->ctl[n].reg2) { in snd_wm8766_ctl_put() 264 wm->ctl[n].reg1 != wm->ctl[n].reg2) { in snd_wm8766_ctl_put() 265 val = wm->regs[wm->ctl[n].reg2] & ~wm->ctl[n].mask2; in snd_wm8766_ctl_put() 313 if (!ctl) in snd_wm8766_add_control() [all …]
|
| A D | wm8776.c | 485 val1 = wm->regs[wm->ctl[n].reg1] & wm->ctl[n].mask1; in snd_wm8776_ctl_get() 488 val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2; in snd_wm8776_ctl_get() 495 val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min); in snd_wm8776_ctl_get() 497 val2 = wm->ctl[n].max - (val2 - wm->ctl[n].min); in snd_wm8776_ctl_get() 517 regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min); in snd_wm8776_ctl_put() 518 regval2 = wm->ctl[n].max - (regval2 - wm->ctl[n].min); in snd_wm8776_ctl_put() 523 val = wm->regs[wm->ctl[n].reg1] & ~wm->ctl[n].mask1; in snd_wm8776_ctl_put() 527 wm->ctl[n].reg1 == wm->ctl[n].reg2) { in snd_wm8776_ctl_put() 534 wm->ctl[n].reg1 != wm->ctl[n].reg2) { in snd_wm8776_ctl_put() 535 val = wm->regs[wm->ctl[n].reg2] & ~wm->ctl[n].mask2; in snd_wm8776_ctl_put() [all …]
|
| A D | psc724.c | 195 spec->wm8776.ctl[WM8776_CTL_HP_SW].name); in psc724_set_jack_state() 305 struct snd_kcontrol *ctl; in psc724_add_controls() local 311 spec->wm8776.ctl[WM8776_CTL_DAC_ZC_SW].name = front_zc; in psc724_add_controls() 312 spec->wm8776.ctl[WM8776_CTL_AUX_SW].name = NULL; in psc724_add_controls() 324 spec->wm8766.ctl[WM8766_CTL_CH3_VOL].name = NULL; in psc724_add_controls() 327 spec->wm8766.ctl[WM8766_CTL_CH3_SW].name = NULL; in psc724_add_controls() 330 spec->wm8766.ctl[WM8766_CTL_PHASE3_SW].name = NULL; in psc724_add_controls() 333 spec->wm8766.ctl[WM8766_CTL_DEEMPH3_SW].name = NULL; in psc724_add_controls() 347 ctl = snd_ctl_new1(&cont, ice); in psc724_add_controls() 348 if (!ctl) in psc724_add_controls() [all …]
|
| /linux/fs/btrfs/ |
| A D | free-space-cache.c | 707 ctl->total_bitmaps, ctl->unit, max_bitmaps, in recalculate_thresholds() 722 bitmap_bytes = ctl->total_bitmaps * ctl->unit; in recalculate_thresholds() 2026 entry = tree_search_offset(ctl, offset_to_bitmap(ctl, *offset), in find_free_space() 2278 if (!forced && ctl->free_extents < ctl->extents_thresh) { in use_bitmap() 2287 if (ctl->free_extents * 3 <= ctl->extents_thresh) in use_bitmap() 2326 if (!ctl->op->use_bitmap(ctl, info)) in insert_into_bitmap() 2372 bitmap_info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in insert_into_bitmap() 2840 info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in btrfs_remove_free_space() 4047 reset_trimming_bitmap(ctl, offset_to_bitmap(ctl, end)); in btrfs_trim_block_group() 4227 bitmap_info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), in test_add_free_space_entry() [all …]
|
| /linux/sound/pci/oxygen/ |
| A D | oxygen_mixer.c | 19 struct oxygen *chip = ctl->private_data; in dac_volume_info() 31 struct oxygen *chip = ctl->private_data; in dac_volume_get() 44 struct oxygen *chip = ctl->private_data; in dac_volume_put() 64 struct oxygen *chip = ctl->private_data; in dac_mute_get() 432 u32 bit = ctl->private_value; in spdif_bit_switch_get() 443 u32 bit = ctl->private_value; in spdif_bit_switch_put() 474 u8 bit = ctl->private_value; in monitor_get() 486 u8 bit = ctl->private_value; in monitor_put() 1045 struct snd_kcontrol *ctl; in add_controls() local 1072 if (!ctl) in add_controls() [all …]
|
| A D | xonar_wm87x6.c | 622 if (!(ctl->private_value & mode)) in wm8776_field_set_from_ctl() 654 ctl->private_value = (ctl->private_value & ~0xf) | value; in wm8776_field_set() 655 wm8776_field_set_from_ctl(ctl); in wm8776_field_set() 877 if (ctl->private_value & mode) in activate_control() 1161 struct snd_kcontrol *ctl; in add_lc_controls() local 1167 if (!ctl) in add_lc_controls() 1172 data->lc_controls[i] = ctl; in add_lc_controls() 1181 struct snd_kcontrol *ctl; in xonar_ds_mixer_init() local 1186 if (!ctl) in xonar_ds_mixer_init() 1205 struct snd_kcontrol *ctl; in xonar_hdav_slim_mixer_init() local [all …]
|
| A D | xonar_dg_mixer.c | 62 struct oxygen *chip = ctl->private_data; in output_select_get() 74 struct oxygen *chip = ctl->private_data; in output_select_put() 107 struct oxygen *chip = ctl->private_data; in hp_stereo_volume_get() 123 struct oxygen *chip = ctl->private_data; in hp_stereo_volume_put() 153 struct oxygen *chip = ctl->private_data; in hp_mute_get() 166 struct oxygen *chip = ctl->private_data; in hp_mute_put() 211 struct oxygen *chip = ctl->private_data; in input_vol_get() 213 unsigned int idx = ctl->private_value; in input_vol_get() 225 struct oxygen *chip = ctl->private_data; in input_vol_put() 227 unsigned int idx = ctl->private_value; in input_vol_put() [all …]
|
| /linux/drivers/crypto/caam/ |
| A 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() 73 debugfs_create_file("fault_addr", 0444, ctrlpriv->ctl, in caam_debugfs_init() 75 debugfs_create_file("fault_detail", 0444, ctrlpriv->ctl, in caam_debugfs_init() 77 debugfs_create_file("fault_status", 0444, ctrlpriv->ctl, in caam_debugfs_init() 86 debugfs_create_blob("kek", 0444, ctrlpriv->ctl, in caam_debugfs_init() 91 debugfs_create_blob("tkek", 0444, ctrlpriv->ctl, in caam_debugfs_init() [all …]
|
| /linux/drivers/accel/habanalabs/include/gaudi2/ |
| A 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/drivers/misc/ |
| A D | vmw_balloon.c | 690 ctl->n_pages = i; in vmballoon_alloc_page_list() 861 batch_status = vmballoon_lock_op(b, ctl->n_pages, ctl->page_size, in vmballoon_lock() 862 ctl->op); in vmballoon_lock() 891 ctl->n_pages--; in vmballoon_lock() 1133 vmballoon_enqueue_page_list(b, &ctl.pages, &ctl.n_pages, in vmballoon_inflate() 1150 ctl.page_size--; in vmballoon_inflate() 1164 vmballoon_release_page_list(&ctl.prealloc_pages, NULL, ctl.page_size); in vmballoon_inflate() 1226 vmballoon_dequeue_page_list(b, &ctl.pages, &ctl.n_pages, in vmballoon_deflate() 1259 ctl.page_size, ctl.n_pages); in vmballoon_deflate() 1262 vmballoon_release_page_list(&ctl.pages, &ctl.n_pages, in vmballoon_deflate() [all …]
|
| /linux/drivers/accel/habanalabs/include/gaudi/ |
| A 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/sound/pci/hda/ |
| A D | hda_cs_dsp_ctl.c | 42 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_coeff_info() 53 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_coeff_put() 98 kfree(ctl); in hda_cs_dsp_free_kcontrol() 116 ctl = kzalloc(sizeof(*ctl), GFP_KERNEL); in hda_cs_dsp_add_kcontrol() 117 if (!ctl) in hda_cs_dsp_add_kcontrol() 120 ctl->cs_ctl = cs_ctl; in hda_cs_dsp_add_kcontrol() 121 ctl->card = info->card; in hda_cs_dsp_add_kcontrol() 135 ctl->kctl = kctl; in hda_cs_dsp_add_kcontrol() 138 cs_ctl->priv = no_free_ptr(ctl); in hda_cs_dsp_add_kcontrol() 210 if (ctl) in hda_cs_dsp_control_remove() [all …]
|
| /linux/sound/soc/samsung/ |
| A D | pcm.c | 157 u32 ctl, clkctl; in s3c_pcm_snd_txctrl() local 165 ctl |= S3C_PCM_CTL_TXDMA_EN; in s3c_pcm_snd_txctrl() 166 ctl |= S3C_PCM_CTL_TXFIFO_EN; in s3c_pcm_snd_txctrl() 167 ctl |= S3C_PCM_CTL_ENABLE; in s3c_pcm_snd_txctrl() 171 ctl &= ~S3C_PCM_CTL_TXDMA_EN; in s3c_pcm_snd_txctrl() 175 ctl &= ~S3C_PCM_CTL_ENABLE; in s3c_pcm_snd_txctrl() 188 u32 ctl, clkctl; in s3c_pcm_snd_rxctrl() local 196 ctl |= S3C_PCM_CTL_RXDMA_EN; in s3c_pcm_snd_rxctrl() 198 ctl |= S3C_PCM_CTL_ENABLE; in s3c_pcm_snd_rxctrl() 206 ctl &= ~S3C_PCM_CTL_ENABLE; in s3c_pcm_snd_rxctrl() [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb/ |
| A D | mv88e1xxx.c | 50 u32 ctl; in mv88e1xxx_reset() local 57 ctl &= BMCR_RESET; in mv88e1xxx_reset() 58 if (ctl) in mv88e1xxx_reset() 62 return ctl ? -1 : 0; in mv88e1xxx_reset() 127 u32 ctl; in mv88e1xxx_set_speed_duplex() local 133 ctl |= BMCR_SPEED100; in mv88e1xxx_set_speed_duplex() 140 ctl |= BMCR_FULLDPLX; in mv88e1xxx_set_speed_duplex() 143 ctl |= BMCR_ANENABLE; in mv88e1xxx_set_speed_duplex() 163 u32 ctl; in mv88e1xxx_autoneg_enable() local 176 u32 ctl; in mv88e1xxx_autoneg_disable() local [all …]
|
| /linux/drivers/accel/habanalabs/include/goya/ |
| A D | goya_packets.h | 58 __le32 ctl; member 63 __le32 ctl; member 71 __le32 ctl; member 76 __le32 ctl; member 82 __le32 ctl; member 88 __le32 ctl; member 93 __le32 ctl; member 99 __le32 ctl; member 119 __le32 ctl; member 126 __le32 ctl; member
|
| /linux/drivers/mmc/host/ |
| A D | sdhci-milbeaut.c | 89 u32 ctl; in sdhci_milbeaut_reset() local 119 ctl |= F_SDH30_CMD_DAT_DELAY; 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() 184 ctl &= ~F_SDH30_MSEL_O_1_8; in sdhci_milbeaut_vendor_init() 186 ctl &= ~F_SDH30_CRES_O_DN; in sdhci_milbeaut_vendor_init() 189 ctl = sdhci_readw(host, F_SDH30_AHB_CONFIG); in sdhci_milbeaut_vendor_init() 193 sdhci_writew(host, ctl, F_SDH30_AHB_CONFIG); in sdhci_milbeaut_vendor_init() 197 ctl |= F_SDH30_CMD_DAT_DELAY; in sdhci_milbeaut_vendor_init() [all …]
|