Home
last modified time | relevance | path

Searched refs:adb_request (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/include/linux/
Dadb.h11 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 *),
Dpmu.h18 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);
Dcuda.h16 extern int cuda_request(struct adb_request *req,
17 void (*done)(struct adb_request *), int nbytes, ...);
/linux-6.1.9/drivers/macintosh/
Dadbhid.c628 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 …]
Dadb-iop.c26 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 …]
Dadb.c113 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 …]
Dvia-macii.c91 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 …]
Dvia-cuda.c166 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()
430 cuda_send_request(struct adb_request *req, int sync) in cuda_send_request()
457 struct adb_request req; in cuda_adb_autopoll()
[all …]
Dvia-pmu.c139 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);
229 int pmu_polled_request(struct adb_request *req);
578 struct adb_request req; in init_pmu()
649 struct adb_request req; in pmu_set_server_mode()
674 done_battery_state_ohare(struct adb_request* req) in done_battery_state_ohare()
764 done_battery_state_smart(struct adb_request* req) in done_battery_state_smart()
[all …]
Dmacio-adb.c63 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()
267 void (*done)(struct adb_request *) = req->done; in macio_adb_interrupt()
Dvia-pmu-backlight.c73 struct adb_request req; in __pmu_backlight_update_status()
127 struct adb_request req; in pmu_backlight_set_sleep()
175 struct adb_request req; in pmu_backlight_init()
Dvia-pmu-led.c31 static struct adb_request pmu_blink_req;
35 static void pmu_req_done(struct adb_request * req) in pmu_req_done()
/linux-6.1.9/drivers/macintosh/ams/
Dams-pmu.c42 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-6.1.9/arch/m68k/mac/
Dmisc.c42 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-6.1.9/arch/powerpc/platforms/powermac/
Dnvram.c188 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()
Dsetup.c359 struct adb_request req; in cuda_restart()
368 struct adb_request req; in cuda_shutdown()
Dlow_i2c.c668 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-6.1.9/drivers/cpufreq/
Dpmac32-cpufreq.c234 struct adb_request req; in pmu_set_cpu_speed()
/linux-6.1.9/drivers/video/fbdev/
Dvalkyriefb.c256 struct adb_request req; in set_valkyrie_clock()
Dcontrolfb.c190 struct adb_request req; in set_control_clock()
/linux-6.1.9/sound/ppc/
Dawacs.c256 struct adb_request req; in awacs_set_cuda()