Lines Matching defs:odd_offset
288 * If odd_offset is 0 sequential number is identical to logical number.
291 * Otherwise odd_offset defines the physical offset for odd numbered
296 static int bcm2835_i2s_convert_slot(unsigned int slot, unsigned int odd_offset)
298 if (!odd_offset)
302 return (slot >> 1) + odd_offset;
314 * If odd_offset is > 0 slot positions are translated to
316 * logical slot numbers starting at physical slot odd_offset.
321 unsigned int bit_offset, unsigned int odd_offset)
323 *ch1_pos = bcm2835_i2s_convert_slot((ffs(mask) - 1), odd_offset)
325 *ch2_pos = bcm2835_i2s_convert_slot((fls(mask) - 1), odd_offset)