Home
last modified time | relevance | path

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

12345678910>>...52

/freebsd-13.1/sys/dev/ata/
H A Data-pci.c395 struct ata_channel *ch = device_get_softc(dev); in ata_pci_ch_attach()
433 struct ata_channel *ch = device_get_softc(dev); in ata_pci_ch_detach()
449 device_get_softc(device_get_parent(dev)); in ata_pci_status()
450 struct ata_channel *ch = device_get_softc(dev); in ata_pci_status()
473 struct ata_channel *ch = device_get_softc(dev); in ata_pci_hw()
516 struct ata_channel *ch = device_get_softc(dev); in ata_pci_dmareset()
532 struct ata_channel *ch = device_get_softc(dev); in ata_pci_dmainit()
631 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_attach()
654 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_detach()
673 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_suspend()
[all …]
/freebsd-13.1/sys/arm/ti/omap4/
H A Domap4_wugen.c63 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_activate_intr()
71 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_disable_intr()
79 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_enable_intr()
88 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_map_intr()
97 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_deactivate_intr()
106 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_setup_intr()
115 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_teardown_intr()
123 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_pre_ithread()
131 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_post_ithread()
172 sc = device_get_softc(dev); in omap4_wugen_detach()
[all …]
/freebsd-13.1/sys/arm64/freescale/imx/
H A Dimx7gpc.c66 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_activate_intr()
74 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_disable_intr()
82 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_enable_intr()
91 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_map_intr()
100 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_deactivate_intr()
109 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_setup_intr()
118 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_teardown_intr()
126 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_pre_ithread()
134 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_post_ithread()
142 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_post_filter()
[all …]
/freebsd-13.1/sys/arm/nvidia/
H A Dtegra_lic.c95 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_activate_intr()
103 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_disable_intr()
111 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_enable_intr()
120 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_map_intr()
129 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_deactivate_intr()
138 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_setup_intr()
147 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_teardown_intr()
155 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_pre_ithread()
163 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_post_ithread()
206 sc = device_get_softc(dev); in tegra_lic_attach()
[all …]
H A Dtegra_sdhci.c132 sc = device_get_softc(dev); in tegra_sdhci_read_1()
141 sc = device_get_softc(dev); in tegra_sdhci_read_2()
151 sc = device_get_softc(dev); in tegra_sdhci_read_4()
165 sc = device_get_softc(dev); in tegra_sdhci_read_multi_4()
175 sc = device_get_softc(dev); in tegra_sdhci_write_1()
185 sc = device_get_softc(dev); in tegra_sdhci_write_2()
195 sc = device_get_softc(dev); in tegra_sdhci_write_4()
205 sc = device_get_softc(dev); in tegra_sdhci_write_multi_4()
229 struct tegra_sdhci_softc *sc = device_get_softc(dev); in tegra_sdhci_get_card_present()
242 sc = device_get_softc(dev); in tegra_sdhci_probe()
[all …]
/freebsd-13.1/sys/dev/iicbus/mux/
H A Diicmux.c61 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_callback()
128 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_get_frequency()
137 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_get_node()
151 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_intr()
162 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_read()
170 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_repeated_start()
178 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_reset()
186 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_start()
194 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_stop()
202 struct iicmux_softc *sc = device_get_softc(dev); in iicmux_transfer()
[all …]
/freebsd-13.1/sys/arm/allwinner/
H A Daw_r_intc.c76 sc = device_get_softc(dev); in aw_r_intc_gicp_attach()
147 sc = device_get_softc(dev); in aw_r_intc_gicp_activate_intr()
160 sc = device_get_softc(dev); in aw_r_intc_gicp_enable_intr()
170 sc = device_get_softc(dev); in aw_r_intc_gicp_disable_intr()
182 sc = device_get_softc(dev); in aw_r_intc_gicp_map_intr()
202 sc = device_get_softc(dev); in aw_r_intc_gicp_deactivate_intr()
217 sc = device_get_softc(dev); in aw_r_intc_gicp_setup_intr()
231 sc = device_get_softc(dev); in aw_r_intc_gicp_teardown_intr()
244 sc = device_get_softc(dev); in aw_r_intc_gicp_pre_ithread()
254 sc = device_get_softc(dev); in aw_r_intc_gicp_post_ithread()
[all …]
/freebsd-13.1/sys/arm/mv/
H A Dgpio.c305 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_attach()
1069 sc = device_get_softc(dev); in mv_gpio_pin_max()
1078 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_getcaps()
1095 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_getflags()
1112 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_getname()
1130 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_setflags()
1146 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_set()
1160 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_get()
1177 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_toggle()
1194 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_get_bus()
[all …]
H A Dmv_ap806_gicp.c94 sc = device_get_softc(dev); in mv_ap806_gicp_attach()
176 sc = device_get_softc(dev); in mv_ap806_gicp_activate_intr()
189 sc = device_get_softc(dev); in mv_ap806_gicp_enable_intr()
199 sc = device_get_softc(dev); in mv_ap806_gicp_disable_intr()
211 sc = device_get_softc(dev); in mv_ap806_gicp_map_intr()
231 sc = device_get_softc(dev); in mv_ap806_gicp_deactivate_intr()
246 sc = device_get_softc(dev); in mv_ap806_gicp_setup_intr()
260 sc = device_get_softc(dev); in mv_ap806_gicp_teardown_intr()
273 sc = device_get_softc(dev); in mv_ap806_gicp_pre_ithread()
283 sc = device_get_softc(dev); in mv_ap806_gicp_post_ithread()
[all …]
H A Da37x0_gpio.c97 sc = device_get_softc(dev); in a37x0_gpio_get_bus()
107 sc = device_get_softc(dev); in a37x0_gpio_pin_max()
118 sc = device_get_softc(dev); in a37x0_gpio_pin_getname()
131 sc = device_get_softc(dev); in a37x0_gpio_pin_getcaps()
145 sc = device_get_softc(dev); in a37x0_gpio_pin_getflags()
163 sc = device_get_softc(dev); in a37x0_gpio_pin_setflags()
183 sc = device_get_softc(dev); in a37x0_gpio_pin_get()
203 sc = device_get_softc(dev); in a37x0_gpio_pin_set()
223 sc = device_get_softc(dev); in a37x0_gpio_pin_toggle()
246 sc = device_get_softc(dev); in a37x0_gpio_probe()
[all …]
H A Dmv_cp110_icu.c113 sc = device_get_softc(dev); in mv_cp110_icu_attach()
189 sc = device_get_softc(dev); in mv_cp110_icu_activate_intr()
200 sc = device_get_softc(dev); in mv_cp110_icu_enable_intr()
210 sc = device_get_softc(dev); in mv_cp110_icu_disable_intr()
224 sc = device_get_softc(dev); in mv_cp110_icu_map_intr()
258 sc = device_get_softc(dev); in mv_cp110_icu_deactivate_intr()
272 sc = device_get_softc(dev); in mv_cp110_icu_setup_intr()
286 sc = device_get_softc(dev); in mv_cp110_icu_teardown_intr()
299 sc = device_get_softc(dev); in mv_cp110_icu_pre_ithread()
309 sc = device_get_softc(dev); in mv_cp110_icu_post_ithread()
[all …]
/freebsd-13.1/sys/dev/virtio/pci/
H A Dvirtio_pci_legacy.c229 sc = device_get_softc(dev); in vtpci_legacy_attach()
272 sc = device_get_softc(dev); in vtpci_legacy_detach()
318 sc = device_get_softc(dev); in vtpci_legacy_child_detached()
334 sc = device_get_softc(dev); in vtpci_legacy_read_ivar()
357 sc = device_get_softc(dev); in vtpci_legacy_write_ivar()
377 sc = device_get_softc(dev); in vtpci_legacy_negotiate_features()
392 sc = device_get_softc(dev); in vtpci_legacy_with_feature()
404 sc = device_get_softc(dev); in vtpci_legacy_alloc_virtqueues()
415 sc = device_get_softc(dev); in vtpci_legacy_setup_interrupts()
433 sc = device_get_softc(dev); in vtpci_legacy_reinit()
[all …]
/freebsd-13.1/sys/dev/agp/
H A Dagp_i810.c856 sc = device_get_softc(dev); in agp_i810_get_stolen_size()
868 sc = device_get_softc(dev); in agp_i830_get_stolen_size()
900 sc = device_get_softc(dev); in agp_i915_get_stolen_size()
1042 sc = device_get_softc(dev); in agp_i810_get_gtt_mappable_entries()
1059 sc = device_get_softc(dev); in agp_i830_get_gtt_mappable_entries()
1075 sc = device_get_softc(dev); in agp_i915_get_gtt_mappable_entries()
1086 sc = device_get_softc(dev); in agp_i810_get_gtt_total_entries()
1098 sc = device_get_softc(dev); in agp_i965_get_gtt_total_entries()
1134 sc = device_get_softc(dev); in agp_gen5_adjust_pgtbl_size()
1154 sc = device_get_softc(dev); in agp_gen5_get_gtt_total_entries()
[all …]
H A Dagp_amd64.c168 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_attach()
252 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_detach()
284 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_get_aperture()
299 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_set_aperture()
335 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_bind_page()
349 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_unbind_page()
362 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.1/sys/dev/ata/chipsets/
H A Data-siliconimage.c78 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_sii_probe()
108 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_sii_chipinit()
181 struct ata_channel *ch = device_get_softc(dev); in ata_cmd_ch_attach()
198 struct ata_channel *ch = device_get_softc(dev); in ata_cmd_status()
214 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_cmd_setmode()
215 struct ata_channel *ch = device_get_softc(dev); in ata_cmd_setmode()
248 struct ata_channel *ch = device_get_softc(dev); in ata_sii_ch_attach()
311 struct ata_channel *ch = device_get_softc(dev); in ata_sii_status()
330 struct ata_channel *ch = device_get_softc(dev); in ata_sii_reset()
349 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_sii_setmode()
[all …]
H A Data-acard.c71 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_acard_probe()
94 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_acard_chipinit()
115 struct ata_channel *ch = device_get_softc(dev); in ata_acard_ch_attach()
129 struct ata_channel *ch = device_get_softc(dev); in ata_acard_status()
155 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_acard_850_setmode()
156 struct ata_channel *ch = device_get_softc(dev); in ata_acard_850_setmode()
179 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_acard_86X_setmode()
180 struct ata_channel *ch = device_get_softc(dev); in ata_acard_86X_setmode()
H A Data-intel.c323 ch = device_get_softc(dev); in ata_intel_ch_attach()
610 ctlr = device_get_softc(parent); in ata_intel_sata_ahci_read()
611 ch = device_get_softc(dev); in ata_intel_sata_ahci_read()
641 ctlr = device_get_softc(parent); in ata_intel_sata_cscr_read()
642 ch = device_get_softc(dev); in ata_intel_sata_cscr_read()
674 ctlr = device_get_softc(parent); in ata_intel_sata_sidpr_read()
675 ch = device_get_softc(dev); in ata_intel_sata_sidpr_read()
707 ctlr = device_get_softc(parent); in ata_intel_sata_ahci_write()
708 ch = device_get_softc(dev); in ata_intel_sata_ahci_write()
739 ch = device_get_softc(dev); in ata_intel_sata_cscr_write()
[all …]
H A Data-highpoint.c74 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_highpoint_probe()
113 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_highpoint_chipinit()
146 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_highpoint_ch_attach()
147 struct ata_channel *ch = device_get_softc(dev); in ata_highpoint_ch_attach()
163 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_highpoint_setmode()
164 struct ata_channel *ch = device_get_softc(dev); in ata_highpoint_setmode()
202 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_highpoint_check_80pin()
203 struct ata_channel *ch = device_get_softc(dev); in ata_highpoint_check_80pin()
H A Data-amd.c70 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_amd_probe()
93 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_amd_chipinit()
113 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_amd_setmode()
114 struct ata_channel *ch = device_get_softc(dev); in ata_amd_setmode()
151 ctlr = device_get_softc(device_get_parent(dev)); in ata_amd_ch_attach()
152 ch = device_get_softc(dev); in ata_amd_ch_attach()
/freebsd-13.1/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu.c116 sc = device_get_softc(dev); in bhnd_pmu_attach()
231 sc = device_get_softc(dev); in bhnd_pmu_detach()
262 sc = device_get_softc(dev); in bhnd_pmu_resume()
327 sc = device_get_softc(dev); in bhnd_pmu_read_chipctrl_method()
359 sc = device_get_softc(dev); in bhnd_pmu_read_regctrl_method()
391 sc = device_get_softc(dev); in bhnd_pmu_read_pllctrl_method()
424 sc = device_get_softc(dev); in bhnd_pmu_set_voltage_raw_method()
452 sc = device_get_softc(dev); in bhnd_pmu_enable_regulator_method()
476 sc = device_get_softc(dev); in bhnd_pmu_disable_regulator_method()
502 sc = device_get_softc(dev); in bhnd_pmu_get_clock_latency_method()
[all …]
/freebsd-13.1/sys/arm/ti/
H A Dti_scm_syscon.c94 sc = device_get_softc(syscon->pdev); in ti_scm_syscon_write_4()
108 sc = device_get_softc(syscon->pdev); in ti_scm_syscon_read_4()
122 sc = device_get_softc(syscon->pdev); in ti_scm_syscon_modify_4()
170 sc = device_get_softc(dev); in ti_scm_syscon_attach()
208 sc = device_get_softc(dev); in ti_scm_syscon_get_handle()
221 sc = device_get_softc(dev); in ti_scm_syscon_clk_write_4()
232 sc = device_get_softc(dev); in ti_scm_syscon_clk_read_4()
245 sc = device_get_softc(dev); in ti_scm_syscon_clk_modify_4()
261 sc = device_get_softc(dev); in ti_scm_syscon_clk_device_lock()
269 sc = device_get_softc(dev); in ti_scm_syscon_clk_device_unlock()
/freebsd-13.1/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitch.c101 sc = device_get_softc(dev); in mtkswitch_probe()
178 sc = device_get_softc(dev); in mtkswitch_attach()
261 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_detach()
303 return (device_get_softc(sc->miibus[phy])); in mtkswitch_miiforport()
370 mii = device_get_softc(sc->miibus[i]); in mtkswitch_miipollstat()
417 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_unlock()
426 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_getinfo()
446 sc = device_get_softc(dev); in mtkswitch_getport()
489 sc = device_get_softc(dev); in mtkswitch_setport()
553 sc = device_get_softc(dev); in mtkswitch_getconf()
[all …]
/freebsd-13.1/sys/dev/gpio/
H A Dpl061.c92 sc = device_get_softc(dev); in pl061_get_bus()
108 sc = device_get_softc(dev); in pl061_pin_getname()
124 sc = device_get_softc(dev); in pl061_pin_getflags()
145 sc = device_get_softc(dev); in pl061_pin_getcaps()
173 sc = device_get_softc(dev); in pl061_pin_setflags()
196 sc = device_get_softc(dev); in pl061_pin_get()
216 sc = device_get_softc(dev); in pl061_pin_set()
233 sc = device_get_softc(dev); in pl061_pin_toggle()
251 sc = device_get_softc(dev); in pl061_pic_disable_intr()
268 sc = device_get_softc(dev); in pl061_pic_enable_intr()
[all …]
/freebsd-13.1/sys/dev/sdhci/
H A Dsdhci_pci.c178 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_read_1()
189 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_write_1()
199 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_read_2()
210 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_write_2()
220 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_read_4()
231 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_write_4()
242 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_read_multi_4()
251 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_write_multi_4()
261 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_lower_frequency()
285 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_restore_frequency()
[all …]
/freebsd-13.1/sys/arm64/qoriq/
H A Dls1046_gpio.c155 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_reg_read()
167 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_reg_write()
190 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_configure()
248 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_attach()
301 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_getflags()
316 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_setflags()
340 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_getcaps()
355 struct gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_get()
391 sc = device_get_softc(dev); in qoriq_gpio_pin_toggle()
431 sc = device_get_softc(dev); in qoriq_gpio_pin_access_32()
[all …]

12345678910>>...52