Searched refs:CHK_BIT (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/usb/storage/
H A Drealtek_cr.c130 #define CHK_BIT(data, idx) ((data) & (1 << (idx))) macro
149 CHK_BIT((chip)->status[0].function[0], 1)
151 CHK_BIT((chip)->status[0].function[0], 2)
153 CHK_BIT((chip)->status[0].function[0], 3)
155 CHK_BIT((chip)->status[0].function[0], 4)
157 CHK_BIT((chip)->status[0].function[1], 0)
159 CHK_BIT((chip)->status[0].function[1], 1)
/linux-4.1.27/drivers/staging/rts5208/
H A Drtsx_scsi.c431 if (!(CHK_BIT(chip->lun_mc, lun))) { test_unit_ready()
881 if (!(CHK_BIT(chip->lun_mc, lun))) { read_write()
1090 if (!(CHK_BIT(chip->lun_mc, lun))) { read_capacity()
H A Drtsx_chip.h339 #define CHK_BIT(data, idx) ((data) & (1 << (idx))) macro
H A Dsd.c4259 if (!(CHK_BIT(chip->lun_mc, lun))) { sd_pass_thru_mode()

Completed in 174 milliseconds