Lines Matching refs:fcomp
251 struct bfad_hal_comp fcomp; in bfad_iocmd_port_enable() local
254 init_completion(&fcomp.comp); in bfad_iocmd_port_enable()
257 bfad_hcb_comp, &fcomp); in bfad_iocmd_port_enable()
263 wait_for_completion(&fcomp.comp); in bfad_iocmd_port_enable()
264 iocmd->status = fcomp.status; in bfad_iocmd_port_enable()
272 struct bfad_hal_comp fcomp; in bfad_iocmd_port_disable() local
275 init_completion(&fcomp.comp); in bfad_iocmd_port_disable()
278 bfad_hcb_comp, &fcomp); in bfad_iocmd_port_disable()
285 wait_for_completion(&fcomp.comp); in bfad_iocmd_port_disable()
286 iocmd->status = fcomp.status; in bfad_iocmd_port_disable()
323 struct bfad_hal_comp fcomp; in bfad_iocmd_port_get_stats() local
336 init_completion(&fcomp.comp); in bfad_iocmd_port_get_stats()
339 iocmd_bufptr, bfad_hcb_comp, &fcomp); in bfad_iocmd_port_get_stats()
346 wait_for_completion(&fcomp.comp); in bfad_iocmd_port_get_stats()
347 iocmd->status = fcomp.status; in bfad_iocmd_port_get_stats()
356 struct bfad_hal_comp fcomp; in bfad_iocmd_port_reset_stats() local
359 init_completion(&fcomp.comp); in bfad_iocmd_port_reset_stats()
362 bfad_hcb_comp, &fcomp); in bfad_iocmd_port_reset_stats()
368 wait_for_completion(&fcomp.comp); in bfad_iocmd_port_reset_stats()
369 iocmd->status = fcomp.status; in bfad_iocmd_port_reset_stats()
1193 struct bfad_hal_comp fcomp; in bfad_iocmd_ioc_get_pcifn_cfg() local
1196 init_completion(&fcomp.comp); in bfad_iocmd_ioc_get_pcifn_cfg()
1200 bfad_hcb_comp, &fcomp); in bfad_iocmd_ioc_get_pcifn_cfg()
1205 wait_for_completion(&fcomp.comp); in bfad_iocmd_ioc_get_pcifn_cfg()
1206 iocmd->status = fcomp.status; in bfad_iocmd_ioc_get_pcifn_cfg()
1215 struct bfad_hal_comp fcomp; in bfad_iocmd_pcifn_create() local
1218 init_completion(&fcomp.comp); in bfad_iocmd_pcifn_create()
1223 iocmd->bw_max, bfad_hcb_comp, &fcomp); in bfad_iocmd_pcifn_create()
1228 wait_for_completion(&fcomp.comp); in bfad_iocmd_pcifn_create()
1229 iocmd->status = fcomp.status; in bfad_iocmd_pcifn_create()
1238 struct bfad_hal_comp fcomp; in bfad_iocmd_pcifn_delete() local
1241 init_completion(&fcomp.comp); in bfad_iocmd_pcifn_delete()
1245 bfad_hcb_comp, &fcomp); in bfad_iocmd_pcifn_delete()
1250 wait_for_completion(&fcomp.comp); in bfad_iocmd_pcifn_delete()
1251 iocmd->status = fcomp.status; in bfad_iocmd_pcifn_delete()
1260 struct bfad_hal_comp fcomp; in bfad_iocmd_pcifn_bw() local
1263 init_completion(&fcomp.comp); in bfad_iocmd_pcifn_bw()
1267 iocmd->bw_max, bfad_hcb_comp, &fcomp); in bfad_iocmd_pcifn_bw()
1273 wait_for_completion(&fcomp.comp); in bfad_iocmd_pcifn_bw()
1274 iocmd->status = fcomp.status; in bfad_iocmd_pcifn_bw()
1285 struct bfad_hal_comp fcomp; in bfad_iocmd_adapter_cfg_mode() local
1288 init_completion(&fcomp.comp); in bfad_iocmd_adapter_cfg_mode()
1292 iocmd->cfg.max_vf, bfad_hcb_comp, &fcomp); in bfad_iocmd_adapter_cfg_mode()
1297 wait_for_completion(&fcomp.comp); in bfad_iocmd_adapter_cfg_mode()
1298 iocmd->status = fcomp.status; in bfad_iocmd_adapter_cfg_mode()
1308 struct bfad_hal_comp fcomp; in bfad_iocmd_port_cfg_mode() local
1311 init_completion(&fcomp.comp); in bfad_iocmd_port_cfg_mode()
1316 bfad_hcb_comp, &fcomp); in bfad_iocmd_port_cfg_mode()
1321 wait_for_completion(&fcomp.comp); in bfad_iocmd_port_cfg_mode()
1322 iocmd->status = fcomp.status; in bfad_iocmd_port_cfg_mode()
1331 struct bfad_hal_comp fcomp; in bfad_iocmd_ablk_optrom() local
1334 init_completion(&fcomp.comp); in bfad_iocmd_ablk_optrom()
1338 bfad_hcb_comp, &fcomp); in bfad_iocmd_ablk_optrom()
1341 bfad_hcb_comp, &fcomp); in bfad_iocmd_ablk_optrom()
1347 wait_for_completion(&fcomp.comp); in bfad_iocmd_ablk_optrom()
1348 iocmd->status = fcomp.status; in bfad_iocmd_ablk_optrom()
1357 struct bfad_hal_comp fcomp; in bfad_iocmd_faa_query() local
1360 init_completion(&fcomp.comp); in bfad_iocmd_faa_query()
1364 bfad_hcb_comp, &fcomp); in bfad_iocmd_faa_query()
1370 wait_for_completion(&fcomp.comp); in bfad_iocmd_faa_query()
1371 iocmd->status = fcomp.status; in bfad_iocmd_faa_query()
1467 struct bfad_hal_comp fcomp; in bfad_iocmd_sfp_media() local
1470 init_completion(&fcomp.comp); in bfad_iocmd_sfp_media()
1473 bfad_hcb_comp, &fcomp); in bfad_iocmd_sfp_media()
1479 wait_for_completion(&fcomp.comp); in bfad_iocmd_sfp_media()
1480 iocmd->status = fcomp.status; in bfad_iocmd_sfp_media()
1489 struct bfad_hal_comp fcomp; in bfad_iocmd_sfp_speed() local
1492 init_completion(&fcomp.comp); in bfad_iocmd_sfp_speed()
1495 bfad_hcb_comp, &fcomp); in bfad_iocmd_sfp_speed()
1500 wait_for_completion(&fcomp.comp); in bfad_iocmd_sfp_speed()
1501 iocmd->status = fcomp.status; in bfad_iocmd_sfp_speed()
1511 struct bfad_hal_comp fcomp; in bfad_iocmd_flash_get_attr() local
1514 init_completion(&fcomp.comp); in bfad_iocmd_flash_get_attr()
1517 bfad_hcb_comp, &fcomp); in bfad_iocmd_flash_get_attr()
1521 wait_for_completion(&fcomp.comp); in bfad_iocmd_flash_get_attr()
1522 iocmd->status = fcomp.status; in bfad_iocmd_flash_get_attr()
1531 struct bfad_hal_comp fcomp; in bfad_iocmd_flash_erase_part() local
1534 init_completion(&fcomp.comp); in bfad_iocmd_flash_erase_part()
1537 iocmd->instance, bfad_hcb_comp, &fcomp); in bfad_iocmd_flash_erase_part()
1541 wait_for_completion(&fcomp.comp); in bfad_iocmd_flash_erase_part()
1542 iocmd->status = fcomp.status; in bfad_iocmd_flash_erase_part()
1553 struct bfad_hal_comp fcomp; in bfad_iocmd_flash_update_part() local
1565 init_completion(&fcomp.comp); in bfad_iocmd_flash_update_part()
1569 iocmd->bufsz, 0, bfad_hcb_comp, &fcomp); in bfad_iocmd_flash_update_part()
1573 wait_for_completion(&fcomp.comp); in bfad_iocmd_flash_update_part()
1574 iocmd->status = fcomp.status; in bfad_iocmd_flash_update_part()
1584 struct bfad_hal_comp fcomp; in bfad_iocmd_flash_read_part() local
1597 init_completion(&fcomp.comp); in bfad_iocmd_flash_read_part()
1601 bfad_hcb_comp, &fcomp); in bfad_iocmd_flash_read_part()
1605 wait_for_completion(&fcomp.comp); in bfad_iocmd_flash_read_part()
1606 iocmd->status = fcomp.status; in bfad_iocmd_flash_read_part()
1616 struct bfad_hal_comp fcomp; in bfad_iocmd_diag_temp() local
1619 init_completion(&fcomp.comp); in bfad_iocmd_diag_temp()
1622 &iocmd->result, bfad_hcb_comp, &fcomp); in bfad_iocmd_diag_temp()
1627 wait_for_completion(&fcomp.comp); in bfad_iocmd_diag_temp()
1628 iocmd->status = fcomp.status; in bfad_iocmd_diag_temp()
1638 struct bfad_hal_comp fcomp; in bfad_iocmd_diag_memtest() local
1641 init_completion(&fcomp.comp); in bfad_iocmd_diag_memtest()
1645 &iocmd->result, bfad_hcb_comp, &fcomp); in bfad_iocmd_diag_memtest()
1650 wait_for_completion(&fcomp.comp); in bfad_iocmd_diag_memtest()
1651 iocmd->status = fcomp.status; in bfad_iocmd_diag_memtest()
1661 struct bfad_hal_comp fcomp; in bfad_iocmd_diag_loopback() local
1664 init_completion(&fcomp.comp); in bfad_iocmd_diag_loopback()
1668 &iocmd->result, bfad_hcb_comp, &fcomp); in bfad_iocmd_diag_loopback()
1673 wait_for_completion(&fcomp.comp); in bfad_iocmd_diag_loopback()
1674 iocmd->status = fcomp.status; in bfad_iocmd_diag_loopback()
1684 struct bfad_hal_comp fcomp; in bfad_iocmd_diag_fwping() local
1687 init_completion(&fcomp.comp); in bfad_iocmd_diag_fwping()
1691 bfad_hcb_comp, &fcomp); in bfad_iocmd_diag_fwping()
1697 wait_for_completion(&fcomp.comp); in bfad_iocmd_diag_fwping()
1698 iocmd->status = fcomp.status; in bfad_iocmd_diag_fwping()
1707 struct bfad_hal_comp fcomp; in bfad_iocmd_diag_queuetest() local
1710 init_completion(&fcomp.comp); in bfad_iocmd_diag_queuetest()
1714 bfad_hcb_comp, &fcomp); in bfad_iocmd_diag_queuetest()
1718 wait_for_completion(&fcomp.comp); in bfad_iocmd_diag_queuetest()
1719 iocmd->status = fcomp.status; in bfad_iocmd_diag_queuetest()
1729 struct bfad_hal_comp fcomp; in bfad_iocmd_diag_sfp() local
1732 init_completion(&fcomp.comp); in bfad_iocmd_diag_sfp()
1735 bfad_hcb_comp, &fcomp); in bfad_iocmd_diag_sfp()
1740 wait_for_completion(&fcomp.comp); in bfad_iocmd_diag_sfp()
1741 iocmd->status = fcomp.status; in bfad_iocmd_diag_sfp()
1796 struct bfad_hal_comp fcomp; in bfad_iocmd_diag_dport_enable() local
1798 init_completion(&fcomp.comp); in bfad_iocmd_diag_dport_enable()
1801 iocmd->pat, bfad_hcb_comp, &fcomp); in bfad_iocmd_diag_dport_enable()
1806 wait_for_completion(&fcomp.comp); in bfad_iocmd_diag_dport_enable()
1807 iocmd->status = fcomp.status; in bfad_iocmd_diag_dport_enable()
1817 struct bfad_hal_comp fcomp; in bfad_iocmd_diag_dport_disable() local
1819 init_completion(&fcomp.comp); in bfad_iocmd_diag_dport_disable()
1821 iocmd->status = bfa_dport_disable(&bfad->bfa, bfad_hcb_comp, &fcomp); in bfad_iocmd_diag_dport_disable()
1826 wait_for_completion(&fcomp.comp); in bfad_iocmd_diag_dport_disable()
1827 iocmd->status = fcomp.status; in bfad_iocmd_diag_dport_disable()
1838 struct bfad_hal_comp fcomp; in bfad_iocmd_diag_dport_start() local
1840 init_completion(&fcomp.comp); in bfad_iocmd_diag_dport_start()
1844 &fcomp); in bfad_iocmd_diag_dport_start()
1850 wait_for_completion(&fcomp.comp); in bfad_iocmd_diag_dport_start()
1851 iocmd->status = fcomp.status; in bfad_iocmd_diag_dport_start()
1877 struct bfad_hal_comp fcomp; in bfad_iocmd_phy_get_attr() local
1880 init_completion(&fcomp.comp); in bfad_iocmd_phy_get_attr()
1883 &iocmd->attr, bfad_hcb_comp, &fcomp); in bfad_iocmd_phy_get_attr()
1887 wait_for_completion(&fcomp.comp); in bfad_iocmd_phy_get_attr()
1888 iocmd->status = fcomp.status; in bfad_iocmd_phy_get_attr()
1898 struct bfad_hal_comp fcomp; in bfad_iocmd_phy_get_stats() local
1901 init_completion(&fcomp.comp); in bfad_iocmd_phy_get_stats()
1904 &iocmd->stats, bfad_hcb_comp, &fcomp); in bfad_iocmd_phy_get_stats()
1908 wait_for_completion(&fcomp.comp); in bfad_iocmd_phy_get_stats()
1909 iocmd->status = fcomp.status; in bfad_iocmd_phy_get_stats()
1918 struct bfad_hal_comp fcomp; in bfad_iocmd_phy_read() local
1930 init_completion(&fcomp.comp); in bfad_iocmd_phy_read()
1934 0, bfad_hcb_comp, &fcomp); in bfad_iocmd_phy_read()
1938 wait_for_completion(&fcomp.comp); in bfad_iocmd_phy_read()
1939 iocmd->status = fcomp.status; in bfad_iocmd_phy_read()
1970 struct bfad_hal_comp fcomp; in bfad_iocmd_phy_update() local
1981 init_completion(&fcomp.comp); in bfad_iocmd_phy_update()
1985 0, bfad_hcb_comp, &fcomp); in bfad_iocmd_phy_update()
1989 wait_for_completion(&fcomp.comp); in bfad_iocmd_phy_update()
1990 iocmd->status = fcomp.status; in bfad_iocmd_phy_update()
2133 struct bfad_hal_comp fcomp; in bfad_iocmd_fcport_get_stats() local
2137 init_completion(&fcomp.comp); in bfad_iocmd_fcport_get_stats()
2139 &fcomp, &iocmd->stats); in bfad_iocmd_fcport_get_stats()
2147 wait_for_completion(&fcomp.comp); in bfad_iocmd_fcport_get_stats()
2148 iocmd->status = fcomp.status; in bfad_iocmd_fcport_get_stats()
2157 struct bfad_hal_comp fcomp; in bfad_iocmd_fcport_reset_stats() local
2161 init_completion(&fcomp.comp); in bfad_iocmd_fcport_reset_stats()
2162 bfa_pending_q_init(&cb_qe, (bfa_cb_cbfn_t)bfad_hcb_comp, &fcomp, NULL); in bfad_iocmd_fcport_reset_stats()
2171 wait_for_completion(&fcomp.comp); in bfad_iocmd_fcport_reset_stats()
2172 iocmd->status = fcomp.status; in bfad_iocmd_fcport_reset_stats()
2181 struct bfad_hal_comp fcomp; in bfad_iocmd_boot_cfg() local
2184 init_completion(&fcomp.comp); in bfad_iocmd_boot_cfg()
2189 bfad_hcb_comp, &fcomp); in bfad_iocmd_boot_cfg()
2193 wait_for_completion(&fcomp.comp); in bfad_iocmd_boot_cfg()
2194 iocmd->status = fcomp.status; in bfad_iocmd_boot_cfg()
2203 struct bfad_hal_comp fcomp; in bfad_iocmd_boot_query() local
2206 init_completion(&fcomp.comp); in bfad_iocmd_boot_query()
2211 bfad_hcb_comp, &fcomp); in bfad_iocmd_boot_query()
2215 wait_for_completion(&fcomp.comp); in bfad_iocmd_boot_query()
2216 iocmd->status = fcomp.status; in bfad_iocmd_boot_query()
2244 struct bfad_hal_comp fcomp; in bfad_iocmd_ethboot_cfg() local
2247 init_completion(&fcomp.comp); in bfad_iocmd_ethboot_cfg()
2253 bfad_hcb_comp, &fcomp); in bfad_iocmd_ethboot_cfg()
2257 wait_for_completion(&fcomp.comp); in bfad_iocmd_ethboot_cfg()
2258 iocmd->status = fcomp.status; in bfad_iocmd_ethboot_cfg()
2267 struct bfad_hal_comp fcomp; in bfad_iocmd_ethboot_query() local
2270 init_completion(&fcomp.comp); in bfad_iocmd_ethboot_query()
2276 bfad_hcb_comp, &fcomp); in bfad_iocmd_ethboot_query()
2280 wait_for_completion(&fcomp.comp); in bfad_iocmd_ethboot_query()
2281 iocmd->status = fcomp.status; in bfad_iocmd_ethboot_query()
2440 struct bfad_hal_comp fcomp; in bfad_iocmd_qos_get_stats() local
2445 init_completion(&fcomp.comp); in bfad_iocmd_qos_get_stats()
2447 &fcomp, &iocmd->stats); in bfad_iocmd_qos_get_stats()
2461 wait_for_completion(&fcomp.comp); in bfad_iocmd_qos_get_stats()
2462 iocmd->status = fcomp.status; in bfad_iocmd_qos_get_stats()
2471 struct bfad_hal_comp fcomp; in bfad_iocmd_qos_reset_stats() local
2476 init_completion(&fcomp.comp); in bfad_iocmd_qos_reset_stats()
2478 &fcomp, NULL); in bfad_iocmd_qos_reset_stats()
2492 wait_for_completion(&fcomp.comp); in bfad_iocmd_qos_reset_stats()
2493 iocmd->status = fcomp.status; in bfad_iocmd_qos_reset_stats()
2649 struct bfad_hal_comp fcomp; in bfad_iocmd_tfru_read() local
2652 init_completion(&fcomp.comp); in bfad_iocmd_tfru_read()
2656 bfad_hcb_comp, &fcomp); in bfad_iocmd_tfru_read()
2659 wait_for_completion(&fcomp.comp); in bfad_iocmd_tfru_read()
2660 iocmd->status = fcomp.status; in bfad_iocmd_tfru_read()
2671 struct bfad_hal_comp fcomp; in bfad_iocmd_tfru_write() local
2674 init_completion(&fcomp.comp); in bfad_iocmd_tfru_write()
2678 bfad_hcb_comp, &fcomp); in bfad_iocmd_tfru_write()
2681 wait_for_completion(&fcomp.comp); in bfad_iocmd_tfru_write()
2682 iocmd->status = fcomp.status; in bfad_iocmd_tfru_write()
2693 struct bfad_hal_comp fcomp; in bfad_iocmd_fruvpd_read() local
2696 init_completion(&fcomp.comp); in bfad_iocmd_fruvpd_read()
2700 bfad_hcb_comp, &fcomp); in bfad_iocmd_fruvpd_read()
2703 wait_for_completion(&fcomp.comp); in bfad_iocmd_fruvpd_read()
2704 iocmd->status = fcomp.status; in bfad_iocmd_fruvpd_read()
2715 struct bfad_hal_comp fcomp; in bfad_iocmd_fruvpd_update() local
2718 init_completion(&fcomp.comp); in bfad_iocmd_fruvpd_update()
2722 bfad_hcb_comp, &fcomp, iocmd->trfr_cmpl); in bfad_iocmd_fruvpd_update()
2725 wait_for_completion(&fcomp.comp); in bfad_iocmd_fruvpd_update()
2726 iocmd->status = fcomp.status; in bfad_iocmd_fruvpd_update()