/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/ |
H A D | qlge.h | 133 #define CARRIER_ON(qlge) mac_link_update((qlge)->mh, LINK_STATE_UP) argument 134 #define CARRIER_OFF(qlge) mac_link_update((qlge)->mh, LINK_STATE_DOWN) argument 445 struct qlge *qlge; member 511 struct qlge *qlge; member 581 struct qlge *qlge; member 606 typedef struct qlge { struct 610 dev_info_t *dip; 611 int instance; 612 ddi_acc_handle_t dev_handle; 613 caddr_t iobase; [all …]
|
H A D | qlge_dbg.h | 51 #define QLA_CORE_DUMP(qlge) ql_core_dump(qlge); argument 52 #define QLA_DUMP_CRASH_RECORD(qlge) ql_dump_crash_record(qlge) argument 70 #define QL_DUMP_REQ_PKT(qlge, pkt, oal, num) if (qlge->ql_dbgprnt & DBG_TX) \ argument 73 #define QL_DUMP_CQICB(qlge, cqicb) if (qlge->ql_dbgprnt & DBG_INIT) \ argument 76 #define QL_DUMP_WQICB(qlge, wqicb) if (qlge->ql_dbgprnt & DBG_INIT) \ argument
|
H A D | qlge_hw.h | 39 #define QLA_SCHULTZ(qlge) ((qlge)->device_id == ISP_SCHULTZ) argument 1124 #define ISP_ENABLE_INTR(qlge) ql_put32(qlge, \ argument 1127 #define ISP_DISABLE_INTR(qlge) ql_put32(qlge, \ argument 1130 #define ISP_ENABLE_PI_INTR(qlge) ql_put32(qlge, \ argument 1132 #define ISP_DISABLE_PI_INTR(qlge) ql_put32(qlge, \ argument 1135 #define ISP_ENABLE_GLOBAL_INTRS(qlge) { \ argument 1140 #define ISP_DISABLE_GLOBAL_INTRS(qlge) { \ argument 1302 #define RD_REG_BYTE(qlge, addr) \ argument 1304 #define RD_REG_DWORD(qlge, addr) \ argument 1306 #define WRT_REG_BYTE(qlge, addr, data) \ argument [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge_mpi.c | 35 ql_poll_processor_intr(qlge_t *qlge, uint8_t timeout) in ql_poll_processor_intr() 51 ql_wait_processor_addr_reg_ready(qlge_t *qlge) in ql_wait_processor_addr_reg_ready() 69 ql_write_processor_data(qlge_t *qlge, uint32_t addr, uint32_t data) in ql_write_processor_data() 95 ql_read_processor_data(qlge_t *qlge, uint32_t addr, uint32_t *data) in ql_read_processor_data() 125 ql_read_mailbox_cmd(qlge_t *qlge, mbx_data_t *mbx_buf, uint32_t count) in ql_read_mailbox_cmd() 169 ql_issue_mailbox_cmd(qlge_t *qlge, mbx_cmd_t *mbx_cmd) in ql_issue_mailbox_cmd() 228 ql_issue_mailbox_cmd_and_poll_rsp(qlge_t *qlge, mbx_cmd_t *mbx_cmd, in ql_issue_mailbox_cmd_and_poll_rsp() 293 ql_issue_mailbox_cmd_and_wait_rsp(qlge_t *qlge, mbx_cmd_t *mbx_cmd) in ql_issue_mailbox_cmd_and_wait_rsp() 363 ql_async_event_parser(qlge_t *qlge, mbx_data_t *mbx_cmds) in ql_async_event_parser() 668 ql_do_mpi_intr(qlge_t *qlge) in ql_do_mpi_intr() [all …]
|
H A D | qlge.c | 173 ql_read_sh_reg(qlge_t *qlge, struct rx_ring *rx_ring) in ql_read_sh_reg() 216 ql_pci_config(qlge_t *qlge) in ql_pci_config() 256 ql_set_mac_info(qlge_t *qlge) in ql_set_mac_info() 317 ql_write_doorbell_reg(qlge_t *qlge, uint32_t *addr, uint32_t data) in ql_write_doorbell_reg() 326 ql_read_doorbell_reg(qlge_t *qlge, uint32_t *addr) in ql_read_doorbell_reg() 342 ql_wait_reg_rdy(qlge_t *qlge, uint32_t reg, uint32_t bit, uint32_t err_bit) in ql_wait_reg_rdy() 372 ql_wait_cfg(qlge_t *qlge, uint32_t bit) in ql_wait_cfg() 383 ql_write_cfg(qlge_t *qlge, uint32_t bit, uint64_t phy_addr, uint16_t q_id) in ql_write_cfg() 419 ql_init_instance(qlge_t *qlge) in ql_init_instance() 511 ql_sem_trylock(qlge_t *qlge, uint32_t sem_mask) in ql_sem_trylock() [all …]
|
H A D | qlge_flash.c | 41 ql_flash_id(qlge_t *qlge) in ql_flash_id() 81 qlge_dump_fcode(qlge_t *qlge, uint8_t *dp, uint32_t size, uint32_t startpos) in qlge_dump_fcode() 133 ql_erase_and_write_to_flash(qlge_t *qlge, uint8_t *dp, uint32_t size, in ql_erase_and_write_to_flash() 208 get_sector_number(qlge_t *qlge, uint32_t faddr, uint32_t *psector) in get_sector_number() 219 qlge_load_flash(qlge_t *qlge, uint8_t *dp, uint32_t len, uint32_t faddr) in qlge_load_flash() 308 ql_check_pci(qlge_t *qlge, uint8_t *buf, uint32_t *nextpos) in ql_check_pci() 406 ql_find_flash_layout_table_data_structure_addr(qlge_t *qlge) in ql_find_flash_layout_table_data_structure_addr() 465 ql_flash_fltds(qlge_t *qlge) in ql_flash_fltds() 523 ql_flash_flt(qlge_t *qlge) in ql_flash_flt() 654 ql_flash_desc(qlge_t *qlge) in ql_flash_desc() [all …]
|
H A D | qlge_dbg.c | 44 ql_get8(qlge_t *qlge, uint32_t index) in ql_get8() 57 ql_get16(qlge_t *qlge, uint32_t index) in ql_get16() 70 ql_get32(qlge_t *qlge, uint32_t index) in ql_get32() 83 ql_put8(qlge_t *qlge, uint32_t index, uint8_t data) in ql_put8() 93 ql_put16(qlge_t *qlge, uint32_t index, uint16_t data) in ql_put16() 103 ql_put32(qlge_t *qlge, uint32_t index, uint32_t data) in ql_put32() 113 ql_read_reg(qlge_t *qlge, uint32_t reg) in ql_read_reg() 124 ql_write_reg(qlge_t *qlge, uint32_t reg, uint32_t data) in ql_write_reg() 133 ql_sem_lock(qlge_t *qlge, uint32_t sem_mask, uint32_t sem_bits) in ql_sem_lock() 147 ql_wait_reg_bit(qlge_t *qlge, uint32_t reg, uint32_t wait_bit, int set, in ql_wait_reg_bit() [all …]
|
H A D | qlge_gld.c | 86 qlge_t *qlge = (qlge_t *)arg; in ql_m_start() local 127 qlge_t *qlge = (qlge_t *)arg; in ql_m_stop() local 145 qlge_t *qlge = (qlge_t *)arg; in ql_m_multicst() local 186 qlge_t *qlge = (qlge_t *)arg; in ql_m_setpromiscuous() local 217 qlge_t *qlge = (qlge_t *)arg; in ql_m_getstat() local 411 ql_unicst_set(qlge_t *qlge, const uint8_t *macaddr, int slot) in ql_unicst_set() 445 qlge_t *qlge = (qlge_t *)arg; in ql_m_unicst() local 471 qlge_t *qlge = (qlge_t *)arg; in ql_m_tx() local 546 qlge_t *qlge = (qlge_t *)arg; in ql_m_ioctl() local 694 qlge_set_priv_prop(qlge_t *qlge, const char *pr_name, uint_t pr_valsize, in qlge_set_priv_prop() [all …]
|
H A D | qlge_fm.c | 31 ql_fm_ereport(qlge_t *qlge, char *detail) in ql_fm_ereport()
|