Home
last modified time | relevance | path

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

/freebsd-head/sys/dev/aic7xxx/
HDaic_osm_lib.h175 return (scb->io_ctx->ccb_h.timeout); in aic_get_timeout()
194 && scb->io_ctx->ccb_h.timeout != CAM_TIME_INFINITY) { in aic_scb_timer_start()
195 aic_scb_timer_reset(scb, scb->io_ctx->ccb_h.timeout); in aic_scb_timer_start()
222 scb->io_ctx->ccb_h.status &= ~CAM_STATUS_MASK; in aic_set_transaction_status()
223 scb->io_ctx->ccb_h.status |= status; in aic_set_transaction_status()
229 scb->io_ctx->csio.scsi_status = status; in aic_set_scsi_status()
235 return (scb->io_ctx->ccb_h.status & CAM_STATUS_MASK); in aic_get_transaction_status()
241 return (scb->io_ctx->csio.scsi_status); in aic_get_scsi_status()
247 scb->io_ctx->csio.tag_action = type; in aic_set_transaction_tag()
249 scb->io_ctx->ccb_h.flags |= CAM_TAG_ACTION_VALID; in aic_set_transaction_tag()
[all …]
HDaic79xx_osm.c334 CAM_DEBUG(scb->io_ctx->ccb_h.path, CAM_DEBUG_TRACE, in ahd_done()
337 ccb = scb->io_ctx; in ahd_done()
427 scb->io_ctx->ccb_h.status |= CAM_AUTOSNS_VALID; in ahd_done()
454 scb->io_ctx->ccb_h.status |= CAM_AUTOSNS_VALID; in ahd_done()
562 scb->io_ctx = ccb; in ahd_action()
959 ccb = scb->io_ctx; in ahd_execute_scb()
1130 scb->io_ctx->ccb_h.status |= CAM_RELEASE_SIMQ; in ahd_setup_data()
HDaic7xxx_osm.c333 CAM_DEBUG(scb->io_ctx->ccb_h.path, CAM_DEBUG_TRACE, in ahc_done()
336 ccb = scb->io_ctx; in ahc_done()
439 scb->io_ctx->ccb_h.status |= CAM_AUTOSNS_VALID; in ahc_done()
530 scb->io_ctx = ccb; in ahc_action()
941 ccb = scb->io_ctx; in ahc_execute_scb()
1190 scb->io_ctx->ccb_h.status |= CAM_RELEASE_SIMQ; in ahc_setup_data()
HDaic7xxx_osm.h228 xpt_print_path(scb->io_ctx->ccb_h.path); in ahc_print_path()
HDaic79xx_osm.h234 xpt_print_path(scb->io_ctx->ccb_h.path); in ahd_print_path()
HDaic7xxx.h589 aic_io_ctx_t io_ctx; member
HDaic79xx.h625 aic_io_ctx_t io_ctx; member
HDaic7xxx.c1279 && scb->io_ctx->ccb_h.func_code== XPT_RESET_DEV in ahc_handle_scsiint()
5297 group = XPT_FC_GROUP(scb->io_ctx->ccb_h.func_code); in ahc_match_scb()
5304 && ((tag == scb->io_ctx->csio.tag_id) in ahc_match_scb()
5651 || (ctx != NULL && ctx != scb->io_ctx)) in ahc_search_untagged_queues()
7530 ccbh = &scb->io_ctx->ccb_h; in ahc_handle_en_lun()
HDaic79xx.c2252 && scb->io_ctx->ccb_h.func_code== XPT_RESET_DEV in ahd_handle_nonpkt_busfree()
7229 group = XPT_FC_GROUP(scb->io_ctx->ccb_h.func_code); in ahd_match_scb()
7236 && ((tag == scb->io_ctx->csio.tag_id) in ahd_match_scb()
10030 ccbh = &scb->io_ctx->ccb_h; in ahd_handle_en_lun()
/freebsd-head/sys/contrib/openzfs/tests/zfs-tests/cmd/
HDmmap_libaio.c37 static io_context_t io_ctx; variable
46 if (io_submit(io_ctx, 1, iocbs) != 1) in do_sync_io()
49 if (io_getevents(io_ctx, 0, 1, &event, &ts) != 1) in do_sync_io()
63 if (io_queue_init(1024, &io_ctx)) in main()
86 if (io_queue_release(io_ctx) != 0) in main()
/freebsd-head/sys/dev/bhnd/cores/pmu/
HDbhnd_pmu_private.h34 #define BHND_PMU_READ_4(_sc, _reg) (_sc)->io->rd4((_reg), (_sc)->io_ctx)
36 (_sc)->io->wr4((_reg), (_val), (_sc)->io_ctx)
47 bhnd_pmu_ind_read((_sc)->io, (_sc)->io_ctx, \
50 bhnd_pmu_ind_write((_sc)->io, (_sc)->io_ctx, \
94 uint32_t bhnd_pmu_ind_read(const struct bhnd_pmu_io *io, void *io_ctx,
96 void bhnd_pmu_ind_write(const struct bhnd_pmu_io *io, void *io_ctx,
HDbhnd_pmuvar.h75 void *io_ctx; /**< I/O callback context */ member
116 void *io_ctx; member
HDbhnd_pmu_subr.c100 CHIPC_CST4330_CHIPMODE_SDIOD((_sc)->io->rd_chipst((_sc)->io_ctx))
121 query->io_ctx = ctx; in bhnd_pmu_query_init()
148 bhnd_pmu_ind_read(const struct bhnd_pmu_io *io, void *io_ctx, bus_size_t addr, in bhnd_pmu_ind_read() argument
151 io->wr4(addr, reg, io_ctx); in bhnd_pmu_ind_read()
152 return (io->rd4(data, io_ctx)); in bhnd_pmu_ind_read()
165 bhnd_pmu_ind_write(const struct bhnd_pmu_io *io, void *io_ctx, bus_size_t addr, in bhnd_pmu_ind_write() argument
170 io->wr4(addr, reg, io_ctx); in bhnd_pmu_ind_write()
173 rval = io->rd4(data, io_ctx); in bhnd_pmu_ind_write()
179 io->wr4(data, rval, io_ctx); in bhnd_pmu_ind_write()
2242 tmp = sc->io->rd_chipst(sc->io_ctx); in bhnd_pmu5_clock()
[all …]
HDbhnd_pmu.c147 sc->io_ctx = sc->query.io_ctx; in bhnd_pmu_attach()