Home
last modified time | relevance | path

Searched refs:dir_mask (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/sound/soc/atmel/ !
Datmel_ssc_dai.c119 .dir_mask = SSC_DIR_MASK_UNUSED,
124 .dir_mask = SSC_DIR_MASK_UNUSED,
129 .dir_mask = SSC_DIR_MASK_UNUSED,
214 if ((ssc_p->dir_mask & SSC_DIR_MASK_CAPTURE) in atmel_ssc_hw_rule_rate()
224 if ((ssc_p->dir_mask & SSC_DIR_MASK_PLAYBACK) in atmel_ssc_hw_rule_rate()
275 int dir, dir_mask; in atmel_ssc_startup() local
295 dir_mask = SSC_DIR_MASK_PLAYBACK; in atmel_ssc_startup()
298 dir_mask = SSC_DIR_MASK_CAPTURE; in atmel_ssc_startup()
320 if (ssc_p->dir_mask & dir_mask) in atmel_ssc_startup()
323 ssc_p->dir_mask |= dir_mask; in atmel_ssc_startup()
[all …]
Datmel_ssc_dai.h96 unsigned short dir_mask; /* 0=unused, 1=playback, 2=capture */ member
/linux-6.1.9/drivers/staging/sm750fb/ !
Dddk750_swi2c.c187 unsigned long dir_mask = 1 << sw_i2c_data_gpio; in sw_i2c_read_sda() local
191 if ((gpio_dir & dir_mask) != ~dir_mask) { in sw_i2c_read_sda()
/linux-6.1.9/drivers/input/misc/ !
Diqs269a.c1094 u8 dir_mask, state; in iqs269_input_init() local
1118 dir_mask = flags.states[IQS269_ST_OFFS_DIR]; in iqs269_input_init()
1120 dir_mask = ~dir_mask; in iqs269_input_init()
1122 state = flags.states[iqs269_events[i].st_offs] & dir_mask; in iqs269_input_init()
1199 u8 dir_mask, state; in iqs269_report() local
1253 dir_mask = flags.states[IQS269_ST_OFFS_DIR]; in iqs269_report()
1255 dir_mask = ~dir_mask; in iqs269_report()
1257 state = flags.states[iqs269_events[i].st_offs] & dir_mask; in iqs269_report()
Diqs626a.c1514 u8 *dir_mask = &flags.states[IQS626_ST_OFFS_DIR]; in iqs626_report() local
1558 *dir_mask &= ~iqs626_channels[IQS626_CH_HALL].active; in iqs626_report()
1560 *dir_mask |= iqs626_channels[IQS626_CH_HALL].active; in iqs626_report()
1572 state &= iqs626_events[j].dir_up ? *dir_mask in iqs626_report()
1573 : ~(*dir_mask); in iqs626_report()
/linux-6.1.9/sound/pci/hda/ !
Dpatch_sigmatel.c290 unsigned int dir_mask, unsigned int data) in stac_gpio_set() argument
295 codec_dbg(codec, "%s msk %x dir %x gpio %x\n", __func__, mask, dir_mask, data); in stac_gpio_set()
299 gpiostate = (gpiostate & ~dir_mask) | (data & dir_mask); in stac_gpio_set()
307 gpiodir |= dir_mask; in stac_gpio_set()