Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/bcm/
H A Dbcm2835-i2s.c296 static int bcm2835_i2s_convert_slot(unsigned int slot, unsigned int odd_offset) in bcm2835_i2s_convert_slot() argument
298 if (!odd_offset) in bcm2835_i2s_convert_slot()
302 return (slot >> 1) + odd_offset; in bcm2835_i2s_convert_slot()
321 unsigned int bit_offset, unsigned int odd_offset) in bcm2835_i2s_calc_channel_pos() argument
323 *ch1_pos = bcm2835_i2s_convert_slot((ffs(mask) - 1), odd_offset) in bcm2835_i2s_calc_channel_pos()
325 *ch2_pos = bcm2835_i2s_convert_slot((fls(mask) - 1), odd_offset) in bcm2835_i2s_calc_channel_pos()