Lines Matching refs:index
56 * @index: requested data register index (from frame)
74 static u8 *to_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count, u8 *bit)
79 /* gp registers start at index 1 */
80 if (index == 0)
83 index--; /* make index 0-based */
84 if (od < index * 32)
87 od -= index * 32;
100 int try_test_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count)
105 byte = to_sas_gpio_gp_bit(od, data, index, count, &bit);