/Linux-v6.6/include/linux/ |
D | adb.h | 11 struct adb_request { struct 19 void (*done)(struct adb_request *); argument 21 struct adb_request *next; argument 35 int (*send_request)(struct adb_request *req, int sync); 55 int adb_request(struct adb_request *req, void (*done)(struct adb_request *),
|
D | pmu.h | 18 extern int pmu_request(struct adb_request *req, 19 void (*done)(struct adb_request *), int nbytes, ...); 20 extern int pmu_queue_request(struct adb_request *req); 23 extern void pmu_wait_complete(struct adb_request *req);
|
D | cuda.h | 16 extern int cuda_request(struct adb_request *req, 17 void (*done)(struct adb_request *), int nbytes, ...);
|
/Linux-v6.6/drivers/macintosh/ |
D | adbhid.c | 628 static struct adb_request led_request; 636 static void leds_done(struct adb_request *req) in leds_done() 654 adb_request(&led_request, leds_done, 0, 3, in leds_done() 666 adb_request(&led_request, leds_done, 0, 3, in real_leds() 952 struct adb_request req; in adbhid_probe() 966 adb_request(&req, NULL, ADBREQ_SYNC, 3, in adbhid_probe() 1041 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adbhid_probe() 1087 struct adb_request req; in init_trackpad() 1090 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in init_trackpad() 1098 adb_request(&req, NULL, ADBREQ_SYNC, 9, in init_trackpad() [all …]
|
D | adb-iop.c | 26 static struct adb_request *current_req; 27 static struct adb_request *last_req; 40 static int adb_iop_send_request(struct adb_request *, int); 41 static int adb_iop_write(struct adb_request *); 63 struct adb_request *req = current_req; in adb_iop_done() 123 struct adb_request *req = current_req; in adb_iop_listen() 159 struct adb_request *req; in adb_iop_start() 202 static int adb_iop_send_request(struct adb_request *req, int sync) in adb_iop_send_request() 217 static int adb_iop_write(struct adb_request *req) in adb_iop_write() 287 struct adb_request req; in adb_iop_reset_bus() [all …]
|
D | adb.c | 113 static void printADBreply(struct adb_request *req) 129 struct adb_request req; in adb_scan_bus() 134 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adb_scan_bus() 153 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adb_scan_bus() 160 adb_request(&req, NULL, ADBREQ_SYNC, 3, in adb_scan_bus() 168 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adb_scan_bus() 175 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adb_scan_bus() 198 adb_request(&req, NULL, ADBREQ_SYNC, 3, in adb_scan_bus() 209 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adb_scan_bus() 412 static void adb_sync_req_done(struct adb_request *req) in adb_sync_req_done() [all …]
|
D | via-macii.c | 91 static int macii_send_request(struct adb_request *req, int sync); 92 static int macii_write(struct adb_request *req); 113 static struct adb_request *current_req; /* first request struct in the queue */ 114 static struct adb_request *last_req; /* last request struct in the queue */ 186 static struct adb_request req; in macii_queue_poll() 221 adb_request(&req, NULL, ADBREQ_NOSEND, 1, poll_command); in macii_queue_poll() 237 static int macii_send_request(struct adb_request *req, int sync) in macii_send_request() 253 static int macii_write(struct adb_request *req) in macii_write() 314 struct adb_request req; in macii_reset_bus() 317 adb_request(&req, NULL, ADBREQ_NOSEND, 1, ADB_BUSRESET); in macii_reset_bus() [all …]
|
D | via-cuda.c | 166 static struct adb_request *current_req; 167 static struct adb_request *last_req; 180 static int cuda_send_request(struct adb_request *req, int sync); 190 static int cuda_write(struct adb_request *req); 192 int cuda_request(struct adb_request *req, 193 void (*done)(struct adb_request *), int nbytes, ...); 209 struct adb_request req; in find_via_cuda() 237 struct adb_request req; in find_via_cuda() 424 cuda_send_request(struct adb_request *req, int sync) in cuda_send_request() 451 struct adb_request req; in cuda_adb_autopoll() [all …]
|
D | via-pmu.c | 139 static struct adb_request *current_req; 140 static struct adb_request *last_req; 141 static struct adb_request *req_awaiting_reply; 186 static struct adb_request batt_req; 197 static int pmu_send_request(struct adb_request *req, int sync); 231 int pmu_polled_request(struct adb_request *req); 573 struct adb_request req; in init_pmu() 644 struct adb_request req; in pmu_set_server_mode() 669 done_battery_state_ohare(struct adb_request* req) in done_battery_state_ohare() 759 done_battery_state_smart(struct adb_request* req) in done_battery_state_smart() [all …]
|
D | macio-adb.c | 63 static struct adb_request *current_req, *last_req; 69 static int macio_send_request(struct adb_request *req, int sync); 172 static int macio_send_request(struct adb_request *req, int sync) in macio_send_request() 210 struct adb_request *req = NULL; in macio_adb_interrupt() 268 void (*done)(struct adb_request *) = req->done; in macio_adb_interrupt()
|
D | via-pmu-backlight.c | 73 struct adb_request req; in __pmu_backlight_update_status() 122 struct adb_request req; in pmu_backlight_set_sleep() 170 struct adb_request req; in pmu_backlight_init()
|
D | via-pmu-led.c | 31 static struct adb_request pmu_blink_req; 35 static void pmu_req_done(struct adb_request * req) in pmu_req_done()
|
/Linux-v6.6/drivers/macintosh/ams/ |
D | ams-pmu.c | 42 static void ams_pmu_req_complete(struct adb_request *req) in ams_pmu_req_complete() 50 static struct adb_request req; in ams_pmu_set_register() 63 static struct adb_request req; in ams_pmu_get_register()
|
/Linux-v6.6/arch/m68k/mac/ |
D | misc.c | 42 struct adb_request req; in cuda_pram_read_byte() 54 struct adb_request req; in cuda_pram_write_byte() 67 struct adb_request req; in pmu_pram_read_byte() 79 struct adb_request req; in pmu_pram_write_byte() 341 struct adb_request req; in cuda_restart() 351 struct adb_request req; in cuda_shutdown()
|
/Linux-v6.6/arch/powerpc/platforms/powermac/ |
D | nvram.c | 188 static void pmu_nvram_complete(struct adb_request *req) in pmu_nvram_complete() 196 struct adb_request req; in pmu_nvram_read_byte() 212 struct adb_request req; in pmu_nvram_write_byte()
|
D | setup.c | 352 struct adb_request req; in cuda_restart() 361 struct adb_request req; in cuda_shutdown()
|
D | low_i2c.c | 668 static void pmu_i2c_complete(struct adb_request *req) in pmu_i2c_complete() 676 struct adb_request *req = bus->hostdata; in pmu_i2c_xfer() 690 memset(req, 0, sizeof(struct adb_request)); in pmu_i2c_xfer() 739 memset(req, 0, sizeof(struct adb_request)); in pmu_i2c_xfer() 802 sz = sizeof(struct pmac_i2c_bus) + sizeof(struct adb_request); in pmu_i2c_probe()
|
/Linux-v6.6/drivers/cpufreq/ |
D | pmac32-cpufreq.c | 234 struct adb_request req; in pmu_set_cpu_speed()
|
/Linux-v6.6/drivers/video/fbdev/ |
D | valkyriefb.c | 254 struct adb_request req; in set_valkyrie_clock()
|
D | controlfb.c | 190 struct adb_request req; in set_control_clock()
|
/Linux-v6.6/sound/ppc/ |
D | awacs.c | 257 struct adb_request req; in awacs_set_cuda()
|