/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/ |
H A D | bnx_hw_cpu.c | 254 cpu_reg.mode = OFFSETOF(reg_space_t, rxp.rxp_cpu_mode); in init_5706_cpus() 257 cpu_reg.state = OFFSETOF(reg_space_t, rxp.rxp_cpu_state); in init_5706_cpus() 259 cpu_reg.gpr0 = OFFSETOF(reg_space_t, rxp.rxp_cpu_reg_file[0]); in init_5706_cpus() 260 cpu_reg.evmask = OFFSETOF(reg_space_t, rxp.rxp_cpu_event_mask); in init_5706_cpus() 261 cpu_reg.pc = OFFSETOF(reg_space_t, rxp.rxp_cpu_program_counter); in init_5706_cpus() 262 cpu_reg.inst = OFFSETOF(reg_space_t, rxp.rxp_cpu_instruction); in init_5706_cpus() 263 cpu_reg.bp = OFFSETOF(reg_space_t, rxp.rxp_cpu_hw_breakpoint); in init_5706_cpus() 264 cpu_reg.spad_base = OFFSETOF(reg_space_t, rxp.rxp_scratch[0]); in init_5706_cpus() 302 cpu_reg.mode = OFFSETOF(reg_space_t, txp.txp_cpu_mode); in init_5706_cpus() 305 cpu_reg.state = OFFSETOF(reg_space_t, txp.txp_cpu_state); in init_5706_cpus() [all …]
|
H A D | bnx_hw_reset.c | 390 REG_RD_IND(pdev, OFFSETOF(reg_space_t, rbuf.rbuf_status1), &val); in alloc_bad_rbuf_5706_a0_wa() 395 OFFSETOF(reg_space_t, rbuf.rbuf_command), in alloc_bad_rbuf_5706_a0_wa() 400 OFFSETOF(reg_space_t, rbuf.rbuf_fw_buf_alloc), in alloc_bad_rbuf_5706_a0_wa() 413 REG_RD_IND(pdev, OFFSETOF(reg_space_t, rbuf.rbuf_status1), &val); in alloc_bad_rbuf_5706_a0_wa() 425 REG_WR_IND(pdev, OFFSETOF(reg_space_t, rbuf.rbuf_fw_buf_free), val); in alloc_bad_rbuf_5706_a0_wa() 465 OFFSETOF(reg_space_t, pci_config.pcicfg_command), in lm_chip_reset() 470 OFFSETOF(reg_space_t, pci_config.pcicfg_command), in lm_chip_reset() 486 OFFSETOF(reg_space_t, pci_config.pcicfg_device_control), in lm_chip_reset() 627 OFFSETOF(reg_space_t, pci_config.pcicfg_command), in lm_chip_reset() 632 OFFSETOF(reg_space_t, pci_config.pcicfg_command), in lm_chip_reset() [all …]
|
H A D | bnx_lm_main.c | 562 OFFSETOF(reg_space_t, pci_config.pcicfg_vendor_id), in lm_get_dev_info() 578 OFFSETOF(reg_space_t, pci_config.pcicfg_subsystem_vendor_id), in lm_get_dev_info() 594 OFFSETOF(reg_space_t, pci_config.pcicfg_int_line), in lm_get_dev_info() 610 OFFSETOF(reg_space_t, pci_config.pcicfg_cache_line_size), in lm_get_dev_info() 626 OFFSETOF(reg_space_t, pci_config.pcicfg_class_code), in lm_get_dev_info() 639 OFFSETOF(reg_space_t, pci_config.pcicfg_bar_1), in lm_get_dev_info() 656 OFFSETOF(reg_space_t, pci_config.pcicfg_bar_2), in lm_get_dev_info() 674 OFFSETOF(reg_space_t, pci_config.pcicfg_command), in lm_get_dev_info() 694 OFFSETOF(reg_space_t, pci_config.pcicfg_command), in lm_get_dev_info() 706 OFFSETOF(reg_space_t, pci_config.pcicfg_misc_config), in lm_get_dev_info() [all …]
|
H A D | lm5706.h | 724 volatile reg_space_t *regview; 1343 OFFSETOF(reg_space_t, _name), \ 1347 LOG_REG_WR(_pdev, OFFSETOF(reg_space_t, _name), _val); \ 1405 if ((OFFSETOF(reg_space_t, _name) % 4) == 0) \ 1417 LOG_REG_RD(_pdev, OFFSETOF(reg_space_t, _name), *(_ret)) 1420 LOG_REG_WR(_pdev, OFFSETOF(reg_space_t, _name), _val); \ 1421 if ((OFFSETOF(reg_space_t, _name) % 4) == 0) \ 1494 OFFSETOF(reg_space_t, _name), \ 1498 LOG_REG_WR(_pdev, OFFSETOF(reg_space_t, _name), _val); \ 1553 if ((OFFSETOF(reg_space_t, _name) % 4) == 0) \ [all …]
|
H A D | bnx_lm_send.c | 365 OFFSETOF(reg_space_t, com.com_scratch[0])+COM_HSI_OFFSETOFF(com_cu_host_bseq), in lm_send_packet() 636 OFFSETOF(reg_space_t, com.com_scratch[0])+COM_HSI_OFFSETOFF(com_cu_host_bseq), in lm_send_packet()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_power.c | 353 OFFSETOF(reg_space_t, pci_config.pcicfg_pm_csr), in set_d0_power_state() 360 OFFSETOF(reg_space_t, pci_config.pcicfg_pm_csr), in set_d0_power_state()
|
/illumos-gate/usr/src/uts/common/io/bnx/ |
H A D | bnxhwi.c | 221 REG_WR_IND(lmdevice, (OFFSETOF(reg_space_t, tpat.tpat_scratch[0]) + in bnx_hdwr_acquire()
|
/illumos-gate/usr/src/uts/common/io/bnx/570x/common/include/ |
H A D | 5706_reg.h | 13607 } reg_space_t; typedef 17881 ((u32_t) (((u8_t *) &(((reg_space_t *) 0)->_field)) - ((u8_t *) 0)))
|