Home
last modified time | relevance | path

Searched refs:packet (Results 1 – 25 of 34) sorted by relevance

12

/bsp/samd21/sam_d2x_asflib/sam0/drivers/sercom/i2c/i2c_sam0/
A Di2c_master_interrupt.c264 struct i2c_master_packet *const packet) in i2c_master_read_bytes() argument
300 struct i2c_master_packet *const packet) in _i2c_master_read_packet() argument
318 if (packet->high_speed) { in _i2c_master_read_packet()
329 if (packet->ten_bit_address) { in _i2c_master_read_packet()
398 Assert(packet); in i2c_master_read_packet_job()
437 Assert(packet); in i2c_master_read_packet_job_no_stop()
477 Assert(packet); in i2c_master_read_packet_job_no_nack()
548 if (packet->high_speed) { in _i2c_master_write_packet()
566 if (packet->ten_bit_address) { in _i2c_master_write_packet()
598 Assert(packet); in i2c_master_write_packet_job()
[all …]
A Di2c_master.c489 struct i2c_master_packet *const packet) in _i2c_master_read_packet() argument
494 Assert(packet); in _i2c_master_read_packet()
508 if (packet->high_speed) { in _i2c_master_read_packet()
516 if (packet->ten_bit_address) { in _i2c_master_read_packet()
638 Assert(packet); in i2c_master_read_packet_wait()
685 Assert(packet); in i2c_master_read_packet_wait_no_stop()
735 Assert(packet); in i2c_master_read_packet_wait_no_nack()
779 if (packet->high_speed) { in _i2c_master_write_packet()
787 if (packet->ten_bit_address) { in _i2c_master_write_packet()
878 Assert(packet); in i2c_master_write_packet_wait()
[all …]
A Di2c_slave_interrupt.c190 struct i2c_slave_packet *const packet) in i2c_slave_read_packet_job() argument
195 Assert(packet); in i2c_slave_read_packet_job()
203 module->buffer = packet->data; in i2c_slave_read_packet_job()
204 module->buffer_remaining = packet->data_length; in i2c_slave_read_packet_job()
205 module->buffer_length = packet->data_length; in i2c_slave_read_packet_job()
235 struct i2c_slave_packet *const packet) in i2c_slave_write_packet_job() argument
240 Assert(packet); in i2c_slave_write_packet_job()
248 module->buffer = packet->data; in i2c_slave_write_packet_job()
249 module->buffer_remaining = packet->data_length; in i2c_slave_write_packet_job()
250 module->buffer_length = packet->data_length; in i2c_slave_write_packet_job()
A Di2c_slave.c337 struct i2c_slave_packet *const packet) in i2c_slave_write_packet_wait() argument
342 Assert(packet); in i2c_slave_write_packet_wait()
346 uint16_t length = packet->data_length; in i2c_slave_write_packet_wait()
422 i2c_hw->DATA.reg = packet->data[i++]; in i2c_slave_write_packet_wait()
473 struct i2c_slave_packet *const packet) in i2c_slave_read_packet_wait() argument
478 Assert(packet); in i2c_slave_read_packet_wait()
482 uint16_t length = packet->data_length; in i2c_slave_read_packet_wait()
547 packet->data[i++] = i2c_hw->DATA.reg; in i2c_slave_read_packet_wait()
/bsp/samd21/sam_d2x_asflib/sam0/drivers/i2c/
A Di2c_master_interrupt.c171 struct i2c_master_packet *const packet) in _i2c_master_read_packet() argument
176 Assert(packet); in _i2c_master_read_packet()
215 struct i2c_master_packet *const packet) in i2c_master_read_packet_job() argument
220 Assert(packet); in i2c_master_read_packet_job()
253 struct i2c_master_packet *const packet) in i2c_master_read_packet_job_no_stop() argument
258 Assert(packet); in i2c_master_read_packet_job_no_stop()
284 struct i2c_master_packet *const packet) in _i2c_master_write_packet() argument
289 Assert(packet); in _i2c_master_write_packet()
325 struct i2c_master_packet *const packet) in i2c_master_write_packet_job() argument
330 Assert(packet); in i2c_master_write_packet_job()
[all …]
A Di2c_master.c198 struct i2c_master_packet *const packet) in _i2c_master_read_packet() argument
208 uint16_t length = packet->data_length; in _i2c_master_read_packet()
264 struct i2c_master_packet *const packet) in i2c_master_read_packet_wait() argument
269 Assert(packet); in i2c_master_read_packet_wait()
271 if((module == NULL) || (packet == NULL)) in i2c_master_read_packet_wait()
310 struct i2c_master_packet *const packet) in i2c_master_read_packet_wait_no_stop() argument
315 Assert(packet); in i2c_master_read_packet_wait_no_stop()
349 Assert(packet); in _i2c_master_write_packet()
355 uint16_t length = packet->data_length; in _i2c_master_write_packet()
413 Assert(packet); in i2c_master_write_packet_wait()
[all …]
A Di2c_slave_interrupt.c166 struct i2c_slave_packet *const packet) in i2c_slave_read_packet_job() argument
171 Assert(packet); in i2c_slave_read_packet_job()
181 module->buffer = packet->data; in i2c_slave_read_packet_job()
182 module->buffer_remaining = packet->data_length; in i2c_slave_read_packet_job()
183 module->buffer_length = packet->data_length; in i2c_slave_read_packet_job()
210 struct i2c_slave_packet *const packet) in i2c_slave_write_packet_job() argument
215 Assert(packet); in i2c_slave_write_packet_job()
224 module->buffer = packet->data; in i2c_slave_write_packet_job()
225 module->buffer_remaining = packet->data_length; in i2c_slave_write_packet_job()
226 module->buffer_length = packet->data_length; in i2c_slave_write_packet_job()
A Di2c_slave.c206 struct i2c_slave_packet *const packet) in i2c_slave_read_packet_wait() argument
211 Assert(packet); in i2c_slave_read_packet_wait()
216 uint16_t length = packet->data_length; in i2c_slave_read_packet_wait()
225 packet->data[counter++] = i2c_module->RECEIVE_DATA.reg; in i2c_slave_read_packet_wait()
251 struct i2c_slave_packet *const packet) in i2c_slave_write_packet_wait() argument
256 uint16_t length = packet->data_length; in i2c_slave_write_packet_wait()
270 i2c_module->TRANSMIT_DATA.reg = packet->data[i++]; in i2c_slave_write_packet_wait()
A Di2c_master_interrupt.h130 struct i2c_master_packet *const packet);
134 struct i2c_master_packet *const packet);
138 struct i2c_master_packet *const packet);
142 struct i2c_master_packet *const packet);
A Di2c_master.h211 struct i2c_master_packet *const packet);
215 struct i2c_master_packet *const packet);
219 struct i2c_master_packet *const packet);
223 struct i2c_master_packet *const packet);
A Di2c_slave_interrupt.h131 struct i2c_slave_packet *const packet);
135 struct i2c_slave_packet *const packet);
A Di2c_slave.h207 struct i2c_slave_packet *const packet);
210 struct i2c_slave_packet *const packet);
/bsp/samd21/sam_d2x_asflib/sam0/drivers/sercom/i2c/i2c_samd20/
A Di2c_master_interrupt.c248 struct i2c_master_packet *const packet) in i2c_master_read_bytes() argument
284 struct i2c_master_packet *const packet) in _i2c_master_read_packet() argument
323 struct i2c_master_packet *const packet) in i2c_master_read_packet_job() argument
328 Assert(packet); in i2c_master_read_packet_job()
362 struct i2c_master_packet *const packet) in i2c_master_read_packet_job_no_stop() argument
367 Assert(packet); in i2c_master_read_packet_job_no_stop()
402 struct i2c_master_packet *const packet) in i2c_master_read_packet_job_no_nack() argument
407 Assert(packet); in i2c_master_read_packet_job_no_nack()
434 struct i2c_master_packet *const packet) in i2c_master_write_bytes() argument
513 Assert(packet); in i2c_master_write_packet_job()
[all …]
A Di2c_master.c381 struct i2c_master_packet *const packet) in _i2c_master_read_packet() argument
386 Assert(packet); in _i2c_master_read_packet()
478 struct i2c_master_packet *const packet) in i2c_master_read_packet_wait() argument
483 Assert(packet); in i2c_master_read_packet_wait()
525 struct i2c_master_packet *const packet) in i2c_master_read_packet_wait_no_stop() argument
530 Assert(packet); in i2c_master_read_packet_wait_no_stop()
575 struct i2c_master_packet *const packet) in i2c_master_read_packet_wait_no_nack() argument
580 Assert(packet); in i2c_master_read_packet_wait_no_nack()
613 struct i2c_master_packet *const packet) in _i2c_master_write_packet() argument
709 Assert(packet); in i2c_master_write_packet_wait()
[all …]
A Di2c_slave_interrupt.c190 struct i2c_slave_packet *const packet) in i2c_slave_read_packet_job() argument
195 Assert(packet); in i2c_slave_read_packet_job()
203 module->buffer = packet->data; in i2c_slave_read_packet_job()
204 module->buffer_remaining = packet->data_length; in i2c_slave_read_packet_job()
205 module->buffer_length = packet->data_length; in i2c_slave_read_packet_job()
235 struct i2c_slave_packet *const packet) in i2c_slave_write_packet_job() argument
240 Assert(packet); in i2c_slave_write_packet_job()
248 module->buffer = packet->data; in i2c_slave_write_packet_job()
249 module->buffer_remaining = packet->data_length; in i2c_slave_write_packet_job()
250 module->buffer_length = packet->data_length; in i2c_slave_write_packet_job()
A Di2c_slave.c304 struct i2c_slave_packet *const packet) in i2c_slave_write_packet_wait() argument
309 Assert(packet); in i2c_slave_write_packet_wait()
313 uint16_t length = packet->data_length; in i2c_slave_write_packet_wait()
370 i2c_hw->DATA.reg = packet->data[i++]; in i2c_slave_write_packet_wait()
422 struct i2c_slave_packet *const packet) in i2c_slave_read_packet_wait() argument
427 Assert(packet); in i2c_slave_read_packet_wait()
431 uint16_t length = packet->data_length; in i2c_slave_read_packet_wait()
496 packet->data[i++] = i2c_hw->DATA.reg; in i2c_slave_read_packet_wait()
/bsp/samd21/sam_d2x_asflib/common/services/adp/sam0/
A Dadp_interface_twi.c81 struct i2c_master_packet packet = { in adp_interface_send() local
87 status = i2c_master_write_packet_wait(&i2c_master_instance, &packet); in adp_interface_send()
105 struct i2c_master_packet packet = { in adp_interface_read_response() local
110 i2c_master_read_packet_wait(&i2c_master_instance, &packet); in adp_interface_read_response()
114 packet.data_length = data_len; in adp_interface_read_response()
115 packet.data = rx_buf; in adp_interface_read_response()
116 status = i2c_master_read_packet_wait(&i2c_master_instance, &packet); in adp_interface_read_response()
/bsp/hpmicro/libraries/hpm_sdk/drivers/src/
A Dhpm_mipi_dsi_drv.c86 if (!packet || !msg) in mipi_dsi_create_packet()
97 memset(packet, 0, sizeof(*packet)); in mipi_dsi_create_packet()
103 packet->payload_length = msg->tx_len; in mipi_dsi_create_packet()
348 struct mipi_dsi_packet packet; in mipi_dsi_lp_cmd_transfer() local
373 while (packet.payload_length > 0) { in mipi_dsi_lp_cmd_transfer()
386 if (packet.payload_length < 4) { in mipi_dsi_lp_cmd_transfer()
389 memcpy(&val, packet.payload, packet.payload_length); in mipi_dsi_lp_cmd_transfer()
390 packet.payload_length = 0; in mipi_dsi_lp_cmd_transfer()
393 packet.payload += 4; in mipi_dsi_lp_cmd_transfer()
394 packet.payload_length -= 4; in mipi_dsi_lp_cmd_transfer()
[all …]
/bsp/samd21/sam_d2x_asflib/sam0/drivers/sercom/i2c/
A Di2c_master_interrupt.h129 struct i2c_master_packet *const packet);
133 struct i2c_master_packet *const packet);
137 struct i2c_master_packet *const packet);
141 struct i2c_master_packet *const packet);
145 struct i2c_master_packet *const packet);
149 struct i2c_master_packet *const packet);
153 struct i2c_master_packet *const packet);
A Di2c_master.h560 struct i2c_master_packet *const packet);
564 struct i2c_master_packet *const packet);
568 struct i2c_master_packet *const packet);
572 struct i2c_master_packet *const packet);
588 struct i2c_master_packet *const packet);
A Di2c_slave_interrupt.h154 struct i2c_slave_packet *const packet);
158 struct i2c_slave_packet *const packet);
/bsp/qemu-vexpress-a9/drivers/
A Ddrv_mouse.c65 unsigned char packet[4]; member
209 btn = pdat->packet[0] & 0x7; in mouse_pl050_interrupt()
214 if(pdat->packet[0] & 0x10) in mouse_pl050_interrupt()
217 relx = pdat->packet[1]; in mouse_pl050_interrupt()
219 if(pdat->packet[0] & 0x20) in mouse_pl050_interrupt()
222 rely = pdat->packet[2]; in mouse_pl050_interrupt()
225 delta = pdat->packet[3] & 0xf; in mouse_pl050_interrupt()
298 pdat->packet[0] = 0; in rt_hw_mouse_init()
299 pdat->packet[1] = 0; in rt_hw_mouse_init()
300 pdat->packet[2] = 0; in rt_hw_mouse_init()
[all …]
/bsp/ESP32_C3/
A Desp32c3.gpb4 set remote kill-packet off
5 set remote symbol-lookup-packet off
6 set remote verbose-resume-packet off
/bsp/wch/risc-v/Libraries/ch56x_drivers/
A Dch56x_usbd.c420 struct urequest setup, *packet; in _isr_handle_setup() local
428 packet = (struct urequest *)_ep0_setup_dmabuf; in _isr_handle_setup()
430 setup.request_type = packet->request_type; in _isr_handle_setup()
431 setup.bRequest = packet->bRequest; in _isr_handle_setup()
432 setup.wValue = packet->wValue; in _isr_handle_setup()
433 setup.wIndex = packet->wIndex; in _isr_handle_setup()
434 setup.wLength = packet->wLength; in _isr_handle_setup()
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/host/
A Dehci-sched.c1768 int packet; in itd_link_urb() local
1788 packet < urb->number_of_packets;) { in itd_link_urb()
1810 packet++; in itd_link_urb()
2023 struct ehci_iso_packet *packet = &iso_sched->packet[i]; in sitd_sched_init() local
2039 packet->bufp = buf; in sitd_sched_init()
2040 packet->buf1 = (buf + length) & ~0x0fff; in sitd_sched_init()
2042 packet->cross = 1; in sitd_sched_init()
2050 packet->buf1 |= length; in sitd_sched_init()
2173 int packet; in sitd_link_urb() local
2194 packet < urb->number_of_packets; in sitd_link_urb()
[all …]

Completed in 61 milliseconds

12