Lines Matching defs:byte
53 * to_sas_gpio_gp_bit - given the gpio frame data find the byte/bit position of 'od'
58 * @bit: bit position of 'od' in the returned byte
63 * "In GPIO_TX[1], bit 0 of byte 3 contains the first bit (i.e., OD0.0)
64 * and bit 7 of byte 0 contains the 32nd bit (i.e., OD10.1).
66 * In GPIO_TX[2], bit 0 of byte 3 contains the 33rd bit (i.e., OD10.2)
67 * and bit 7 of byte 0 contains the 64th bit (i.e., OD21.0)."
77 u8 byte;
94 byte = 3 - (od >> 3);
97 return &data[reg * 4 + byte];
102 u8 *byte;
105 byte = to_sas_gpio_gp_bit(od, data, index, count, &bit);
106 if (!byte)
109 return (*byte >> bit) & 1;