Home
last modified time | relevance | path

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

/drivers/media/v4l2-core/
Dtuner-core.c130 unsigned int mode_mask; /* Combination of allowable modes */ member
307 t->mode_mask = T_RADIO; in set_type()
313 t->mode_mask = T_RADIO; in set_type()
446 t->mode_mask = new_mode_mask; in set_type()
463 t->mode_mask); in set_type()
496 tun_setup->mode_mask, in tuner_s_type_addr()
500 (t->mode_mask & tun_setup->mode_mask))) || in tuner_s_type_addr()
502 set_type(c, tun_setup->type, tun_setup->mode_mask, in tuner_s_type_addr()
507 t->type, t->mode_mask, in tuner_s_type_addr()
508 tun_setup->addr, tun_setup->mode_mask); in tuner_s_type_addr()
[all …]
/drivers/regulator/
Dhi6421-regulator.c44 u8 mode_mask; member
187 .mode_mask = ecomask, \
224 .mode_mask = ecomask, \
261 .mode_mask = ecomask, \
295 .mode_mask = sleepmask, \
328 .mode_mask = sleepmask, \
414 if (reg_val & info->mode_mask) in hi6421_regulator_ldo_get_mode()
426 if (reg_val & info->mode_mask) in hi6421_regulator_buck_get_mode()
443 new_mode = info->mode_mask; in hi6421_regulator_ldo_set_mode()
451 info->mode_mask, new_mode); in hi6421_regulator_ldo_set_mode()
[all …]
Das3722-regulator.c70 u8 mode_mask; member
101 .mode_mask = AS3722_SD0_MODE_FAST,
113 .mode_mask = AS3722_SD1_MODE_FAST,
126 .mode_mask = AS3722_SD2_MODE_FAST,
140 .mode_mask = AS3722_SD3_MODE_FAST,
154 .mode_mask = AS3722_SD4_MODE_FAST,
168 .mode_mask = AS3722_SD5_MODE_FAST,
181 .mode_mask = AS3722_SD6_MODE_FAST,
480 if (val & as3722_reg_lookup[id].mode_mask) in as3722_sd_get_mode()
500 val = as3722_reg_lookup[id].mode_mask; in as3722_sd_set_mode()
[all …]
Dab8500.c79 u8 mode_mask; member
357 if (info->mode_mask) { in ab8500_regulator_set_mode()
360 mask = info->mode_mask; in ab8500_regulator_set_mode()
375 if (info->mode_mask) in ab8500_regulator_set_mode()
394 if (info->mode_mask) in ab8500_regulator_set_mode()
404 if (info->mode_mask || ab8500_regulator_is_enabled(rdev)) { in ab8500_regulator_set_mode()
420 if (!info->mode_mask) in ab8500_regulator_set_mode()
454 if (info->mode_mask) { in ab8500_regulator_get_mode()
458 val = val & info->mode_mask; in ab8500_regulator_get_mode()
1154 .mode_mask = 0x04,
[all …]
/drivers/input/misc/
Dati_remote2.c104 static unsigned int mode_mask = ATI_REMOTE2_MAX_MODE_MASK; variable
110 module_param(mode_mask, mode_mask, 0644);
111 MODULE_PARM_DESC(mode_mask, "Bitmask of modes to accept <4:PC><3:AUX4><2:AUX3><1:AUX2><0:AUX1>");
209 unsigned int mode_mask; member
333 if (!((1 << mode) & ar2->mode_mask)) in ati_remote2_input_mouse()
388 if (!((1 << mode) & ar2->mode_mask)) in ati_remote2_input_key()
763 return sprintf(buf, "0x%02x\n", ar2->mode_mask); in ati_remote2_show_mode_mask()
783 ar2->mode_mask = mask; in ati_remote2_store_mode_mask()
791 static DEVICE_ATTR(mode_mask, 0644, ati_remote2_show_mode_mask,
858 ar2->mode_mask = mode_mask; in ati_remote2_probe()
/drivers/media/usb/au0828/
Dau0828-cards.c221 unsigned int mode_mask = T_ANALOG_TV; in au0828_card_analog_fe_setup() local
241 tun_setup.mode_mask = mode_mask; in au0828_card_analog_fe_setup()
/drivers/memstick/host/
Dtifm_ms.c76 unsigned int mode_mask; member
309 writel(host->mode_mask | TIFM_MS_SYS_FIFO, in tifm_ms_issue_cmd()
510 host->mode_mask = TIFM_MS_SYS_SRAC | TIFM_MS_SYS_REI; in tifm_ms_set_param()
524 host->mode_mask = TIFM_MS_SYS_SRAC | TIFM_MS_SYS_REI; in tifm_ms_set_param()
529 host->mode_mask = 0; in tifm_ms_set_param()
/drivers/media/pci/cx88/
Dcx88-cards.c3417 unsigned int mode_mask = T_RADIO | T_ANALOG_TV; in cx88_card_setup() local
3559 tun_setup.mode_mask = T_RADIO; in cx88_card_setup()
3564 mode_mask &= ~T_RADIO; in cx88_card_setup()
3568 tun_setup.mode_mask = mode_mask; in cx88_card_setup()
/drivers/media/usb/usbvision/
Dusbvision-i2c.c251 tun_setup.mode_mask = T_ANALOG_TV | T_RADIO; in usbvision_i2c_register()
/drivers/media/usb/tm6000/
Dtm6000-cards.c914 tun_setup.mode_mask = 0; in tm6000_config_tuner()
916 tun_setup.mode_mask |= (T_ANALOG_TV | T_RADIO); in tm6000_config_tuner()
/drivers/media/pci/cx18/
Dcx18-driver.c1093 setup.mode_mask = T_ANALOG_TV; /* matches TV tuners */ in cx18_probe()
1096 setup.mode_mask |= T_RADIO; in cx18_probe()
/drivers/media/pci/ivtv/
Divtv-driver.c1202 setup.mode_mask = T_ANALOG_TV; /* matches TV tuners */ in ivtv_probe()
1204 setup.mode_mask |= T_RADIO; in ivtv_probe()
/drivers/media/usb/go7007/
Dgo7007-driver.c300 .mode_mask = T_ANALOG_TV, in go7007_register_encoder()
/drivers/media/pci/saa7146/
Dmxb.c368 tun_setup.mode_mask = T_ANALOG_TV; in mxb_init_done()
/drivers/ata/
Dlibata-core.c3338 unsigned int mode_mask; in ata_do_set_mode() local
3340 mode_mask = ATA_DMA_MASK_ATA; in ata_do_set_mode()
3342 mode_mask = ATA_DMA_MASK_ATAPI; in ata_do_set_mode()
3344 mode_mask = ATA_DMA_MASK_CFA; in ata_do_set_mode()
3351 if (libata_dma_mask & mode_mask) in ata_do_set_mode()
/drivers/media/pci/saa7134/
Dsaa7134-cards.c7785 unsigned int mode_mask = T_RADIO | T_ANALOG_TV; in saa7134_tuner_setup() local
7794 tun_setup.mode_mask = T_RADIO; in saa7134_tuner_setup()
7797 mode_mask &= ~T_RADIO; in saa7134_tuner_setup()
7806 tun_setup.mode_mask = mode_mask; in saa7134_tuner_setup()
/drivers/net/wireless/ath/ath9k/
Dhw.h543 u32 mode_mask; member
Dhw.c3070 gen_tmr_configuration[timer->index].mode_mask); in ath9k_hw_gen_timer_start()
3108 gen_tmr_configuration[timer->index].mode_mask); in ath9k_hw_gen_timer_stop()
/drivers/net/ethernet/brocade/bna/
Dbnad.c3223 enum bna_rxmode new_mode, mode_mask; in bnad_set_rx_mode() local
3253 mode_mask = BNA_RXMODE_PROMISC | BNA_RXMODE_DEFAULT | in bnad_set_rx_mode()
3255 bna_rx_mode_set(bnad->rx_info[0].rx, new_mode, mode_mask); in bnad_set_rx_mode()
/drivers/media/pci/cx23885/
Dcx23885-video.c1180 tun_setup.mode_mask = T_ANALOG_TV; in cx23885_video_register()
/drivers/media/pci/bt8xx/
Dbttv-cards.c3677 tun_setup.mode_mask = T_ANALOG_TV; in bttv_init_tuner()
3682 tun_setup.mode_mask |= T_RADIO; in bttv_init_tuner()
/drivers/media/usb/cx231xx/
Dcx231xx-cards.c1016 tun_setup.mode_mask = T_ANALOG_TV | T_RADIO; in cx231xx_config_tuner()
/drivers/media/usb/em28xx/
Dem28xx-video.c2216 tun_setup.mode_mask = T_ANALOG_TV | T_RADIO; in em28xx_tuner_setup()
/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c2900 setup.mode_mask = T_RADIO | T_ANALOG_TV; in pvr2_subdev_update()