Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A Didt821034.c245 static int idt821034_set_slic_conf(struct idt821034 *idt821034, u8 ch, u8 slic_dir) in idt821034_set_slic_conf() argument
250 dev_dbg(&idt821034->spi->dev, "set_slic_conf(%u, 0x%x)\n", ch, slic_dir); in idt821034_set_slic_conf()
252 conf = IDT821034_MODE_SLIC(ch) | slic_dir; in idt821034_set_slic_conf()
257 idt821034->cache.ch[ch].slic_conf = slic_dir; in idt821034_set_slic_conf()
1014 u8 slic_dir; in idt821034_chip_get_direction() local
1017 slic_dir = idt821034_get_slic_conf(idt821034, ch); in idt821034_chip_get_direction()
1020 return slic_dir & mask ? GPIO_LINE_DIRECTION_IN : GPIO_LINE_DIRECTION_OUT; in idt821034_chip_get_direction()