Searched refs:b_res (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/puc/ |
H A D | pucdata.c | 1789 bus_write_1(bar->b_res, REG_SPR, REG_ACR); in puc_config_advantech() 1790 bus_write_1(bar->b_res, REG_ICR, acr); in puc_config_advantech() 1902 bus_write_1(bar->b_res, REG_LCR, LCR_DLAB); in puc_config_quatech() 1903 bus_write_1(bar->b_res, REG_SPR, 0); in puc_config_quatech() 1904 v0 = bus_read_1(bar->b_res, REG_SPR); in puc_config_quatech() 1905 bus_write_1(bar->b_res, REG_SPR, 0x80 + -cfg->clock); in puc_config_quatech() 1906 v1 = bus_read_1(bar->b_res, REG_SPR); in puc_config_quatech() 1907 bus_write_1(bar->b_res, REG_LCR, 0); in puc_config_quatech() 1994 bus_write_1(bar->b_res, 0x250, 0x89); in puc_config_syba() 1995 bus_write_1(bar->b_res, 0x3f0, 0x87); in puc_config_syba() [all …]
|
H A D | puc.c | 101 bar->b_res = bus_alloc_resource_any(sc->sc_dev, bar->b_type, in puc_get_bar() 103 if (bar->b_res == NULL) { in puc_get_bar() 106 bar->b_res = bus_alloc_resource_any(sc->sc_dev, bar->b_type, in puc_get_bar() 108 if (bar->b_res == NULL) { in puc_get_bar() 116 start = rman_get_start(bar->b_res); in puc_get_bar() 117 end = rman_get_end(bar->b_res); in puc_get_bar() 121 bar->b_res); in puc_get_bar() 122 bar->b_res = NULL; in puc_get_bar() 287 start = rman_get_start(bar->b_res); in puc_bfe_attach() 301 bsh = rman_get_bushandle(bar->b_res); in puc_bfe_attach() [all …]
|
H A D | puc_bfe.h | 42 struct resource *b_res; member
|