Home
last modified time | relevance | path

Searched refs:cmdhdl (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/sata/adapters/nv_sata/
H A Dnv_sata.c2208 ddi_acc_handle_t cmdhdl = nvp->nvp_cmd_hdl; in nv_read_signature() local
2213 nvp->nvp_signature = nv_get8(cmdhdl, nvp->nvp_count); in nv_read_signature()
2214 nvp->nvp_signature |= (nv_get8(cmdhdl, nvp->nvp_sect) << 8); in nv_read_signature()
2215 nvp->nvp_signature |= (nv_get8(cmdhdl, nvp->nvp_lcyl) << 16); in nv_read_signature()
2216 nvp->nvp_signature |= (nv_get8(cmdhdl, nvp->nvp_hcyl) << 24); in nv_read_signature()
2340 ddi_acc_handle_t cmdhdl = nvp->nvp_cmd_hdl; in nv_reset() local
2429 nv_put8(cmdhdl, nvp->nvp_sect, 0); in nv_reset()
2430 nv_put8(cmdhdl, nvp->nvp_lcyl, 0); in nv_reset()
2431 nv_put8(cmdhdl, nvp->nvp_hcyl, 0); in nv_reset()
2432 nv_put8(cmdhdl, nvp->nvp_count, 0); in nv_reset()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_event.c457 ddi_acc_handle_t cmdhdl = hermon_get_cmdhdl(state); in hermon_isr() local
463 hermon_pio_start(state, cmdhdl, pio_error, fm_loop_cnt, in hermon_isr()
466 ddi_put64(cmdhdl, state->hs_cmd_regs.clr_intr, in hermon_isr()
470 hermon_pio_end(state, cmdhdl, pio_error, fm_loop_cnt, fm_status, in hermon_isr()
616 ddi_acc_handle_t cmdhdl = hermon_get_cmdhdl(state); in hermon_eq_catastrophic() local
635 hermon_pio_start(state, cmdhdl, pio_error, fm_loop_cnt, fm_status, in hermon_eq_catastrophic()
638 word = ddi_get32(cmdhdl, base_addr); in hermon_eq_catastrophic()
641 hermon_pio_end(state, cmdhdl, pio_error, fm_loop_cnt, fm_status, in hermon_eq_catastrophic()
681 hermon_pio_start(state, cmdhdl, pio_error, fm_loop_cnt, fm_status, in hermon_eq_catastrophic()
690 err_buf = ddi_get32(cmdhdl, base_addr); in hermon_eq_catastrophic()
[all …]
H A Dhermon_cmd.c986 ddi_acc_handle_t cmdhdl = hermon_get_cmdhdl(state); in hermon_write_hcr() local
1016 hermon_pio_start(state, cmdhdl, pio_error, fm_loop_cnt, fm_status, in hermon_write_hcr()
1021 hcrreg = ddi_get32(cmdhdl, &hcr->cmd); in hermon_write_hcr()
1049 hermon_pio_end(state, cmdhdl, pio_error, fm_loop_cnt, fm_status, in hermon_write_hcr()
1062 hermon_pio_start(state, cmdhdl, pio_error, fm_loop_cnt, fm_status, in hermon_write_hcr()
1066 ddi_put64(cmdhdl, (uint64_t *)(void *)&hcr->in_param0, in hermon_write_hcr()
1073 ddi_put64(cmdhdl, (uint64_t *)(void *)&hcr->input_modifier, hcrreg); in hermon_write_hcr()
1079 ddi_put64(cmdhdl, (uint64_t *)(void *)&hcr->out_param1, hcrreg); in hermon_write_hcr()
1092 ddi_put32(cmdhdl, &hcr->cmd, hcrreg); in hermon_write_hcr()
1095 hermon_pio_end(state, cmdhdl, pio_error, fm_loop_cnt, fm_status, in hermon_write_hcr()
[all …]
H A Dhermon_fm.c1454 ddi_acc_handle_t cmdhdl; in hermon_inter_err_chk() local
1470 cmdhdl = hermon_get_cmdhdl(state); in hermon_inter_err_chk()
1473 hermon_pio_start(state, cmdhdl, pio_error, fm_loop_cnt, fm_status, in hermon_inter_err_chk()
1476 word = ddi_get32(cmdhdl, state->hs_cmd_regs.fw_err_buf); in hermon_inter_err_chk()
1479 hermon_pio_end(state, cmdhdl, pio_error, fm_loop_cnt, fm_status, in hermon_inter_err_chk()
H A Dhermon.c3798 ddi_acc_handle_t cmdhdl = hermon_get_cmdhdl(state); in hermon_sw_reset() local
3820 hermon_pio_start(state, cmdhdl, pio_error, fm_loop_cnt, fm_status, in hermon_sw_reset()
3848 sem = ddi_get32(cmdhdl, state->hs_cmd_regs.sw_semaphore); in hermon_sw_reset()
3882 ddi_put32(cmdhdl, state->hs_cmd_regs.sw_reset, HERMON_SW_RESET_START); in hermon_sw_reset()
3930 hermon_pio_end(state, cmdhdl, pio_error, fm_loop_cnt, fm_status, in hermon_sw_reset()
4828 ddi_acc_handle_t cmdhdl = hermon_get_cmdhdl(state); in hermon_quiesce() local
4895 sem = ddi_get32(cmdhdl, state->hs_cmd_regs.sw_semaphore); in hermon_quiesce()
4942 ddi_put32(cmdhdl, state->hs_cmd_regs.sw_reset, HERMON_SW_RESET_START); in hermon_quiesce()