Lines Matching refs:read_bit
291 static void S24C16_do_bit(struct sym_device *np, u_char *read_bit, u_char write_bit, in S24C16_do_bit() argument
296 if (read_bit) in S24C16_do_bit()
297 *read_bit = INB(np, nc_gpreg); in S24C16_do_bit()
318 static void S24C16_read_ack(struct sym_device *np, u_char *read_bit, u_char *gpreg, in S24C16_read_ack() argument
322 S24C16_do_bit(np, read_bit, 1, gpreg); in S24C16_read_ack()
349 u_char read_bit; in S24C16_read_byte() local
353 S24C16_do_bit(np, &read_bit, 1, gpreg); in S24C16_read_byte()
354 *read_data |= ((read_bit & 0x01) << (7 - x)); in S24C16_read_byte()
549 static void T93C46_Read_Bit(struct sym_device *np, u_char *read_bit, u_char *gpreg) in T93C46_Read_Bit() argument
553 *read_bit = INB(np, nc_gpreg); in T93C46_Read_Bit()
592 u_char *read_bit, u_char *gpreg) in T93C46_Send_Command() argument
600 *read_bit = INB(np, nc_gpreg); in T93C46_Send_Command()
610 u_char read_bit; in T93C46_Read_Word() local
614 T93C46_Read_Bit(np, &read_bit, gpreg); in T93C46_Read_Word()
616 if (read_bit & 0x01) in T93C46_Read_Word()
632 unsigned char read_bit; in T93C46_Read_Data() local
634 T93C46_Send_Command(np, 0x180 | x, &read_bit, gpreg); in T93C46_Read_Data()
635 if (read_bit & 0x01) in T93C46_Read_Data()