host-drivers/base-driver/vca/plx87xx/plx_hw.c
static inline unsigned int plx_get_a_lut_entry_offset(unsigned int idx)
{
	unsigned int array_offset = (idx >= PLX_A_LUT_MAX_ARRAY) ? PLX_A_LUT_ARRAY_OFFSET : 0;
	return array_offset +  (idx % PLX_A_LUT_MAX_ARRAY) * sizeof(u32);
}
/* plx_get_a_lut_entry_offset - calculate an offset to a given A-LUT entry
 * in A-LUT array. The offset is to a first subarray only- next subarrays
 * offsets needs to be calculated by own; function covers a case of
 * A-LUT table divided to two arrays
 *
 * @idx- index of an A-LUT entry
 *
 * RETURNS: offset of a given A-LUT entry, starting from the beginning of
 * a first array
 */
calculate an offset to a given A-LUT entry
in A-LUT array. The offset is to a first subarray only- next subarrays
offsets needs to be calculated by own; function covers a case of
A-LUT table divided to two arrays

@idx- index of an A-LUT entry

offset of a given A-LUT entry, starting from the beginning of
a first array
calculate an offset to a given A - LUT entry in A - LUT array . The offset is to a first subarray only - next subarrays offsets needs to be calculated by own ; function covers a case of A - LUT table divided to two arrays @idx - index of an A - LUT entry offset of a given A - LUT entry starting from the beginning of a first array
static inline unsigned int plx_get_a_lut_entry_offset(unsigned int idx)
{
	unsigned int array_offset = (idx >= PLX_A_LUT_MAX_ARRAY) ? PLX_A_LUT_ARRAY_OFFSET : 0;
	return array_offset +  (idx % PLX_A_LUT_MAX_ARRAY) * sizeof(u32);
}
static inline unsigned int plx_get_a_lut_entry_offset ( unsigned int idx ) { unsigned int array_offset = ( idx >= PLX_A_LUT_MAX_ARRAY ) ? PLX_A_LUT_ARRAY_OFFSET : 0 ; return array_offset + ( idx % PLX_A_LUT_MAX_ARRAY ) * sizeof ( u32 ) ; }
plx_get_a_lut_entry_offset - calculate an offset to a given A-LUT entry
 in A-LUT array.
plx_get_a_lut_entry_offset - calculate an offset to a given A - LUT entry in A - LUT array .