/hal_altera-3.6.0-3.5.0-3.4.0/drivers/altera_avalon_jtag_uart/HAL/src/ |
D | altera_avalon_jtag_uart_read.c | 64 char* buffer, int space, int flags) in altera_avalon_jtag_uart_read() argument 68 char * ptr = buffer; in altera_avalon_jtag_uart_read() 69 char * end = buffer + space; in altera_avalon_jtag_uart_read() 77 else if (ptr != buffer) in altera_avalon_jtag_uart_read() 84 if (ptr != buffer) in altera_avalon_jtag_uart_read() 85 return ptr - buffer; in altera_avalon_jtag_uart_read() 100 char * buffer, int space, int flags) in altera_avalon_jtag_uart_read() argument 102 char * ptr = buffer; in altera_avalon_jtag_uart_read() 143 if (ptr != buffer) in altera_avalon_jtag_uart_read() 186 if (ptr != buffer) in altera_avalon_jtag_uart_read() [all …]
|
D | altera_avalon_jtag_uart_fd.c | 34 char* buffer, int space, int flags); 49 altera_avalon_jtag_uart_read_fd(alt_fd* fd, char* buffer, int space) in altera_avalon_jtag_uart_read_fd() argument 53 return altera_avalon_jtag_uart_read(&dev->state, buffer, space, in altera_avalon_jtag_uart_read_fd() 58 altera_avalon_jtag_uart_write_fd(alt_fd* fd, const char* buffer, int space) in altera_avalon_jtag_uart_write_fd() argument 62 return altera_avalon_jtag_uart_write(&dev->state, buffer, space, in altera_avalon_jtag_uart_write_fd()
|
/hal_altera-3.6.0-3.5.0-3.4.0/drivers/altera_avalon_uart/HAL/src/ |
D | altera_avalon_uart_fd.c | 34 char* buffer, int space, int flags); 48 altera_avalon_uart_read_fd(alt_fd* fd, char* buffer, int space) in altera_avalon_uart_read_fd() argument 52 return altera_avalon_uart_read(&dev->state, buffer, space, in altera_avalon_uart_read_fd() 57 altera_avalon_uart_write_fd(alt_fd* fd, const char* buffer, int space) in altera_avalon_uart_write_fd() argument 61 return altera_avalon_uart_write(&dev->state, buffer, space, in altera_avalon_uart_write_fd()
|
/hal_altera-3.6.0-3.5.0-3.4.0/altera_hal/HAL/inc/sys/ |
D | alt_driver.h | 125 #define ALT_DRIVER_WRITE(instance, buffer, len, flags) \ argument 126 ALT_DRIVER_FUNC_NAME(instance, write)(&ALT_DRIVER_STATE(instance), buffer, len, flags) 145 #define ALT_DRIVER_READ(instance, buffer, len, flags) \ argument 146 ALT_DRIVER_FUNC_NAME(instance, read)(&ALT_DRIVER_STATE(instance), buffer, len, flags)
|
/hal_altera-3.6.0-3.5.0-3.4.0/drivers/altera_avalon_i2c/HAL/src/ |
D | altera_avalon_i2c.c | 55 alt_avalon_i2c_rx_read_available(i2c_dev, irq->buffer, irq->size, &bytes_read); in optional_irq_callback() 57 irq->buffer+=bytes_read; in optional_irq_callback() 335 void alt_avalon_i2c_rx_read_available(ALT_AVALON_I2C_DEV_t *i2c_dev, alt_u8 *buffer, alt_u32 max_by… in alt_avalon_i2c_rx_read_available() argument 341 buffer[*bytes_read] = (alt_u8)IORD_ALT_AVALON_I2C_RX_DATA(i2c_dev->i2c_base); in alt_avalon_i2c_rx_read_available() 482 alt_avalon_i2c_rx_read_available(i2c_dev, irq_data->buffer,0,&temp_bytes_read); in alt_avalon_i2c_interrupt_transaction_status() 510 const alt_u8 * buffer, in alt_avalon_i2c_master_tx() argument 522 …status = alt_avalon_i2c_master_transmit_using_interrupts(i2c_dev, buffer, size, ALT_AVALON_I2C_NO_… in alt_avalon_i2c_master_tx() 526 …status = alt_avalon_i2c_master_transmit(i2c_dev, buffer, size, ALT_AVALON_I2C_NO_RESTART, ALT_AVAL… in alt_avalon_i2c_master_tx() 537 alt_u8 * buffer, in alt_avalon_i2c_master_rx() argument 549 …status = alt_avalon_i2c_master_receive_using_interrupts(i2c_dev, buffer, size, ALT_AVALON_I2C_NO_R… in alt_avalon_i2c_master_rx() [all …]
|
/hal_altera-3.6.0-3.5.0-3.4.0/drivers/altera_avalon_i2c/HAL/inc/ |
D | altera_avalon_i2c.h | 490 void alt_avalon_i2c_rx_read_available(ALT_AVALON_I2C_DEV_t *i2c_dev, alt_u8 *buffer, alt_u32 max_by… 682 const alt_u8 * buffer, 728 alt_u8 * buffer, 901 const alt_u8 * buffer, 1009 alt_u8 * buffer, 1083 alt_u8 * buffer; member
|