Home
last modified time | relevance | path

Searched refs:io_ctx (Results 1 – 13 of 13) sorted by relevance

/freebsd-12-stable/sys/dev/aic7xxx/
Daic_osm_lib.h220 return (scb->io_ctx->ccb_h.timeout); in aic_get_timeout()
239 && scb->io_ctx->ccb_h.timeout != CAM_TIME_INFINITY) { in aic_scb_timer_start()
240 aic_scb_timer_reset(scb, scb->io_ctx->ccb_h.timeout); in aic_scb_timer_start()
267 scb->io_ctx->ccb_h.status &= ~CAM_STATUS_MASK; in aic_set_transaction_status()
268 scb->io_ctx->ccb_h.status |= status; in aic_set_transaction_status()
274 scb->io_ctx->csio.scsi_status = status; in aic_set_scsi_status()
280 return (scb->io_ctx->ccb_h.status & CAM_STATUS_MASK); in aic_get_transaction_status()
286 return (scb->io_ctx->csio.scsi_status); in aic_get_scsi_status()
292 scb->io_ctx->csio.tag_action = type; in aic_set_transaction_tag()
294 scb->io_ctx->ccb_h.flags |= CAM_TAG_ACTION_VALID; in aic_set_transaction_tag()
[all …]
Daic79xx_osm.c318 CAM_DEBUG(scb->io_ctx->ccb_h.path, CAM_DEBUG_TRACE, in ahd_done()
321 ccb = scb->io_ctx; in ahd_done()
419 scb->io_ctx->ccb_h.status |= CAM_AUTOSNS_VALID; in ahd_done()
446 scb->io_ctx->ccb_h.status |= CAM_AUTOSNS_VALID; in ahd_done()
556 scb->io_ctx = ccb; in ahd_action()
954 ccb = scb->io_ctx; in ahd_execute_scb()
1135 scb->io_ctx->ccb_h.status |= CAM_RELEASE_SIMQ; in ahd_setup_data()
Daic7xxx_osm.c320 CAM_DEBUG(scb->io_ctx->ccb_h.path, CAM_DEBUG_TRACE, in ahc_done()
323 ccb = scb->io_ctx; in ahc_done()
434 scb->io_ctx->ccb_h.status |= CAM_AUTOSNS_VALID; in ahc_done()
527 scb->io_ctx = ccb; in ahc_action()
939 ccb = scb->io_ctx; in ahc_execute_scb()
1197 scb->io_ctx->ccb_h.status |= CAM_RELEASE_SIMQ; in ahc_setup_data()
Daic7xxx_osm.h250 xpt_print_path(scb->io_ctx->ccb_h.path); in ahc_print_path()
Daic79xx_osm.h243 xpt_print_path(scb->io_ctx->ccb_h.path); in ahd_print_path()
Daic7xxx.h591 aic_io_ctx_t io_ctx; member
Daic79xx.h627 aic_io_ctx_t io_ctx; member
Daic7xxx.c1291 && scb->io_ctx->ccb_h.func_code== XPT_RESET_DEV in ahc_handle_scsiint()
5342 group = XPT_FC_GROUP(scb->io_ctx->ccb_h.func_code); in ahc_match_scb()
5349 && ((tag == scb->io_ctx->csio.tag_id) in ahc_match_scb()
5699 || (ctx != NULL && ctx != scb->io_ctx)) in ahc_search_untagged_queues()
7589 ccbh = &scb->io_ctx->ccb_h; in ahc_handle_en_lun()
Daic79xx.c2273 && scb->io_ctx->ccb_h.func_code== XPT_RESET_DEV in ahd_handle_nonpkt_busfree()
7292 group = XPT_FC_GROUP(scb->io_ctx->ccb_h.func_code); in ahd_match_scb()
7299 && ((tag == scb->io_ctx->csio.tag_id) in ahd_match_scb()
10111 ccbh = &scb->io_ctx->ccb_h; in ahd_handle_en_lun()
/freebsd-12-stable/sys/dev/bhnd/cores/pmu/
Dbhnd_pmu_private.h35 #define BHND_PMU_READ_4(_sc, _reg) (_sc)->io->rd4((_reg), (_sc)->io_ctx)
37 (_sc)->io->wr4((_reg), (_val), (_sc)->io_ctx)
48 bhnd_pmu_ind_read((_sc)->io, (_sc)->io_ctx, \
51 bhnd_pmu_ind_write((_sc)->io, (_sc)->io_ctx, \
97 uint32_t bhnd_pmu_ind_read(const struct bhnd_pmu_io *io, void *io_ctx,
99 void bhnd_pmu_ind_write(const struct bhnd_pmu_io *io, void *io_ctx,
Dbhnd_pmuvar.h77 void *io_ctx; /**< I/O callback context */ member
118 void *io_ctx; member
Dbhnd_pmu_subr.c103 CHIPC_CST4330_CHIPMODE_SDIOD((_sc)->io->rd_chipst((_sc)->io_ctx))
124 query->io_ctx = ctx; in bhnd_pmu_query_init()
151 bhnd_pmu_ind_read(const struct bhnd_pmu_io *io, void *io_ctx, bus_size_t addr, in bhnd_pmu_ind_read() argument
154 io->wr4(addr, reg, io_ctx); in bhnd_pmu_ind_read()
155 return (io->rd4(data, io_ctx)); in bhnd_pmu_ind_read()
168 bhnd_pmu_ind_write(const struct bhnd_pmu_io *io, void *io_ctx, bus_size_t addr, in bhnd_pmu_ind_write() argument
173 io->wr4(addr, reg, io_ctx); in bhnd_pmu_ind_write()
176 rval = io->rd4(data, io_ctx); in bhnd_pmu_ind_write()
182 io->wr4(data, rval, io_ctx); in bhnd_pmu_ind_write()
2248 tmp = sc->io->rd_chipst(sc->io_ctx); in bhnd_pmu5_clock()
[all …]
Dbhnd_pmu.c152 sc->io_ctx = sc->query.io_ctx; in bhnd_pmu_attach()