Searched refs:CHK_BIT (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt1x/ |
| H A D | gt1x_generic.c | 1208 if (CHK_BIT(cur_event, BIT_STYLUS_KEY) || CHK_BIT(pre_event, BIT_STYLUS_KEY)) { in gt1x_touch_event_handler() 1223 if (CHK_BIT(cur_event, BIT_STYLUS)) { in gt1x_touch_event_handler() 1235 } else if (CHK_BIT(pre_event, BIT_STYLUS)) { in gt1x_touch_event_handler() 1242 if (CHK_BIT(cur_event, BIT_TOUCH_KEY) || CHK_BIT(pre_event, BIT_TOUCH_KEY)) { in gt1x_touch_event_handler() 1246 if (CHK_BIT(cur_event, BIT_TOUCH_KEY)) { in gt1x_touch_event_handler() 1253 if (CHK_BIT(cur_event, BIT_TOUCH_KEY) || CHK_BIT(pre_event, BIT_TOUCH_KEY)) { in gt1x_touch_event_handler() 1269 if (CHK_BIT(cur_event, BIT_TOUCH)) { in gt1x_touch_event_handler() 1295 } else if (CHK_BIT(pre_event, BIT_TOUCH)) { in gt1x_touch_event_handler() 1311 if (CHK_BIT(cur_event, BIT_STYLUS_KEY | BIT_STYLUS) in gt1x_touch_event_handler() 1312 || CHK_BIT(pre_event, BIT_STYLUS_KEY | BIT_STYLUS)) { in gt1x_touch_event_handler() [all …]
|
| H A D | gt1x_generic.h | 441 #define CHK_BIT(data, flag) ((data) & (flag)) macro
|
| /OK3568_Linux_fs/kernel/drivers/usb/storage/ |
| H A D | realtek_cr.c | 122 #define CHK_BIT(data, idx) ((data) & (1 << (idx))) macro 141 CHK_BIT((chip)->status[0].function[0], 1) 143 CHK_BIT((chip)->status[0].function[0], 2) 145 CHK_BIT((chip)->status[0].function[0], 3) 147 CHK_BIT((chip)->status[0].function[0], 4) 149 CHK_BIT((chip)->status[0].function[1], 0) 151 CHK_BIT((chip)->status[0].function[1], 1)
|
| /OK3568_Linux_fs/kernel/drivers/staging/rts5208/ |
| H A D | rtsx_chip.h | 327 #define CHK_BIT(data, idx) ((data) & (1 << (idx))) macro
|
| H A D | rtsx_scsi.c | 420 if (!(CHK_BIT(chip->lun_mc, lun))) { in test_unit_ready() 856 if (!(CHK_BIT(chip->lun_mc, lun))) { in read_write() 1057 if (!(CHK_BIT(chip->lun_mc, lun))) { in read_capacity()
|
| H A D | sd.c | 3769 if (!(CHK_BIT(chip->lun_mc, lun))) {
|