Lines Matching defs:ccb
58 union ccb *cur_ccb;
65 static void mmcnull_action_sd(struct cam_sim *, union ccb *);
66 static void mmcnull_action_sdio(struct cam_sim *, union ccb *);
182 union ccb *ccb;
188 ccb = sc->cur_ccb;
189 mmcio = &ccb->mmcio;
233 ccb->ccb_h.status = CAM_REQ_CMP;
236 xpt_done(ccb);
260 union ccb *ccb;
266 ccb = sc->cur_ccb;
267 mmcio = &ccb->mmcio;
311 ccb->ccb_h.status = CAM_REQ_CMP;
314 xpt_done(ccb);
323 mmcnull_handle_mmcio(struct cam_sim *sim, union ccb *ccb)
329 mmcio = &ccb->mmcio;
330 ccb->ccb_h.status = CAM_REQ_INPROG;
331 sc->cur_ccb = ccb;
341 mmcnull_action_sd(struct cam_sim *sim, union ccb *ccb)
347 ccb->ccb_h.status = CAM_SEL_TIMEOUT;
348 xpt_done(ccb);
354 device_printf(sc->dev, "action: func_code %0x\n", ccb->ccb_h.func_code);
356 switch (ccb->ccb_h.func_code) {
361 cpi = &ccb->cpi;
386 struct ccb_trans_settings *cts = &ccb->cts;
388 mcts = &ccb->cts.proto_specific.mmc;
400 ccb->ccb_h.status = CAM_REQ_CMP;
405 ccb->ccb_h.status = CAM_REQ_CMP;
409 ccb->ccb_h.status = CAM_REQ_CMP;
419 mmcnull_handle_mmcio(sim, ccb);
425 ccb->ccb_h.status = CAM_REQ_CMP;
428 device_printf(sc->dev, "Func code %d is unknown\n", ccb->ccb_h.func_code);
429 ccb->ccb_h.status = CAM_REQ_INVALID;
432 xpt_done(ccb);
437 mmcnull_action_sdio(struct cam_sim *sim, union ccb *ccb) {
438 mmcnull_action_sd(sim, ccb);