/kernel/linux/linux-5.10/drivers/macintosh/ |
H A D | macio-adb.c | 33 struct preg autopoll; member 57 /* Bits in autopoll register */ 58 #define APE 1 /* autopoll enable */ 77 .autopoll = macio_adb_autopoll, 119 out_8(&adb->autopoll.r, APE); in macio_init() 141 out_8(&adb->autopoll.r, devs? APE: 0); in macio_adb_autopoll() 212 int autopoll = 0; in macio_adb_interrupt() local 253 /* autopoll data */ in macio_adb_interrupt() 258 autopoll = (in_8(&adb->dcount.r) & APD) != 0; in macio_adb_interrupt() 275 adb_input(ibuf, ibuf_len, autopoll); in macio_adb_interrupt() [all...] |
H A D | adb.c | 266 /* Stop autopoll */ in __adb_suspend() 267 if (adb_controller->autopoll) in __adb_suspend() 268 adb_controller->autopoll(0); in __adb_suspend() 363 if (adb_controller->autopoll) in do_adb_reset_bus() 364 adb_controller->autopoll(0); in do_adb_reset_bus() 392 if (adb_controller->autopoll) in do_adb_reset_bus() 393 adb_controller->autopoll(autopoll_devs); in do_adb_reset_bus() 520 adb_input(unsigned char *buf, int nb, int autopoll) in adb_input() argument 529 * has been started. We stop autopoll, but this is another security in adb_input() 547 (*handler)(buf, nb, autopoll); in adb_input() [all...] |
H A D | adb-iop.c | 56 .autopoll = adb_iop_autopoll, 97 * These IOP messages can carry ADB autopoll responses and also occur
|
H A D | via-macii.c | 104 .autopoll = macii_autopoll, 192 /* This only polls devices in the autopoll list, which assumes that in macii_queue_poll() 202 * device won't do that). Or the autopoll list may have been changed. in macii_queue_poll() 367 * Request with expected reply packet (or with buffered autopoll packet): 406 * read an autopoll reply from the transceiver buffer. in macii_interrupt() 440 * must read an autopoll reply. The first byte was in macii_interrupt()
|
H A D | adbhid.c | 405 adbhid_mouse_input(unsigned char *data, int nb, int autopoll) in adbhid_mouse_input() argument 503 adbhid_buttons_input(unsigned char *data, int nb, int autopoll) in adbhid_buttons_input() argument
|
H A D | via-cuda.c | 197 .autopoll = cuda_adb_autopoll, 224 /* enable autopoll */ in find_via_cuda() 277 /* enable autopoll */ in find_via_cuda()
|
H A D | via-pmu.c | 220 .autopoll = pmu_adb_autopoll, 1376 /* Hack to deal with ADB autopoll flag */ in pmu_handle_data()
|
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | macio-adb.c | 35 struct preg autopoll; member 59 /* Bits in autopoll register */ 60 #define APE 1 /* autopoll enable */ 79 .autopoll = macio_adb_autopoll, 121 out_8(&adb->autopoll.r, APE); in macio_init() 143 out_8(&adb->autopoll.r, devs? APE: 0); in macio_adb_autopoll() 214 int autopoll = 0; in macio_adb_interrupt() local 256 /* autopoll data */ in macio_adb_interrupt() 261 autopoll = (in_8(&adb->dcount.r) & APD) != 0; in macio_adb_interrupt() 278 adb_input(ibuf, ibuf_len, autopoll); in macio_adb_interrupt() [all...] |
H A D | adb.c | 266 /* Stop autopoll */ in __adb_suspend() 267 if (adb_controller->autopoll) in __adb_suspend() 268 adb_controller->autopoll(0); in __adb_suspend() 363 if (adb_controller->autopoll) in do_adb_reset_bus() 364 adb_controller->autopoll(0); in do_adb_reset_bus() 392 if (adb_controller->autopoll) in do_adb_reset_bus() 393 adb_controller->autopoll(autopoll_devs); in do_adb_reset_bus() 520 adb_input(unsigned char *buf, int nb, int autopoll) in adb_input() argument 529 * has been started. We stop autopoll, but this is another security in adb_input() 547 (*handler)(buf, nb, autopoll); in adb_input() [all...] |
H A D | adb-iop.c | 56 .autopoll = adb_iop_autopoll, 97 * These IOP messages can carry ADB autopoll responses and also occur
|
H A D | via-macii.c | 102 .autopoll = macii_autopoll, 190 /* This only polls devices in the autopoll list, which assumes that in macii_queue_poll() 200 * device won't do that). Or the autopoll list may have been changed. in macii_queue_poll() 365 * Request with expected reply packet (or with buffered autopoll packet): 404 * read an autopoll reply from the transceiver buffer. in macii_interrupt() 438 * must read an autopoll reply. The first byte was in macii_interrupt()
|
H A D | adbhid.c | 405 adbhid_mouse_input(unsigned char *data, int nb, int autopoll) in adbhid_mouse_input() argument 503 adbhid_buttons_input(unsigned char *data, int nb, int autopoll) in adbhid_buttons_input() argument
|
H A D | via-cuda.c | 200 .autopoll = cuda_adb_autopoll, 227 /* enable autopoll */ in find_via_cuda() 274 /* enable autopoll */ in find_via_cuda()
|
H A D | via-pmu.c | 220 .autopoll = pmu_adb_autopoll, 1367 /* Hack to deal with ADB autopoll flag */ in pmu_handle_data()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | adb.h | 36 int (*autopoll)(int devs); member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | adb.h | 36 int (*autopoll)(int devs); member
|