Home
last modified time | relevance | path

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

12345678910>>...53

/freebsd-12.1/sys/dev/ata/
H A Data-pci.c399 struct ata_channel *ch = device_get_softc(dev); in ata_pci_ch_attach()
437 struct ata_channel *ch = device_get_softc(dev); in ata_pci_ch_detach()
453 device_get_softc(device_get_parent(dev)); in ata_pci_status()
454 struct ata_channel *ch = device_get_softc(dev); in ata_pci_status()
477 struct ata_channel *ch = device_get_softc(dev); in ata_pci_hw()
520 struct ata_channel *ch = device_get_softc(dev); in ata_pci_dmareset()
536 struct ata_channel *ch = device_get_softc(dev); in ata_pci_dmainit()
635 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_attach()
658 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_detach()
677 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_suspend()
[all …]
/freebsd-12.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()
132 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_post_ithread()
173 sc = device_get_softc(dev); in omap4_wugen_detach()
[all …]
/freebsd-12.1/sys/arm/nvidia/
H A Dtegra_lic.c94 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_activate_intr()
102 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_disable_intr()
110 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_enable_intr()
119 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_map_intr()
128 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_deactivate_intr()
137 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_setup_intr()
146 struct tegra_lic_sc *sc = device_get_softc(dev); in tegra_lic_teardown_intr()
154 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.c131 sc = device_get_softc(dev); in tegra_sdhci_read_1()
140 sc = device_get_softc(dev); in tegra_sdhci_read_2()
150 sc = device_get_softc(dev); in tegra_sdhci_read_4()
164 sc = device_get_softc(dev); in tegra_sdhci_read_multi_4()
174 sc = device_get_softc(dev); in tegra_sdhci_write_1()
184 sc = device_get_softc(dev); in tegra_sdhci_write_2()
194 sc = device_get_softc(dev); in tegra_sdhci_write_4()
204 sc = device_get_softc(dev); in tegra_sdhci_write_multi_4()
228 struct tegra_sdhci_softc *sc = device_get_softc(dev); in tegra_sdhci_get_card_present()
241 sc = device_get_softc(dev); in tegra_sdhci_probe()
[all …]
/freebsd-12.1/sys/arm/mv/
H A Dmv_ap806_gicp.c93 sc = device_get_softc(dev); in mv_ap806_gicp_attach()
134 sc = device_get_softc(dev); in mv_ap806_gicp_activate_intr()
144 sc = device_get_softc(dev); in mv_ap806_gicp_enable_intr()
154 sc = device_get_softc(dev); in mv_ap806_gicp_disable_intr()
168 sc = device_get_softc(dev); in mv_ap806_gicp_map_intr()
202 sc = device_get_softc(dev); in mv_ap806_gicp_deactivate_intr()
213 sc = device_get_softc(dev); in mv_ap806_gicp_setup_intr()
224 sc = device_get_softc(dev); in mv_ap806_gicp_teardown_intr()
234 sc = device_get_softc(dev); in mv_ap806_gicp_pre_ithread()
244 sc = device_get_softc(dev); in mv_ap806_gicp_post_ithread()
[all …]
H A Dgpio.c312 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_attach()
1078 sc = device_get_softc(dev); in mv_gpio_pin_max()
1087 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_getcaps()
1104 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_getflags()
1121 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_getname()
1139 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_setflags()
1155 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_set()
1169 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_get()
1186 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_toggle()
1203 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_get_bus()
[all …]
H A Dmv_cp110_icu.c110 sc = device_get_softc(dev); in mv_cp110_icu_attach()
153 sc = device_get_softc(dev); in mv_cp110_icu_activate_intr()
163 sc = device_get_softc(dev); in mv_cp110_icu_enable_intr()
173 sc = device_get_softc(dev); in mv_cp110_icu_disable_intr()
186 sc = device_get_softc(dev); in mv_cp110_icu_map_intr()
212 sc = device_get_softc(dev); in mv_cp110_icu_deactivate_intr()
223 sc = device_get_softc(dev); in mv_cp110_icu_setup_intr()
234 sc = device_get_softc(dev); in mv_cp110_icu_teardown_intr()
244 sc = device_get_softc(dev); in mv_cp110_icu_pre_ithread()
254 sc = device_get_softc(dev); in mv_cp110_icu_post_ithread()
[all …]
H A Da37x0_gpio.c98 sc = device_get_softc(dev); in a37x0_gpio_get_bus()
108 sc = device_get_softc(dev); in a37x0_gpio_pin_max()
119 sc = device_get_softc(dev); in a37x0_gpio_pin_getname()
132 sc = device_get_softc(dev); in a37x0_gpio_pin_getcaps()
146 sc = device_get_softc(dev); in a37x0_gpio_pin_getflags()
164 sc = device_get_softc(dev); in a37x0_gpio_pin_setflags()
184 sc = device_get_softc(dev); in a37x0_gpio_pin_get()
204 sc = device_get_softc(dev); in a37x0_gpio_pin_set()
224 sc = device_get_softc(dev); in a37x0_gpio_pin_toggle()
247 sc = device_get_softc(dev); in a37x0_gpio_probe()
[all …]
/freebsd-12.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-12.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-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-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-highpoint.c75 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_highpoint_probe()
114 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_highpoint_chipinit()
147 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_highpoint_ch_attach()
148 struct ata_channel *ch = device_get_softc(dev); in ata_highpoint_ch_attach()
164 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_highpoint_setmode()
165 struct ata_channel *ch = device_get_softc(dev); in ata_highpoint_setmode()
203 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_highpoint_check_80pin()
204 struct ata_channel *ch = device_get_softc(dev); in ata_highpoint_check_80pin()
H A Data-acerlabs.c78 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_ali_probe()
107 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_ali_chipinit()
176 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_ali_chipdeinit()
197 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_ali_ch_attach()
198 struct ata_channel *ch = device_get_softc(dev); in ata_ali_ch_attach()
222 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_ali_sata_ch_attach()
223 struct ata_channel *ch = device_get_softc(dev); in ata_ali_sata_ch_attach()
263 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_ali_reset()
264 struct ata_channel *ch = device_get_softc(dev); in ata_ali_reset()
297 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_ali_setmode()
[all …]
/freebsd-12.1/sys/arm/amlogic/aml8726/
H A Daml8726_gpio.c107 struct aml8726_gpio_softc *sc = device_get_softc(dev); in aml8726_gpio_attach()
156 struct aml8726_gpio_softc *sc = device_get_softc(dev); in aml8726_gpio_detach()
170 struct aml8726_gpio_softc *sc = device_get_softc(dev); in aml8726_gpio_get_bus()
178 struct aml8726_gpio_softc *sc = device_get_softc(dev); in aml8726_gpio_pin_max()
189 struct aml8726_gpio_softc *sc = device_get_softc(dev); in aml8726_gpio_pin_getcaps()
203 struct aml8726_gpio_softc *sc = device_get_softc(dev); in aml8726_gpio_pin_getname()
217 struct aml8726_gpio_softc *sc = device_get_softc(dev); in aml8726_gpio_pin_getflags()
237 struct aml8726_gpio_softc *sc = device_get_softc(dev); in aml8726_gpio_pin_setflags()
264 struct aml8726_gpio_softc *sc = device_get_softc(dev); in aml8726_gpio_pin_set()
292 struct aml8726_gpio_softc *sc = device_get_softc(dev); in aml8726_gpio_pin_get()
[all …]
H A Daml8726_i2c.c106 struct aml8726_iic_softc *sc = device_get_softc(dev); in aml8726_iic_attach()
145 struct aml8726_iic_softc *sc = device_get_softc(dev); in aml8726_iic_detach()
172 struct aml8726_iic_softc *sc = device_get_softc(dev); in aml8726_iic_child_detached()
188 struct aml8726_iic_softc *sc = device_get_softc(dev); in aml8726_iic_reset()
207 struct aml8726_iic_softc *sc = device_get_softc(dev); in aml8726_iic_getscl()
215 struct aml8726_iic_softc *sc = device_get_softc(dev); in aml8726_iic_getsda()
223 struct aml8726_iic_softc *sc = device_get_softc(dev); in aml8726_iic_setscl()
237 struct aml8726_iic_softc *sc = device_get_softc(dev); in aml8726_iic_setsda()
/freebsd-12.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()
503 sc = device_get_softc(dev); in bhnd_pmu_get_clock_latency_method()
[all …]
/freebsd-12.1/sys/dev/ntb/ntb_hw/
H A Dntb_hw_plx.c168 struct ntb_plx_softc *sc = device_get_softc(dev); in ntb_plx_init()
242 struct ntb_plx_softc *sc = device_get_softc(dev); in ntb_plx_isr()
270 struct ntb_plx_softc *sc = device_get_softc(dev); in ntb_plx_setup_intr()
305 struct ntb_plx_softc *sc = device_get_softc(dev); in ntb_plx_teardown_intr()
320 struct ntb_plx_softc *sc = device_get_softc(dev); in ntb_plx_attach()
453 struct ntb_plx_softc *sc = device_get_softc(dev); in ntb_plx_detach()
476 struct ntb_plx_softc *sc = device_get_softc(dev); in ntb_plx_port_number()
491 struct ntb_plx_softc *sc = device_get_softc(dev); in ntb_plx_peer_port_number()
528 struct ntb_plx_softc *sc = device_get_softc(dev); in ntb_plx_link_enable()
552 struct ntb_plx_softc *sc = device_get_softc(dev); in ntb_plx_link_disable()
[all …]
/freebsd-12.1/sys/dev/sdhci/
H A Dsdhci_fdt.c98 struct sdhci_fdt_softc *sc = device_get_softc(dev); in sdhci_fdt_read_1()
107 struct sdhci_fdt_softc *sc = device_get_softc(dev); in sdhci_fdt_write_1()
115 struct sdhci_fdt_softc *sc = device_get_softc(dev); in sdhci_fdt_read_2()
124 struct sdhci_fdt_softc *sc = device_get_softc(dev); in sdhci_fdt_write_2()
132 struct sdhci_fdt_softc *sc = device_get_softc(dev); in sdhci_fdt_read_4()
146 struct sdhci_fdt_softc *sc = device_get_softc(dev); in sdhci_fdt_write_4()
155 struct sdhci_fdt_softc *sc = device_get_softc(dev); in sdhci_fdt_read_multi_4()
164 struct sdhci_fdt_softc *sc = device_get_softc(dev); in sdhci_fdt_write_multi_4()
182 struct sdhci_fdt_softc *sc = device_get_softc(bus); in sdhci_fdt_get_ro()
190 struct sdhci_fdt_softc *sc = device_get_softc(dev); in sdhci_fdt_probe()
[all …]
H A Dsdhci_pci.c175 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_read_1()
186 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_write_1()
196 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_read_2()
207 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_write_2()
217 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_read_4()
228 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_write_4()
239 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_read_multi_4()
248 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_pci_write_multi_4()
258 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_lower_frequency()
282 struct sdhci_pci_softc *sc = device_get_softc(dev); in sdhci_restore_frequency()
[all …]
H A Dsdhci_acpi.c115 struct sdhci_acpi_softc *sc = device_get_softc(dev); in sdhci_acpi_read_1()
126 struct sdhci_acpi_softc *sc = device_get_softc(dev); in sdhci_acpi_write_1()
137 struct sdhci_acpi_softc *sc = device_get_softc(dev); in sdhci_acpi_read_2()
148 struct sdhci_acpi_softc *sc = device_get_softc(dev); in sdhci_acpi_write_2()
159 struct sdhci_acpi_softc *sc = device_get_softc(dev); in sdhci_acpi_read_4()
170 struct sdhci_acpi_softc *sc = device_get_softc(dev); in sdhci_acpi_write_4()
181 struct sdhci_acpi_softc *sc = device_get_softc(dev); in sdhci_acpi_read_multi_4()
190 struct sdhci_acpi_softc *sc = device_get_softc(dev); in sdhci_acpi_write_multi_4()
210 sc = device_get_softc(dev); in sdhci_acpi_set_uhs_timing()
287 struct sdhci_acpi_softc *sc = device_get_softc(dev); in sdhci_acpi_attach()
[all …]
/freebsd-12.1/sys/dev/bktr/
H A Dbktr_i2c.c88 struct bktr_softc *bktr_sc = (struct bktr_softc *)device_get_softc(dev); in bt848_i2c_attach()
104 struct bktr_softc *bktr_sc = (struct bktr_softc *)device_get_softc(dev); in bt848_i2c_detach()
123 struct bktr_softc *bktr_sc = (struct bktr_softc *)device_get_softc(dev); in bti2c_smb_callback()
160 struct bktr_softc *bktr_sc = (struct bktr_softc *)device_get_softc(dev); in bti2c_iic_callback()
207 struct bktr_softc *sc = (struct bktr_softc *)device_get_softc(dev); in bti2c_iic_setsda()
224 struct bktr_softc *sc = (struct bktr_softc *)device_get_softc(dev); in bti2c_iic_setscl()
242 struct bktr_softc *sc = (struct bktr_softc *)device_get_softc(dev); in bti2c_iic_getsda()
295 struct bktr_softc *sc = (struct bktr_softc *)device_get_softc(dev); in bti2c_smb_writeb()
310 struct bktr_softc *sc = (struct bktr_softc *)device_get_softc(dev); in bti2c_smb_writew()
329 struct bktr_softc *sc = (struct bktr_softc *)device_get_softc(dev); in bti2c_smb_readb()
/freebsd-12.1/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitch.c100 sc = device_get_softc(dev); in mtkswitch_probe()
177 sc = device_get_softc(dev); in mtkswitch_attach()
260 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_detach()
302 return (device_get_softc(sc->miibus[phy])); in mtkswitch_miiforport()
369 mii = device_get_softc(sc->miibus[i]); in mtkswitch_miipollstat()
416 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_unlock()
425 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_getinfo()
445 sc = device_get_softc(dev); in mtkswitch_getport()
488 sc = device_get_softc(dev); in mtkswitch_setport()
552 sc = device_get_softc(dev); in mtkswitch_getconf()
[all …]
/freebsd-12.1/sys/arm64/rockchip/
H A Drk_gpio.c127 sc = device_get_softc(dev); in rk_gpio_attach()
173 sc = device_get_softc(dev); in rk_gpio_detach()
189 sc = device_get_softc(dev); in rk_gpio_get_bus()
208 sc = device_get_softc(dev); in rk_gpio_pin_getname()
226 sc = device_get_softc(dev); in rk_gpio_pin_getflags()
255 sc = device_get_softc(dev); in rk_gpio_pin_setflags()
277 sc = device_get_softc(dev); in rk_gpio_pin_get()
294 sc = device_get_softc(dev); in rk_gpio_pin_set()
314 sc = device_get_softc(dev); in rk_gpio_pin_toggle()
335 sc = device_get_softc(dev); in rk_gpio_pin_access_32()
[all …]

12345678910>>...53