/linux-master/drivers/net/ethernet/chelsio/cxgb/ |
H A D | mv88e1xxx.c | 50 u32 ctl; local 56 (void) simple_mdio_read(cphy, MII_BMCR, &ctl); 57 ctl &= BMCR_RESET; 58 if (ctl) 60 } while (ctl && --time_out); 62 return ctl ? -1 : 0; 127 u32 ctl; local 129 (void) simple_mdio_read(phy, MII_BMCR, &ctl); 131 ctl &= ~(BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE); 133 ctl | 163 u32 ctl; local 176 u32 ctl; local [all...] |
/linux-master/sound/pci/oxygen/ |
H A D | xonar_wm87x6.c | 499 static int wm8776_bit_switch_get(struct snd_kcontrol *ctl, argument 502 struct oxygen *chip = ctl->private_data; 504 u16 bit = ctl->private_value & 0xffff; 505 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; 506 bool invert = (ctl->private_value >> 24) & 1; 513 static int wm8776_bit_switch_put(struct snd_kcontrol *ctl, argument 516 struct oxygen *chip = ctl->private_data; 518 u16 bit = ctl->private_value & 0xffff; 520 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; 521 bool invert = (ctl 535 wm8776_field_enum_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 598 wm8776_field_volume_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 608 wm8776_field_set_from_ctl(struct snd_kcontrol *ctl) argument 641 wm8776_field_set(struct snd_kcontrol *ctl, unsigned int value) argument 661 wm8776_field_enum_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 668 wm8776_field_volume_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 675 wm8776_field_enum_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 681 wm8776_field_volume_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 687 wm8776_hp_vol_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 697 wm8776_hp_vol_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 712 wm8776_hp_vol_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 751 wm8776_input_mux_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 763 wm8776_input_mux_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 801 wm8776_input_vol_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 811 wm8776_input_vol_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 826 wm8776_input_vol_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 846 wm8776_level_control_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 856 wm8776_level_control_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 872 activate_control(struct oxygen *chip, struct snd_kcontrol *ctl, unsigned int mode) argument 887 wm8776_level_control_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 933 hpf_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 942 hpf_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 952 hpf_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 1161 struct snd_kcontrol *ctl; local 1181 struct snd_kcontrol *ctl; local 1205 struct snd_kcontrol *ctl; local [all...] |
H A D | xonar_lib.c | 91 int xonar_gpio_bit_switch_get(struct snd_kcontrol *ctl, argument 94 struct oxygen *chip = ctl->private_data; 95 u16 bit = ctl->private_value; 96 bool invert = ctl->private_value & XONAR_GPIO_BIT_INVERT; 103 int xonar_gpio_bit_switch_put(struct snd_kcontrol *ctl, argument 106 struct oxygen *chip = ctl->private_data; 107 u16 bit = ctl->private_value; 108 bool invert = ctl->private_value & XONAR_GPIO_BIT_INVERT;
|
H A D | xonar_dg_mixer.c | 47 static int output_select_info(struct snd_kcontrol *ctl, argument 59 static int output_select_get(struct snd_kcontrol *ctl, argument 62 struct oxygen *chip = ctl->private_data; 71 static int output_select_put(struct snd_kcontrol *ctl, argument 74 struct oxygen *chip = ctl->private_data; 94 static int hp_stereo_volume_info(struct snd_kcontrol *ctl, argument 104 static int hp_stereo_volume_get(struct snd_kcontrol *ctl, argument 107 struct oxygen *chip = ctl->private_data; 120 static int hp_stereo_volume_put(struct snd_kcontrol *ctl, argument 123 struct oxygen *chip = ctl 150 hp_mute_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *val) argument 163 hp_mute_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *val) argument 198 input_vol_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 208 input_vol_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 222 input_vol_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 269 input_sel_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 279 input_sel_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 291 input_sel_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 320 hpf_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 327 hpf_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 337 hpf_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument [all...] |
H A D | oxygen_mixer.c | 16 static int dac_volume_info(struct snd_kcontrol *ctl, argument 19 struct oxygen *chip = ctl->private_data; 28 static int dac_volume_get(struct snd_kcontrol *ctl, argument 31 struct oxygen *chip = ctl->private_data; 41 static int dac_volume_put(struct snd_kcontrol *ctl, argument 44 struct oxygen *chip = ctl->private_data; 61 static int dac_mute_get(struct snd_kcontrol *ctl, argument 64 struct oxygen *chip = ctl->private_data; 72 static int dac_mute_put(struct snd_kcontrol *ctl, argument 75 struct oxygen *chip = ctl 98 upmix_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 113 upmix_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 183 upmix_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 201 spdif_switch_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 276 spdif_switch_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 294 spdif_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 334 spdif_default_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 345 spdif_default_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 364 spdif_mask_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 374 spdif_pcm_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 385 spdif_pcm_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 404 spdif_input_mask_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 414 spdif_input_default_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 428 spdif_bit_switch_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 439 spdif_bit_switch_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 460 monitor_volume_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 470 monitor_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 482 monitor_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 504 ac97_switch_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 542 ac97_switch_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 586 ac97_volume_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 598 ac97_volume_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 619 ac97_volume_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 646 mic_fmic_source_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 654 mic_fmic_source_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 666 mic_fmic_source_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 686 ac97_fp_rec_volume_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) argument 696 ac97_fp_rec_volume_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 710 ac97_fp_rec_volume_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) argument 1019 oxygen_any_ctl_free(struct snd_kcontrol *ctl) argument 1045 struct snd_kcontrol *ctl; local [all...] |
/linux-master/drivers/char/hw_random/ |
H A D | octeon-rng.c | 30 union cvmx_rnm_ctl_status ctl; local 33 ctl.u64 = 0; 34 ctl.s.ent_en = 1; /* Enable the entropy source. */ 35 ctl.s.rng_en = 1; /* Enable the RNG hardware. */ 36 cvmx_write_csr((unsigned long)p->control_status, ctl.u64); 42 union cvmx_rnm_ctl_status ctl; local 45 ctl.u64 = 0; 47 cvmx_write_csr((unsigned long)p->control_status, ctl.u64);
|
H A D | pasemi-rng.c | 58 u32 ctl; local 60 ctl = SDCRNG_CTL_DR | SDCRNG_CTL_SELECT_RRG_RNG | SDCRNG_CTL_KSZ; 61 out_le32(rng_regs + SDCRNG_CTL_REG, ctl); 62 out_le32(rng_regs + SDCRNG_CTL_REG, ctl & ~SDCRNG_CTL_DR); 70 u32 ctl; local 72 ctl = SDCRNG_CTL_RE | SDCRNG_CTL_CE; 74 in_le32(rng_regs + SDCRNG_CTL_REG) & ~ctl);
|
/linux-master/drivers/mmc/host/ |
H A D | sdhci-milbeaut.c | 89 u32 ctl; local 118 ctl = sdhci_readl(host, F_SDH30_ESD_CONTROL); 119 ctl |= F_SDH30_CMD_DAT_DELAY; 120 sdhci_writel(host, ctl, F_SDH30_ESD_CONTROL); 179 u32 ctl; local 181 ctl = sdhci_readl(host, F_SDH30_IO_CONTROL2); 182 ctl |= F_SDH30_CRES_O_DN; 183 sdhci_writel(host, ctl, F_SDH30_IO_CONTROL2); 184 ctl &= ~F_SDH30_MSEL_O_1_8; 185 sdhci_writel(host, ctl, F_SDH30_IO_CONTROL 214 u16 ctl; local [all...] |
H A D | tmio_mmc.h | 135 void __iomem *ctl; member in struct:tmio_mmc_host 215 return ioread16(host->ctl + (addr << host->bus_shift)); 221 ioread16_rep(host->ctl + (addr << host->bus_shift), buf, count); 227 return ioread16(host->ctl + (addr << host->bus_shift)) | 228 ioread16(host->ctl + ((addr + 2) << host->bus_shift)) << 16; 234 ioread32_rep(host->ctl + (addr << host->bus_shift), buf, count); 245 iowrite16(val, host->ctl + (addr << host->bus_shift)); 251 iowrite16_rep(host->ctl + (addr << host->bus_shift), buf, count); 260 iowrite16(val & 0xffff, host->ctl + (addr << host->bus_shift)); 261 iowrite16(val >> 16, host->ctl [all...] |
/linux-master/sound/pci/ice1712/ |
H A D | psc724.c | 195 spec->wm8776.ctl[WM8776_CTL_HP_SW].name); 305 struct snd_kcontrol *ctl; local 309 spec->wm8776.ctl[WM8776_CTL_DAC_VOL].name = front_volume; 310 spec->wm8776.ctl[WM8776_CTL_DAC_SW].name = front_switch; 311 spec->wm8776.ctl[WM8776_CTL_DAC_ZC_SW].name = front_zc; 312 spec->wm8776.ctl[WM8776_CTL_AUX_SW].name = NULL; 313 spec->wm8776.ctl[WM8776_CTL_DAC_IZD_SW].name = front_izd; 314 spec->wm8776.ctl[WM8776_CTL_PHASE_SW].name = front_phase; 315 spec->wm8776.ctl[WM8776_CTL_DEEMPH_SW].name = front_deemph; 316 spec->wm8776.ctl[WM8776_CTL_INPUT1_S [all...] |
/linux-master/sound/soc/samsung/ |
H A D | pcm.c | 157 u32 ctl, clkctl; local 160 ctl = readl(regs + S3C_PCM_CTL); 161 ctl &= ~(S3C_PCM_CTL_TXDIPSTICK_MASK 165 ctl |= S3C_PCM_CTL_TXDMA_EN; 166 ctl |= S3C_PCM_CTL_TXFIFO_EN; 167 ctl |= S3C_PCM_CTL_ENABLE; 168 ctl |= (0x4<<S3C_PCM_CTL_TXDIPSTICK_SHIFT); 171 ctl &= ~S3C_PCM_CTL_TXDMA_EN; 172 ctl &= ~S3C_PCM_CTL_TXFIFO_EN; 174 if (!(ctl 188 u32 ctl, clkctl; local 325 u32 ctl; local [all...] |
/linux-master/samples/connector/ |
H A D | cn_test.c | 41 struct cn_ctl_msg *ctl; 49 size0 = sizeof(*msg) + sizeof(*ctl) + 3 * sizeof(*req); 75 ctl = (struct cn_ctl_msg *)(msg + 1); 77 ctl->idx_notify_num = 1; 78 ctl->val_notify_num = 2; 79 ctl->group = group; 80 ctl->len = msg->len - sizeof(*ctl); 82 req = (struct cn_notify_req *)(ctl + 1); 104 NETLINK_CB(skb).dst_group = ctl [all...] |
/linux-master/net/unix/ |
H A D | sysctl_net_unix.c | 38 net->unx.ctl = register_net_sysctl_sz(net, "net/unix", table, 40 if (net->unx.ctl == NULL) 56 table = net->unx.ctl->ctl_table_arg; 57 unregister_net_sysctl_table(net->unx.ctl);
|
/linux-master/drivers/video/fbdev/ |
H A D | n411.c | 46 static unsigned char ctl; variable 54 ctl &= ~(HCB_CD_BIT); 56 ctl |= HCB_CD_BIT; 60 ctl &= ~(HCB_DS_BIT); 62 ctl |= HCB_DS_BIT; 65 outb(ctl, cio_addr); 107 ctl = HCB_WUP_BIT | HCB_RW_BIT | HCB_CD_BIT ;
|
/linux-master/drivers/net/wwan/t7xx/ |
H A D | t7xx_state_monitor.h | 123 int t7xx_fsm_append_cmd(struct t7xx_fsm_ctl *ctl, enum t7xx_fsm_cmd_state cmd_id, 125 int t7xx_fsm_append_event(struct t7xx_fsm_ctl *ctl, enum t7xx_fsm_event_state event_id, 127 void t7xx_fsm_clr_event(struct t7xx_fsm_ctl *ctl, enum t7xx_fsm_event_state event_id); 128 void t7xx_fsm_broadcast_state(struct t7xx_fsm_ctl *ctl, enum md_state state); 132 int t7xx_fsm_recv_md_intr(struct t7xx_fsm_ctl *ctl, enum t7xx_md_irq_type type); 133 enum md_state t7xx_fsm_get_md_state(struct t7xx_fsm_ctl *ctl); 134 unsigned int t7xx_fsm_get_ctl_state(struct t7xx_fsm_ctl *ctl);
|
H A D | t7xx_modem_ops.c | 83 struct t7xx_fsm_ctl *ctl; local 88 ctl = md->fsm_ctl; 89 if (!ctl) { 99 if (ctl->md_state == MD_STATE_INVALID || 100 ctl->md_state == MD_STATE_WAITING_FOR_HS1 || 101 ctl->md_state == MD_STATE_WAITING_FOR_HS2 || 102 ctl->md_state == MD_STATE_READY) { 104 ret = t7xx_fsm_recv_md_intr(ctl, MD_IRQ_CCIF_EX); 109 if (ctl->curr_state == FSM_STATE_INIT || ctl 417 t7xx_parse_host_rt_data(struct t7xx_fsm_ctl *ctl, struct t7xx_sys_info *core, struct device *dev, void *data, int data_length) argument 447 struct t7xx_fsm_ctl *ctl = md->fsm_ctl; local 467 t7xx_core_hk_handler(struct t7xx_modem *md, struct t7xx_sys_info *core_info, struct t7xx_fsm_ctl *ctl, enum t7xx_fsm_event_state event_id, enum t7xx_fsm_event_state err_detect) argument 534 struct t7xx_fsm_ctl *ctl = md->fsm_ctl; local 548 struct t7xx_fsm_ctl *ctl = md->fsm_ctl; local 561 struct t7xx_fsm_ctl *ctl = md->fsm_ctl; local [all...] |
/linux-master/drivers/net/phy/ |
H A D | et1011c.c | 49 int ctl = phy_read(phydev, MII_BMCR); local 51 if (ctl < 0) 52 return ctl; 53 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | 56 phy_write(phydev, MII_BMCR, ctl | BMCR_RESET);
|
/linux-master/arch/mips/ath25/ |
H A D | ar5312.c | 183 u32 ctl; local 188 ctl = __raw_readl(flashctl_base + AR5312_FLASHCTL0); 189 ctl &= AR5312_FLASHCTL_MW; 192 switch (ctl) { 206 ctl |= AR5312_FLASHCTL_E | AR5312_FLASHCTL_AC_8M | AR5312_FLASHCTL_RBLE; 207 ctl |= 0x01 << AR5312_FLASHCTL_IDCY_S; 208 ctl |= 0x07 << AR5312_FLASHCTL_WST1_S; 209 ctl |= 0x07 << AR5312_FLASHCTL_WST2_S; 210 __raw_writel(ctl, flashctl_base + AR5312_FLASHCTL0); 213 ctl [all...] |
/linux-master/sound/soc/kirkwood/ |
H A D | kirkwood-i2s.c | 338 static unsigned kirkwood_i2s_play_mute(unsigned ctl) argument 340 if (!(ctl & KIRKWOOD_PLAYCTL_I2S_EN)) 341 ctl |= KIRKWOOD_PLAYCTL_I2S_MUTE; 342 if (!(ctl & KIRKWOOD_PLAYCTL_SPDIF_EN)) 343 ctl |= KIRKWOOD_PLAYCTL_SPDIF_MUTE; 344 return ctl; 352 uint32_t ctl, value; local 354 ctl = readl(priv->io + KIRKWOOD_PLAYCTL); 355 if ((ctl & KIRKWOOD_PLAYCTL_ENABLE_MASK) == 0) { 363 value = ctl; 439 uint32_t ctl, value; local [all...] |
/linux-master/arch/x86/kvm/svm/ |
H A D | hyperv.h | 18 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments; 32 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments;
|
/linux-master/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_cmd_encoder.c | 127 struct mdp5_ctl *ctl = mdp5_cmd_enc->ctl; local 136 mdp5_ctl_set_encoder_state(ctl, pipeline, false); 137 mdp5_ctl_commit(ctl, pipeline, mdp_ctl_flush_mask_encoder(intf), true); 145 struct mdp5_ctl *ctl = mdp5_cmd_enc->ctl; local 155 mdp5_ctl_commit(ctl, pipeline, mdp_ctl_flush_mask_encoder(intf), true); 157 mdp5_ctl_set_encoder_state(ctl, pipeline, true);
|
H A D | mdp5_encoder.c | 124 struct mdp5_ctl *ctl = mdp5_encoder->ctl; local 134 mdp5_ctl_set_encoder_state(ctl, pipeline, false); 139 mdp5_ctl_commit(ctl, pipeline, mdp_ctl_flush_mask_encoder(intf), true); 158 struct mdp5_ctl *ctl = mdp5_encoder->ctl; local 170 mdp5_ctl_commit(ctl, pipeline, mdp_ctl_flush_mask_encoder(intf), true); 172 mdp5_ctl_set_encoder_state(ctl, pipeline, true); 223 struct mdp5_ctl *ctl = mdp5_encoder->ctl; local 284 mdp5_encoder_init(struct drm_device *dev, struct mdp5_interface *intf, struct mdp5_ctl *ctl) argument [all...] |
/linux-master/tools/virtio/virtio-trace/ |
H A D | Makefile | 10 trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o
|
/linux-master/drivers/accel/habanalabs/include/common/ |
H A D | qman_if.h | 20 __le32 ctl; member in struct:hl_bd
|
/linux-master/net/mctp/ |
H A D | af_mctp.c | 357 struct mctp_ioc_tag_ctl2 *ctl, 366 size = sizeof(*ctl); 367 ptr = ctl; 379 ctl->net = MCTP_INITIAL_DEFAULT_NET; 380 ctl->peer_addr = ctl_compat.peer_addr; 381 ctl->local_addr = MCTP_ADDR_ANY; 382 ctl->flags = ctl_compat.flags; 383 ctl->tag = ctl_compat.tag; 386 if (ctl->flags) 389 if (ctl 356 mctp_ioctl_tag_copy_from_user(unsigned long arg, struct mctp_ioc_tag_ctl2 *ctl, bool tagv2) argument 396 mctp_ioctl_tag_copy_to_user(unsigned long arg, struct mctp_ioc_tag_ctl2 *ctl, bool tagv2) argument 429 struct mctp_ioc_tag_ctl2 ctl; local 471 struct mctp_ioc_tag_ctl2 ctl; local [all...] |