Lines Matching defs:ocs
49 #include "ocs.h"
9251 ocs_t *ocs = hw->os;
9261 device_printf(ocs->dev, "Link Up, NPORT, speed is %d\n", event->speed);
9265 device_printf(ocs->dev, "Link Up, LOOP, speed is %d\n", event->speed);
9282 device_printf(ocs->dev, "Link Up, unsupported topology (%#x), speed is %d\n",
9287 device_printf(ocs->dev, "Link Down\n");
11584 ocs_t *ocs = hw->os;
11598 if (ocs_dma_alloc(ocs, &prq->dma, size, OCS_MIN_DMA_ALIGNMENT)) {
11624 ocs_t *ocs = hw->os;
11630 ocs_dma_free(ocs, &prq->dma);
11646 ocs_t *ocs = hw->os;
11662 ocs_log_err(ocs, "ocs_hw_rx_buffer_alloc hdr_buf failed\n");
11675 ocs_log_err(ocs, "ocs_hw_rx_buffer_alloc fb_buf failed\n");
12056 ocs_hw_get_def_wwn(ocs_t *ocs, uint32_t chan, uint64_t *wwpn, uint64_t *wwnn)
12058 sli4_t *sli4 = &ocs->hw.sli;
12065 if (ocs_dma_alloc(ocs, &dma, 112, 4)) {
12066 ocs_log_err(ocs, "Failed to allocate DMA memory\n");
12072 ocs_log_err(ocs, "READ_SPARM64 allocation failure\n");
12073 ocs_dma_free(ocs, &dma);
12078 ocs_log_err(ocs, "READ_SPARM64 command failure\n");
12079 ocs_dma_free(ocs, &dma);
12086 ocs_dma_free(ocs, &dma);