Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/soc/bcm/
H A Dbcm2835-i2s.c288 * 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) 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()
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) in bcm2835_i2s_calc_channel_pos()
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()
318 bcm2835_i2s_calc_channel_pos( unsigned int *ch1_pos, unsigned int *ch2_pos, unsigned int mask, unsigned int width, unsigned int bit_offset, unsigned int odd_offset) bcm2835_i2s_calc_channel_pos() argument
[all...]
/kernel/linux/linux-6.6/sound/soc/bcm/
H A Dbcm2835-i2s.c288 * 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) 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()
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) in bcm2835_i2s_calc_channel_pos()
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()
318 bcm2835_i2s_calc_channel_pos( unsigned int *ch1_pos, unsigned int *ch2_pos, unsigned int mask, unsigned int width, unsigned int bit_offset, unsigned int odd_offset) bcm2835_i2s_calc_channel_pos() argument
[all...]

Completed in 3 milliseconds