Searched refs:odd_offset (Results 1 – 1 of 1) sorted by relevance
296 static int bcm2835_i2s_convert_slot(unsigned int slot, unsigned int odd_offset) in bcm2835_i2s_convert_slot() argument298 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() argument323 *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()