Home
last modified time | relevance | path

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

12345678910>>...51

/freebsd/sys/dev/ata/
H A Data-pci.c389 struct ata_channel *ch = device_get_softc(dev); in ata_pci_ch_attach()
427 struct ata_channel *ch = device_get_softc(dev); in ata_pci_ch_detach()
443 device_get_softc(device_get_parent(dev)); in ata_pci_status()
444 struct ata_channel *ch = device_get_softc(dev); in ata_pci_status()
467 struct ata_channel *ch = device_get_softc(dev); in ata_pci_hw()
510 struct ata_channel *ch = device_get_softc(dev); in ata_pci_dmareset()
526 struct ata_channel *ch = device_get_softc(dev); in ata_pci_dmainit()
622 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_attach()
645 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_detach()
664 struct ata_channel *ch = device_get_softc(dev); in ata_pcichannel_suspend()
[all …]
/freebsd/sys/arm/ti/omap4/
H A Domap4_wugen.c60 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_activate_intr()
68 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_disable_intr()
76 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_enable_intr()
85 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_map_intr()
94 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_deactivate_intr()
103 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_setup_intr()
112 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_teardown_intr()
120 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_pre_ithread()
128 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_post_ithread()
169 sc = device_get_softc(dev); in omap4_wugen_detach()
[all …]
/freebsd/sys/arm64/freescale/imx/
H A Dimx7gpc.c63 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_activate_intr()
71 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_disable_intr()
79 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_enable_intr()
88 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_map_intr()
97 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_deactivate_intr()
106 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_setup_intr()
115 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_teardown_intr()
123 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_pre_ithread()
131 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_post_ithread()
139 struct imx7gpc_softc *sc = device_get_softc(dev); in imx7gpc_post_filter()
[all …]
/freebsd/sys/arm/nvidia/
H A Dtegra_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()
204 sc = device_get_softc(dev); in tegra_lic_attach()
[all …]
/freebsd/sys/dev/p2sb/
H A Dlewisburg_gpio.c64 sc = device_get_softc(dev); in lbggpio_get_bus()
77 sc = device_get_softc(dev); in lbggpio_pin_max()
87 struct lbggpio_softc *sc = device_get_softc(dev); in lbggpio_pin_getname()
103 struct lbggpio_softc *sc = device_get_softc(dev); in lbggpio_pin_getflags()
119 struct lbggpio_softc *sc = device_get_softc(dev); in lbggpio_pin_getcaps()
135 struct lbggpio_softc *sc = device_get_softc(dev); in lbggpio_pin_setflags()
153 struct lbggpio_softc *sc = device_get_softc(dev); in lbggpio_pin_get()
167 struct lbggpio_softc *sc = device_get_softc(dev); in lbggpio_pin_set()
178 struct lbggpio_softc *sc = device_get_softc(dev); in lbggpio_pin_toggle()
209 sc = device_get_softc(dev); in lbggpio_attach()
[all …]
/freebsd/sys/dev/iicbus/mux/
H A Diicmux.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/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/sys/arm/mv/
H A Dgpio.c300 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_attach()
1064 sc = device_get_softc(dev); in mv_gpio_pin_max()
1073 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_getcaps()
1090 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_getflags()
1107 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_getname()
1125 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_setflags()
1141 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_set()
1155 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_get()
1172 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_pin_toggle()
1189 struct mv_gpio_softc *sc = device_get_softc(dev); in mv_gpio_get_bus()
[all …]
H A Da37x0_gpio.c94 sc = device_get_softc(dev); in a37x0_gpio_get_bus()
104 sc = device_get_softc(dev); in a37x0_gpio_pin_max()
115 sc = device_get_softc(dev); in a37x0_gpio_pin_getname()
128 sc = device_get_softc(dev); in a37x0_gpio_pin_getcaps()
142 sc = device_get_softc(dev); in a37x0_gpio_pin_getflags()
160 sc = device_get_softc(dev); in a37x0_gpio_pin_setflags()
180 sc = device_get_softc(dev); in a37x0_gpio_pin_get()
200 sc = device_get_softc(dev); in a37x0_gpio_pin_set()
220 sc = device_get_softc(dev); in a37x0_gpio_pin_toggle()
243 sc = device_get_softc(dev); in a37x0_gpio_probe()
[all …]
H A Dmv_ap806_gicp.c106 sc = device_get_softc(dev); in mv_ap806_gicp_attach()
227 sc = device_get_softc(dev); in mv_ap806_gicp_activate_intr()
240 sc = device_get_softc(dev); in mv_ap806_gicp_enable_intr()
250 sc = device_get_softc(dev); in mv_ap806_gicp_disable_intr()
270 sc = device_get_softc(dev); in mv_ap806_gicp_deactivate_intr()
285 sc = device_get_softc(dev); in mv_ap806_gicp_setup_intr()
299 sc = device_get_softc(dev); in mv_ap806_gicp_teardown_intr()
312 sc = device_get_softc(dev); in mv_ap806_gicp_pre_ithread()
322 sc = device_get_softc(dev); in mv_ap806_gicp_post_ithread()
332 sc = device_get_softc(dev); in mv_ap806_gicp_post_filter()
[all …]
/freebsd/sys/dev/tpm/
H A Dtpm_bus.c37 struct tpm_sc *sc = device_get_softc(dev); in tpm_read_1()
45 struct tpm_sc *sc = device_get_softc(dev); in tpm_read_4()
57 struct tpm_sc *sc = device_get_softc(dev); in tpm_read_8()
66 struct tpm_sc *sc = device_get_softc(dev); in tpm_write_1()
74 struct tpm_sc *sc = device_get_softc(dev); in tpm_write_4()
82 struct tpm_sc *sc = device_get_softc(dev); in tpm_write_barrier()
/freebsd/sys/dev/virtio/pci/
H A Dvirtio_pci_legacy.c223 sc = device_get_softc(dev); in vtpci_legacy_attach()
266 sc = device_get_softc(dev); in vtpci_legacy_detach()
312 sc = device_get_softc(dev); in vtpci_legacy_child_detached()
328 sc = device_get_softc(dev); in vtpci_legacy_read_ivar()
351 sc = device_get_softc(dev); in vtpci_legacy_write_ivar()
371 sc = device_get_softc(dev); in vtpci_legacy_negotiate_features()
386 sc = device_get_softc(dev); in vtpci_legacy_with_feature()
398 sc = device_get_softc(dev); in vtpci_legacy_alloc_virtqueues()
409 sc = device_get_softc(dev); in vtpci_legacy_setup_interrupts()
427 sc = device_get_softc(dev); in vtpci_legacy_reinit()
[all …]
/freebsd/sys/dev/agp/
H A Dagp_i810.c854 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()
1073 sc = device_get_softc(dev); in agp_i915_get_gtt_mappable_entries()
1084 sc = device_get_softc(dev); in agp_i810_get_gtt_total_entries()
1096 sc = device_get_softc(dev); in agp_i965_get_gtt_total_entries()
1132 sc = device_get_softc(dev); in agp_gen5_adjust_pgtbl_size()
1152 sc = device_get_softc(dev); in agp_gen5_get_gtt_total_entries()
[all …]
H A Dagp_amd64.c162 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_attach()
246 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_detach()
278 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_get_aperture()
293 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_set_aperture()
329 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_bind_page()
343 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_unbind_page()
356 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_flush_tlb()
373 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_apbase_fixup()
387 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_uli_init()
399 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_uli_set_aperture()
[all …]
/freebsd/sys/dev/ata/chipsets/
H A Data-siliconimage.c75 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_sii_probe()
105 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_sii_chipinit()
178 struct ata_channel *ch = device_get_softc(dev); in ata_cmd_ch_attach()
195 struct ata_channel *ch = device_get_softc(dev); in ata_cmd_status()
211 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_cmd_setmode()
212 struct ata_channel *ch = device_get_softc(dev); in ata_cmd_setmode()
245 struct ata_channel *ch = device_get_softc(dev); in ata_sii_ch_attach()
308 struct ata_channel *ch = device_get_softc(dev); in ata_sii_status()
327 struct ata_channel *ch = device_get_softc(dev); in ata_sii_reset()
346 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_sii_setmode()
[all …]
H A Data-acard.c68 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_acard_probe()
91 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_acard_chipinit()
112 struct ata_channel *ch = device_get_softc(dev); in ata_acard_ch_attach()
126 struct ata_channel *ch = device_get_softc(dev); in ata_acard_status()
152 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_acard_850_setmode()
153 struct ata_channel *ch = device_get_softc(dev); in ata_acard_850_setmode()
176 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_acard_86X_setmode()
177 struct ata_channel *ch = device_get_softc(dev); in ata_acard_86X_setmode()
H A Data-intel.c322 ch = device_get_softc(dev); in ata_intel_ch_attach()
609 ctlr = device_get_softc(parent); in ata_intel_sata_ahci_read()
610 ch = device_get_softc(dev); in ata_intel_sata_ahci_read()
640 ctlr = device_get_softc(parent); in ata_intel_sata_cscr_read()
641 ch = device_get_softc(dev); in ata_intel_sata_cscr_read()
673 ctlr = device_get_softc(parent); in ata_intel_sata_sidpr_read()
674 ch = device_get_softc(dev); in ata_intel_sata_sidpr_read()
706 ctlr = device_get_softc(parent); in ata_intel_sata_ahci_write()
707 ch = device_get_softc(dev); in ata_intel_sata_ahci_write()
738 ch = device_get_softc(dev); in ata_intel_sata_cscr_write()
[all …]
H A Data-highpoint.c71 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_highpoint_probe()
110 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_highpoint_chipinit()
143 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_highpoint_ch_attach()
144 struct ata_channel *ch = device_get_softc(dev); in ata_highpoint_ch_attach()
160 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_highpoint_setmode()
161 struct ata_channel *ch = device_get_softc(dev); in ata_highpoint_setmode()
199 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_highpoint_check_80pin()
200 struct ata_channel *ch = device_get_softc(dev); in ata_highpoint_check_80pin()
/freebsd/sys/dev/firmware/xilinx/
H A Dzynqmp_firmware.c182 sc = device_get_softc(dev); in zynqmp_firmware_clock_enable()
196 sc = device_get_softc(dev); in zynqmp_firmware_clock_disable()
210 sc = device_get_softc(dev); in zynqmp_firmware_clock_getstate()
229 sc = device_get_softc(dev); in zynqmp_firmware_clock_setdivider()
243 sc = device_get_softc(dev); in zynqmp_firmware_clock_getdivider()
262 sc = device_get_softc(dev); in zynqmp_firmware_clock_setparent()
276 sc = device_get_softc(dev); in zynqmp_firmware_clock_getparent()
294 sc = device_get_softc(dev); in zynqmp_firmware_pll_get_mode()
312 sc = device_get_softc(dev); in zynqmp_firmware_pll_get_frac_data()
330 sc = device_get_softc(dev); in zynqmp_firmware_clock_get_fixedfactor()
[all …]
/freebsd/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu.c111 sc = device_get_softc(dev); in bhnd_pmu_attach()
226 sc = device_get_softc(dev); in bhnd_pmu_detach()
257 sc = device_get_softc(dev); in bhnd_pmu_resume()
322 sc = device_get_softc(dev); in bhnd_pmu_read_chipctrl_method()
354 sc = device_get_softc(dev); in bhnd_pmu_read_regctrl_method()
386 sc = device_get_softc(dev); in bhnd_pmu_read_pllctrl_method()
419 sc = device_get_softc(dev); in bhnd_pmu_set_voltage_raw_method()
447 sc = device_get_softc(dev); in bhnd_pmu_enable_regulator_method()
471 sc = device_get_softc(dev); in bhnd_pmu_disable_regulator_method()
497 sc = device_get_softc(dev); in bhnd_pmu_get_clock_latency_method()
[all …]
/freebsd/sys/dev/gpio/
H A Dqoriq_gpio.c55 sc = device_get_softc(dev); in qoriq_gpio_get_bus()
74 sc = device_get_softc(dev); in qoriq_gpio_pin_getcaps()
107 sc = device_get_softc(dev); in qoriq_gpio_pin_configure()
138 struct qoriq_gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_setflags()
162 sc = device_get_softc(dev); in qoriq_gpio_pin_getflags()
175 struct qoriq_gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_set()
199 struct qoriq_gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_get()
213 struct qoriq_gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_toggle()
256 sc = device_get_softc(dev); in qoriq_gpio_pin_access_32()
285 sc = device_get_softc(dev); in qoriq_gpio_pin_config_32()
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_i2cbb.c92 sc = device_get_softc(dev); in lkpi_iicbb_attach()
107 sc = device_get_softc(dev); in lkpi_iicbb_detach()
119 sc = device_get_softc(dev); in lkpi_iicbb_add_adapter()
136 sc = device_get_softc(dev); in lkpi_iicbb_get_adapter()
181 sc = device_get_softc(dev); in lkpi_iicbb_setsda()
192 sc = device_get_softc(dev); in lkpi_iicbb_setscl()
204 sc = device_get_softc(dev); in lkpi_iicbb_getscl()
217 sc = device_get_softc(dev); in lkpi_iicbb_getsda()
238 sc = device_get_softc(dev); in lkpi_iicbb_pre_xfer()
251 sc = device_get_softc(dev); in lkpi_iicbb_post_xfer()
[all …]
/freebsd/sys/arm/ti/
H A Dti_scm_syscon.c89 sc = device_get_softc(syscon->pdev); in ti_scm_syscon_write_4()
103 sc = device_get_softc(syscon->pdev); in ti_scm_syscon_read_4()
117 sc = device_get_softc(syscon->pdev); in ti_scm_syscon_modify_4()
164 sc = device_get_softc(dev); in ti_scm_syscon_attach()
202 sc = device_get_softc(dev); in ti_scm_syscon_get_handle()
215 sc = device_get_softc(dev); in ti_scm_syscon_clk_write_4()
226 sc = device_get_softc(dev); in ti_scm_syscon_clk_read_4()
239 sc = device_get_softc(dev); in ti_scm_syscon_clk_modify_4()
255 sc = device_get_softc(dev); in ti_scm_syscon_clk_device_lock()
263 sc = device_get_softc(dev); in ti_scm_syscon_clk_device_unlock()
/freebsd/sys/dev/qcom_tlmm/
H A Dqcom_tlmm_pin.c125 sc = device_get_softc(dev); in qcom_tlmm_get_bus()
133 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_max()
142 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_getcaps()
159 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_getflags()
213 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_getname()
230 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_setflags()
247 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_set()
263 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_get()
279 struct qcom_tlmm_softc *sc = device_get_softc(dev); in qcom_tlmm_pin_toggle()
/freebsd/sys/dev/rccgpio/
H A Drccgpio.c105 sc = device_get_softc(dev); in rcc_gpio_get_bus()
115 sc = device_get_softc(dev); in rcc_gpio_pin_max()
126 sc = device_get_softc(dev); in rcc_gpio_pin_getcaps()
140 sc = device_get_softc(dev); in rcc_gpio_pin_getflags()
155 sc = device_get_softc(dev); in rcc_gpio_pin_getname()
169 sc = device_get_softc(dev); in rcc_gpio_pin_setflags()
183 sc = device_get_softc(dev); in rcc_gpio_pin_set()
207 sc = device_get_softc(dev); in rcc_gpio_pin_get()
227 sc = device_get_softc(dev); in rcc_gpio_pin_toggle()
280 sc = device_get_softc(dev); in rcc_gpio_attach()
[all …]

12345678910>>...51