Home
last modified time | relevance | path

Searched refs:device_get_softc (Results 1 – 25 of 1307) sorted by relevance

12345678910>>...53

/freebsd-13-stable/sys/dev/ata/
HData-pci.c62 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_probe()
84 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_attach()
138 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_detach()
164 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_suspend()
176 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_resume()
219 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_alloc_resource()
223 int unit = ((struct ata_channel *)device_get_softc(child))->unit; in ata_pci_alloc_resource()
281 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_release_resource()
282 int unit = ((struct ata_channel *)device_get_softc(child))->unit; in ata_pci_release_resource()
325 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_setup_intr()
[all …]
/freebsd-13-stable/sys/arm/ti/omap4/
HDomap4_wugen.c61 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_activate_intr()
69 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_disable_intr()
77 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_enable_intr()
86 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_map_intr()
95 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_deactivate_intr()
104 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_setup_intr()
113 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_teardown_intr()
121 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_pre_ithread()
129 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_post_ithread()
137 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_post_filter()
[all …]
/freebsd-13-stable/sys/arm64/freescale/imx/
HDimx7gpc.c64 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_activate_intr()
72 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_disable_intr()
80 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_enable_intr()
89 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_map_intr()
98 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_deactivate_intr()
107 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_setup_intr()
116 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_teardown_intr()
124 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_pre_ithread()
132 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_post_ithread()
140 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_post_filter()
[all …]
/freebsd-13-stable/sys/arm/nvidia/
HDtegra_lic.c93 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_activate_intr()
101 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_disable_intr()
109 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_enable_intr()
118 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_map_intr()
127 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_deactivate_intr()
136 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_setup_intr()
145 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_teardown_intr()
153 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_pre_ithread()
161 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_post_ithread()
169 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_post_filter()
[all …]
/freebsd-13-stable/sys/dev/iicbus/mux/
HDiicmux.c59 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_callback()
126 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_get_frequency()
135 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_get_node()
149 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_intr()
160 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_read()
168 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_repeated_start()
176 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_reset()
184 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_start()
192 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_stop()
200 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_transfer()
[all …]
/freebsd-13-stable/sys/arm/allwinner/
HDaw_r_intc.c74 sc = device_get_softc(dev); in aw_r_intc_gicp_attach()
145 sc = device_get_softc(dev); in aw_r_intc_gicp_activate_intr()
158 sc = device_get_softc(dev); in aw_r_intc_gicp_enable_intr()
168 sc = device_get_softc(dev); in aw_r_intc_gicp_disable_intr()
180 sc = device_get_softc(dev); in aw_r_intc_gicp_map_intr()
200 sc = device_get_softc(dev); in aw_r_intc_gicp_deactivate_intr()
215 sc = device_get_softc(dev); in aw_r_intc_gicp_setup_intr()
229 sc = device_get_softc(dev); in aw_r_intc_gicp_teardown_intr()
242 sc = device_get_softc(dev); in aw_r_intc_gicp_pre_ithread()
252 sc = device_get_softc(dev); in aw_r_intc_gicp_post_ithread()
[all …]
/freebsd-13-stable/sys/arm/mv/
HDgpio.c303 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_attach()
362 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_intr()
414 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_setup_intrhandler()
451 sc = (struct mv_gpio_softc *)device_get_softc(s->dev); in mv_gpio_intr_mask()
481 sc = (struct mv_gpio_softc *)device_get_softc(s->dev); in mv_gpio_intr_unmask()
504 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_exec_intr_handlers()
530 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_intr_handler()
551 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_configure()
607 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_double_edge_init()
625 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_debounce_setup()
[all …]
HDmv_ap806_gicp.c90 sc = device_get_softc(dev); in mv_ap806_gicp_attach()
172 sc = device_get_softc(dev); in mv_ap806_gicp_activate_intr()
185 sc = device_get_softc(dev); in mv_ap806_gicp_enable_intr()
195 sc = device_get_softc(dev); in mv_ap806_gicp_disable_intr()
207 sc = device_get_softc(dev); in mv_ap806_gicp_map_intr()
227 sc = device_get_softc(dev); in mv_ap806_gicp_deactivate_intr()
242 sc = device_get_softc(dev); in mv_ap806_gicp_setup_intr()
256 sc = device_get_softc(dev); in mv_ap806_gicp_teardown_intr()
269 sc = device_get_softc(dev); in mv_ap806_gicp_pre_ithread()
279 sc = device_get_softc(dev); in mv_ap806_gicp_post_ithread()
[all …]
HDa37x0_gpio.c95 sc = device_get_softc(dev); in a37x0_gpio_get_bus()
105 sc = device_get_softc(dev); in a37x0_gpio_pin_max()
116 sc = device_get_softc(dev); in a37x0_gpio_pin_getname()
129 sc = device_get_softc(dev); in a37x0_gpio_pin_getcaps()
143 sc = device_get_softc(dev); in a37x0_gpio_pin_getflags()
161 sc = device_get_softc(dev); in a37x0_gpio_pin_setflags()
181 sc = device_get_softc(dev); in a37x0_gpio_pin_get()
201 sc = device_get_softc(dev); in a37x0_gpio_pin_set()
221 sc = device_get_softc(dev); in a37x0_gpio_pin_toggle()
244 sc = device_get_softc(dev); in a37x0_gpio_probe()
[all …]
HDmv_cp110_icu.c109 sc = device_get_softc(dev); in mv_cp110_icu_attach()
185 sc = device_get_softc(dev); in mv_cp110_icu_activate_intr()
196 sc = device_get_softc(dev); in mv_cp110_icu_enable_intr()
206 sc = device_get_softc(dev); in mv_cp110_icu_disable_intr()
220 sc = device_get_softc(dev); in mv_cp110_icu_map_intr()
254 sc = device_get_softc(dev); in mv_cp110_icu_deactivate_intr()
268 sc = device_get_softc(dev); in mv_cp110_icu_setup_intr()
282 sc = device_get_softc(dev); in mv_cp110_icu_teardown_intr()
295 sc = device_get_softc(dev); in mv_cp110_icu_pre_ithread()
305 sc = device_get_softc(dev); in mv_cp110_icu_post_ithread()
[all …]
/freebsd-13-stable/sys/dev/virtio/pci/
HDvirtio_pci_legacy.c227 sc = device_get_softc(dev); in vtpci_legacy_attach()
270 sc = device_get_softc(dev); in vtpci_legacy_detach()
308 vtpci_legacy_probe_and_attach_child(device_get_softc(dev)); in vtpci_legacy_driver_added()
316 sc = device_get_softc(dev); in vtpci_legacy_child_detached()
332 sc = device_get_softc(dev); in vtpci_legacy_read_ivar()
355 sc = device_get_softc(dev); in vtpci_legacy_write_ivar()
375 sc = device_get_softc(dev); in vtpci_legacy_negotiate_features()
390 sc = device_get_softc(dev); in vtpci_legacy_with_feature()
402 sc = device_get_softc(dev); in vtpci_legacy_alloc_virtqueues()
413 sc = device_get_softc(dev); in vtpci_legacy_setup_interrupts()
[all …]
/freebsd-13-stable/sys/dev/agp/
HDagp_i810.c793 struct agp_i810_softc *sc = device_get_softc(dev); in agp_i810_dump_regs()
804 struct agp_i810_softc *sc = device_get_softc(dev); in agp_i830_dump_regs()
815 struct agp_i810_softc *sc = device_get_softc(dev); in agp_i855_dump_regs()
826 struct agp_i810_softc *sc = device_get_softc(dev); in agp_i915_dump_regs()
839 struct agp_i810_softc *sc = device_get_softc(dev); in agp_i965_dump_regs()
854 sc = device_get_softc(dev); in agp_i810_get_stolen_size()
866 sc = device_get_softc(dev); in agp_i830_get_stolen_size()
898 sc = device_get_softc(dev); in agp_i915_get_stolen_size()
1040 sc = device_get_softc(dev); in agp_i810_get_gtt_mappable_entries()
1057 sc = device_get_softc(dev); in agp_i830_get_gtt_mappable_entries()
[all …]
HDagp_amd64.c163 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_attach()
247 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_detach()
279 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_get_aperture()
294 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_set_aperture()
330 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_bind_page()
344 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_unbind_page()
357 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_flush_tlb()
374 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_apbase_fixup()
388 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_uli_init()
400 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_uli_set_aperture()
[all …]
/freebsd-13-stable/sys/dev/ata/chipsets/
HData-siliconimage.c76 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_sii_probe()
106 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_sii_chipinit()
178 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_cmd_ch_attach()
179 struct ata_channel *ch = device_get_softc(dev); in ata_cmd_ch_attach()
196 struct ata_channel *ch = device_get_softc(dev); in ata_cmd_status()
212 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_cmd_setmode()
213 struct ata_channel *ch = device_get_softc(dev); in ata_cmd_setmode()
245 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_sii_ch_attach()
246 struct ata_channel *ch = device_get_softc(dev); in ata_sii_ch_attach()
308 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_sii_status()
[all …]
HData-acard.c69 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_acard_probe()
92 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_acard_chipinit()
113 struct ata_channel *ch = device_get_softc(dev); in ata_acard_ch_attach()
127 struct ata_channel *ch = device_get_softc(dev); in ata_acard_status()
153 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_acard_850_setmode()
154 struct ata_channel *ch = device_get_softc(dev); in ata_acard_850_setmode()
177 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_acard_86X_setmode()
178 struct ata_channel *ch = device_get_softc(dev); in ata_acard_86X_setmode()
HData-intel.c106 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_intel_probe()
209 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_intel_chipinit()
298 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_intel_chipdeinit()
320 ctlr = device_get_softc(device_get_parent(dev)); in ata_intel_ch_attach()
321 ch = device_get_softc(dev); in ata_intel_ch_attach()
408 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_intel_reset()
409 struct ata_channel *ch = device_get_softc(dev); in ata_intel_reset()
467 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_intel_old_setmode()
477 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_intel_new_setmode()
478 struct ata_channel *ch = device_get_softc(dev); in ata_intel_new_setmode()
[all …]
HData-highpoint.c72 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_highpoint_probe()
111 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_highpoint_chipinit()
144 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_highpoint_ch_attach()
145 struct ata_channel *ch = device_get_softc(dev); in ata_highpoint_ch_attach()
161 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_highpoint_setmode()
162 struct ata_channel *ch = device_get_softc(dev); in ata_highpoint_setmode()
200 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_highpoint_check_80pin()
201 struct ata_channel *ch = device_get_softc(dev); in ata_highpoint_check_80pin()
HData-amd.c68 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_amd_probe()
91 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_amd_chipinit()
111 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_amd_setmode()
112 struct ata_channel *ch = device_get_softc(dev); in ata_amd_setmode()
149 ctlr = device_get_softc(device_get_parent(dev)); in ata_amd_ch_attach()
150 ch = device_get_softc(dev); in ata_amd_ch_attach()
/freebsd-13-stable/sys/dev/gpio/
HDpl061.c90 sc = device_get_softc(dev); in pl061_get_bus()
106 sc = device_get_softc(dev); in pl061_pin_getname()
122 sc = device_get_softc(dev); in pl061_pin_getflags()
143 sc = device_get_softc(dev); in pl061_pin_getcaps()
171 sc = device_get_softc(dev); in pl061_pin_setflags()
194 sc = device_get_softc(dev); in pl061_pin_get()
214 sc = device_get_softc(dev); in pl061_pin_set()
231 sc = device_get_softc(dev); in pl061_pin_toggle()
249 sc = device_get_softc(dev); in pl061_pic_disable_intr()
266 sc = device_get_softc(dev); in pl061_pic_enable_intr()
[all …]
/freebsd-13-stable/sys/dev/bhnd/cores/pmu/
HDbhnd_pmu.c114 sc = device_get_softc(dev); in bhnd_pmu_attach()
229 sc = device_get_softc(dev); in bhnd_pmu_detach()
260 sc = device_get_softc(dev); in bhnd_pmu_resume()
325 sc = device_get_softc(dev); in bhnd_pmu_read_chipctrl_method()
341 struct bhnd_pmu_softc *sc = device_get_softc(dev); in bhnd_pmu_write_chipctrl_method()
357 sc = device_get_softc(dev); in bhnd_pmu_read_regctrl_method()
373 struct bhnd_pmu_softc *sc = device_get_softc(dev); in bhnd_pmu_write_regctrl_method()
389 sc = device_get_softc(dev); in bhnd_pmu_read_pllctrl_method()
405 struct bhnd_pmu_softc *sc = device_get_softc(dev); in bhnd_pmu_write_pllctrl_method()
422 sc = device_get_softc(dev); in bhnd_pmu_set_voltage_raw_method()
[all …]
/freebsd-13-stable/sys/compat/linuxkpi/common/src/
HDlinux_i2cbb.c93 sc = device_get_softc(dev); in lkpi_iicbb_attach()
108 sc = device_get_softc(dev); in lkpi_iicbb_detach()
120 sc = device_get_softc(dev); in lkpi_iicbb_add_adapter()
137 sc = device_get_softc(dev); in lkpi_iicbb_get_adapter()
184 sc = device_get_softc(dev); in lkpi_iicbb_setsda()
195 sc = device_get_softc(dev); in lkpi_iicbb_setscl()
207 sc = device_get_softc(dev); in lkpi_iicbb_getscl()
220 sc = device_get_softc(dev); in lkpi_iicbb_getsda()
241 sc = device_get_softc(dev); in lkpi_iicbb_pre_xfer()
254 sc = device_get_softc(dev); in lkpi_iicbb_post_xfer()
[all …]
/freebsd-13-stable/sys/arm/ti/
HDti_scm_syscon.c90 sc = device_get_softc(syscon->pdev); in ti_scm_syscon_write_4()
104 sc = device_get_softc(syscon->pdev); in ti_scm_syscon_read_4()
118 sc = device_get_softc(syscon->pdev); in ti_scm_syscon_modify_4()
166 sc = device_get_softc(dev); in ti_scm_syscon_attach()
204 sc = device_get_softc(dev); in ti_scm_syscon_get_handle()
217 sc = device_get_softc(dev); in ti_scm_syscon_clk_write_4()
228 sc = device_get_softc(dev); in ti_scm_syscon_clk_read_4()
241 sc = device_get_softc(dev); in ti_scm_syscon_clk_modify_4()
257 sc = device_get_softc(dev); in ti_scm_syscon_clk_device_lock()
265 sc = device_get_softc(dev); in ti_scm_syscon_clk_device_unlock()
/freebsd-13-stable/sys/dev/etherswitch/mtkswitch/
HDmtkswitch.c99 sc = device_get_softc(dev); in mtkswitch_probe()
170 sc = device_get_softc(dev); in mtkswitch_attach()
253 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_detach()
295 return (device_get_softc(sc->miibus[phy])); in mtkswitch_miiforport()
362 mii = device_get_softc(sc->miibus[i]); in mtkswitch_miipollstat()
400 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_lock()
409 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_unlock()
418 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_getinfo()
438 sc = device_get_softc(dev); in mtkswitch_getport()
481 sc = device_get_softc(dev); in mtkswitch_setport()
[all …]
/freebsd-13-stable/sys/dev/sdhci/
HDsdhci_pci.c176 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_read_1()
187 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_write_1()
197 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_read_2()
208 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_write_2()
218 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_read_4()
229 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_write_4()
240 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_read_multi_4()
249 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_write_multi_4()
259 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_lower_frequency()
283 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_restore_frequency()
[all …]
/freebsd-13-stable/sys/arm64/qoriq/
HDls1046_gpio.c153 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_reg_read()
165 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_reg_write()
188 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_configure()
246 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_attach()
267 struct gpio_softc *softc = device_get_softc(dev); in qoriq_gpio_get_bus()
299 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_getflags()
314 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_setflags()
338 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_getcaps()
353 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_get()
368 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_set()
[all …]

12345678910>>...53