Lines Matching defs:driver_ccb
227 struct ccb *driver_ccb = &data->driver_ccb;
232 doorbell_clr(driver_ccb);
240 doorbell_set(driver_ccb);
261 struct ccb *driver_ccb, *ilo_ccb;
263 driver_ccb = &data->driver_ccb;
287 ctrl_setup(driver_ccb, NR_QENTRY, L2_QENTRY_SZ);
291 driver_ccb->ccb_u1.send_fifobar = dma_va + FIFOHANDLESIZE;
300 driver_ccb->ccb_u3.recv_fifobar = dma_va + FIFOHANDLESIZE;
305 driver_ccb->ccb_u2.send_desc = dma_va;
310 driver_ccb->ccb_u4.recv_desc = dma_va;
313 driver_ccb->channel = slot;
316 driver_ccb->ccb_u5.db_base = hw->db_vaddr + (slot << L2_DB_SIZE);
325 struct ccb *driver_ccb = &data->driver_ccb;
335 ilo_pkt_enqueue(hw, driver_ccb, SENDQ, pkt_id, pkt_sz);
336 doorbell_set(driver_ccb);
341 ilo_pkt_enqueue(hw, driver_ccb, RECVQ, pkt_id, pkt_sz);
344 doorbell_clr(driver_ccb);
350 struct ccb *driver_ccb = &data->driver_ccb;
354 if (ilo_pkt_dequeue(hw, driver_ccb, SENDQ, &pkt_id, NULL, NULL))
364 ilo_pkt_enqueue(hw, driver_ccb, SENDQ, pkt_id, 0);
365 doorbell_set(driver_ccb);
430 set_channel_reset(&hw->ccb_alloc[slot]->driver_ccb);
439 struct ccb *driver_ccb = &data->driver_ccb;
443 if (is_channel_reset(driver_ccb)) {
461 found = ilo_pkt_dequeue(hw, driver_ccb, RECVQ, &pkt_id,
479 ilo_pkt_enqueue(hw, driver_ccb, RECVQ, pkt_id, desc_mem_sz(1));
489 struct ccb *driver_ccb = &data->driver_ccb;
493 if (is_channel_reset(driver_ccb))
497 if (!ilo_pkt_dequeue(hw, driver_ccb, SENDQ, &pkt_id, &pkt_len, &pkt))
510 ilo_pkt_enqueue(hw, driver_ccb, SENDQ, pkt_id, len);
511 doorbell_set(driver_ccb);
519 struct ccb *driver_ccb = &data->driver_ccb;
523 if (is_channel_reset(driver_ccb))
525 else if (ilo_pkt_recv(data->ilo_hw, driver_ccb))