/hal_altera-2.7.6/drivers/altera_avalon_timer/HAL/inc/ |
D | altera_avalon_timer.h | 46 #define __ALT_COUNTER_SIZE(name) name##_COUNTER_SIZE argument 47 #define _ALT_COUNTER_SIZE(name) __ALT_COUNTER_SIZE(name) argument 87 #define ALTERA_AVALON_TIMER_INSTANCE(name, dev) extern int alt_no_storage argument 110 #define __ALT_CLK_BASE(name) name##_BASE argument 111 #define _ALT_CLK_BASE(name) __ALT_CLK_BASE(name) argument 146 #define ALTERA_AVALON_TIMER_INIT(name, dev) \ argument 147 if (name##_BASE == ALT_SYS_CLK_BASE) \ 149 if (name##_IRQ == ALT_IRQ_NOT_CONNECTED) \ 158 alt_avalon_timer_sc_init((void*) name##_BASE, \ 159 name##_IRQ_INTERRUPT_CONTROLLER_ID, \ [all …]
|
/hal_altera-2.7.6/drivers/altera_avalon_uart/HAL/inc/ |
D | altera_avalon_uart.h | 70 #define ALTERA_AVALON_UART_STATE_INSTANCE(name, state) \ argument 73 name##_BASE \ 81 #define ALTERA_AVALON_UART_STATE_INIT(name, state) argument 209 #define ALTERA_AVALON_UART_FREQ(name) name##_FREQ, 219 #define ALTERA_AVALON_UART_FREQ(name) 228 #define ALTERA_AVALON_UART_STATE_INSTANCE(name, state) \ 231 (void*) name##_BASE, \ 237 ALTERA_AVALON_UART_TERMIOS(name##_STOP_BITS, \ 238 (name##_PARITY == 'N'), \ 239 (name##_PARITY == 'O'), \ [all …]
|
D | altera_avalon_uart_fd.h | 62 #define ALTERA_AVALON_UART_DEV_INSTANCE(name, d) \ argument 67 name##_NAME, \ 77 name##_BASE, \ 81 #define ALTERA_AVALON_UART_DEV_INIT(name, d) alt_dev_reg (&d.dev) argument 94 #define ALTERA_AVALON_UART_DEV_INSTANCE(name, d) \ argument 99 name##_NAME, \ 109 (void*) name##_BASE, \ 115 ALTERA_AVALON_UART_TERMIOS(name##_STOP_BITS, \ 116 (name##_PARITY == 'N'), \ 117 (name##_PARITY == 'O'), \ [all …]
|
/hal_altera-2.7.6/drivers/altera_avalon_jtag_uart/HAL/inc/ |
D | altera_avalon_jtag_uart.h | 124 #define ALTERA_AVALON_JTAG_UART_STATE_INSTANCE(name, state) \ argument 127 name##_BASE, \ 130 #define ALTERA_AVALON_JTAG_UART_STATE_INIT(name, state) argument 134 #define ALTERA_AVALON_JTAG_UART_STATE_INSTANCE(name, state) \ argument 137 name##_BASE, \ 147 #define ALTERA_AVALON_JTAG_UART_STATE_INIT(name, state) \ argument 149 if (name##_IRQ == ALT_IRQ_NOT_CONNECTED) \ 151 ALT_LINK_ERROR ("Error: Interrupt not connected for " #name ". " \ 162 name##_IRQ_INTERRUPT_CONTROLLER_ID, \ 163 name##_IRQ); \ [all …]
|
D | altera_avalon_jtag_uart_fd.h | 63 #define ALTERA_AVALON_JTAG_UART_DEV_INSTANCE(name, d) \ argument 68 name##_NAME, \ 78 name##_BASE, \ 82 #define ALTERA_AVALON_JTAG_UART_DEV_INIT(name, d) alt_dev_reg (&d.dev) argument 89 #define ALTERA_AVALON_JTAG_UART_DEV_INSTANCE(name, d) \ argument 94 name##_NAME, \ 104 name##_BASE, \ 109 #define ALTERA_AVALON_JTAG_UART_DEV_INIT(name, d) \ argument 111 ALTERA_AVALON_JTAG_UART_STATE_INIT(name, d.state); \
|
/hal_altera-2.7.6/altera_hal/HAL/inc/sys/ |
D | alt_load.h | 46 #define ALT_LOAD_SECTION_BY_NAME(name) \ argument 48 extern void _alt_partition_##name##_start; \ 49 extern void _alt_partition_##name##_end; \ 50 extern void _alt_partition_##name##_load_addr; \ 52 alt_load_section(&_alt_partition_##name##_load_addr, \ 53 &_alt_partition_##name##_start, \ 54 &_alt_partition_##name##_end); \
|
D | alt_dev.h | 77 const char* name; member 78 int (*open) (alt_fd* fd, const char* name, int flags, int mode);
|
D | alt_flash_dev.h | 64 const char* name ); 83 const char* name; member
|
D | alt_dma_dev.h | 129 const char* name; /* name of the device instance member 152 const char* name; /* name of the device instance member
|
D | alt_sys_wrappers.h | 80 extern int ALT_UNLINK (const char *name);
|
D | alt_dma.h | 70 extern alt_dma_txchan alt_dma_txchan_open (const char* name);
|
D | alt_flash.h | 63 alt_flash_fd* alt_flash_open_dev(const char* name);
|
/hal_altera-2.7.6/include/sys/ |
D | alt_warning.h | 57 #define ALT_STUB_WARNING(name) \ argument 58 ALT_LINK_WARNING (name, \ 59 "warning: " #name " is not implemented and will always fail") 61 #define ALT_OBSOLETE_FUNCTION_WARNING(name) \ argument 62 ALT_LINK_WARNING (name, \ 63 "warning: " #name " is a deprecated function")
|
/hal_altera-2.7.6/include/ |
D | altera_nios2_gen2_irq.h | 49 #define ALTERA_NIOS2_GEN2_IRQ_INSTANCE(name, state) argument 71 #define ALTERA_NIOS2_GEN2_IRQ_INIT(name, state) altera_nios2_gen2_irq_init() argument
|
/hal_altera-2.7.6/drivers/altera_avalon_sgdma/HAL/inc/ |
D | altera_avalon_sgdma.h | 49 extern alt_dev* alt_find_dev (const char* name, alt_llist* list); 58 const char *name; // Name of SGDMA in SOPC System member 152 alt_sgdma_dev* alt_avalon_sgdma_open (const char* name); 192 #define ALTERA_AVALON_SGDMA_INSTANCE(name, dev) \ argument 196 name##_NAME, \ 197 ((void *)(name##_BASE)), \ 212 #define ALTERA_AVALON_SGDMA_INIT(name, dev) \ argument 213 if (name##_IRQ == ALT_IRQ_NOT_CONNECTED) \ 222 alt_avalon_sgdma_init(&dev, name##_IRQ_INTERRUPT_CONTROLLER_ID, \ 223 name##_IRQ); \
|
/hal_altera-2.7.6/drivers/altera_avalon_sysid/HAL/inc/ |
D | altera_avalon_sysid.h | 47 #define ALTERA_AVALON_SYSID_INSTANCE(name, dev) extern int alt_no_storage argument 48 #define ALTERA_AVALON_SYSID_INIT(name, dev) while (0) argument
|
/hal_altera-2.7.6/drivers/altera_avalon_spi/HAL/inc/ |
D | altera_avalon_spi.h | 44 #define ALTERA_AVALON_SPI_INSTANCE(name, device) extern int alt_no_storage argument 45 #define ALTERA_AVALON_SPI_INIT(name, device) while (0) argument
|
/hal_altera-2.7.6/drivers/altera_avalon_i2c/HAL/inc/ |
D | altera_avalon_i2c.h | 55 extern alt_dev* alt_find_dev (const char* name, alt_llist* list); 150 const char *name; member 184 #define ALTERA_AVALON_I2C_INSTANCE(name, dev) \ argument 188 name##_NAME, \ 189 ((alt_u32 *)(name##_BASE)), \ 190 ((alt_u32)(name##_IRQ_INTERRUPT_CONTROLLER_ID)), \ 191 ((alt_u32)(name##_IRQ)), \ 196 ((alt_u32)(name##_FIFO_DEPTH)), \ 197 ((alt_u32)(name##_FIFO_DEPTH)), \ 198 ((alt_u32)(name##_FREQ)), \ [all …]
|
/hal_altera-2.7.6/altera_hal/HAL/inc/priv/ |
D | alt_file.h | 63 extern alt_dev* alt_find_dev (const char* name, alt_llist* list); 77 extern alt_dev* alt_find_file (const char* name);
|
D | alt_dev_llist.h | 62 const char* name; member
|
/hal_altera-2.7.6/drivers/altera_msgdma/HAL/inc/ |
D | altera_msgdma.h | 79 extern alt_dev* alt_find_dev (const char* name, alt_llist* list); 156 const char *name; member 217 alt_msgdma_dev* alt_msgdma_open (const char* name); 393 #define ALTERA_MSGDMA_CSR_DESCRIPTOR_SLAVE_RESPONSE_INSTANCE(name, csr_if, desc_if, resp_if, dev) \ argument 397 name##_CSR_NAME, \ 402 ((alt_u32 )name##_CSR_IRQ_INTERRUPT_CONTROLLER_ID), \ 403 ((alt_u32 )name##_CSR_IRQ), \ 424 #define ALTERA_MSGDMA_CSR_DESCRIPTOR_SLAVE_INSTANCE(name, csr_if, desc_if, dev) \ argument 428 name##_CSR_NAME, \ 433 ((alt_u32 )name##_CSR_IRQ_INTERRUPT_CONTROLLER_ID), \ [all …]
|
/hal_altera-2.7.6/drivers/altera_generic_qspi_controller2/HAL/inc/ |
D | altera_generic_quad_spi_controller2.h | 74 .name = avl_mem##_NAME, \ 123 #define ALTERA_GENERIC_QUAD_SPI_CONTROLLER2_INIT(name, dev) \ argument
|
/hal_altera-2.7.6/drivers/altera_epcq_controller/HAL/inc/ |
D | altera_epcq_controller.h | 67 .name = avl_mem##_NAME, \ 116 #define ALTERA_EPCQ_CONTROLLER_INIT(name, dev) \ argument
|
/hal_altera-2.7.6/drivers/altera_avalon_sgdma/HAL/src/ |
D | altera_avalon_sgdma.c | 554 alt_sgdma_dev* alt_avalon_sgdma_open (const char* name) in alt_avalon_sgdma_open() argument 558 dev = (alt_sgdma_dev*) alt_find_dev (name, &alt_sgdma_list); in alt_avalon_sgdma_open()
|
/hal_altera-2.7.6/drivers/altera_avalon_i2c/HAL/src/ |
D | altera_avalon_i2c.c | 198 ALT_AVALON_I2C_DEV_t* alt_avalon_i2c_open(const char* name) in alt_avalon_i2c_open() argument 202 dev = (ALT_AVALON_I2C_DEV_t*) alt_find_dev (name, &alt_avalon_i2c_list); in alt_avalon_i2c_open()
|