Home
last modified time | relevance | path

Searched refs:periph (Results 1 – 25 of 141) sorted by relevance

123456

/freebsd/sys/cam/
H A Dcam_periph.h111 typedef void periph_start_t (struct cam_periph *periph,
113 typedef cam_status periph_ctor_t (struct cam_periph *periph,
115 typedef void periph_oninv_t (struct cam_periph *periph);
116 typedef void periph_dtor_t (struct cam_periph *periph);
170 int cam_periph_acquire(struct cam_periph *periph);
171 void cam_periph_doacquire(struct cam_periph *periph);
172 void cam_periph_release(struct cam_periph *periph);
173 void cam_periph_release_locked(struct cam_periph *periph);
174 void cam_periph_release_locked_buses(struct cam_periph *periph);
175 int cam_periph_hold(struct cam_periph *periph, int priority);
[all …]
H A Dcam_periph.c65 SDT_PROBE_DEFINE3(cam, , periph, error, "union ccb *", "cam_flags",
67 SDT_PROBE_DEFINE2(cam, , periph, recovery, "union ccb *", "int");
68 SDT_PROBE_DEFINE1(cam, , periph, invalidate, "struct cam_periph *");
69 SDT_PROBE_DEFINE1(cam, , periph, hold__boot, "struct cam_periph *");
70 SDT_PROBE_DEFINE1(cam, , periph, release__boot, "struct cam_periph *");
80 static void camperiphdone(struct cam_periph *periph,
82 static void camperiphfree(struct cam_periph *periph);
103 struct cam_periph *periph);
111 static MALLOC_DEFINE(M_CAMPERIPH, "CAM periph", "CAM peripheral buffers");
171 printf("CAM periph drive in periphdriver_unregister()
203 struct cam_periph *periph; cam_periph_alloc() local
341 struct cam_periph *periph; cam_periph_find() local
372 struct cam_periph *periph; cam_periph_list() local
411 cam_periph_acquire(struct cam_periph * periph) cam_periph_acquire() argument
430 cam_periph_doacquire(struct cam_periph * periph) cam_periph_doacquire() argument
441 cam_periph_release_locked_buses(struct cam_periph * periph) cam_periph_release_locked_buses() argument
451 cam_periph_release_locked(struct cam_periph * periph) cam_periph_release_locked() argument
463 cam_periph_release(struct cam_periph * periph) cam_periph_release() argument
484 cam_periph_hold(struct cam_periph * periph,int priority) cam_periph_hold() argument
517 cam_periph_unhold(struct cam_periph * periph) cam_periph_unhold() argument
532 cam_periph_hold_boot(struct cam_periph * periph) cam_periph_hold_boot() argument
539 cam_periph_release_boot(struct cam_periph * periph) cam_periph_release_boot() argument
557 struct cam_periph *periph; camperiphnextunit() local
667 cam_periph_invalidate(struct cam_periph * periph) cam_periph_invalidate() argument
696 camperiphfree(struct cam_periph * periph) camperiphfree() argument
1113 cam_periph_ioctl(struct cam_periph * periph,u_long cmd,caddr_t addr,int (* error_routine)(union ccb * ccb,cam_flags camflags,uint32_t sense_flags)) cam_periph_ioctl() argument
1175 cam_periph_done_panic(struct cam_periph * periph,union ccb * done_ccb) cam_periph_done_panic() argument
1182 cam_periph_done(struct cam_periph * periph,union ccb * done_ccb) cam_periph_done() argument
1373 camperiphdone(struct cam_periph * periph,union ccb * done_ccb) camperiphdone() argument
1477 cam_periph_async(struct cam_periph * periph,uint32_t code,struct cam_path * path,void * arg) cam_periph_async() argument
1490 cam_periph_bus_settle(struct cam_periph * periph,u_int bus_settle) cam_periph_bus_settle() argument
1502 cam_periph_freeze_after_event(struct cam_periph * periph,struct timeval * event_time,u_int duration_ms) cam_periph_freeze_after_event() argument
1536 struct cam_periph *periph; camperiphscsistatuserror() local
1651 struct cam_periph *periph; camperiphscsisenseerror() local
1872 struct cam_periph *periph; cam_periph_error() local
2116 struct cam_periph *periph; cam_periph_devctl_notify() local
2215 struct cam_periph *periph; cam_periph_invalidate_sysctl() local
[all...]
H A Dcam_xpt.c162 typedef int xpt_periphfunc_t (struct cam_periph *periph, void *arg);
248 static union ccb *xpt_get_ccb(struct cam_periph *periph);
249 static union ccb *xpt_get_ccb_nowait(struct cam_periph *periph);
250 static void xpt_run_allocq(struct cam_periph *periph, int sleep);
287 struct cam_periph *periph);
328 static cam_status xptregister(struct cam_periph *periph,
606 struct cam_periph *periph; in xptdoioctl()
655 for (periph = TAILQ_FIRST(&(*p_drv)->units); periph != NULL; in xptdoioctl()
656 periph in xptdoioctl()
603 struct cam_periph *periph; xptdoioctl() local
784 xpt_rescan_done(struct cam_periph * periph,union ccb * done_ccb) xpt_rescan_done() argument
999 xptregister(struct cam_periph * periph,void * arg) xptregister() argument
1017 xpt_add_periph(struct cam_periph * periph) xpt_add_periph() argument
1041 xpt_remove_periph(struct cam_periph * periph) xpt_remove_periph() argument
1056 xpt_announce_periph(struct cam_periph * periph,char * announce_string) xpt_announce_periph() argument
1069 xpt_announce_periph_sbuf(struct cam_periph * periph,struct sbuf * sb,char * announce_string) xpt_announce_periph_sbuf() argument
1114 xpt_announce_quirks(struct cam_periph * periph,int quirks,char * bit_string) xpt_announce_quirks() argument
1123 xpt_announce_quirks_sbuf(struct cam_periph * periph,struct sbuf * sb,int quirks,char * bit_string) xpt_announce_quirks_sbuf() argument
1133 xpt_denounce_periph(struct cam_periph * periph) xpt_denounce_periph() argument
1146 xpt_denounce_periph_sbuf(struct cam_periph * periph,struct sbuf * sb) xpt_denounce_periph_sbuf() argument
1516 xptperiphmatch(struct dev_match_pattern * patterns,u_int num_patterns,struct cam_periph * periph) xptperiphmatch() argument
1738 struct cam_periph *periph; xptedtdevicefunc() local
1861 xptedtperiphfunc(struct cam_periph * periph,void * arg) xptedtperiphfunc() argument
1976 struct cam_periph *periph; xptplistpdrvfunc() local
2002 xptplistperiphfunc(struct cam_periph * periph,void * arg) xptplistperiphfunc() argument
2260 struct cam_periph *periph, *next_periph; xptperiphtraverse() local
2337 struct cam_periph *periph, *next_periph; xptpdperiphtraverse() local
2429 xptdefperiphfunc(struct cam_periph * periph,void * arg) xptdefperiphfunc() argument
3185 xpt_schedule(struct cam_periph * periph,uint32_t new_priority) xpt_schedule() argument
3246 struct cam_periph *periph = context; xpt_run_allocq_task() local
3256 xpt_run_allocq(struct cam_periph * periph,int sleep) xpt_run_allocq() argument
3492 xpt_create_path_unlocked(struct cam_path ** new_path_ptr,struct cam_periph * periph,path_id_t path_id,target_id_t target_id,lun_id_t lun_id) xpt_create_path_unlocked() argument
3866 struct cam_periph *periph; xpt_release_ccb() local
4221 xpt_async_process(struct cam_periph * periph,union ccb * ccb) xpt_async_process() argument
4581 struct cam_periph *periph; xpt_free_ccb() local
4602 xpt_get_ccb_nowait(struct cam_periph * periph) xpt_get_ccb_nowait() argument
4623 xpt_get_ccb(struct cam_periph * periph) xpt_get_ccb() argument
4644 cam_periph_getccb(struct cam_periph * periph,uint32_t priority) cam_periph_getccb() argument
5132 struct cam_periph *periph; xptpassannouncefunc() local
[all...]
H A Dcam_xpt_periph.h43 int32_t xpt_add_periph(struct cam_periph *periph);
44 void xpt_remove_periph(struct cam_periph *periph);
45 void xpt_announce_periph(struct cam_periph *periph,
47 void xpt_announce_periph_sbuf(struct cam_periph *periph,
50 void xpt_announce_quirks(struct cam_periph *periph,
52 void xpt_announce_quirks_sbuf(struct cam_periph *periph,
55 void xpt_denounce_periph(struct cam_periph *periph);
56 void xpt_denounce_periph_sbuf(struct cam_periph *periph, struct sbuf *sb);
/freebsd/sys/cam/nvme/
H A Dnvme_da.c164 static void ndadone(struct cam_periph *periph,
220 * we ever grow another NVME periph, we should move them
295 ndasetgeom(struct nda_softc *softc, struct cam_periph *periph) in ndasetgeom()
303 nsd = nvme_get_identify_ns(periph); in ndasetgeom()
304 cd = nvme_get_identify_cntrl(periph); in ndasetgeom()
328 ndaopen_rescan_done(struct cam_periph *periph, union ccb *ccb) in ndaopen_rescan_done()
332 softc = (struct nda_softc *)periph->softc; in ndaopen_rescan_done()
334 cam_periph_assert(periph, MA_OWNED); in ndaopen_rescan_done()
345 struct cam_periph *periph; in ndaopen()
350 periph in ndaopen()
291 ndasetgeom(struct nda_softc * softc,struct cam_periph * periph) ndasetgeom() argument
324 ndaopen_rescan_done(struct cam_periph * periph,union ccb * ccb) ndaopen_rescan_done() argument
341 struct cam_periph *periph; ndaopen() local
399 struct cam_periph *periph; ndaclose() local
439 ndaschedule(struct cam_periph * periph) ndaschedule() argument
453 struct cam_periph *periph; ndaioctl() local
542 struct cam_periph *periph; ndastrategy() local
581 struct cam_periph *periph; ndadump() local
658 struct cam_periph *periph; ndadiskgonecb() local
666 ndaoninvalidate(struct cam_periph * periph) ndaoninvalidate() argument
696 ndacleanup(struct cam_periph * periph) ndacleanup() argument
728 struct cam_periph *periph = callback_arg; ndaasync() local
811 struct cam_periph *periph; ndasysctlinit() local
929 struct cam_periph *periph; ndagetattr() local
945 ndaregister(struct cam_periph * periph,void * arg) ndaregister() argument
1096 ndastart(struct cam_periph * periph,union ccb * start_ccb) ndastart() argument
1255 ndadone(struct cam_periph * periph,union ccb * done_ccb) ndadone() argument
1376 struct cam_periph *periph; ndaerror() local
1408 struct cam_periph *periph; ndaflush() local
[all...]
/freebsd/sys/cam/scsi/
H A Dscsi_cd.c166 struct cam_periph *periph; member
257 static void cddone(struct cam_periph *periph,
261 static void cdprevent(struct cam_periph *periph, int action);
262 static void cdmediaprobedone(struct cam_periph *periph);
263 static int cdcheckmedia(struct cam_periph *periph, bool do_wait);
267 static int cdreadtoc(struct cam_periph *periph, uint32_t mode,
270 static int cdgetmode(struct cam_periph *periph,
272 static int cdsetmode(struct cam_periph *periph,
274 static int cdplay(struct cam_periph *periph, uint32_t blk,
276 static int cdreadsubchannel(struct cam_periph *periph,
[all …]
H A Dscsi_enc.c127 struct cam_periph *periph; in enc_devgonecb() local
132 periph = (struct cam_periph *)arg; in enc_devgonecb()
133 mtx = cam_periph_mtx(periph); in enc_devgonecb()
135 enc = (struct enc_softc *)periph->softc; in enc_devgonecb()
143 cam_periph_release_locked(periph); in enc_devgonecb()
150 cam_periph_release_locked(periph); in enc_devgonecb()
163 enc_oninvalidate(struct cam_periph *periph) in enc_oninvalidate() argument
167 enc = periph->softc; in enc_oninvalidate()
178 xpt_register_async(0, enc_async, periph, periph->path); in enc_oninvalidate()
190 destroy_dev_sched_cb(enc->enc_dev, enc_devgonecb, periph); in enc_oninvalidate()
[all …]
H A Dscsi_pt.c96 static void ptdone(struct cam_periph *periph,
135 struct cam_periph *periph; in ptopen() local
139 periph = (struct cam_periph *)dev->si_drv1; in ptopen()
140 if (cam_periph_acquire(periph) != 0) in ptopen()
143 softc = (struct pt_softc *)periph->softc; in ptopen()
145 cam_periph_lock(periph); in ptopen()
147 cam_periph_release_locked(periph); in ptopen()
148 cam_periph_unlock(periph); in ptopen()
156 cam_periph_release(periph); in ptopen()
159 CAM_DEBUG(periph->path, CAM_DEBUG_TRACE, in ptopen()
[all …]
H A Dscsi_sg.c120 static void sgdone(struct cam_periph *periph, union ccb *done_ccb);
121 static int sgsendccb(struct cam_periph *periph, union ccb *ccb);
122 static int sgsendrdwr(struct cam_periph *periph, union ccb *ccb);
170 struct cam_periph *periph; in sgdevgonecb() local
175 periph = (struct cam_periph *)arg; in sgdevgonecb()
176 mtx = cam_periph_mtx(periph); in sgdevgonecb()
179 softc = (struct sg_softc *)periph->softc; in sgdevgonecb()
189 cam_periph_release_locked(periph); in sgdevgonecb()
196 cam_periph_release_locked(periph); in sgdevgonecb()
209 sgoninvalidate(struct cam_periph *periph) in sgoninvalidate() argument
[all …]
H A Dscsi_pass.c144 struct cam_periph *periph; member
170 static void passdone(struct cam_periph *periph,
172 static int passcreatezone(struct cam_periph *periph);
175 static int passcopysglist(struct cam_periph *periph,
178 static int passmemsetup(struct cam_periph *periph,
180 static int passmemdone(struct cam_periph *periph,
184 static int passsendccb(struct cam_periph *periph, union ccb *ccb,
236 passrejectios(struct cam_periph *periph) in passrejectios() argument
241 softc = (struct pass_softc *)periph->softc; in passrejectios()
284 cam_periph_doacquire(periph); in passrejectios()
[all …]
H A Dscsi_da.c283 typedef void da_delete_func_t (struct cam_periph *periph, union ccb *ccb,
1517 static void daprobedone(struct cam_periph *periph, union ccb *ccb);
1523 static void dazonedone(struct cam_periph *periph, union ccb *ccb);
1524 static void dadone(struct cam_periph *periph,
1526 static void dadone_probewp(struct cam_periph *periph,
1528 static void dadone_proberc(struct cam_periph *periph,
1530 static void dadone_probelbp(struct cam_periph *periph,
1532 static void dadone_probeblklimits(struct cam_periph *periph,
1534 static void dadone_probebdc(struct cam_periph *periph,
1536 static void dadone_probecache(struct cam_periph *periph,
1665 DA_PERIPH_PRINT(periph,msg,args...) global() argument
1668 DA_PERIPH_PRINT(periph,msg,args...) global() argument
1679 da_periph_hold(struct cam_periph * periph,int priority,da_ref_token token) da_periph_hold() argument
1698 da_periph_unhold(struct cam_periph * periph,da_ref_token token) da_periph_unhold() argument
1713 da_periph_acquire(struct cam_periph * periph,da_ref_token token) da_periph_acquire() argument
1732 da_periph_release(struct cam_periph * periph,da_ref_token token) da_periph_release() argument
1747 da_periph_release_locked(struct cam_periph * periph,da_ref_token token) da_periph_release_locked() argument
1768 da_periph_hold(periph,prio,token) global() argument
1769 da_periph_unhold(periph,token) global() argument
1770 da_periph_acquire(periph,token) global() argument
1771 da_periph_release(periph,token) global() argument
1772 da_periph_release_locked(periph,token) global() argument
1778 struct cam_periph *periph; daopen() local
1840 struct cam_periph *periph; daclose() local
1892 daschedule(struct cam_periph * periph) daschedule() argument
1910 struct cam_periph *periph; dastrategy() local
1962 struct cam_periph *periph; dadump() local
2031 struct cam_periph *periph; dagetattr() local
2080 struct cam_periph *periph; dadiskgonecb() local
2087 daoninvalidate(struct cam_periph * periph) daoninvalidate() argument
2120 dacleanup(struct cam_periph * periph) dacleanup() argument
2155 struct cam_periph *periph; daasync() local
2295 struct cam_periph *periph; dasysctlinit() local
2606 daprobedone(struct cam_periph * periph,union ccb * ccb) daprobedone() argument
2843 daregister(struct cam_periph * periph,void * arg) daregister() argument
3092 da_zone_cmd(struct cam_periph * periph,union ccb * ccb,struct bio * bp,int * queue_ccb) da_zone_cmd() argument
3368 dastart(struct cam_periph * periph,union ccb * start_ccb) dastart() argument
4115 da_delete_unmap(struct cam_periph * periph,union ccb * ccb,struct bio * bp) da_delete_unmap() argument
4254 da_delete_trim(struct cam_periph * periph,union ccb * ccb,struct bio * bp) da_delete_trim() argument
4346 da_delete_ws(struct cam_periph * periph,union ccb * ccb,struct bio * bp) da_delete_ws() argument
4508 dazonedone(struct cam_periph * periph,union ccb * ccb) dazonedone() argument
4654 dadone(struct cam_periph * periph,union ccb * done_ccb) dadone() argument
4830 dadone_probewp(struct cam_periph * periph,union ccb * done_ccb) dadone_probewp() argument
4910 dadone_proberc(struct cam_periph * periph,union ccb * done_ccb) dadone_proberc() argument
5183 dadone_probelbp(struct cam_periph * periph,union ccb * done_ccb) dadone_probelbp() argument
5241 dadone_probeblklimits(struct cam_periph * periph,union ccb * done_ccb) dadone_probeblklimits() argument
5335 dadone_probebdc(struct cam_periph * periph,union ccb * done_ccb) dadone_probebdc() argument
5434 dadone_probecache(struct cam_periph * periph,union ccb * done_ccb) dadone_probecache() argument
5601 dadone_probeata(struct cam_periph * periph,union ccb * done_ccb) dadone_probeata() argument
5741 dadone_probeatalogdir(struct cam_periph * periph,union ccb * done_ccb) dadone_probeatalogdir() argument
5822 dadone_probeataiddir(struct cam_periph * periph,union ccb * done_ccb) dadone_probeataiddir() argument
5913 dadone_probeatasup(struct cam_periph * periph,union ccb * done_ccb) dadone_probeatasup() argument
6026 dadone_probeatazone(struct cam_periph * periph,union ccb * done_ccb) dadone_probeatazone() argument
6120 dadone_probezone(struct cam_periph * periph,union ccb * done_ccb) dadone_probezone() argument
6197 dadone_tur(struct cam_periph * periph,union ccb * done_ccb) dadone_tur() argument
6225 dareprobe(struct cam_periph * periph) dareprobe() argument
6249 struct cam_periph *periph; daerror() local
6354 struct cam_periph *periph = arg; damediapoll() local
6375 daprevent(struct cam_periph * periph,int action) daprevent() argument
6415 dasetgeom(struct cam_periph * periph,uint32_t block_len,uint64_t maxsector,struct scsi_read_capacity_data_long * rcaplong,size_t rcap_len) dasetgeom() argument
6546 struct cam_periph *periph = arg; dasendorderedtag() local
6571 struct cam_periph *periph; dashutdown() local
[all...]
H A Dscsi_ch.c185 static void chdone(struct cam_periph *periph,
189 static int chmove(struct cam_periph *periph,
191 static int chexchange(struct cam_periph *periph,
193 static int chposition(struct cam_periph *periph,
195 static int chgetelemstatus(struct cam_periph *periph,
198 static int chsetvoltag(struct cam_periph *periph,
200 static int chielem(struct cam_periph *periph,
202 static int chgetparams(struct cam_periph *periph);
203 static int chscsiversion(struct cam_periph *periph);
245 struct cam_periph *periph; in chdevgonecb() local
[all …]
H A Dscsi_sa.c382 struct cam_periph *periph; member
598 static void sadone(struct cam_periph *periph,
603 static int sacheckeod(struct cam_periph *periph);
604 static int sagetparams(struct cam_periph *periph,
615 static int sasetprot(struct cam_periph *periph,
617 static int sasetparams(struct cam_periph *periph,
622 static int sasetsili(struct cam_periph *periph,
624 static int saseteotwarn(struct cam_periph *periph,
633 static int sasetprotents(struct cam_periph *periph,
636 static int saparamsetlist(struct cam_periph *periph,
[all …]
H A Dscsi_target.c91 struct cam_periph *periph; member
139 static void targdone(struct cam_periph *periph,
170 struct cam_periph *periph; in targcdevdtor() local
173 if (softc->periph == NULL) { in targcdevdtor()
183 periph = softc->periph; in targcdevdtor()
184 cam_periph_acquire(periph); in targcdevdtor()
185 cam_periph_lock(periph); in targcdevdtor()
187 if (softc->periph != NULL) { in targcdevdtor()
188 cam_periph_invalidate(softc->periph); in targcdevdtor()
189 softc->periph = NULL; in targcdevdtor()
[all …]
H A Dscsi_targ_bh.c131 static cam_status targbhenlun(struct cam_periph *periph);
132 static cam_status targbhdislun(struct cam_periph *periph);
136 static void targbhdone(struct cam_periph *periph,
215 struct cam_periph *periph; in targbhasync() local
217 if ((periph = cam_periph_find(new_path, "targbh")) != NULL) in targbhasync()
218 cam_periph_invalidate(periph); in targbhasync()
229 targbhenlun(struct cam_periph *periph) in targbhenlun() argument
236 softc = (struct targbh_softc *)periph->softc; in targbhenlun()
242 xpt_setup_ccb(&immed_ccb.ccb_h, periph->path, CAM_PRIORITY_NORMAL); in targbhenlun()
252 xpt_print(periph->path, in targbhenlun()
[all …]
/freebsd/sys/cam/ata/
H A Data_pmp.c120 static void pmpdone(struct cam_periph *periph,
175 pmpfreeze(struct cam_periph *periph, int mask) in pmpfreeze() argument
177 struct pmp_softc *softc = (struct pmp_softc *)periph->softc; in pmpfreeze()
185 if (xpt_create_path(&dpath, periph, in pmpfreeze()
186 xpt_path_path_id(periph->path), in pmpfreeze()
197 pmprelease(struct cam_periph *periph, int mask) in pmprelease() argument
199 struct pmp_softc *softc = (struct pmp_softc *)periph->softc; in pmprelease()
207 if (xpt_create_path(&dpath, periph, in pmprelease()
208 xpt_path_path_id(periph->path), in pmprelease()
219 pmponinvalidate(struct cam_periph *periph) in pmponinvalidate() argument
[all …]
H A Data_da.c875 static int ada_zone_cmd(struct cam_periph *periph, union ccb *ccb,
878 static void adaprobedone(struct cam_periph *periph, union ccb *ccb);
879 static void adazonedone(struct cam_periph *periph, union ccb *ccb);
880 static void adadone(struct cam_periph *periph,
984 struct cam_periph *periph; in adaopen()
988 periph = (struct cam_periph *)dp->d_drv1; in adaopen()
989 if (cam_periph_acquire(periph) != 0) { in adaopen()
993 cam_periph_lock(periph); in adaopen()
994 if ((error = cam_periph_hold(periph, PRIBIO|PCATCH)) != 0) { in adaopen()
995 cam_periph_unlock(periph); in adaopen()
980 struct cam_periph *periph; adaopen() local
1010 struct cam_periph *periph; adaclose() local
1061 adaschedule(struct cam_periph * periph) adaschedule() argument
1079 struct cam_periph *periph; adastrategy() local
1123 struct cam_periph *periph; adadump() local
1239 struct cam_periph *periph; adadiskgonecb() local
1247 adaoninvalidate(struct cam_periph * periph) adaoninvalidate() argument
1277 adacleanup(struct cam_periph * periph) adacleanup() argument
1326 struct cam_periph *periph; adaasync() local
1479 struct cam_periph *periph; adasysctlinit() local
1621 struct cam_periph *periph; adagetattr() local
1807 adaregister(struct cam_periph * periph,void * arg) adaregister() argument
2141 ada_zone_cmd(struct cam_periph * periph,union ccb * ccb,struct bio * bp,int * queue_ccb) ada_zone_cmd() argument
2327 adastart(struct cam_periph * periph,union ccb * start_ccb) adastart() argument
2746 adaprobedone(struct cam_periph * periph,union ccb * ccb) adaprobedone() argument
2780 adazonedone(struct cam_periph * periph,union ccb * ccb) adazonedone() argument
2920 adadone(struct cam_periph * periph,union ccb * done_ccb) adadone() argument
3484 struct cam_periph *periph; adaerror() local
3647 struct cam_periph *periph; adaflush() local
3700 struct cam_periph *periph; adaspindown() local
3838 struct cam_periph *periph; adaresume() local
[all...]
/freebsd/sys/cam/mmc/
H A Dmmc_da.c122 struct cam_periph *periph;
178 static void sddadone(struct cam_periph *periph,
184 static uint16_t get_rca(struct cam_periph *periph);
187 static void sdda_process_mmc_partitions(struct cam_periph *periph, union ccb *start_ccb);
188 static uint32_t sdda_get_host_caps(struct cam_periph *periph, union ccb *ccb);
189 static int mmc_select_card(struct cam_periph *periph, union ccb *ccb, uint32_t rca);
190 static inline uint32_t mmc_get_sector_size(struct cam_periph *periph) {return MMC_SECTOR_SIZE;}
200 static inline bool sdda_get_read_only(struct cam_periph *periph, union ccb *start_ccb) in sdda_get_read_only()
206 static uint32_t mmc_get_spec_vers(struct cam_periph *periph);
207 static uint64_t mmc_get_media_size(struct cam_periph *periph);
118 struct cam_periph *periph; global() member
186 mmc_get_sector_size(struct cam_periph * periph) mmc_get_sector_size() argument
196 sdda_get_read_only(struct cam_periph * periph,union ccb * start_ccb) sdda_get_read_only() argument
235 get_rca(struct cam_periph * periph) get_rca() argument
444 struct cam_periph *periph; sddaopen() local
475 struct cam_periph *periph; sddaclose() local
495 sddaschedule(struct cam_periph * periph) sddaschedule() argument
525 struct cam_periph *periph; sddastrategy() local
584 struct cam_periph *periph; sddadiskgonecb() local
595 sddaoninvalidate(struct cam_periph * periph) sddaoninvalidate() argument
625 sddacleanup(struct cam_periph * periph) sddacleanup() argument
652 struct cam_periph *periph; sddaasync() local
730 struct cam_periph *periph; sddagetattr() local
748 sddaregister(struct cam_periph * periph,void * arg) sddaregister() argument
788 mmc_exec_app_cmd(struct cam_periph * periph,union ccb * ccb,struct mmc_command * cmd) mmc_exec_app_cmd() argument
844 mmc_app_get_scr(struct cam_periph * periph,union ccb * ccb,uint32_t * rawscr) mmc_app_get_scr() argument
870 mmc_send_ext_csd(struct cam_periph * periph,union ccb * ccb,uint8_t * rawextcsd,size_t buf_len) mmc_send_ext_csd() argument
936 mmc_select_card(struct cam_periph * periph,union ccb * ccb,uint32_t rca) mmc_select_card() argument
957 mmc_switch(struct cam_periph * periph,union ccb * ccb,uint8_t set,uint8_t index,uint8_t value,u_int timeout) mmc_switch() argument
969 mmc_get_spec_vers(struct cam_periph * periph) mmc_get_spec_vers() argument
977 mmc_get_media_size(struct cam_periph * periph) mmc_get_media_size() argument
985 mmc_get_cmd6_timeout(struct cam_periph * periph) mmc_get_cmd6_timeout() argument
995 mmc_sd_switch(struct cam_periph * periph,union ccb * ccb,uint8_t mode,uint8_t grp,uint8_t value,uint8_t * res) mmc_sd_switch() argument
1030 mmc_set_timing(struct cam_periph * periph,union ccb * ccb,enum mmc_bus_timing timing) mmc_set_timing() argument
1078 struct cam_periph *periph; sdda_start_init_task() local
1095 sdda_set_bus_width(struct cam_periph * periph,union ccb * ccb,int width) sdda_set_bus_width() argument
1188 sdda_get_host_caps(struct cam_periph * periph,union ccb * ccb) sdda_get_host_caps() argument
1209 struct cam_periph *periph = (struct cam_periph *)context; sdda_start_init() local
1490 sdda_add_part(struct cam_periph * periph,u_int type,const char * name,u_int cnt,off_t media_size,bool ro) sdda_add_part() argument
1605 sdda_process_mmc_partitions(struct cam_periph * periph,union ccb * ccb) sdda_process_mmc_partitions() argument
1740 sdda_init_switch_part(struct cam_periph * periph,union ccb * start_ccb,uint8_t part) sdda_init_switch_part() argument
1764 sddastart(struct cam_periph * periph,union ccb * start_ccb) sddastart() argument
1899 sddadone(struct cam_periph * periph,union ccb * done_ccb) sddadone() argument
1996 struct cam_periph *periph; sddadump() local
[all...]
/freebsd/sys/contrib/device-tree/src/arm/microchip/
H A Dsama5d3_gmac.dtsi19 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A GTX0, conflicts with PWMH0 */
20 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A GTX1, conflicts with PWML0 */
21 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB2 periph A GTX2, conflicts with TK1 */
22 AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB3 periph A GTX3, conflicts with TF1 */
23 AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A GRX0, conflicts with PWMH1 */
24 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB5 periph A GRX1, conflicts with PWML1 */
25 AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A GRX2, conflicts with TD1 */
26 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB7 periph A GRX3, conflicts with RK1 */
30 … <AT91_PIOB 19 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB19 periph B GTX4, conflicts with MCI1_CDA */
31 … AT91_PIOB 20 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB20 periph B GTX5, conflicts with MCI1_DA0 */
[all …]
H A Dat91sam9x5_macb0.dtsi19 <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A */
20 AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A */
21 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB2 periph A */
22 AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB3 periph A */
23 AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A */
24 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB5 periph A */
25 AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */
26 AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */
27 AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */
28 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A */
[all …]
H A Dat91sam9263.dtsi200 <AT91_PIOA 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA28 periph A */
205 <AT91_PIOA 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA29 periph A */
218 <AT91_PIOD 7 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD7 periph B */
223 <AT91_PIOD 8 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD8 periph B */
236 <AT91_PIOD 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD5 periph B */
241 <AT91_PIOD 6 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD6 periph B */
260 <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC25 periph B */
261 AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE21 periph A */
262 AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE23 periph A */
263 AT91_PIOE 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE24 periph A */
[all …]
H A Dat91sam9g45.dtsi257 <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA21 periph A TWCK0 */
258 AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A TWD0 */
265 <AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB11 periph A TWCK1 */
266 AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A TWD1 */
308 <AT91_PIOB 17 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB17 periph B */
313 <AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB15 periph B */
326 <AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD16 periph A */
331 <AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PD17 periph A */
344 <AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC9 periph B */
349 <AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC11 periph B */
[all …]
H A Dat91rm9200.dtsi257 <AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A */
262 <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA21 periph A */
275 <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB24 periph A */
280 <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB26 periph A */
285 <AT91_PIOB 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB19 periph A */
286 AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB25 periph A */
291 <AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB23 periph A */
296 <AT91_PIOB 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB18 periph A */
309 <AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA30 periph B */
314 <AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PA31 periph B */
[all …]
H A Dat91sam9260.dtsi201 <AT91_PIOB 26 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB26 periph A */
206 <AT91_PIOB 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB27 periph A */
211 <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB24 periph A */
212 AT91_PIOB 22 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB22 periph A */
217 <AT91_PIOB 23 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB23 periph A */
222 <AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB25 periph A */
235 <AT91_PIOB 28 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB28 periph A */
240 <AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB29 periph A */
253 <AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA4 periph A */
258 <AT91_PIOA 5 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA5 periph A */
[all …]
/freebsd/sys/cam/ctl/
H A Dscsi_ctl.c100 struct cam_periph *periph; member
183 static void ctlfedone(struct cam_periph *periph,
196 static void ctlfe_free_ccb(struct cam_periph *periph,
198 static void ctlfe_requeue_ccb(struct cam_periph *periph,
452 ctlferegister(struct cam_periph *periph, void *arg) in ctlferegister() argument
466 softc->periph = periph; in ctlferegister()
467 periph->softc = softc; in ctlferegister()
472 cam_release_devq(periph->path, in ctlferegister()
480 xpt_setup_ccb(&ccb.ccb_h, periph->path, CAM_PRIORITY_NONE); in ctlferegister()
488 xpt_print(periph->path, "%s: Enable LUN failed, status 0x%x\n", in ctlferegister()
[all …]

123456