Lines Matching refs:devi
334 struct pccard_ivar *devi; in pccard_detach_card() local
350 devi = PCCARD_IVAR(pf->dev); in pccard_detach_card()
352 free(devi, M_DEVBUF); in pccard_detach_card()
455 struct pccard_ivar *devi = PCCARD_IVAR(dev); in pccard_select_cfe() local
456 struct pccard_function *pf = devi->pf; in pccard_select_cfe()
476 struct pccard_ivar *devi = PCCARD_IVAR(pf->dev); in pccard_function_init() local
477 struct resource_list *rl = &devi->resources; in pccard_function_init()
597 struct pccard_ivar *devi = PCCARD_IVAR(pf->dev); in pccard_function_free() local
605 STAILQ_FOREACH(rle, &devi->resources, link) { in pccard_function_free()
619 resource_list_free(&devi->resources); in pccard_function_free()
786 struct pccard_ivar *devi = PCCARD_IVAR(pf->dev); in pccard_function_disable() local
788 resource_list_find(&devi->resources, SYS_RES_IRQ, 0); in pccard_function_disable()
906 struct pccard_ivar *devi = PCCARD_IVAR(child); in pccard_print_child() local
907 struct resource_list *rl = &devi->resources; in pccard_print_child()
913 if (devi != NULL) { in pccard_print_child()
922 retval += printf(" function %d config %d", devi->pf->number, in pccard_print_child()
923 devi->pf->cfe->number); in pccard_print_child()
935 struct pccard_ivar *devi = PCCARD_IVAR(child); in pccard_set_resource() local
936 struct resource_list *rl = &devi->resources; in pccard_set_resource()
964 struct pccard_ivar *devi = PCCARD_IVAR(child); in pccard_get_resource() local
965 struct resource_list *rl = &devi->resources; in pccard_get_resource()
983 struct pccard_ivar *devi = PCCARD_IVAR(child); in pccard_delete_resource() local
984 struct resource_list *rl = &devi->resources; in pccard_delete_resource()
1008 struct pccard_ivar *devi = PCCARD_IVAR(child); in pccard_probe_nomatch() local
1009 struct pccard_function *pf = devi->pf; in pccard_probe_nomatch()
1028 struct pccard_ivar *devi = PCCARD_IVAR(child); in pccard_child_location_str() local
1029 struct pccard_function *pf = devi->pf; in pccard_child_location_str()
1039 struct pccard_ivar *devi = PCCARD_IVAR(child); in pccard_child_pnpinfo_str() local
1040 struct pccard_function *pf = devi->pf; in pccard_child_pnpinfo_str()
1060 struct pccard_ivar *devi = PCCARD_IVAR(child); in pccard_read_ivar() local
1061 struct pccard_function *pf = devi->pf; in pccard_read_ivar()
1355 struct pccard_ivar *devi = PCCARD_IVAR(child); in pccard_attr_read_impl() local
1356 struct pccard_function *pf = devi->pf; in pccard_attr_read_impl()
1381 struct pccard_ivar *devi = PCCARD_IVAR(child); in pccard_attr_write_impl() local
1382 struct pccard_function *pf = devi->pf; in pccard_attr_write_impl()
1408 struct pccard_ivar *devi = PCCARD_IVAR(child); in pccard_ccr_read_impl() local
1410 *val = pccard_ccr_read(devi->pf, offset); in pccard_ccr_read_impl()
1412 devi->pf->pf_ccr_offset, *val)); in pccard_ccr_read_impl()
1420 struct pccard_ivar *devi = PCCARD_IVAR(child); in pccard_ccr_write_impl() local
1421 struct pccard_function *pf = devi->pf; in pccard_ccr_write_impl()
1428 devi->pf->pf_ccr_offset)); in pccard_ccr_write_impl()