Searched refs:hw (Results 101 - 125 of 257) sorted by path

1234567891011

/freebsd-11-stable/sys/dev/malo/
H A Dif_malohal.c541 * Return "hw specs". Note this must be the first cmd MUST be done after
545 malo_hal_gethwspecs(struct malo_hal *mh, struct malo_hal_hwspec *hw) argument
558 IEEE80211_ADDR_COPY(hw->macaddr, cmd->permaddr);
559 hw->wcbbase[0] = le32toh(cmd->wcbbase0) & 0x0000ffff;
560 hw->wcbbase[1] = le32toh(cmd->wcbbase1) & 0x0000ffff;
561 hw->wcbbase[2] = le32toh(cmd->wcbbase2) & 0x0000ffff;
562 hw->wcbbase[3] = le32toh(cmd->wcbbase3) & 0x0000ffff;
563 hw->rxdesc_read = le32toh(cmd->rxpdrd_ptr)& 0x0000ffff;
564 hw->rxdesc_write = le32toh(cmd->rxpdwr_ptr)& 0x0000ffff;
565 hw
[all...]
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_mcg.c774 struct mlx4_net_trans_rule_hw_ctrl *hw)
782 hw->flags = flags;
783 hw->type = __promisc_mode[ctrl->promisc_mode];
784 hw->prio = cpu_to_be16(ctrl->priority);
785 hw->port = ctrl->port;
786 hw->qpn = cpu_to_be32(ctrl->qpn);
773 trans_rule_ctrl_to_hw(struct mlx4_net_trans_rule *ctrl, struct mlx4_net_trans_rule_hw_ctrl *hw) argument
/freebsd-11-stable/sys/dev/mse/
H A Dmse.c339 *(mousehw_t *)addr = sc->hw;
H A Dmse_cbus.c186 sc->hw = mse_types[i].m_hw;
H A Dmse_isa.c224 sc->hw = mse_types[i].m_hw;
H A Dmsevar.h73 mousehw_t hw; member in struct:mse_softc
/freebsd-11-stable/sys/dev/mwl/
H A Dmwlhal.c552 * Return "hw specs". Note this must be the first
558 mwl_hal_gethwspecs(struct mwl_hal *mh0, struct mwl_hal_hwspec *hw) argument
571 IEEE80211_ADDR_COPY(hw->macAddr, pCmd->PermanentAddr);
572 hw->wcbBase[0] = le32toh(pCmd->WcbBase0) & 0x0000ffff;
573 hw->wcbBase[1] = le32toh(pCmd->WcbBase1[0]) & 0x0000ffff;
574 hw->wcbBase[2] = le32toh(pCmd->WcbBase1[1]) & 0x0000ffff;
575 hw->wcbBase[3] = le32toh(pCmd->WcbBase1[2]) & 0x0000ffff;
576 hw->rxDescRead = le32toh(pCmd->RxPdRdPtr)& 0x0000ffff;
577 hw->rxDescWrite = le32toh(pCmd->RxPdWrPtr)& 0x0000ffff;
578 hw
[all...]
/freebsd-11-stable/sys/dev/ncv/
H A Dncr53c500.c158 ncvhw_select_register_0(struct resource *res, struct ncv_hw *hw) argument
161 bus_write_1(res, cr0_cfg4, hw->hw_cfg4);
165 ncvhw_select_register_1(struct resource *res, struct ncv_hw *hw) argument
168 bus_write_1(res, cr1_cfg5, hw->hw_cfg5);
201 ncvhw_check(struct resource *res, struct ncv_hw *hw) argument
205 ncvhw_select_register_0(res, hw);
225 ncvhw_reset(res, hw);
226 ncvhw_init(res, hw);
229 ncvhw_select_register_0(res, hw);
253 ncvhw_reset(struct resource *res, struct ncv_hw *hw) argument
271 ncvhw_init(struct resource *res, struct ncv_hw *hw) argument
[all...]
/freebsd-11-stable/sys/dev/nxge/xgehal/
H A Dxgehal-mgmtaux.c263 xge_hal_mgmt_hw_stats_t hw; local
265 status = xge_hal_mgmt_hw_stats(devh, &hw,
271 __HAL_AUX_ENTRY("tmac_data_octets", hw.tmac_data_octets, "%u");
272 __HAL_AUX_ENTRY("tmac_frms", hw.tmac_frms, "%u");
274 hw.tmac_drop_frms, "%llu");
275 __HAL_AUX_ENTRY("tmac_bcst_frms", hw.tmac_bcst_frms, "%u");
276 __HAL_AUX_ENTRY("tmac_mcst_frms", hw.tmac_mcst_frms, "%u");
278 hw.tmac_pause_ctrl_frms, "%llu");
279 __HAL_AUX_ENTRY("tmac_ucst_frms", hw.tmac_ucst_frms, "%u");
280 __HAL_AUX_ENTRY("tmac_ttl_octets", hw
404 xge_hal_mgmt_hw_stats_t hw; local
700 xge_hal_mgmt_hw_stats_t hw; local
826 xge_hal_mgmt_hw_stats_t hw; local
[all...]
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_common.h178 ocs_hw_t *hw; /**< pointer to HW */ member in struct:ocs_sli_port_s
228 ocs_hw_t *hw; /**< pointer to HW */ member in struct:ocs_domain_s
H A Docs_ddump.c45 void hw_queue_ddump(ocs_textbuf_t *textbuf, ocs_hw_t *hw);
54 * @param hw pointer HW context
63 ocs_ddump_sli4_queue(ocs_textbuf_t *textbuf, const char *name, ocs_hw_t *hw, sli4_queue_t *q, uint32_t q_count, uint32_t qentries) argument
102 for (i = 0; i < hw->hw_rq_count; i++) {
103 rq = hw->hw_rq[i];
394 * @brief Generate hw ddump
396 * Generates hw ddump
399 * @param hw pointer HW context
407 ocs_ddump_hw(ocs_textbuf_t *textbuf, ocs_hw_t *hw, uint32_t flags, uint32_t qentries) argument
409 ocs_t *ocs = hw
558 hw_queue_ddump(ocs_textbuf_t *textbuf, ocs_hw_t *hw) argument
[all...]
H A Docs_domain.c342 ocs_hw_domain_force_free(&domain->ocs->hw, domain);
536 my_wwpn = ocs_get_wwn(&ocs->hw, OCS_HW_WWN_PORT);
537 my_wwnn = ocs_get_wwn(&ocs->hw, OCS_HW_WWN_NODE);
567 if (ocs_hw_port_alloc(&ocs->hw, sport, NULL, (uint8_t *)&be_wwpn)) {
614 if (ocs_hw_domain_alloc(&ocs->hw, domain, drec->index, vlan)) {
732 /* TODO: hw/device reset */
787 ocs_log_debug(ocs, "Requesting hw domain attach fc_id x%x\n", fc_id);
797 rc = ocs_hw_domain_attach(&ocs->hw, domain, fc_id);
831 rc = ocs_hw_domain_free(&ocs->hw, domain);
834 /* TODO: hw/devic
1300 ocs_get_wwn(ocs_hw_t *hw, ocs_hw_property_e prop) argument
[all...]
H A Docs_domain.h47 extern uint64_t ocs_get_wwn(ocs_hw_t *hw, ocs_hw_property_e prop);
H A Docs_drv_fc.h94 ocs_hw_t hw; member in struct:ocs_s
H A Docs_els.c2369 ocs_hw_io_free(&ocs->hw, els->hio);
2461 ocs_hw_io_free(&ocs->hw, els->hio);
H A Docs_fabric.c1178 /* issue hw node free; don't care if succeeds right away
1182 rc = ocs_hw_node_detach(&ocs->hw, &node->rnode);
H A Docs_hw.c75 static void ocs_hw_adjust_wqs(ocs_hw_t *hw);
76 static uint32_t ocs_hw_get_num_chutes(ocs_hw_t *hw);
90 static void ocs_hw_io_quarantine(ocs_hw_t *hw, hw_wq_t *wq, ocs_hw_io_t *io);
93 static ocs_hw_rtn_e ocs_hw_firmware_write_lancer(ocs_hw_t *hw, ocs_dma_t *dma, uint32_t size, uint32_t offset, int last, ocs_hw_fw_cb_t cb, void *arg);
98 static int32_t ocs_hw_cb_host_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg);
99 static void ocs_hw_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg);
100 static int32_t ocs_hw_clp_resp_get_value(ocs_hw_t *hw, const char *keyword, char *value, uint32_t value_len, const char *resp, uint32_t resp_len);
101 typedef void (*ocs_hw_dmtf_clp_cb_t)(ocs_hw_t *hw, int32_t status, uint32_t result_len, void *arg);
102 static ocs_hw_rtn_e ocs_hw_exec_dmtf_clp_cmd(ocs_hw_t *hw, ocs_dma_t *dma_cmd, ocs_dma_t *dma_resp, uint32_t opts, ocs_hw_dmtf_clp_cb_t cb, void *arg);
103 static void ocs_hw_linkcfg_dmtf_clp_cb(ocs_hw_t *hw, int32_
155 ocs_hw_add_io_timed_wqe(ocs_hw_t *hw, ocs_hw_io_t *io) argument
170 ocs_hw_remove_io_timed_wqe(ocs_hw_t *hw, ocs_hw_io_t *io) argument
230 ocs_hw_get_num_chutes(ocs_hw_t *hw) argument
243 ocs_hw_link_event_init(ocs_hw_t *hw) argument
272 ocs_hw_read_max_dump_size(ocs_hw_t *hw) argument
332 ocs_hw_setup(ocs_hw_t *hw, ocs_os_handle_t os, sli4_port_type_e port_type) argument
526 ocs_hw_init(ocs_hw_t *hw) argument
1041 ocs_hw_config_mrq(ocs_hw_t *hw, uint8_t mode, uint16_t vlanid, uint16_t fcf_index) argument
1132 ocs_hw_t *hw = (ocs_hw_t *)arg; local
1154 ocs_hw_teardown(ocs_hw_t *hw) argument
1312 ocs_hw_reset(ocs_hw_t *hw, ocs_hw_reset_e reset) argument
1465 ocs_hw_get_num_eq(ocs_hw_t *hw) argument
1471 ocs_hw_get_fw_timed_out(ocs_hw_t *hw) argument
1482 ocs_hw_get(ocs_hw_t *hw, ocs_hw_property_e prop, uint32_t *value) argument
1769 ocs_hw_get_ptr(ocs_hw_t *hw, ocs_hw_property_e prop) argument
1811 ocs_hw_set(ocs_hw_t *hw, ocs_hw_property_e prop, uint32_t value) argument
2033 ocs_hw_set_ptr(ocs_hw_t *hw, ocs_hw_property_e prop, void *value) argument
2076 ocs_hw_event_check(ocs_hw_t *hw, uint32_t vector) argument
2117 ocs_hw_t *hw = seq->hw; local
2126 ocs_hw_process(ocs_hw_t *hw, uint32_t vector, uint32_t max_isr_time_msec) argument
2180 ocs_hw_eq_process(ocs_hw_t *hw, hw_eq_t *eq, uint32_t max_isr_time_msec) argument
2252 ocs_hw_cmd_submit_pending(ocs_hw_t *hw) argument
2299 ocs_hw_command(ocs_hw_t *hw, uint8_t *cmd, uint32_t opts, void *cb, void *arg) argument
2395 ocs_hw_callback(ocs_hw_t *hw, ocs_hw_callback_e which, void *func, void *arg) argument
2449 ocs_hw_port_alloc(ocs_hw_t *hw, ocs_sli_port_t *sport, ocs_domain_t *domain, uint8_t *wwpn) argument
2532 ocs_hw_port_attach(ocs_hw_t *hw, ocs_sli_port_t *sport, uint32_t fc_id) argument
2577 ocs_hw_cb_port_control(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
2626 ocs_hw_port_control(ocs_hw_t *hw, ocs_hw_port_e ctrl, uintptr_t value, ocs_hw_port_control_cb_t cb, void *arg) argument
2743 ocs_hw_port_free(ocs_hw_t *hw, ocs_sli_port_t *sport) argument
2788 ocs_hw_domain_alloc(ocs_hw_t *hw, ocs_domain_t *domain, uint32_t fcf, uint32_t vlan) argument
2845 ocs_hw_domain_attach(ocs_hw_t *hw, ocs_domain_t *domain, uint32_t fc_id) argument
2889 ocs_hw_domain_free(ocs_hw_t *hw, ocs_domain_t *domain) argument
2927 ocs_hw_domain_force_free(ocs_hw_t *hw, ocs_domain_t *domain) argument
2951 ocs_hw_node_alloc(ocs_hw_t *hw, ocs_remote_node_t *rnode, uint32_t fc_addr, ocs_sli_port_t *sport) argument
2995 ocs_hw_node_attach(ocs_hw_t *hw, ocs_remote_node_t *rnode, ocs_dma_t *sparms) argument
3078 ocs_hw_node_free_resources(ocs_hw_t *hw, ocs_remote_node_t *rnode) argument
3122 ocs_hw_node_detach(ocs_hw_t *hw, ocs_remote_node_t *rnode) argument
3200 ocs_hw_node_free_all(ocs_hw_t *hw) argument
3240 ocs_hw_node_group_alloc(ocs_hw_t *hw, ocs_remote_node_group_t *ngroup) argument
3260 ocs_hw_node_group_attach(ocs_hw_t *hw, ocs_remote_node_group_t *ngroup, ocs_remote_node_t *rnode) argument
3288 ocs_hw_node_group_free(ocs_hw_t *hw, ocs_remote_node_group_t *ngroup) argument
3361 _ocs_hw_io_alloc(ocs_hw_t *hw) argument
3391 ocs_hw_io_alloc(ocs_hw_t *hw) argument
3419 ocs_hw_io_activate_port_owned(ocs_hw_t *hw, ocs_hw_io_t *io) argument
3450 ocs_hw_io_free_move_correct_list(ocs_hw_t *hw, ocs_hw_io_t *io) argument
3477 ocs_hw_io_free_common(ocs_hw_t *hw, ocs_hw_io_t *io) argument
3496 ocs_hw_t *hw = io->hw; local
3525 ocs_hw_t *hw = io->hw; local
3551 ocs_hw_io_free(ocs_hw_t *hw, ocs_hw_io_t *io) argument
3578 ocs_hw_io_inuse(ocs_hw_t *hw, ocs_hw_io_t *io) argument
3728 ocs_hw_check_sec_hio_list(ocs_hw_t *hw) argument
3843 ocs_hw_srrs_send(ocs_hw_t *hw, ocs_hw_io_type_e type, ocs_hw_io_t *io, ocs_dma_t *send, uint32_t len, ocs_dma_t *receive, ocs_remote_node_t *rnode, ocs_hw_io_param_t *iparam, ocs_hw_srrs_cb_t cb, void *arg) argument
4055 ocs_hw_io_send(ocs_hw_t *hw, ocs_hw_io_type_e type, ocs_hw_io_t *io, uint32_t len, ocs_hw_io_param_t *iparam, ocs_remote_node_t *rnode, void *cb, void *arg) argument
4352 ocs_hw_send_frame(ocs_hw_t *hw, fc_header_le_t *hdr, uint8_t sof, uint8_t eof, ocs_dma_t *payload, ocs_hw_send_frame_context_t *ctx, void (*callback)(void *arg, uint8_t *cqe, int32_t status), void *arg) argument
4402 ocs_hw_io_register_sgl(ocs_hw_t *hw, ocs_hw_io_t *io, ocs_dma_t *sgl, uint32_t sgl_count) argument
4416 ocs_hw_io_restore_sgl(ocs_hw_t *hw, ocs_hw_io_t *io) argument
4452 ocs_hw_io_init_sges(ocs_hw_t *hw, ocs_hw_io_t *io, ocs_hw_io_type_e type) argument
4564 ocs_hw_io_add_seed_sge(ocs_hw_t *hw, ocs_hw_io_t *io, ocs_hw_dif_info_t *dif_info) argument
4666 ocs_hw_io_overflow_sgl(ocs_hw_t *hw, ocs_hw_io_t *io) argument
4749 ocs_hw_io_add_sge(ocs_hw_t *hw, ocs_hw_io_t *io, uintptr_t addr, uint32_t length) argument
4818 ocs_hw_io_add_dif_sge(ocs_hw_t *hw, ocs_hw_io_t *io, uintptr_t addr) argument
4878 ocs_hw_io_abort(ocs_hw_t *hw, ocs_hw_io_t *io_to_abort, uint32_t send_abts, void *cb, void *arg) argument
5023 ocs_hw_io_get_xid(ocs_hw_t *hw, ocs_hw_io_t *io) argument
5093 ocs_hw_firmware_write(ocs_hw_t *hw, ocs_dma_t *dma, uint32_t size, uint32_t offset, int last, ocs_hw_fw_cb_t cb, void *arg) argument
5125 ocs_hw_firmware_write_lancer(ocs_hw_t *hw, ocs_dma_t *dma, uint32_t size, uint32_t offset, int last, ocs_hw_fw_cb_t cb, void *arg) argument
5185 ocs_hw_cb_fw_write(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
5233 ocs_hw_cb_sfp(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
5272 ocs_hw_get_sfp(ocs_hw_t *hw, uint16_t page, ocs_hw_sfp_cb_t cb, void *arg) argument
5332 ocs_hw_get_temperature(ocs_hw_t *hw, ocs_hw_temp_cb_t cb, void *arg) argument
5384 ocs_hw_cb_temp(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
5431 ocs_hw_get_link_stats(ocs_hw_t *hw, uint8_t req_ext_counters, uint8_t clear_overflow_flags, uint8_t clear_all_counters, ocs_hw_link_stat_cb_t cb, void *arg) argument
5490 ocs_hw_cb_link_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
5572 ocs_hw_get_host_stats(ocs_hw_t *hw, uint8_t cc, ocs_hw_host_stat_cb_t cb, void *arg) argument
5627 ocs_hw_cb_host_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
5826 ocs_hw_set_linkcfg(ocs_hw_t *hw, ocs_hw_linkcfg_e value, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) argument
5857 ocs_hw_set_linkcfg_lancer(ocs_hw_t *hw, ocs_hw_linkcfg_e value, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) argument
5924 ocs_hw_set_active_link_config_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
5956 ocs_hw_set_linkcfg_skyhawk(ocs_hw_t *hw, ocs_hw_linkcfg_e value, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) argument
6020 ocs_hw_get_linkcfg(ocs_hw_t *hw, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) argument
6049 ocs_hw_get_linkcfg_lancer(ocs_hw_t *hw, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) argument
6116 ocs_hw_get_active_link_config_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
6152 ocs_hw_get_linkcfg_skyhawk(ocs_hw_t *hw, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) argument
6216 ocs_hw_set_dif_seed(ocs_hw_t *hw) argument
6253 ocs_hw_set_dif_mode(ocs_hw_t *hw) argument
6284 ocs_hw_t *hw = (ocs_hw_t *)arg; local
6291 ocs_hw_cb_cfg_watchdog(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
6319 ocs_hw_config_watchdog_timer(ocs_hw_t *hw) argument
6342 ocs_hw_config_auto_xfer_rdy_t10pi(ocs_hw_t *hw, uint8_t *buf) argument
6399 ocs_hw_config_sli_port_health_check(ocs_hw_t *hw, uint8_t query, uint8_t enable) argument
6434 ocs_hw_config_set_fdt_xfer_hint(ocs_hw_t *hw, uint32_t fdt_xfer_hint) argument
6470 ocs_hw_linkcfg_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint32_t result_len, void *arg) argument
6520 ocs_hw_set_dump_location(ocs_hw_t *hw, uint32_t num_buffers, ocs_dma_t *dump_buffers, uint8_t fdb) argument
6611 ocs_hw_set_eth_license(ocs_hw_t *hw, uint32_t license) argument
6676 ocs_hw_exec_dmtf_clp_cmd(ocs_hw_t *hw, ocs_dma_t *dma_cmd, ocs_dma_t *dma_resp, uint32_t opts, ocs_hw_dmtf_clp_cb_t cb, void *arg) argument
6748 ocs_hw_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
6839 ocs_hw_clp_resp_get_value(ocs_hw_t *hw, const char *keyword, char *value, uint32_t value_len, const char *resp, uint32_t resp_len) argument
6896 ocs_hw_raise_ue(ocs_hw_t *hw, uint8_t dump) argument
6928 ocs_hw_cb_dump_get(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
6976 ocs_hw_dump_get(ocs_hw_t *hw, ocs_dma_t *dma, uint32_t size, uint32_t offset, ocs_hw_dump_get_cb_t cb, void *arg) argument
7049 ocs_hw_cb_dump_clear(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
7087 ocs_hw_dump_clear(ocs_hw_t *hw, ocs_hw_dump_clear_cb_t cb, void *arg) argument
7153 ocs_hw_get_port_protocol_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
7226 ocs_hw_get_port_protocol(ocs_hw_t *hw, uint32_t pci_func, ocs_get_port_protocol_cb_t cb, void* ul_arg) argument
7307 ocs_hw_set_port_protocol_cb2(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
7346 ocs_hw_set_port_protocol_cb1(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
7524 ocs_hw_set_port_protocol(ocs_hw_t *hw, ocs_hw_port_protocol_e new_protocol, uint32_t pci_func, ocs_set_port_protocol_cb_t cb, void *ul_arg) argument
7603 ocs_hw_get_profile_list_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
7661 ocs_hw_get_profile_list(ocs_hw_t *hw, ocs_get_profile_list_cb_t cb, void* ul_arg) argument
7730 ocs_hw_get_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
7771 ocs_hw_get_active_profile(ocs_hw_t *hw, ocs_get_active_profile_cb_t cb, void* ul_arg) argument
7830 ocs_hw_get_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
7868 ocs_hw_get_nvparms(ocs_hw_t *hw, ocs_get_nvparms_cb_t cb, void* ul_arg) argument
7922 ocs_hw_set_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
7965 ocs_hw_set_nvparms(ocs_hw_t *hw, ocs_set_nvparms_cb_t cb, uint8_t *wwpn, uint8_t *wwnn, uint8_t hard_alpa, uint32_t preferred_d_id, void* ul_arg) argument
8014 ocs_hw_io_get_count(ocs_hw_t *hw, ocs_hw_io_count_type_e io_count_type) argument
8060 ocs_hw_get_rqes_produced_count(ocs_hw_t *hw) argument
8097 ocs_hw_set_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
8132 ocs_hw_set_active_profile(ocs_hw_t *hw, ocs_set_active_profile_cb_t cb, uint32_t profile_id, void* ul_arg) argument
8239 ocs_hw_domain_add(ocs_hw_t *hw, ocs_domain_t *domain) argument
8287 ocs_hw_domain_del(ocs_hw_t *hw, ocs_domain_t *domain) argument
8344 ocs_hw_domain_get(ocs_hw_t *hw, uint16_t fcfi) argument
8362 ocs_hw_domain_get_indexed(ocs_hw_t *hw, uint16_t fcf_index) argument
8394 ocs_hw_io_quarantine(ocs_hw_t *hw, hw_wq_t *wq, ocs_hw_io_t *io) argument
8435 ocs_hw_cq_process(ocs_hw_t *hw, hw_cq_t *cq) argument
8546 ocs_hw_wq_process(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe, int32_t status, uint16_t rid) argument
8591 ocs_hw_t *hw = io->hw; local
8854 ocs_hw_t *hw = io->hw; local
8923 ocs_hw_xabt_process(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe, uint16_t rid) argument
9007 ocs_hw_adjust_wqs(ocs_hw_t *hw) argument
9066 ocs_hw_command_process(ocs_hw_t *hw, int32_t status, uint8_t *mqe, size_t size) argument
9110 ocs_hw_mq_process(ocs_hw_t *hw, int32_t status, sli4_queue_t *mq) argument
9132 ocs_hw_read_fcf(ocs_hw_t *hw, uint32_t index) argument
9175 ocs_hw_cb_read_fcf(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
9258 ocs_hw_t *hw = ctx; local
9321 ocs_hw_t *hw = ctx; local
9390 ocs_hw_cb_node_attach(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
9418 ocs_hw_cb_node_free(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
9462 ocs_hw_cb_node_free_all(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
9504 ocs_hw_setup_io(ocs_hw_t *hw) argument
9617 ocs_hw_init_io(ocs_hw_t *hw) argument
9694 ocs_hw_flush(ocs_hw_t *hw) argument
9707 ocs_hw_command_cancel(ocs_hw_t *hw) argument
9743 ocs_hw_io_lookup(ocs_hw_t *hw, uint32_t xri) argument
9757 ocs_hw_io_cancel_cleanup(ocs_hw_t *hw, ocs_hw_io_t *io) argument
9792 ocs_hw_io_cancel(ocs_hw_t *hw) argument
9863 ocs_hw_io_ini_sge(ocs_hw_t *hw, ocs_hw_io_t *io, ocs_dma_t *cmnd, uint32_t cmnd_size, ocs_dma_t *rsp) argument
9890 __ocs_read_topology_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
9968 ocs_hw_t *hw = sport->hw; local
9995 ocs_hw_t *hw = sport->hw; local
10020 ocs_hw_t *hw = sport->hw; local
10051 ocs_hw_t *hw = sport->hw; local
10085 ocs_hw_t *hw = sport->hw; local
10132 ocs_hw_t *hw = sport->hw; local
10160 ocs_hw_t *hw = sport->hw; local
10193 ocs_hw_t *hw = sport->hw; local
10233 ocs_hw_t *hw = sport->hw; local
10259 ocs_hw_t *hw = sport->hw; local
10313 ocs_hw_t *hw = sport->hw; local
10349 ocs_hw_t *hw = sport->hw; local
10442 ocs_hw_t *hw = sport->hw; local
10493 __ocs_hw_port_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
10513 __ocs_hw_port_realloc_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
10552 ocs_hw_t *hw = domain->hw; local
10573 ocs_hw_t *hw = domain->hw; local
10605 ocs_hw_t *hw = domain->hw; local
10637 ocs_hw_t *hw = domain->hw; local
10670 ocs_hw_t *hw = domain->hw; local
10709 ocs_hw_t *hw = domain->hw; local
10751 ocs_hw_t *hw = domain->hw; local
10793 ocs_hw_t *hw = domain->hw; local
10831 ocs_hw_t *hw = domain->hw; local
10923 ocs_hw_t *hw = domain->hw; local
10958 ocs_hw_t *hw = domain->hw; local
10995 ocs_hw_t *hw = domain->hw; local
11029 ocs_hw_t *hw = domain->hw; local
11070 ocs_hw_t *hw = domain->hw; local
11123 ocs_hw_t *hw = domain->hw; local
11179 __ocs_hw_domain_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
11199 target_wqe_timer_nop_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
11257 ocs_hw_t *hw = (ocs_hw_t *)arg; local
11270 shutdown_target_wqe_timer(ocs_hw_t *hw) argument
11309 ocs_hw_is_io_port_owned(ocs_hw_t *hw, ocs_hw_io_t *io) argument
11328 ocs_hw_is_xri_port_owned(ocs_hw_t *hw, uint32_t xri) argument
11345 ocs_hw_reclaim_xri(ocs_hw_t *hw, uint16_t xri_base, uint16_t xri_count) argument
11383 ocs_hw_cb_post_xri(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
11409 ocs_hw_post_xri(ocs_hw_t *hw, uint32_t xri_start, uint32_t num_to_post) argument
11446 ocs_hw_xri_move_to_port_owned(ocs_hw_t *hw, uint32_t num_xri) argument
11514 ocs_hw_cb_release_xri(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
11546 ocs_hw_xri_move_to_host_owned(ocs_hw_t *hw, uint8_t num_xri) argument
11587 ocs_hw_rx_buffer_alloc(ocs_hw_t *hw, uint32_t rqindex, uint32_t count, uint32_t size) argument
11627 ocs_hw_rx_buffer_free(ocs_hw_t *hw, ocs_hw_rq_buffer_t *rq_buf, uint32_t count) argument
11649 ocs_hw_rx_allocate(ocs_hw_t *hw) argument
11700 ocs_hw_rx_post(ocs_hw_t *hw) argument
11742 ocs_hw_rx_free(ocs_hw_t *hw) argument
11783 ocs_hw_async_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
11809 ocs_hw_async_call(ocs_hw_t *hw, ocs_hw_async_cb_t callback, void *arg) argument
11853 ocs_hw_reqtag_init(ocs_hw_t *hw) argument
11878 ocs_hw_reqtag_alloc(ocs_hw_t *hw, void (*callback)(void *arg, uint8_t *cqe, int32_t status), void *arg) argument
11904 ocs_hw_reqtag_free(ocs_hw_t *hw, hw_wq_callback_t *wqcb) argument
11924 ocs_hw_reqtag_get_instance(ocs_hw_t *hw, uint32_t instance_index) argument
11946 ocs_hw_reqtag_reset(ocs_hw_t *hw) argument
12014 ocs_hw_reque_xri( ocs_hw_t *hw, ocs_hw_io_t *io ) argument
12418 ocs_hw_workaround_match(ocs_hw_t *hw, hw_workaround_t *w) argument
12438 ocs_hw_workaround_setup(struct ocs_hw_s *hw) argument
[all...]
H A Docs_hw.h570 ocs_hw_t *hw; /**< pointer back to hardware context */ member in struct:ocs_hw_io_s
752 ocs_hw_t *hw; /**< HW that owns this sequence */ member in struct:__anon7586
1101 typedef void (*tcmd_cq_handler)(ocs_hw_t *hw, uint32_t cq_idx, void *cq_handler_arg);
1113 ocs_hw_t *hw; member in struct:hw_eq_s
1161 ocs_hw_t *hw; member in struct:hw_wq_s
1241 extern hw_eq_t *hw_new_eq(ocs_hw_t *hw, uint32_t entry_count);
1253 extern void hw_queue_dump(ocs_hw_t *hw);
1254 extern void hw_queue_teardown(ocs_hw_t *hw);
1255 extern int32_t hw_route_rqe(ocs_hw_t *hw, ocs_hw_sequence_t *seq);
1291 extern uint8_t ocs_hw_io_inuse(ocs_hw_t *hw, ocs_hw_io_
1389 ocs_hw_t *hw; /**> pointer to HW */ member in struct:__anon7599
1450 ocs_hw_sequence_free(ocs_hw_t *hw, ocs_hw_sequence_t *seq) argument
[all...]
H A Docs_hw_queues.c51 * @param hw pointer to HW object
57 ocs_hw_init_queues(ocs_hw_t *hw, ocs_hw_qtop_t *qtop) argument
63 hw_eq_t *eqs[hw->config.n_rq];
64 hw_cq_t *cqs[hw->config.n_rq];
65 hw_rq_t *rqs[hw->config.n_rq];
78 default_lengths[QTOP_CQ] = hw->num_qentries[SLI_QTYPE_CQ];
79 default_lengths[QTOP_WQ] = hw->num_qentries[SLI_QTYPE_WQ];
80 default_lengths[QTOP_RQ] = hw->num_qentries[SLI_QTYPE_RQ];
83 ocs_hw_verify(hw != NULL, OCS_HW_RTN_INVALID_ARG);
85 hw
349 hw_new_eq(ocs_hw_t *hw, uint32_t entry_count) argument
395 ocs_hw_t *hw = eq->hw; local
437 ocs_hw_t *hw = eqs[0]->hw; local
499 ocs_hw_t *hw = cq->eq->hw; local
542 ocs_hw_t *hw = cq->eq->hw; local
587 ocs_hw_t *hw = cq->eq->hw; local
671 ocs_hw_t *hw = cqs[0]->eq->hw; local
864 ocs_hw_t *hw = rq->cq->eq->hw; local
888 hw_queue_dump(ocs_hw_t *hw) argument
933 hw_queue_teardown(ocs_hw_t *hw) argument
974 ocs_hw_queue_next_wq(ocs_hw_t *hw, ocs_hw_io_t *io) argument
1018 ocs_hw_qtop_eq_count(ocs_hw_t *hw) argument
1346 tok_syntax(ocs_hw_t *hw, tokarray_t *tokarray) argument
1371 tok_getnumber(ocs_hw_t *hw, ocs_hw_qtop_t *qtop, tok_t *tok) argument
1424 parse_topology(ocs_hw_t *hw, tokarray_t *tokarray, ocs_hw_qtop_t *qtop) argument
1593 ocs_hw_qtop_parse(ocs_hw_t *hw, const char *qtop_string) argument
1697 ocs_hw_rqpair_process_rq(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe) argument
1797 ocs_hw_rqpair_process_auto_xfr_rdy_cmd(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe) argument
1962 ocs_hw_rqpair_process_auto_xfr_rdy_data(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe) argument
2049 ocs_hw_rqpair_get(ocs_hw_t *hw, uint16_t rqindex, uint16_t bufindex) argument
2097 ocs_hw_rqpair_put(ocs_hw_t *hw, ocs_hw_sequence_t *seq) argument
2161 ocs_hw_rqpair_sequence_free(ocs_hw_t *hw, ocs_hw_sequence_t *seq) argument
2191 ocs_hw_rqpair_find(ocs_hw_t *hw, uint16_t rq_id) argument
2209 ocs_hw_rqpair_auto_xfer_rdy_buffer_alloc(ocs_hw_t *hw, uint32_t num_buffers) argument
2264 ocs_hw_rqpair_auto_xfer_rdy_dnrx_check(ocs_hw_t *hw) argument
2296 ocs_hw_rqpair_auto_xfer_rdy_move_to_port_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
2320 ocs_hw_rqpair_auto_xfer_rdy_move_to_port(ocs_hw_t *hw, ocs_hw_io_t *io) argument
2364 ocs_hw_rqpair_auto_xfer_rdy_move_to_host(ocs_hw_t *hw, ocs_hw_io_t *io) argument
2401 ocs_hw_rqpair_auto_xfer_rdy_buffer_post(ocs_hw_t *hw, ocs_hw_io_t *io, int reuse_buf) argument
2472 ocs_hw_rqpair_auto_xfer_rdy_buffer_sequence_reset(ocs_hw_t *hw, ocs_hw_sequence_t *seq) argument
2517 ocs_hw_rqpair_auto_xfer_rdy_buffer_free(ocs_hw_t *hw) argument
2549 ocs_hw_rqpair_init(ocs_hw_t *hw) argument
2598 ocs_hw_rqpair_teardown(ocs_hw_t *hw) argument
[all...]
H A Docs_hw_queues.h87 extern ocs_hw_qtop_t *ocs_hw_qtop_parse(ocs_hw_t *hw, const char *qtop_string);
90 extern uint32_t ocs_hw_qtop_eq_count(ocs_hw_t *hw);
92 extern ocs_hw_rtn_e ocs_hw_init_queues(ocs_hw_t *hw, ocs_hw_qtop_t *qtop);
93 extern void hw_thread_eq_handler(ocs_hw_t *hw, hw_eq_t *eq, uint32_t max_isr_time_msec);
94 extern void hw_thread_cq_handler(ocs_hw_t *hw, hw_cq_t *cq);
95 extern hw_wq_t *ocs_hw_queue_next_wq(ocs_hw_t *hw, ocs_hw_io_t *io);
H A Docs_io.c300 ocs_hw_io_free(&ocs->hw, hio);
H A Docs_ioctl.c83 __ocs_ioctl_mbox_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
246 ocs_hw_command(&ocs->hw, mcmd->payload, OCS_CMD_NOWAIT,
708 ocs_hw_firmware_write(&ocs->hw, &dma, xfer_size, offset,
833 wwnn = ocs_hw_get_ptr(&ocs->hw, OCS_HW_WWN_NODE);
872 wwpn = ocs_hw_get_ptr(&ocs->hw, OCS_HW_WWN_PORT);
901 ocs_hw_get(&ocs->hw, OCS_HW_TOPOLOGY, &value);
912 ocs_hw_get(&ocs->hw, OCS_HW_LINK_SPEED, &value);
926 ocs_hw_get(&ocs->hw, OCS_HW_CONFIG_TOPOLOGY, &old_value);
956 ocs_hw_get(&ocs->hw, OCS_HW_LINK_CONFIG_SPEED, &old_value);
1109 ocs_hw_get(&ocs->hw, OCS_HW_SLI_RE
[all...]
H A Docs_node.c254 if (0 == ocs_hw_get(&ocs->hw, OCS_HW_MAX_SGE, &max_sge) &&
255 0 == ocs_hw_get(&ocs->hw, OCS_HW_N_SGL, &num_sgl)) {
416 rc = ocs_hw_node_alloc(&ocs->hw, &node->rnode, port_id, sport);
500 if (OCS_HW_RTN_IS_ERROR((rc = ocs_hw_node_free_resources(&ocs->hw, &node->rnode)))) {
650 rc = ocs_hw_node_attach(&ocs->hw, &node->rnode, &node->sparm_dma_buf);
896 /* hw node detach already completed, proceed */
900 /* hw node detach hasn't completed, transition and wait */
961 ocs_hw_io_free(&ocs->hw, node->ls_acc_io->hio);
2084 * RQ Pair mode: this function is always called with a NULL hw
2162 ocs_hw_sequence_free(&ocs->hw, se
[all...]
H A Docs_scsi.c693 ocs_scsi_build_sgls(ocs_hw_t *hw, ocs_hw_io_t *hio, ocs_hw_dif_info_t *hw_dif, ocs_scsi_sgl_t *sgl, uint32_t sgl_count, ocs_hw_io_type_e type) argument
697 ocs_t *ocs = hw->os;
704 rc = ocs_hw_io_init_sges(hw, hio, type);
715 rc = ocs_hw_io_add_seed_sge(hw, hio, hw_dif);
734 ocs_log_test(hw->os, "Inavlid hw_dif blocksize %d\n", hw_dif->blk_size);
739 ocs_log_test(hw->os, "sgl[%d] len of %ld is not multiple of blocksize\n",
752 rc = ocs_hw_io_add_seed_sge(hw, hio, hw_dif);
756 rc = ocs_hw_io_add_dif_sge(hw, hio, sgl[i].dif_addr);
770 rc = ocs_hw_io_add_sge(hw, hio, sgl[i].addr, sgl[i].len);
783 rc = ocs_hw_io_add_sge(hw, hi
974 ocs_scsi_check_pending_async_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
[all...]
H A Docs_sport.c425 rc = ocs_hw_port_attach(&sport->ocs->hw, sport, fc_id);
511 if (ocs_hw_port_free(&ocs->hw, sport)) {
527 if (sport->ocs->hw.link.status == SLI_LINK_STATUS_DOWN) {
632 if (ocs_hw_port_alloc(&ocs->hw, sport, sport->domain,
674 /* If we let f/w assign wwn's, then sport wwn's with those returned by hw */
860 if (ocs_hw_port_free(&ocs->hw, sport)) {
1774 hrc = ocs_hw_node_group_alloc(&ocs->hw, node_group);
1921 hrc = ocs_hw_node_group_attach(&ocs->hw, node_group, &node->rnode);

Completed in 241 milliseconds

1234567891011