/src/lib/libc/rpc/ |
rpc_callmsg.c | 72 struct opaque_auth *oa; local in function:__weak_alias 101 oa = &cmsg->rm_call.cb_cred; 102 IXDR_PUT_ENUM(buf, oa->oa_flavor); 103 IXDR_PUT_INT32(buf, oa->oa_length); 104 if (oa->oa_length) { 105 memmove(buf, oa->oa_base, oa->oa_length); 106 buf += RNDUP(oa->oa_length) / sizeof (int32_t); 108 oa = &cmsg->rm_call.cb_verf; 109 IXDR_PUT_ENUM(buf, oa->oa_flavor) [all...] |
/src/sys/arch/mac68k/obio/ |
obio.c | 79 struct obio_attach_args *oa = (struct obio_attach_args *)args; local in function:obio_print 81 if (oa->oa_addr != (-1)) 82 aprint_normal(" addr %x", oa->oa_addr); 91 struct obio_attach_args oa; local in function:obio_search 93 oa.oa_addr = cf->cf_loc[OBIOCF_ADDR]; 94 oa.oa_tag = mba->mba_bst; 95 oa.oa_dmat = mba->mba_dmat; 97 if (config_probe(parent, cf, &oa)) 98 config_attach(parent, cf, &oa, obio_print, CFARGS_NONE);
|
if_sn_obio.c | 71 struct obio_attach_args *oa = aux; local in function:sn_obio_match 78 if (bus_space_map(oa->oa_tag, 82 if (mac68k_bus_space_probe(oa->oa_tag, bsh, 0, 4)) 85 bus_space_unmap(oa->oa_tag, bsh, SONIC_NREGS * 4); 97 struct obio_attach_args *oa = aux; local in function:sn_obio_attach 102 sc->sc_st = oa->oa_tag; 103 sc->sc_dmat = oa->oa_dmat;
|
grf_obio.c | 101 struct obio_attach_args *oa = (struct obio_attach_args *)aux; local in function:grfiv_match 113 if (bus_space_map(oa->oa_tag, base, 0x40, 0, &bsh)) 117 bus_space_write_1(oa->oa_tag, bsh, 0x18, 0x1); 119 bus_space_unmap(oa->oa_tag, bsh, 0x40); 139 if (bus_space_map(oa->oa_tag, base, 0x20, 0, &bsh)) 142 if (mac68k_bus_space_probe(oa->oa_tag, bsh, 0x1c, 4) == 0) { 143 bus_space_unmap(oa->oa_tag, bsh, 0x20); 147 bus_space_unmap(oa->oa_tag, bsh, 0x20); 149 if (bus_space_map(oa->oa_tag, base + 0x100, 0x20, 0, &bsh)) 152 if (mac68k_bus_space_probe(oa->oa_tag, bsh, 0x04, 4) == 0) 196 struct obio_attach_args *oa = (struct obio_attach_args *)aux; local in function:grfiv_attach [all...] |
wdc_obio.c | 89 struct obio_attach_args *oa = (struct obio_attach_args *) aux; local in function:wdc_obio_match 101 wdr->cmd_iot = wdr->ctl_iot = oa->oa_tag; 138 struct obio_attach_args *oa = aux; local in function:wdc_obio_attach 145 oa->oa_addr = IDEBase; 146 wdr->cmd_iot = wdr->ctl_iot = oa->oa_tag; 148 if (bus_space_map(wdr->cmd_iot, oa->oa_addr, WDC_OBIO_REG_NPORTS, 0, 171 wdc_obio_isr_tag = oa->oa_tag; 173 if (bus_space_map(wdc_obio_isr_tag, oa->oa_addr + WDC_OBIO_ISR_OFFSET,
|
if_mc_obio.c | 81 struct obio_attach_args *oa = aux; local in function:mc_obio_match 88 if (bus_space_map(oa->oa_tag, MACE_REG_BASE, MC_REGSIZE, 0, &bsh)) 96 if (mac68k_bus_space_probe(oa->oa_tag, bsh, 0, 1)) { 98 oa->oa_tag, bsh, MACE_REG(MACE_CHIPIDL)) == 0x40) && 100 oa->oa_tag, bsh, MACE_REG(MACE_CHIPIDH)) & 0xf) == 9)) 104 bus_space_unmap(oa->oa_tag, bsh, MC_REGSIZE); 112 struct obio_attach_args *oa = (struct obio_attach_args *)aux; local in function:mc_obio_attach 118 sc->sc_regt = oa->oa_tag; 136 sc->sc_dmat = oa->oa_dmat;
|
sbc_obio.c | 89 struct obio_attach_args *oa = aux; local in function:sbc_obio_match 93 if (oa->oa_addr == 0) 103 if (oa->oa_addr == 1) 107 if (oa->oa_addr == 0 && mac68k_machine.scsi80) 118 struct obio_attach_args *oa = aux; local in function:sbc_obio_attach 167 if (oa->oa_addr == 1) {
|
/src/sys/arch/evbmips/alchemy/ |
obio.c | 79 struct obio_attach_args oa; local in function:obio_attach 88 oa.oba_name = od->od_name; 89 oa.oba_addr = od->od_addr; 90 oa.oba_irq = od->od_irq; 91 config_found(self, &oa, obio_print, 100 struct obio_attach_args *oa = aux; local in function:obio_submatch 103 cf->cf_loc[OBIOCF_ADDR] != oa->oba_addr) 112 struct obio_attach_args *oa = aux; local in function:obio_print 115 aprint_normal("%s at %s", oa->oba_name, pnp); 116 if (oa->oba_addr != OBIOCF_ADDR_DEFAULT [all...] |
/src/sys/arch/evbppc/ev64260/ |
com_obio.c | 106 struct obio_attach_args *oa = aux; local in function:com_obio_match 110 if (oa->oa_offset == OBIOCF_OFFSET_DEFAULT || 111 oa->oa_size == OBIOCF_SIZE_DEFAULT) 114 if (com_is_console(oa->oa_memt, oa->oa_offset, NULL)) { 117 if (bus_space_map(oa->oa_memt, oa->oa_offset, 118 oa->oa_size, 0, &ioh)) 120 rv = comprobe1(oa->oa_memt, ioh); 121 bus_space_unmap(oa->oa_memt, ioh, oa->oa_size) 132 struct obio_attach_args *oa = aux; local in function:com_obio_attach [all...] |
/src/sys/dev/marvell/ |
obio.c | 148 struct obio_attach_args *oa = aux; local in function:obio_cfprint 151 aprint_normal("%s at %s", oa->oa_name, pnp); 152 aprint_normal(" addr %#x size %#x", oa->oa_offset, oa->oa_size); 153 if (oa->oa_irq != OBIOCF_IRQ_DEFAULT) 154 aprint_normal(" irq %d", oa->oa_irq); 165 struct obio_attach_args oa; local in function:obio_cfsearch 167 oa.oa_name = cf->cf_name; 168 oa.oa_memt = sc->sc_iot; 169 oa.oa_offset = cf->cf_loc[OBIOCF_OFFSET] [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_gds.h | 43 uint32_t oa; member in struct:amdgpu_gds_reg_offset
|
/src/sys/arch/evbarm/lubbock/ |
sacc_obio.c | 87 struct obio_attach_args *oa = aux; local in function:sacc_obio_probe 90 printf("%s: addr=%lx\n", __func__, oa->oba_addr); 92 sa.sa_sc = oa->oba_sc; 93 sa.sa_iot = oa->oba_iot; 94 sa.sa_addr = oa->oba_addr;
|
/src/sys/arch/landisk/dev/ |
pwrsw_obio.c | 72 struct obio_attach_args *oa = aux; local in function:pwrsw_obio_probe 77 oa->oa_nio = 0; 78 oa->oa_niomem = 0; 79 oa->oa_nirq = 1; 80 oa->oa_irq[0].or_irq = LANDISK_INTR_PWRSW;
|
wdc_obio.c | 71 struct obio_attach_args *oa = aux; local in function:wdc_obio_probe 76 if (oa->oa_nio < 1) 78 if (oa->oa_nirq < 1) 81 if (oa->oa_io[0].or_addr == IOBASEUNK) 83 if (oa->oa_irq[0].or_irq == IRQUNK) 86 wdr.cmd_iot = oa->oa_iot; 87 if (bus_space_map(wdr.cmd_iot, oa->oa_io[0].or_addr, 99 wdr.ctl_iot = oa->oa_iot; 101 oa->oa_io[0].or_addr + WDC_OBIO_AUXREG_OFFSET, 108 oa->oa_nio = 1 125 struct obio_attach_args *oa = aux; local in function:wdc_obio_attach [all...] |
btn_obio.c | 99 struct obio_attach_args *oa = aux; local in function:btn_obio_probe 104 oa->oa_nio = 0; 105 oa->oa_niomem = 0; 106 oa->oa_nirq = 1; 107 oa->oa_irq[0].or_irq = LANDISK_INTR_BTN;
|
/src/sys/arch/mips/adm5120/ |
adm5120_obio.c | 131 obio_attach_args_create(struct obio_attach_args *oa, const struct obiodev *od, 134 oa->oba_name = od->od_name; 135 oa->oba_addr = od->od_addr; 136 oa->oba_irq = od->od_irq; 137 oa->oba_dt = dmat; 138 oa->oba_st = st; 139 oa->oba_gpio = gpio; 140 oa->oba_gpio_mask = od->od_gpio_mask; 147 struct obio_attach_args oa; local in function:obio_attach 158 obio_attach_args_create(&oa, od, ma->ma_gpio, ma->ma_dmat 171 struct obio_attach_args *oa = aux; local in function:obio_submatch 183 struct obio_attach_args *oa = aux; local in function:obio_print [all...] |
/src/sys/arch/sgimips/ioc/ |
if_le_oioc.c | 139 struct oioc_attach_args *oa = aux; local in function:le_match 144 if (strcmp(oa->oa_name, cf->cf_name) == 0) 155 struct oioc_attach_args *oa = aux; local in function:le_attach 163 lesc->sc_st = oa->oa_st; 171 if ((error = bus_space_subregion(oa->oa_st, oa->oa_sh, OIOC_LANCE_RDP, 177 if ((error = bus_space_subregion(oa->oa_st, oa->oa_sh, OIOC_LANCE_RAP, 183 if ((error = bus_space_subregion(oa->oa_st, oa->oa_sh [all...] |
oioc.c | 143 struct oioc_attach_args oa; local in function:oioc_attach 145 oa.oa_name = oioc_devices[i].od_name; 146 oa.oa_irq = oioc_devices[i].od_irq; 147 oa.oa_burst_dma = sc->sc_burst_dma; 148 oa.oa_st = normal_memt; 149 oa.oa_sh = sc->sc_ioh; 150 oa.oa_dmat = &sgimips_default_bus_dma_tag; 151 config_found(self, &oa, oioc_print, CFARGS_NONE); 158 struct oioc_attach_args *oa = aux; local in function:oioc_print 161 printf("%s at %s", oa->oa_name, pnp) [all...] |
oiocsc.c | 112 struct oioc_attach_args *oa = aux; local in function:oiocsc_match 114 if (strcmp(oa->oa_name, cf->cf_name) == 0) 128 struct oioc_attach_args *oa = aux; local in function:oiocsc_attach 132 sc->sc_regt = oa->oa_st; 133 osc->sc_st = oa->oa_st; 134 osc->sc_sh = oa->oa_sh; 135 osc->sc_dmat = oa->oa_dmat; 137 if ((err = bus_space_subregion(oa->oa_st, oa->oa_sh, OIOC_WD33C93_ASR, 143 if ((err = bus_space_subregion(oa->oa_st, oa->oa_sh, OIOC_WD33C93_DATA [all...] |
/src/sys/dev/onewire/ |
oweeprom.c | 85 struct onewire_attach_args *oa = aux; local in function:oweeprom_attach 92 sc->sc_onewire = oa->oa_onewire; 93 sc->sc_rom = oa->oa_rom;
|
owtemp.c | 123 struct onewire_attach_args *oa = aux; local in function:owtemp_attach 128 sc->sc_onewire = oa->oa_onewire; 129 sc->sc_rom = oa->oa_rom;
|
/src/sys/arch/arm/gemini/ |
gemini_obio.c | 237 struct obio_attach_args oa; local in function:obio_search 243 oa.obio_iot = &nobyteacc_bs_tag; 251 oa.obio_iot = &gemini_bs_tag; 255 oa.obio_iot = &gemini_a2x_bs_tag; 259 oa.obio_iot = &gemini_a4x_bs_tag; 267 oa.obio_dmat = sc->sc_dmat; 268 oa.obio_addr = cf->cf_loc[OBIOCF_ADDR]; 269 oa.obio_size = cf->cf_loc[OBIOCF_SIZE]; 270 oa.obio_intr = cf->cf_loc[OBIOCF_INTR]; 271 oa.obio_intrbase = cf->cf_loc[OBIOCF_INTRBASE] 284 struct obio_attach_args * const oa = aux; local in function:obio_find 360 struct obio_attach_args oa; local in function:obio_attach_critical 398 struct obio_attach_args *oa = (struct obio_attach_args*)aux; local in function:obio_print [all...] |
gemini_icu.c | 230 struct obio_attach_args * const oa = aux; local in function:geminiicu_match 233 if ((oa->obio_addr == GEMINI_IC0_BASE) 234 || (oa->obio_addr == GEMINI_IC1_BASE)) 246 struct obio_attach_args * const oa = aux; local in function:geminiicu_attach 252 sc->sc_memt = oa->obio_iot; 254 error = bus_space_map(sc->sc_memt, oa->obio_addr, 0x1000, 0,
|
/src/sys/arch/mips/rmi/ |
rmixl_gpio.c | 189 struct obio_attach_args *oa = aux; local in function:gpio_match 191 if (oa->obio_addr == RMIXL_IO_DEV_GPIO) /* XXX XLS */ 200 struct obio_attach_args * const oa = aux; local in function:gpio_attach 206 if (oa->obio_intr == OBIOCF_INTR_DEFAULT) 209 if (oa->obio_size == OBIOCF_SIZE_DEFAULT) 210 oa->obio_size = 0x1000; 212 gpio->gpio_memt = oa->obio_eb_bst; 213 error = bus_space_map(oa->obio_eb_bst, oa->obio_addr, oa->obio_size [all...] |
/src/sys/arch/sparc/dev/ |
obio.c | 142 struct obio4_busattachargs oa; local in function:obioattach 161 oa.ma = ma; 165 oa.name = *cpp; 166 config_search(self, &oa, 171 oa.name = NULL; 172 config_search(self, &oa,
|