Home
last modified time | relevance | path

Searched refs:mode_mask (Results 1 – 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/arch/arm/mach-davinci/
Dmux.h18 #define MUX_CFG(soc, desc, muxreg, mode_offset, mode_mask, mux_mode, dbg)\ argument
25 .mask = mode_mask, \
29 #define INT_CFG(soc, desc, mode_offset, mode_mask, mux_mode, dbg) \ argument
36 .mask = mode_mask, \
40 #define EVT_CFG(soc, desc, mode_offset, mode_mask, mux_mode, dbg) \ argument
47 .mask = mode_mask, \
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dtuner-core.c162 unsigned int mode_mask; /* Combination of allowable modes */ member
340 t->mode_mask = T_RADIO; in set_type()
346 t->mode_mask = T_RADIO; in set_type()
479 t->mode_mask = new_mode_mask; in set_type()
496 t->mode_mask); in set_type()
529 tun_setup->mode_mask, in tuner_s_type_addr()
533 (t->mode_mask & tun_setup->mode_mask))) || in tuner_s_type_addr()
535 set_type(c, tun_setup->type, tun_setup->mode_mask, in tuner_s_type_addr()
539 t->type, t->mode_mask, in tuner_s_type_addr()
540 tun_setup->addr, tun_setup->mode_mask); in tuner_s_type_addr()
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Dhi6421-regulator.c40 u8 mode_mask; member
149 .mode_mask = ecomask, \
189 .mode_mask = ecomask, \
229 .mode_mask = ecomask, \
266 .mode_mask = sleepmask, \
302 .mode_mask = sleepmask, \
392 if (reg_val & info->mode_mask) in hi6421_regulator_ldo_get_mode()
405 if (reg_val & info->mode_mask) in hi6421_regulator_buck_get_mode()
423 new_mode = info->mode_mask; in hi6421_regulator_ldo_set_mode()
431 info->mode_mask, new_mode); in hi6421_regulator_ldo_set_mode()
[all …]
Dhi6421v530-regulator.c28 u8 mode_mask; member
92 .mode_mask = ecomask, \
120 if (reg_val & (info->mode_mask)) in hi6421v530_regulator_ldo_get_mode()
138 new_mode = info->mode_mask; in hi6421v530_regulator_ldo_set_mode()
145 info->mode_mask, new_mode); in hi6421v530_regulator_ldo_set_mode()
Dfan53555.c106 unsigned int mode_mask; member
155 di->mode_mask, di->mode_mask); in fan53555_set_mode()
158 regmap_update_bits(rdev->regmap, di->vol_reg, di->mode_mask, 0); in fan53555_set_mode()
175 if (val & di->mode_mask) in fan53555_get_mode()
353 di->mode_mask = CTL_MODE_VSEL1_MODE; in fan53555_device_setup()
356 di->mode_mask = CTL_MODE_VSEL0_MODE; in fan53555_device_setup()
363 di->mode_mask = VSEL_MODE; in fan53555_device_setup()
Dmt6360-regulator.c38 unsigned int mode_mask; member
225 int shift = ffs(rdesc->mode_mask) - 1; in mt6360_regulator_set_mode()
243 ret = regmap_update_bits(regmap, rdesc->mode_reg, rdesc->mode_mask, val << shift); in mt6360_regulator_set_mode()
256 int shift = ffs(rdesc->mode_mask) - 1; in mt6360_regulator_get_mode()
264 val &= rdesc->mode_mask; in mt6360_regulator_get_mode()
346 .mode_mask = mmask, \
Das3722-regulator.c56 u8 mode_mask; member
86 .mode_mask = AS3722_SD0_MODE_FAST,
98 .mode_mask = AS3722_SD1_MODE_FAST,
111 .mode_mask = AS3722_SD2_MODE_FAST,
125 .mode_mask = AS3722_SD3_MODE_FAST,
139 .mode_mask = AS3722_SD4_MODE_FAST,
153 .mode_mask = AS3722_SD5_MODE_FAST,
166 .mode_mask = AS3722_SD6_MODE_FAST,
437 if (val & as3722_reg_lookup[id].mode_mask) in as3722_sd_get_mode()
457 val = as3722_reg_lookup[id].mode_mask; in as3722_sd_set_mode()
[all …]
Dab8500.c77 u8 mode_mask; member
298 if (info->mode_mask) { in ab8500_regulator_set_mode()
301 mask = info->mode_mask; in ab8500_regulator_set_mode()
316 if (info->mode_mask) in ab8500_regulator_set_mode()
335 if (info->mode_mask) in ab8500_regulator_set_mode()
345 if (info->mode_mask || ab8500_regulator_is_enabled(rdev)) { in ab8500_regulator_set_mode()
361 if (!info->mode_mask) in ab8500_regulator_set_mode()
395 if (info->mode_mask) { in ab8500_regulator_get_mode()
399 val = val & info->mode_mask; in ab8500_regulator_get_mode()
964 .mode_mask = 0x04,
[all …]
Dcpcap-regulator.c106 mode_mask, volt_mask, mode_val, off_val, \ argument
121 .enable_mask = (mode_mask), \
/kernel/linux/linux-5.10/drivers/input/misc/
Dati_remote2.c99 static unsigned int mode_mask = ATI_REMOTE2_MAX_MODE_MASK; variable
105 module_param(mode_mask, mode_mask, 0644);
106 MODULE_PARM_DESC(mode_mask, "Bitmask of modes to accept <4:PC><3:AUX4><2:AUX3><1:AUX2><0:AUX1>");
204 unsigned int mode_mask; member
328 if (!((1 << mode) & ar2->mode_mask)) in ati_remote2_input_mouse()
383 if (!((1 << mode) & ar2->mode_mask)) in ati_remote2_input_key()
758 return sprintf(buf, "0x%02x\n", ar2->mode_mask); in ati_remote2_show_mode_mask()
778 ar2->mode_mask = mask; in ati_remote2_store_mode_mask()
786 static DEVICE_ATTR(mode_mask, 0644, ati_remote2_show_mode_mask,
853 ar2->mode_mask = mode_mask; in ati_remote2_probe()
/kernel/linux/linux-5.10/drivers/media/usb/au0828/
Dau0828-cards.c207 unsigned int mode_mask = T_ANALOG_TV; in au0828_card_analog_fe_setup() local
227 tun_setup.mode_mask = mode_mask; in au0828_card_analog_fe_setup()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_sspp.c172 u32 mode_mask; in dpu_hw_sspp_setup_multirect() local
184 mode_mask = 0; in dpu_hw_sspp_setup_multirect()
186 mode_mask = DPU_REG_READ(&ctx->hw, SSPP_MULTIRECT_OPMODE + idx); in dpu_hw_sspp_setup_multirect()
187 mode_mask |= index; in dpu_hw_sspp_setup_multirect()
189 mode_mask |= BIT(2); in dpu_hw_sspp_setup_multirect()
191 mode_mask &= ~BIT(2); in dpu_hw_sspp_setup_multirect()
194 DPU_REG_WRITE(&ctx->hw, SSPP_MULTIRECT_OPMODE + idx, mode_mask); in dpu_hw_sspp_setup_multirect()
/kernel/linux/linux-5.10/drivers/media/cec/core/
Dcec-pin-error-inj.c196 u64 mode_mask; in cec_pin_error_inj_parse_line() local
204 mode_mask = CEC_ERROR_INJ_MODE_MASK << mode_offset; in cec_pin_error_inj_parse_line()
231 *error &= ~mode_mask; in cec_pin_error_inj_parse_line()
/kernel/linux/linux-5.10/drivers/memstick/host/
Dtifm_ms.c72 unsigned int mode_mask; member
304 writel(host->mode_mask | TIFM_MS_SYS_FIFO, in tifm_ms_issue_cmd()
505 host->mode_mask = TIFM_MS_SYS_SRAC | TIFM_MS_SYS_REI; in tifm_ms_set_param()
519 host->mode_mask = TIFM_MS_SYS_SRAC | TIFM_MS_SYS_REI; in tifm_ms_set_param()
524 host->mode_mask = 0; in tifm_ms_set_param()
/kernel/linux/linux-5.10/include/media/
Dtuner.h220 unsigned int mode_mask; member
/kernel/linux/linux-5.10/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c516 u32 mode_mask = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | in dsi_set_video_mode() local
525 if ((flags & mode_mask) == non_burst_sync_pulse) in dsi_set_video_mode()
527 else if ((flags & mode_mask) == non_burst_sync_event) in dsi_set_video_mode()
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-cards.c3447 unsigned int mode_mask = T_RADIO | T_ANALOG_TV; in cx88_card_setup() local
3588 tun_setup.mode_mask = T_RADIO; in cx88_card_setup()
3593 mode_mask &= ~T_RADIO; in cx88_card_setup()
3597 tun_setup.mode_mask = mode_mask; in cx88_card_setup()
/kernel/linux/linux-5.10/drivers/media/usb/tm6000/
Dtm6000-cards.c899 tun_setup.mode_mask = 0; in tm6000_config_tuner()
901 tun_setup.mode_mask |= (T_ANALOG_TV | T_RADIO); in tm6000_config_tuner()
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
Dcx18-driver.c1072 setup.mode_mask = T_ANALOG_TV; /* matches TV tuners */ in cx18_probe()
1075 setup.mode_mask |= T_RADIO; in cx18_probe()
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-driver.c1187 setup.mode_mask = T_ANALOG_TV; /* matches TV tuners */ in ivtv_probe()
1189 setup.mode_mask |= T_RADIO; in ivtv_probe()
/kernel/linux/linux-5.10/drivers/media/usb/go7007/
Dgo7007-driver.c292 .mode_mask = T_ANALOG_TV, in go7007_register_encoder()
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-core.c3329 unsigned int mode_mask; in ata_do_set_mode() local
3331 mode_mask = ATA_DMA_MASK_ATA; in ata_do_set_mode()
3333 mode_mask = ATA_DMA_MASK_ATAPI; in ata_do_set_mode()
3335 mode_mask = ATA_DMA_MASK_CFA; in ata_do_set_mode()
3342 if (libata_dma_mask & mode_mask) in ata_do_set_mode()
/kernel/linux/linux-5.10/drivers/media/pci/saa7146/
Dmxb.c357 tun_setup.mode_mask = T_ANALOG_TV; in mxb_init_done()
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
Dsaa7134-cards.c7636 unsigned int mode_mask = T_RADIO | T_ANALOG_TV; in saa7134_tuner_setup() local
7645 tun_setup.mode_mask = T_RADIO; in saa7134_tuner_setup()
7648 mode_mask &= ~T_RADIO; in saa7134_tuner_setup()
7657 tun_setup.mode_mask = mode_mask; in saa7134_tuner_setup()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dhw.h546 u32 mode_mask; member

12