/freebsd/sys/dev/ata/ |
H A D | ata-pci.c | 62 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_probe() 82 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_attach() 136 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_detach() 165 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_suspend() 177 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_pci_resume() 220 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_alloc_resource() 224 int unit = ((struct ata_channel *)device_get_softc(child))->unit; in ata_pci_alloc_resource() 283 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_release_resource() 322 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_setup_intr() 328 struct ata_pci_controller *controller = device_get_softc(dev); in ata_pci_setup_intr() [all …]
|
/freebsd/sys/arm/ti/omap4/ |
H A D | omap4_wugen.c | 60 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() 136 struct omap4_wugen_sc *sc = device_get_softc(dev); in omap4_wugen_post_filter() [all …]
|
/freebsd/sys/arm64/freescale/imx/ |
H A D | imx7gpc.c | 63 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 D | tegra_lic.c | 93 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/sys/dev/p2sb/ |
H A D | lewisburg_gpio.c | 64 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() 189 struct lbggpio_softc *sc = device_get_softc(dev); in lbggpio_probe() [all …]
|
/freebsd/sys/dev/iicbus/mux/ |
H A D | iicmux.c | 59 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(de in iicmux_transfer() [all...] |
/freebsd/sys/arm/mv/ |
H A D | gpio.c | 300 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_attach() 359 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_intr() 411 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_setup_intrhandler() 448 sc = (struct mv_gpio_softc *)device_get_softc(s->dev); in mv_gpio_intr_mask() 478 sc = (struct mv_gpio_softc *)device_get_softc(s->dev); in mv_gpio_intr_unmask() 501 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_exec_intr_handlers() 527 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_intr_handler() 548 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_configure() 604 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_double_edge_init() 622 sc = (struct mv_gpio_softc *)device_get_softc(dev); in mv_gpio_debounce_setup() [all …]
|
H A D | a37x0_gpio.c | 94 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 D | mv_ap806_gicp.c | 106 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/arm/allwinner/ |
H A D | aw_r_intc.c | 76 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/dev/agp/ |
H A D | agp_i810.c | 793 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(de in agp_i830_get_gtt_mappable_entries() [all...] |
H A D | agp_amd64.c | 162 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 D | ata-siliconimage.c | 75 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() 177 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_cmd_ch_attach() 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() 244 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_sii_ch_attach() 245 struct ata_channel *ch = device_get_softc(dev); in ata_sii_ch_attach() 307 struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); in ata_sii_status() [all …]
|
H A D | ata-acard.c | 68 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 D | ata-intel.c | 105 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_intel_probe() 210 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_intel_chipinit() 299 struct ata_pci_controller *ctlr = device_get_softc(dev); in ata_intel_chipdeinit() 321 ctlr = device_get_softc(device_get_parent(dev)); in ata_intel_ch_attach() 322 ch = device_get_softc(dev); in ata_intel_ch_attach() 409 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_intel_reset() 410 struct ata_channel *ch = device_get_softc(dev); in ata_intel_reset() 468 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_intel_old_setmode() 478 struct ata_pci_controller *ctlr = device_get_softc(parent); in ata_intel_new_setmode() 479 struct ata_channel *ch = device_get_softc(dev); in ata_intel_new_setmode() [all …]
|
/freebsd/sys/dev/tpm/ |
H A D | tpm_bus.c | 37 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/bhnd/cores/pmu/ |
H A D | bhnd_pmu.c | 111 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() 338 struct bhnd_pmu_softc *sc = device_get_softc(dev); in bhnd_pmu_write_chipctrl_method() 354 sc = device_get_softc(dev); in bhnd_pmu_read_regctrl_method() 370 struct bhnd_pmu_softc *sc = device_get_softc(dev); in bhnd_pmu_write_regctrl_method() 386 sc = device_get_softc(dev); in bhnd_pmu_read_pllctrl_method() 402 struct bhnd_pmu_softc *sc = device_get_softc(dev); in bhnd_pmu_write_pllctrl_method() 419 sc = device_get_softc(dev); in bhnd_pmu_set_voltage_raw_method() [all …]
|
/freebsd/sys/dev/firmware/xilinx/ |
H A D | zynqmp_firmware.c | 182 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/gpio/ |
H A D | qoriq_gpio.c | 55 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 D | linux_i2cbb.c | 92 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 D | ti_scm_syscon.c | 89 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() 203 sc = device_get_softc(dev); in ti_scm_syscon_get_handle() 216 sc = device_get_softc(dev); in ti_scm_syscon_clk_write_4() 227 sc = device_get_softc(dev); in ti_scm_syscon_clk_read_4() 240 sc = device_get_softc(dev); in ti_scm_syscon_clk_modify_4() 256 sc = device_get_softc(dev); in ti_scm_syscon_clk_device_lock() 264 sc = device_get_softc(dev); in ti_scm_syscon_clk_device_unlock()
|
/freebsd/sys/dev/qcom_tlmm/ |
H A D | qcom_tlmm_pin.c | 125 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/etherswitch/mtkswitch/ |
H A D | mtkswitch.c | 99 sc = device_get_softc(dev); in mtkswitch_probe() 170 sc = device_get_softc(dev); in mtkswitch_attach() 250 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_detach() 293 return (device_get_softc(sc->miibus[phy])); in mtkswitch_miiforport() 360 mii = device_get_softc(sc->miibus[i]); in mtkswitch_miipollstat() 398 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_lock() 407 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_unlock() 416 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_getinfo() 436 sc = device_get_softc(dev); in mtkswitch_getport() 479 sc = device_get_softc(dev); in mtkswitch_setport() [all …]
|
/freebsd/sys/dev/rccgpio/ |
H A D | rccgpio.c | 105 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 …]
|
/freebsd/sys/dev/sdhci/ |
H A D | sdhci_pci.c | 176 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 …]
|