Home
last modified time | relevance | path

Searched refs:device_private (Results 1 – 25 of 2519) sorted by relevance

12345678910>>...101

/netbsd-src/sys/dev/nor/
H A Dnor.h142 struct nor_softc *sc = device_private(device); in nor_busy()
165 struct nor_softc *sc = device_private(self); in nor_select()
176 struct nor_softc *sc = device_private(self); in nor_read_1()
187 struct nor_softc *sc = device_private(self); in nor_read_2()
198 struct nor_softc *sc = device_private(self); in nor_read_4()
209 struct nor_softc *sc = device_private(self); in nor_write_1()
220 struct nor_softc *sc = device_private(self); in nor_write_2()
231 struct nor_softc *sc = device_private(self); in nor_write_4()
242 struct nor_softc *sc = device_private(self); in nor_read_buf_1()
253 struct nor_softc *sc = device_private(self); in nor_read_buf_2()
[all …]
/netbsd-src/sys/dev/nand/
H A Dnand.h207 struct nand_softc * const sc = device_private(device); in nand_busy()
224 struct nand_softc * const sc = device_private(self); in nand_select()
235 struct nand_softc * const sc = device_private(self); in nand_address()
246 struct nand_softc * const sc = device_private(self); in nand_command()
257 struct nand_softc * const sc = device_private(self); in nand_read_1()
268 struct nand_softc * const sc = device_private(self); in nand_write_1()
279 struct nand_softc * const sc = device_private(self); in nand_read_2()
290 struct nand_softc * const sc = device_private(self); in nand_write_2()
301 struct nand_softc * const sc = device_private(self); in nand_read_buf_1()
312 struct nand_softc * const sc = device_private(self); in nand_read_buf_2()
[all …]
H A Dnand_bbt.c50 struct nand_softc *sc = device_private(self); in nand_bbt_init()
63 struct nand_softc *sc = device_private(self); in nand_bbt_detach()
72 struct nand_softc *sc = device_private(self); in nand_bbt_scan()
100 struct nand_softc *sc = device_private(self); in nand_bbt_page_has_bbt()
118 struct nand_softc *sc = device_private(self); in nand_bbt_get_bbt_from_page()
160 struct nand_softc *sc = device_private(self); in nand_bbt_load()
203 struct nand_softc *sc = device_private(self); in nand_bbt_block_mark()
222 struct nand_softc *sc = device_private(self); in nand_bbt_block_isbad()
H A Dnandemulator.c176 struct nandemulator_softc *sc = device_private(self); in nandemulator_attach()
283 struct nandemulator_softc *sc = device_private(self); in nandemulator_detach()
305 struct nandemulator_softc *sc = device_private(self); in nandemulator_device_reset()
322 struct nandemulator_softc *sc = device_private(self); in nandemulator_address_chip()
369 struct nandemulator_softc *sc = device_private(self); in nandemulator_command()
443 struct nandemulator_softc *sc = device_private(self); in nandemulator_address()
492 struct nandemulator_softc *sc = device_private(self); in nandemulator_busy()
510 struct nandemulator_softc *sc = device_private(self); in nandemulator_read_1()
528 struct nandemulator_softc *sc = device_private(self); in nandemulator_write_1()
553 struct nandemulator_softc *sc = device_private(self); in nandemulator_read_2()
[all …]
/netbsd-src/sys/dev/ppbus/
H A Dppbus_base.c60 struct ppbus_softc * bus = device_private(dev); in ppbus_io()
68 struct ppbus_softc * bus = device_private(dev); in ppbus_exec_microseq()
77 struct ppbus_softc * bus = device_private(dev); in ppbus_read_ivar()
100 struct ppbus_softc * bus = device_private(dev); in ppbus_write_ivar()
168 struct ppbus_softc * bus = device_private(dev); in ppbus_get_mode()
177 struct ppbus_softc * bus = device_private(dev); in ppbus_set_mode()
226 struct ppbus_softc * bus = device_private(dev); in ppbus_write()
243 struct ppbus_softc * bus = device_private(dev); in ppbus_read()
260 struct ppbus_softc * bus = device_private(dev); in ppbus_reset_epp_timeout()
275 struct ppbus_softc * bus = device_private(dev); in ppbus_ecp_sync()
[all …]
/netbsd-src/sys/arch/powerpc/booke/dev/
H A Dpq3nandfcm.c85 struct pq3obio_softc * const psc = device_private(parent); in pq3nandfcm_match()
101 struct pq3nandfcm_softc * const sc = device_private(self); in pq3nandfcm_attach()
102 struct pq3obio_softc * const psc = device_private(parent); in pq3nandfcm_attach()
113 struct pq3nandfcm_softc * const sc = device_private(self); in pq3nandfcm_detach()
129 struct pq3nandfcm_softc * const sc = device_private(self); in pq3nandfcm_command()
142 struct pq3nandfcm_softc * const sc = device_private(self); in pq3nandfcm_address()
154 struct pq3nandfcm_softc * const sc = device_private(self); in pq3nandfcm_busy()
174 struct pq3nandfcm_softc * const sc = device_private(self); in pq3nandfcm_read_byte()
191 struct pq3nandfcm_softc * const sc = device_private(self); in pq3nandfcm_write_byte()
206 struct pq3nandfcm_softc * const sc = device_private(self); in pq3nandfcm_read_buf()
[all …]
/netbsd-src/sys/dev/i2o/
H A Dld_iop.c119 struct ld_iop_softc *sc = device_private(self); in ld_iop_attach()
120 struct iop_softc *iop = device_private(parent); in ld_iop_attach()
283 iop = device_private(device_parent(sc->sc_ld.sc_dv)); in ld_iop_unconfig()
320 sc = device_private(self); in ld_iop_detach()
321 iop = device_private(device_parent(self)); in ld_iop_detach()
354 sc = device_private(ld->sc_dv); in ld_iop_start()
355 iop = device_private(device_parent(ld->sc_dv)); in ld_iop_start()
414 sc = device_private(ld->sc_dv); in ld_iop_dump()
415 iop = device_private(device_parent(ld->sc_dv)); in ld_iop_dump()
450 sc = device_private(l in ld_iop_flush()
[all...]
H A Diopsp.c94 iop = device_private(parent); in iopsp_match()
129 sc = device_private(self); in iopsp_attach()
130 iop = device_private(parent); in iopsp_attach()
231 sc = device_private(dv); in iopsp_reconfig()
232 iop = device_private(device_parent(sc->sc_dev)); in iopsp_reconfig()
355 iop = device_private(device_parent(sc->sc_dev)); in iopsp_rescan()
394 sc = device_private(chan->chan_adapter->adapt_dev); in iopsp_scsipi_request()
395 iop = device_private(device_parent(sc->sc_dev)); in iopsp_scsipi_request()
510 iop = device_private(device_parent(sc->sc_dev)); in iopsp_scsi_abort()
539 sc = device_private(dv); in iopsp_intr()
[all …]
/netbsd-src/sys/arch/arm/ti/
H A Domap2_nand.c151 struct omap2_nand_softc *sc = device_private(self); in omap2_nand_command()
159 struct omap2_nand_softc *sc = device_private(self); in omap2_nand_address()
167 struct omap2_nand_softc *sc = device_private(self); in omap2_nand_isbusy()
194 struct omap2_nand_softc *sc = device_private(self); in omap2_nand_attach()
324 struct omap2_nand_softc *sc = device_private(self); in omap2_nand_busy()
334 struct omap2_nand_softc *sc = device_private(self); in omap2_nand_read_1()
342 struct omap2_nand_softc *sc = device_private(self); in omap2_nand_write_1()
350 struct omap2_nand_softc *sc = device_private(self); in omap2_nand_read_2()
358 struct omap2_nand_softc *sc = device_private(self); in omap2_nand_write_2()
366 struct omap2_nand_softc *sc = device_private(self); in omap2_nand_read_buf_1()
[all …]
/netbsd-src/sys/arch/mips/rmi/
H A Drmixl_nand.c151 struct rmixl_nand_softc *sc = device_private(self); in rmixl_nand_attach()
152 sc->sc_iobus_sc = device_private(parent); in rmixl_nand_attach()
237 struct rmixl_nand_softc *sc = device_private(self); in rmixl_nand_detach()
254 struct rmixl_nand_softc *sc = device_private(self); in rmixl_nand_command()
263 struct rmixl_nand_softc *sc = device_private(self); in rmixl_nand_address()
272 struct rmixl_nand_softc *sc = device_private(self); in rmixl_nand_busy()
293 struct rmixl_nand_softc *sc = device_private(self); in rmixl_nand_read_1()
301 struct rmixl_nand_softc *sc = device_private(self); in rmixl_nand_write_1()
309 struct rmixl_nand_softc *sc = device_private(self); in rmixl_nand_read_2()
317 struct rmixl_nand_softc *sc = device_private(self); in rmixl_nand_write_2()
[all …]
/netbsd-src/sys/arch/evbarm/g42xxeb/
H A Dgb225_pcic.c122 device_private(device_parent(sc->sc_pc.sc_dev)); in opcic_read_card_status()
140 struct opcic_softc *sc = device_private(self); in opcic_attach()
141 struct opio_softc *psc = device_private(parent); in opcic_attach()
142 struct obio_softc *bsd = device_private(device_parent(parent)); in opcic_attach()
284 device_private(device_parent(sc->sc_pc.sc_dev)); in opcic_write()
286 device_private(device_parent(psc->sc_dev)); in opcic_write()
317 device_private(device_parent(sc->sc_pc.sc_dev)); in opcic_set_power()
352 device_private(device_parent(sc->sc_pc.sc_dev)); in opcic_intr_establish()
354 device_private(device_parent(psc->sc_dev)); in opcic_intr_establish()
369 device_private(device_parent(sc->sc_pc.sc_dev)); in opcic_intr_disestablish()
[all …]
H A Dgb225_slhci.c80 struct obio_softc *bsc = device_private(device_parent(parent)); in slhci_opio_match()
88 psc = device_private(device_parent(bsc->sc_dev)); in slhci_opio_match()
119 struct slhci_opio_softc *sc = device_private(self); in slhci_opio_attach()
122 device_private(device_parent(self)); in slhci_opio_attach()
124 device_private(device_parent(psc->sc_dev)); in slhci_opio_attach()
192 bsc = device_private(device_parent( in slhci_opio_enable_intr()
/netbsd-src/sys/dev/ic/
H A Dld_nvme.c83 struct ld_nvme_softc *sc = device_private(self); in ld_nvme_attach()
85 struct nvme_softc *nsc = device_private(parent); in ld_nvme_attach()
118 struct ld_nvme_softc *sc = device_private(self); in ld_nvme_detach()
136 struct ld_nvme_softc *sc = device_private(ld->sc_dv); in ld_nvme_start()
152 struct ld_nvme_softc *sc = device_private(ld->sc_dv); in ld_nvme_dump()
186 struct ld_nvme_softc *sc = device_private(ld->sc_dv); in ld_nvme_flush()
195 struct ld_nvme_softc *sc = device_private(ld->sc_dv); in ld_nvme_getcache()
203 struct ld_nvme_softc *sc = device_private(ld->sc_dv); in ld_nvme_setcache()
H A Dld_mlx.c88 struct ld_mlx_softc *sc = device_private(self); in ld_mlx_attach()
90 struct mlx_softc *mlx = device_private(parent); in ld_mlx_attach()
138 struct ld_mlx_softc *sc = device_private(dv); in ld_mlx_detach()
140 struct mlx_softc *mlx = device_private(device_parent(dv)); in ld_mlx_detach()
160 mlx = device_private(device_parent(sc->sc_ld.sc_dv)); in ld_mlx_dobio()
224 sc = device_private(mx->mx_dv); in ld_mlx_handler()
225 mlx = device_private(device_parent(sc->sc_ld.sc_dv)); in ld_mlx_handler()
H A Ddepca.c141 struct depca_softc *dsc = device_private(device_parent(sc->sc_dev)); in depca_wrcsr()
150 struct depca_softc *dsc = device_private(device_parent(sc->sc_dev)); in depca_rdcsr()
241 struct depca_softc *dsc = device_private(parent); in le_depca_attach()
242 struct le_depca_softc *lesc = device_private(self); in le_depca_attach()
324 struct depca_softc *dsc = device_private(device_parent(sc->sc_dev)); in depca_copytobuf()
333 struct depca_softc *dsc = device_private(device_parent(sc->sc_dev)); in depca_copyfrombuf()
342 struct depca_softc *dsc = device_private(device_parent(sc->sc_dev)); in depca_zerobuf()
/netbsd-src/sys/dev/i2c/
H A Das3722.c258 struct as3722_softc * const sc = device_private(self); in as3722_attach()
530 struct as3722reg_softc *sc = device_private(self); in as3722reg_attach()
572 struct as3722reg_softc *sc = device_private(dev); in as3722reg_enable()
573 struct as3722_softc *asc = device_private(device_parent(dev)); in as3722reg_enable()
596 struct as3722reg_softc *sc = device_private(dev); in as3722reg_set_voltage_ldo()
597 struct as3722_softc *asc = device_private(device_parent(dev)); in as3722reg_set_voltage_ldo()
633 struct as3722reg_softc *sc = device_private(dev); in as3722reg_get_voltage_ldo()
634 struct as3722_softc *asc = device_private(device_parent(dev)); in as3722reg_get_voltage_ldo()
663 struct as3722reg_softc *sc = device_private(dev); in as3722reg_set_voltage_sd0()
664 struct as3722_softc *asc = device_private(device_parent(dev)); in as3722reg_set_voltage_sd0()
[all …]
H A Daxp809.c122 struct axp809_softc *sc = device_private(self); in axp809_attach()
162 struct axp809_softc *sc = device_private(c->c_dev); in axp809_print()
188 struct axp809_softc *sc = device_private(dev); in axp809_lookup()
205 struct axp809_softc *sc = device_private(c->c_dev); in axp809_set_voltage()
251 struct axp809_softc *sc = device_private(c->c_dev); in axp809_get_voltage()
278 struct axp809_softc *sc = device_private(c->c_dev); in axp809_is_enabled()
298 struct axp809_softc *sc = device_private(c->c_dev); in axp809_enable()
323 struct axp809_softc *sc = device_private(c->c_dev); in axp809_disable()
/netbsd-src/sys/dev/acpi/
H A Dacpi_fan.c80 struct acpifan_softc *sc = device_private(self); in acpifan_attach()
108 struct acpifan_softc *sc = device_private(self); in acpifan_detach()
124 struct acpifan_softc *sc = device_private(self); in acpifan_suspend()
134 struct acpifan_softc *sc = device_private(self); in acpifan_resume()
144 struct acpifan_softc *sc = device_private(self); in acpifan_shutdown()
154 struct acpifan_softc *sc = device_private(self); in acpifan_sensor_init()
195 sc = device_private(self); in acpifan_sensor_state()
H A Ddalb_acpi.c107 struct acpi_dalb_softc *sc = device_private(dev); in acpi_dalb_init()
153 struct acpi_dalb_softc *sc = device_private(self); in acpi_dalb_attach()
174 struct acpi_dalb_softc *sc = device_private(self); in acpi_dalb_detach()
187 struct acpi_dalb_softc *sc = device_private(dev); in acpi_dalb_notify_handler()
216 struct acpi_dalb_softc *sc = device_private(dev); in acpi_dalb_get_wakeup_hotkeys()
231 struct acpi_dalb_softc *sc = device_private(dev); in acpi_dalb_get_runtime_hotkeys()
245 struct acpi_dalb_softc *sc = device_private(dev); in acpi_dalb_resume()
/netbsd-src/sys/dev/pcmcia/
H A Dxirc.c167 struct xirc_softc *sc = device_private(self); in xirc_attach()
386 struct xirc_softc *sc = device_private(self); in xirc_childdet()
398 struct xirc_softc *sc = device_private(self); in xirc_detach()
429 rval |= comintr(device_private(sc->sc_modem)); in xirc_intr()
435 rval |= xi_intr(device_private(sc->sc_ethernet)); in xirc_intr()
543 struct com_softc *sc = device_private(self); in com_xirc_attach()
544 struct xirc_softc *msc = device_private(parent); in com_xirc_attach()
573 device_private(device_parent(sc->sc_dev)); in com_xirc_enable()
582 device_private(device_parent(sc->sc_dev)); in com_xirc_disable()
618 struct xi_softc *sc = device_private(self); in xi_xirc_attach()
[all …]
H A Dmhzc.c175 struct mhzc_softc *sc = device_private(self); in mhzc_attach()
325 struct mhzc_softc *sc = device_private(self); in mhzc_childdet()
336 struct mhzc_softc *sc = device_private(self); in mhzc_detach()
612 struct com_softc *sc = device_private(self); in com_mhzc_attach()
613 struct mhzc_softc *msc = device_private(parent); in com_mhzc_attach()
641 return (mhzc_enable(device_private(device_parent(sc->sc_dev)), in com_mhzc_enable()
649 mhzc_disable(device_private(device_parent(sc->sc_dev)), in com_mhzc_disable()
684 struct smc91cxx_softc *sc = device_private(self); in sm_mhzc_attach()
685 struct mhzc_softc *msc = device_private(parent); in sm_mhzc_attach()
707 struct mhzc_softc *xsc = device_private(device_parent(sc->sc_dev)); in sm_mhzc_enable()
[all …]
/netbsd-src/sys/arch/arm/nxp/
H A Dimx_gpio.c96 struct imxgpio_softc * const sc = device_private(self); in imxgpio_attach()
165 struct imxgpio_softc * const sc = device_private(dev); in imx6_gpio_fdt_acquire()
188 struct imxgpio_softc * const sc = device_private(dev); in imx6_gpio_fdt_release()
198 struct imxgpio_softc * const sc = device_private(dev); in imx6_gpio_fdt_read()
213 struct imxgpio_softc * const sc = device_private(dev); in imx6_gpio_fdt_write()
226 struct imxgpio_softc * const sc = device_private(dev); in imxgpio_establish()
263 struct imxgpio_softc * const sc = device_private(dev); in imxgpio_intrstr()
/netbsd-src/sys/dev/qbus/
H A Duda.c147 struct uba_softc *uh = device_private(parent); in udamatch()
194 struct uda_softc *sc = device_private(self); in udaattach()
202 sc->sc_uh = device_private(parent); in udaattach()
266 struct uda_softc *sc = device_private(dv); in udago()
303 struct uda_softc *sc = device_private(uu->uu_dev); in udaready()
372 struct uda_softc *sc = device_private(dev); in udasaerror()
430 struct uda_softc *sc = device_private(dev); in udareset()
457 struct uda_softc *sc = device_private(dev); in udactlrdone()
/netbsd-src/sys/arch/hpcarm/dev/
H A Dnbppcon.c88 struct nbppcon_softc *sc = device_private(self); in nbppcon_attach()
144 struct nbppcon_softc *sc = device_private(self); in nbppcon_regist_callback()
161 struct nbppcon_softc *sc = device_private(self); in nbppcon_intr()
178 struct nbppcon_softc *sc = device_private(self); in nbppcon_poll()
203 struct nbppcon_softc *sc = device_private(self); in nbppcon_kbd_ready()
228 struct nbppcon_softc *sc = device_private(self); in nbppcon_pwr_hwreset()
/netbsd-src/sys/dev/pci/
H A Dld_twe.c95 struct ld_twe_softc *sc = device_private(self); in ld_twe_attach()
97 struct twe_softc *twe = device_private(parent); in ld_twe_attach()
160 struct ld_twe_softc *sc = device_private(self); in ld_twe_detach()
180 twe = device_private(device_parent(sc->sc_ld.sc_dv)); in ld_twe_dobio()
246 sc = device_private(tx->tx_dv); in ld_twe_handler()
247 twe = device_private(device_parent(sc->sc_ld.sc_dv)); in ld_twe_handler()
273 struct twe_softc *twe = device_private(device_parent(ld->sc_dv)); in ld_twe_flush()
340 struct ld_twe_softc *sc = device_private(self); in ld_twe_adjqparam()

12345678910>>...101