Home
last modified time | relevance | path

Searched refs:osc (Results 1 – 25 of 111) sorted by relevance

12345

/netbsd/sys/arch/sgimips/ioc/
H A Doiocsc.c133 osc->sc_st = oa->oa_st; in oiocsc_attach()
134 osc->sc_sh = oa->oa_sh; in oiocsc_attach()
220 if ((err = bus_dmamap_load(osc->sc_dmat, osc->sc_dmamap, in oiocsc_dmasetup()
247 bus_space_write_2(osc->sc_st, osc->sc_sh, in oiocsc_dmasetup()
277 bus_dmamap_sync(osc->sc_dmat, osc->sc_dmamap, 0, in oiocsc_dmago()
282 bus_space_write_2(osc->sc_st, osc->sc_sh, in oiocsc_dmago()
298 bus_space_write_4(osc->sc_st, osc->sc_sh, in oiocsc_dmastop()
300 bus_dmamap_sync(osc->sc_dmat, osc->sc_dmamap, 0, in oiocsc_dmastop()
305 bus_dmamap_unload(osc->sc_dmat, osc->sc_dmamap); in oiocsc_dmastop()
318 bus_space_read_4(osc->sc_st, osc->sc_sh, OIOC_SCSI_RESET_ON); in oiocsc_reset()
[all …]
/netbsd/sys/dev/acpi/
H A Dacpi_display.c695 osc->sc_dev = self; in acpidisp_out_attach()
696 osc->sc_node = ad; in acpidisp_out_attach()
697 osc->sc_log = NULL; in acpidisp_out_attach()
700 osc->sc_brctl = NULL; in acpidisp_out_attach()
704 osc->sc_brctl = acpidisp_init_brctl(osc); in acpidisp_out_attach()
705 bc = osc->sc_brctl; in acpidisp_out_attach()
718 osc->sc_brctl = NULL; in acpidisp_out_attach()
781 (void)acpidisp_get_brightness(osc, &osc->sc_brctl->bc_current); in acpidisp_out_suspend()
794 (void)acpidisp_set_brightness(osc, osc->sc_brctl->bc_current); in acpidisp_out_resume()
1030 last_osc = osc; in acpidisp_vga_cycle_output_device_callback()
[all …]
/netbsd/external/gpl3/gdb/dist/sim/m68hc11/
H A Ddv-m68hc11.c452 osc->value ^= osc->mask; in oscillator_handler()
453 val = cpu->ios[osc->addr] & ~osc->mask; in oscillator_handler()
458 if (osc->value) in oscillator_handler()
672 if (osc == 0) in m68hc11cpu_set_oscillator()
688 if (osc->event) in m68hc11cpu_set_oscillator()
692 osc->value ? osc->on_time in m68hc11cpu_set_oscillator()
707 if (osc == 0) in m68hc11cpu_clear_oscillator()
710 if (osc->event) in m68hc11cpu_clear_oscillator()
712 osc->event = 0; in m68hc11cpu_clear_oscillator()
713 osc->repeat = 0; in m68hc11cpu_clear_oscillator()
[all …]
/netbsd/external/gpl3/gdb.old/dist/sim/m68hc11/
H A Ddv-m68hc11.c452 osc->value ^= osc->mask; in oscillator_handler()
453 val = cpu->ios[osc->addr] & ~osc->mask; in oscillator_handler()
458 if (osc->value) in oscillator_handler()
672 if (osc == 0) in m68hc11cpu_set_oscillator()
688 if (osc->event) in m68hc11cpu_set_oscillator()
692 osc->value ? osc->on_time in m68hc11cpu_set_oscillator()
707 if (osc == 0) in m68hc11cpu_clear_oscillator()
710 if (osc->event) in m68hc11cpu_clear_oscillator()
712 osc->event = 0; in m68hc11cpu_clear_oscillator()
713 osc->repeat = 0; in m68hc11cpu_clear_oscillator()
[all …]
/netbsd/sys/arch/evbarm/g42xxeb/
H A Dg42xxeb_lcd.c265 struct obio_softc *osc = in lcd_ioctl() local
271 reg = bus_space_read_2(osc->sc_iot, osc->sc_obioreg_ioh, in lcd_ioctl()
277 bus_space_write_2(osc->sc_iot, osc->sc_obioreg_ioh, in lcd_ioctl()
279 bus_space_write_1(osc->sc_iot, osc->sc_obioreg_ioh, in lcd_ioctl()
293 struct obio_softc *osc = in lcd_show_screen() local
301 reg = bus_space_read_2(osc->sc_iot, osc->sc_obioreg_ioh, G42XXEB_LCDCTL); in lcd_show_screen()
302 bus_space_write_2(osc->sc_iot, osc->sc_obioreg_ioh, G42XXEB_LCDCTL, in lcd_show_screen()
317 struct obio_softc *osc = in lcdopen() local
323 reg = bus_space_read_2(osc->sc_iot, osc->sc_obioreg_ioh, G42XXEB_LCDCTL); in lcdopen()
324 bus_space_write_2(osc->sc_iot, osc->sc_obioreg_ioh, G42XXEB_LCDCTL, in lcdopen()
H A Dif_ne_obio.c230 struct obio_softc *osc =
233 device_private(device_parent(osc->sc_dev));
238 bus_space_read_2(osc->sc_iot, osc->sc_obioreg_ioh, G4250EBX_INTSTS1),
239 bus_space_read_2(osc->sc_iot, osc->sc_obioreg_ioh, G4250EBX_INTSTS2),
240 bus_space_read_2(osc->sc_iot, osc->sc_obioreg_ioh, G4250EBX_INTMASK),
241 osc->sc_intr_pending,
242 osc->sc_intr_mask );
H A Dg42xxeb_kmkbd.c199 struct obio_softc *osc = device_private(parent); in kmkbd_attach() local
221 sc->ih = obio_intr_establish(osc, G42XXEB_INT_KEY, IPL_TTY, in kmkbd_attach()
377 struct obio_softc *osc = device_private(device_parent(sc->dev)); in kmkbd_read_matrix() local
378 bus_space_tag_t iot = osc->sc_iot; in kmkbd_read_matrix()
379 bus_space_handle_t ioh = osc->sc_obioreg_ioh; in kmkbd_read_matrix()
485 obio_intr_mask(osc, sc->ih); in kmkbd_intr()
553 obio_intr_mask(osc,sc->ih); in kmkbd_new_state()
558 obio_intr_mask(osc, sc->ih); in kmkbd_new_state()
573 bus_space_tag_t iot = osc->sc_iot; in kmkbd_new_state()
574 bus_space_handle_t ioh = osc->sc_obioreg_ioh; in kmkbd_new_state()
[all …]
H A Dg42xxeb_mci.c124 struct obio_softc *osc = device_private(parent); in pxamci_attach() local
138 sc->sc_detect_ih = obio_intr_establish(osc, G42XXEB_INT_MMCSD, in pxamci_attach()
179 sc->sc_obio_ioh = osc->sc_obioreg_ioh; in pxamci_attach()
184 obio_intr_disestablish(osc, G42XXEB_INT_MMCSD, sc->sc_detect_ih); in pxamci_attach()
/netbsd/sys/dev/ofisa/
H A Dpckbc_ofisa.c89 struct pckbc_ofisa_softc *osc = device_private(self); in pckbc_ofisa_attach() local
90 struct pckbc_softc *sc = &osc->sc_pckbc; in pckbc_ofisa_attach()
101 osc->sc_ic = aa->ic; in pckbc_ofisa_attach()
108 ofisa_intr_get(phandle, &osc->sc_intr[dce->value], 1); in pckbc_ofisa_attach()
149 struct pckbc_ofisa_softc *osc = (void *) sc; in pckbc_ofisa_intr_establish() local
152 rv = isa_intr_establish(osc->sc_ic, osc->sc_intr[slot].irq, osc->sc_intr[slot].share, in pckbc_ofisa_intr_establish()
160 osc->sc_intr[slot].irq, pckbc_slot_names[slot]); in pckbc_ofisa_intr_establish()
H A Djoy_ofisa.c77 struct joy_ofisa_softc *osc = device_private(self); in joy_ofisa_attach() local
78 struct joy_softc *sc = &osc->sc_joy; in joy_ofisa_attach()
117 mutex_init(&osc->sc_lock, MUTEX_DEFAULT, IPL_NONE); in joy_ofisa_attach()
118 sc->sc_lock = &osc->sc_lock; in joy_ofisa_attach()
/netbsd/sys/arch/evbarm/lubbock/
H A Dlubbock_lcd.c240 struct obio_softc *osc = device_private(device_parent(sc->dev)); in lcd_ioctl() local
245 reg = bus_space_read_2( osc->sc_iot, osc->sc_obioreg_ioh, in lcd_ioctl()
251 bus_space_write_2( osc->sc_iot, osc->sc_obioreg_ioh, in lcd_ioctl()
264 struct obio_softc *osc = device_private(device_parent(sc->dev)); in lcd_show_screen() local
269 bus_space_write_4( osc->sc_iot, osc->sc_obioreg_ioh, LUBBOCK_MISCWR, in lcd_show_screen()
271 bus_space_read_4( osc->sc_iot, osc->sc_obioreg_ioh, LUBBOCK_MISCWR ) ); in lcd_show_screen()
/netbsd/sys/dev/ic/
H A Dathrate-onoe.c327 struct onoe_softc *osc = (struct onoe_softc *) sc->sc_rc; in ath_rate_newstate() local
332 callout_stop(&osc->timer); in ath_rate_newstate()
366 callout_reset(&osc->timer, (interval * hz) / 1000, in ath_rate_newstate()
462 callout_reset(&osc->timer, (interval * hz) / 1000, in ath_ratectl()
489 struct onoe_softc *osc; in ath_rate_attach() local
492 osc->arc.arc_space = sizeof(struct onoe_node); in ath_rate_attach()
493 callout_init(&osc->timer, 0); in ath_rate_attach()
496 return &osc->arc; in ath_rate_attach()
502 struct onoe_softc *osc = (struct onoe_softc *) arc; in ath_rate_detach() local
504 callout_stop(&osc->timer); in ath_rate_detach()
[all …]
/netbsd/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/broadcom/stingray/
H A Dstingray-clock.dtsi35 osc: oscillator { label
44 clocks = <&osc>;
54 clocks = <&osc>;
66 clocks = <&osc>;
78 clocks = <&osc>;
88 clocks = <&osc>;
100 clocks = <&osc>;
110 clocks = <&osc>;
121 clocks = <&osc>;
/netbsd/sys/arch/evbarm/iq80310/
H A Dcom_obio.c72 struct com_obio_softc *osc = device_private(self); in com_obio_attach() local
73 struct com_softc *sc = &osc->sc_com; in com_obio_attach()
89 osc->sc_ih = iq80310_intr_establish(oba->oba_irq, IPL_SERIAL, in com_obio_attach()
91 if (osc->sc_ih == NULL) in com_obio_attach()
/netbsd/sys/arch/evbarm/iq80321/
H A Dcom_obio.c73 struct com_obio_softc *osc = device_private(self); in com_obio_attach() local
74 struct com_softc *sc = &osc->sc_com; in com_obio_attach()
91 osc->sc_ih = i80321_intr_establish(oba->oba_irq, IPL_SERIAL, in com_obio_attach()
93 if (osc->sc_ih == NULL) in com_obio_attach()
/netbsd/sys/arch/evbarm/npwr_fc/
H A Dcom_obio.c73 struct com_obio_softc *osc = device_private(self); in com_obio_attach() local
74 struct com_softc *sc = &osc->sc_com; in com_obio_attach()
91 osc->sc_ih = i80321_intr_establish(oba->oba_irq, IPL_SERIAL, in com_obio_attach()
93 if (osc->sc_ih == NULL) in com_obio_attach()
/netbsd/sys/arch/evbarm/hdl_g/
H A Dcom_obio.c73 struct com_obio_softc *osc = device_private(self); in com_obio_attach() local
74 struct com_softc *sc = &osc->sc_com; in com_obio_attach()
91 osc->sc_ih = i80321_intr_establish(oba->oba_irq, IPL_SERIAL, in com_obio_attach()
93 if (osc->sc_ih == NULL) in com_obio_attach()
/netbsd/sys/arch/evbarm/iyonix/
H A Dcom_obio.c72 struct com_obio_softc *osc = device_private(self); in com_obio_attach() local
73 struct com_softc *sc = &osc->sc_com; in com_obio_attach()
90 osc->sc_ih = i80321_intr_establish(oba->oba_irq, IPL_SERIAL, in com_obio_attach()
92 if (osc->sc_ih == NULL) in com_obio_attach()
/netbsd/sys/arch/iyonix/iyonix/
H A Dcom_obio.c72 struct com_obio_softc *osc = device_private(self); in com_obio_attach() local
73 struct com_softc *sc = &osc->sc_com; in com_obio_attach()
90 osc->sc_ih = i80321_intr_establish(oba->oba_irq, IPL_SERIAL, in com_obio_attach()
92 if (osc->sc_ih == NULL) in com_obio_attach()
/netbsd/sys/arch/evbarm/adi_brh/
H A Dcom_obio.c75 struct com_obio_softc *osc = device_private(self); in com_obio_attach() local
76 struct com_softc *sc = &osc->sc_com; in com_obio_attach()
93 osc->sc_ih = becc_intr_establish(oba->oba_irq, IPL_SERIAL, in com_obio_attach()
95 if (osc->sc_ih == NULL) in com_obio_attach()
/netbsd/sys/arch/sparc/dev/
H A Dcom_obio.c163 struct com_obio_softc *osc = device_private(self); in com_obio_attach() local
164 struct com_softc *sc = &osc->osc_com; in com_obio_attach()
174 osc->osc_tadpole = 1; in com_obio_attach()
202 if (osc->osc_tadpole) { in com_obio_attach()
219 evcnt_attach_dynamic(&osc->osc_intrcnt, EVCNT_TYPE_INTR, NULL, in com_obio_attach()
/netbsd/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
H A Dbcm-cygnus-clock.dtsi38 osc: oscillator { label
48 clocks = <&osc>;
74 clocks = <&osc>;
101 clocks = <&osc>;
110 clocks = <&osc>;
121 clocks = <&osc>;
129 clocks = <&osc>;
H A Dvexpress-v2p-ca5s.dts149 compatible = "arm,vexpress-osc";
158 compatible = "arm,vexpress-osc";
167 compatible = "arm,vexpress-osc";
176 compatible = "arm,vexpress-osc";
185 compatible = "arm,vexpress-osc";
194 compatible = "arm,vexpress-osc";
H A Dvexpress-v2p-ca15-tc1.dts147 compatible = "arm,vexpress-osc";
156 compatible = "arm,vexpress-osc";
165 compatible = "arm,vexpress-osc";
174 compatible = "arm,vexpress-osc";
183 compatible = "arm,vexpress-osc";
192 compatible = "arm,vexpress-osc";
/netbsd/sys/arch/mips/cavium/dev/
H A Docteon_xhci.c84 struct octxhci_softc *osc = device_private(self); in octxhci_attach() local
85 struct xhci_softc *sc = &osc->sc_xhci; in octxhci_attach()
97 osc->sc_iot = faa->faa_bst; in octxhci_attach()
103 if (bus_space_map(osc->sc_iot, addr, size, 0, &osc->sc_ioh) != 0) { in octxhci_attach()
107 osc->sc_power_gpio = fdtbus_gpio_acquire(phandle, "power", in octxhci_attach()
109 osc->sc_unit = (addr >> 24) & 0x1; in octxhci_attach()
154 octxhci_uctl_init(osc, clock_freq, clock_sel); in octxhci_attach()

12345