Lines Matching refs:osh
52 osl_t *osh; member
71 bcmsdh_attach(osl_t *osh, void *cfghdl, void **regsva, uint irq) in bcmsdh_attach() argument
75 if ((bcmsdh = (bcmsdh_info_t *)MALLOC(osh, sizeof(bcmsdh_info_t))) == NULL) { in bcmsdh_attach()
76 BCMSDH_ERROR(("bcmsdh_attach: out of memory, malloced %d bytes\n", MALLOCED(osh))); in bcmsdh_attach()
84 if (!(bcmsdh->sdioh = sdioh_attach(osh, cfghdl, irq))) { in bcmsdh_attach()
85 bcmsdh_detach(osh, bcmsdh); in bcmsdh_attach()
89 bcmsdh->osh = osh; in bcmsdh_attach()
100 bcmsdh_detach(osl_t *osh, void *sdh) in bcmsdh_detach() argument
106 sdioh_detach(osh, bcmsdh->sdioh); in bcmsdh_detach()
109 MFREE(osh, bcmsdh, sizeof(bcmsdh_info_t)); in bcmsdh_detach()
335 if ((tmp_buf = (uint8 *)MALLOC(bcmsdh->osh, length)) == NULL) { in bcmsdh_cis_read()
345 MFREE(bcmsdh->osh, tmp_buf, length); in bcmsdh_cis_read()