Home
last modified time | relevance | path

Searched refs:dev_get_priv (Results 1 – 25 of 569) sorted by relevance

12345678910>>...23

/openbmc/u-boot/drivers/clk/
H A Dclk_sandbox_test.c24 struct sandbox_clk_test *sbct = dev_get_priv(dev); in sandbox_clk_test_get()
39 struct sandbox_clk_test *sbct = dev_get_priv(dev); in sandbox_clk_test_get_bulk()
46 struct sandbox_clk_test *sbct = dev_get_priv(dev); in sandbox_clk_test_get_rate()
56 struct sandbox_clk_test *sbct = dev_get_priv(dev); in sandbox_clk_test_set_rate()
66 struct sandbox_clk_test *sbct = dev_get_priv(dev); in sandbox_clk_test_enable()
76 struct sandbox_clk_test *sbct = dev_get_priv(dev); in sandbox_clk_test_enable_bulk()
83 struct sandbox_clk_test *sbct = dev_get_priv(dev); in sandbox_clk_test_disable()
93 struct sandbox_clk_test *sbct = dev_get_priv(dev); in sandbox_clk_test_disable_bulk()
100 struct sandbox_clk_test *sbct = dev_get_priv(dev); in sandbox_clk_test_free()
114 struct sandbox_clk_test *sbct = dev_get_priv(dev); in sandbox_clk_test_release_bulk()
[all …]
H A Dclk_sandbox.c19 struct sandbox_clk_priv *priv = dev_get_priv(clk->dev); in sandbox_clk_get_rate()
29 struct sandbox_clk_priv *priv = dev_get_priv(clk->dev); in sandbox_clk_set_rate()
46 struct sandbox_clk_priv *priv = dev_get_priv(clk->dev); in sandbox_clk_enable()
58 struct sandbox_clk_priv *priv = dev_get_priv(clk->dev); in sandbox_clk_disable()
90 struct sandbox_clk_priv *priv = dev_get_priv(dev); in sandbox_clk_query_rate()
100 struct sandbox_clk_priv *priv = dev_get_priv(dev); in sandbox_clk_query_enable()
/openbmc/u-boot/drivers/reset/
H A Dsandbox-reset-test.c19 struct sandbox_reset_test *sbrt = dev_get_priv(dev); in sandbox_reset_test_get()
26 struct sandbox_reset_test *sbrt = dev_get_priv(dev); in sandbox_reset_test_get_bulk()
33 struct sandbox_reset_test *sbrt = dev_get_priv(dev); in sandbox_reset_test_assert()
40 struct sandbox_reset_test *sbrt = dev_get_priv(dev); in sandbox_reset_test_assert_bulk()
47 struct sandbox_reset_test *sbrt = dev_get_priv(dev); in sandbox_reset_test_deassert()
54 struct sandbox_reset_test *sbrt = dev_get_priv(dev); in sandbox_reset_test_deassert_bulk()
61 struct sandbox_reset_test *sbrt = dev_get_priv(dev); in sandbox_reset_test_free()
68 struct sandbox_reset_test *sbrt = dev_get_priv(dev); in sandbox_reset_test_release_bulk()
/openbmc/u-boot/drivers/sound/
H A Dsandbox.c39 struct sandbox_codec_priv *priv = dev_get_priv(dev); in sandbox_get_codec_params()
50 struct sandbox_i2s_priv *priv = dev_get_priv(dev); in sandbox_get_i2s_sum()
57 struct sandbox_sound_priv *priv = dev_get_priv(dev); in sandbox_get_setup_called()
64 struct sandbox_sound_priv *priv = dev_get_priv(dev); in sandbox_get_sound_sum()
71 struct sandbox_sound_priv *priv = dev_get_priv(dev); in sandbox_set_allow_beep()
78 struct sandbox_sound_priv *priv = dev_get_priv(dev); in sandbox_get_beep_frequency()
87 struct sandbox_codec_priv *priv = dev_get_priv(dev); in sandbox_codec_set_params()
101 struct sandbox_i2s_priv *priv = dev_get_priv(dev); in sandbox_i2s_tx_data()
121 struct sandbox_i2s_priv *priv = dev_get_priv(dev); in sandbox_i2s_probe()
147 struct sandbox_sound_priv *priv = dev_get_priv(dev); in sandbox_sound_setup()
[all …]
/openbmc/u-boot/drivers/pinctrl/meson/
H A Dpinctrl-meson.c25 struct meson_pinctrl *priv = dev_get_priv(dev); in meson_pinctrl_get_groups_count()
33 struct meson_pinctrl *priv = dev_get_priv(dev); in meson_pinctrl_get_group_name()
43 struct meson_pinctrl *priv = dev_get_priv(dev); in meson_pinmux_get_functions_count()
51 struct meson_pinctrl *priv = dev_get_priv(dev); in meson_pinmux_get_function_name()
60 struct meson_pinctrl *priv = dev_get_priv(dev); in meson_gpio_calc_reg_and_bit()
88 struct meson_pinctrl *priv = dev_get_priv(dev->parent); in meson_gpio_get()
102 struct meson_pinctrl *priv = dev_get_priv(dev->parent); in meson_gpio_set()
118 struct meson_pinctrl *priv = dev_get_priv(dev->parent); in meson_gpio_get_direction()
134 struct meson_pinctrl *priv = dev_get_priv(dev->parent); in meson_gpio_direction_input()
151 struct meson_pinctrl *priv = dev_get_priv(dev->parent); in meson_gpio_direction_output()
[all …]
/openbmc/u-boot/drivers/pinctrl/uniphier/
H A Dpinctrl-uniphier-core.c29 struct uniphier_pinctrl_priv *priv = dev_get_priv(dev); in uniphier_pinctrl_get_pins_count()
43 struct uniphier_pinctrl_priv *priv = dev_get_priv(dev); in uniphier_pinctrl_get_pin_name()
57 struct uniphier_pinctrl_priv *priv = dev_get_priv(dev); in uniphier_pinctrl_get_groups_count()
65 struct uniphier_pinctrl_priv *priv = dev_get_priv(dev); in uniphier_pinctrl_get_group_name()
75 struct uniphier_pinctrl_priv *priv = dev_get_priv(dev); in uniphier_pinmux_get_functions_count()
83 struct uniphier_pinctrl_priv *priv = dev_get_priv(dev); in uniphier_pinmux_get_function_name()
94 struct uniphier_pinctrl_priv *priv = dev_get_priv(dev); in uniphier_pinconf_input_enable_perpin()
114 struct uniphier_pinctrl_priv *priv = dev_get_priv(dev); in uniphier_pinconf_input_enable_legacy()
132 struct uniphier_pinctrl_priv *priv = dev_get_priv(dev); in uniphier_pinconf_input_enable()
169 struct uniphier_pinctrl_priv *priv = dev_get_priv(dev); in uniphier_pinconf_bias_set()
[all …]
/openbmc/u-boot/drivers/tpm/
H A Dtpm2_tis_core.c17 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_get_desc()
39 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_check_locality()
64 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_request_locality()
94 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_status()
120 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_release_locality()
174 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_get_burstcount()
210 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_ready()
220 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_send()
306 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_recv_data()
342 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_recv()
[all …]
H A Dtpm_tis_infineon.c73 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_read()
128 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_write_generic()
194 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_check_locality()
227 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_request_locality()
268 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_status()
280 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_ready()
296 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_get_burstcount()
345 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_recv_data()
372 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_recv()
422 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_send()
[all …]
/openbmc/u-boot/arch/arm/mach-snapdragon/
H A Dpinctrl-snapdragon.c34 struct msm_pinctrl_priv *priv = dev_get_priv(dev); in msm_get_functions_count()
41 struct msm_pinctrl_priv *priv = dev_get_priv(dev); in msm_get_pins_count()
49 struct msm_pinctrl_priv *priv = dev_get_priv(dev); in msm_get_function_name()
56 struct msm_pinctrl_priv *priv = dev_get_priv(dev); in msm_pinctrl_probe()
66 struct msm_pinctrl_priv *priv = dev_get_priv(dev); in msm_get_pin_name()
74 struct msm_pinctrl_priv *priv = dev_get_priv(dev); in msm_pinmux_set()
85 struct msm_pinctrl_priv *priv = dev_get_priv(dev); in msm_pinconf_set()
/openbmc/u-boot/drivers/pinctrl/mscc/
H A Dmscc-common.c59 struct mscc_pinctrl *info = dev_get_priv(dev); in mscc_get_functions_count()
67 struct mscc_pinctrl *info = dev_get_priv(dev); in mscc_get_function_name()
89 struct mscc_pinctrl *info = dev_get_priv(dev); in mscc_pinmux_set_mux()
125 struct mscc_pinctrl *info = dev_get_priv(dev); in mscc_pctl_get_groups_count()
133 struct mscc_pinctrl *info = dev_get_priv(dev); in mscc_pctl_get_group_name()
178 struct mscc_pinctrl *info = dev_get_priv(dev->parent); in mscc_gpio_get()
194 struct mscc_pinctrl *info = dev_get_priv(dev->parent); in mscc_gpio_set()
208 struct mscc_pinctrl *info = dev_get_priv(dev->parent); in mscc_gpio_get_direction()
218 struct mscc_pinctrl *info = dev_get_priv(dev->parent); in mscc_gpio_direction_input()
228 struct mscc_pinctrl *info = dev_get_priv(dev->parent); in mscc_gpio_direction_output()
[all …]
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_mmio.c22 struct virtio_mmio_priv *priv = dev_get_priv(udev); in virtio_mmio_get_config()
67 struct virtio_mmio_priv *priv = dev_get_priv(udev); in virtio_mmio_set_config()
111 struct virtio_mmio_priv *priv = dev_get_priv(udev); in virtio_mmio_generation()
123 struct virtio_mmio_priv *priv = dev_get_priv(udev); in virtio_mmio_get_status()
132 struct virtio_mmio_priv *priv = dev_get_priv(udev); in virtio_mmio_set_status()
144 struct virtio_mmio_priv *priv = dev_get_priv(udev); in virtio_mmio_reset()
154 struct virtio_mmio_priv *priv = dev_get_priv(udev); in virtio_mmio_get_features()
168 struct virtio_mmio_priv *priv = dev_get_priv(udev); in virtio_mmio_set_features()
191 struct virtio_mmio_priv *priv = dev_get_priv(udev); in virtio_mmio_setup_vq()
279 struct virtio_mmio_priv *priv = dev_get_priv(vq->vdev); in virtio_mmio_del_vq()
[all …]
/openbmc/u-boot/drivers/i2c/
H A Drcar_iic.c48 struct rcar_iic_priv *priv = dev_get_priv(dev); in sh_irq_dte()
60 struct rcar_iic_priv *priv = dev_get_priv(dev); in sh_irq_dte_with_tack()
77 struct rcar_iic_priv *priv = dev_get_priv(dev); in sh_irq_busy()
89 struct rcar_iic_priv *priv = dev_get_priv(dev); in rcar_iic_set_addr()
109 struct rcar_iic_priv *priv = dev_get_priv(dev); in rcar_iic_finish()
117 struct rcar_iic_priv *priv = dev_get_priv(dev); in rcar_iic_read_common()
150 struct rcar_iic_priv *priv = dev_get_priv(dev); in rcar_iic_write_common()
198 struct rcar_iic_priv *priv = dev_get_priv(dev); in rcar_iic_set_speed()
222 struct rcar_iic_priv *priv = dev_get_priv(dev); in rcar_iic_probe_chip()
236 struct rcar_iic_priv *priv = dev_get_priv(dev); in rcar_iic_probe()
H A Dast_i2c.c62 struct ast_i2c_priv *priv = dev_get_priv(dev); in ast_i2c_clear_interrupts()
69 struct ast_i2c_priv *priv = dev_get_priv(dev); in ast_i2c_init_bus()
89 struct ast_i2c_priv *priv = dev_get_priv(dev); in ast_i2c_ofdata_to_platdata()
127 struct ast_i2c_priv *priv = dev_get_priv(dev); in ast_i2c_wait_isr()
144 struct ast_i2c_priv *priv = dev_get_priv(dev); in ast_i2c_send_stop()
153 struct ast_i2c_priv *priv = dev_get_priv(dev); in ast_i2c_wait_tx()
178 struct ast_i2c_priv *priv = dev_get_priv(dev); in ast_i2c_start_txn()
190 struct ast_i2c_priv *priv = dev_get_priv(dev); in ast_i2c_read_data()
219 struct ast_i2c_priv *priv = dev_get_priv(dev); in ast_i2c_write_data()
242 struct ast_i2c_priv *priv = dev_get_priv(dev); in ast_i2c_deblock()
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dbcm6345_gpio.c23 struct bcm6345_gpio_priv *priv = dev_get_priv(dev); in bcm6345_gpio_get_value()
31 struct bcm6345_gpio_priv *priv = dev_get_priv(dev); in bcm6345_gpio_set_value()
54 struct bcm6345_gpio_priv *priv = dev_get_priv(dev); in bcm6345_gpio_direction_input()
62 struct bcm6345_gpio_priv *priv = dev_get_priv(dev); in bcm6345_gpio_direction_output()
71 struct bcm6345_gpio_priv *priv = dev_get_priv(dev); in bcm6345_gpio_get_function()
90 struct bcm6345_gpio_priv *priv = dev_get_priv(dev); in bcm6345_gpio_probe()
H A Dmvebu_gpio.c29 struct mvebu_gpio_priv *priv = dev_get_priv(dev); in mvebu_gpio_direction_input()
40 struct mvebu_gpio_priv *priv = dev_get_priv(dev); in mvebu_gpio_direction_output()
54 struct mvebu_gpio_priv *priv = dev_get_priv(dev); in mvebu_gpio_get_function()
68 struct mvebu_gpio_priv *priv = dev_get_priv(dev); in mvebu_gpio_set_value()
81 struct mvebu_gpio_priv *priv = dev_get_priv(dev); in mvebu_gpio_get_value()
90 struct mvebu_gpio_priv *priv = dev_get_priv(dev); in mvebu_gpio_probe()
H A Dmsm_gpio.c35 struct msm_gpio_bank *priv = dev_get_priv(dev); in msm_gpio_direction_input()
46 struct msm_gpio_bank *priv = dev_get_priv(dev); in msm_gpio_set_value()
58 struct msm_gpio_bank *priv = dev_get_priv(dev); in msm_gpio_direction_output()
72 struct msm_gpio_bank *priv = dev_get_priv(dev); in msm_gpio_get_value()
79 struct msm_gpio_bank *priv = dev_get_priv(dev); in msm_gpio_get_function()
97 struct msm_gpio_bank *priv = dev_get_priv(dev); in msm_gpio_probe()
H A Dgpio-rcar.c38 struct rcar_gpio_priv *priv = dev_get_priv(dev); in rcar_gpio_get_value()
54 struct rcar_gpio_priv *priv = dev_get_priv(dev); in rcar_gpio_set_value()
88 struct rcar_gpio_priv *priv = dev_get_priv(dev); in rcar_gpio_direction_input()
98 struct rcar_gpio_priv *priv = dev_get_priv(dev); in rcar_gpio_direction_output()
109 struct rcar_gpio_priv *priv = dev_get_priv(dev); in rcar_gpio_get_function()
120 struct rcar_gpio_priv *priv = dev_get_priv(dev); in rcar_gpio_request()
143 struct rcar_gpio_priv *priv = dev_get_priv(dev); in rcar_gpio_probe()
H A Dvybrid_gpio.c25 const struct vybrid_gpios *gpios = dev_get_priv(dev); in vybrid_gpio_direction_input()
36 const struct vybrid_gpios *gpios = dev_get_priv(dev); in vybrid_gpio_direction_output()
47 const struct vybrid_gpios *gpios = dev_get_priv(dev); in vybrid_gpio_get_value()
55 const struct vybrid_gpios *gpios = dev_get_priv(dev); in vybrid_gpio_set_value()
66 const struct vybrid_gpios *gpios = dev_get_priv(dev); in vybrid_gpio_get_function()
95 struct vybrid_gpios *gpios = dev_get_priv(dev); in vybrid_gpio_probe()
H A Dmpc8xxx_gpio.c102 struct mpc8xxx_gpio_data *data = dev_get_priv(dev); in mpc8xxx_gpio_direction_input()
110 struct mpc8xxx_gpio_data *data = dev_get_priv(dev); in mpc8xxx_gpio_set_value()
125 struct mpc8xxx_gpio_data *data = dev_get_priv(dev); in mpc8xxx_gpio_direction_output()
136 struct mpc8xxx_gpio_data *data = dev_get_priv(dev); in mpc8xxx_gpio_get_value()
149 struct mpc8xxx_gpio_data *data = dev_get_priv(dev); in mpc8xxx_gpio_get_open_drain()
157 struct mpc8xxx_gpio_data *data = dev_get_priv(dev); in mpc8xxx_gpio_set_open_drain()
169 struct mpc8xxx_gpio_data *data = dev_get_priv(dev); in mpc8xxx_gpio_get_function()
196 struct mpc8xxx_gpio_data *priv = dev_get_priv(dev); in mpc8xxx_gpio_platdata_to_priv()
221 struct mpc8xxx_gpio_data *data = dev_get_priv(dev); in mpc8xxx_gpio_probe()
/openbmc/u-boot/drivers/misc/
H A Dmisc_sandbox.c19 struct misc_sandbox_priv *priv = dev_get_priv(dev); in misc_sandbox_read()
29 struct misc_sandbox_priv *priv = dev_get_priv(dev); in misc_sandbox_write()
38 struct misc_sandbox_priv *priv = dev_get_priv(dev); in misc_sandbox_ioctl()
48 struct misc_sandbox_priv *priv = dev_get_priv(dev); in misc_sandbox_call()
97 struct misc_sandbox_priv *priv = dev_get_priv(dev); in misc_sandbox_set_enabled()
114 struct misc_sandbox_priv *priv = dev_get_priv(dev); in misc_sandbox_probe()
/openbmc/u-boot/drivers/watchdog/
H A Dmtk_wdt.c42 struct mtk_wdt_priv *priv = dev_get_priv(dev); in mtk_wdt_reset()
52 struct mtk_wdt_priv *priv = dev_get_priv(dev); in mtk_wdt_stop()
61 struct mtk_wdt_priv *priv = dev_get_priv(dev); in mtk_wdt_expire_now()
75 struct mtk_wdt_priv *priv = dev_get_priv(dev); in mtk_wdt_set_timeout()
89 struct mtk_wdt_priv *priv = dev_get_priv(dev); in mtk_wdt_start()
102 struct mtk_wdt_priv *priv = dev_get_priv(dev); in mtk_wdt_probe()
/openbmc/u-boot/drivers/phy/
H A Dsandbox-phy.c19 struct sandbox_phy_priv *priv = dev_get_priv(phy->dev); in sandbox_phy_power_on()
34 struct sandbox_phy_priv *priv = dev_get_priv(phy->dev); in sandbox_phy_power_off()
56 struct sandbox_phy_priv *priv = dev_get_priv(phy->dev); in sandbox_phy_init()
66 struct sandbox_phy_priv *priv = dev_get_priv(phy->dev); in sandbox_phy_exit()
76 struct sandbox_phy_priv *priv = dev_get_priv(dev); in sandbox_phy_probe()
/openbmc/u-boot/drivers/adc/
H A Dsandbox.c29 struct sandbox_adc_priv *priv = dev_get_priv(dev); in sandbox_adc_start_channel()
43 struct sandbox_adc_priv *priv = dev_get_priv(dev); in sandbox_adc_start_channels()
58 struct sandbox_adc_priv *priv = dev_get_priv(dev); in sandbox_adc_channel_data()
79 struct sandbox_adc_priv *priv = dev_get_priv(dev); in sandbox_adc_channels_data()
110 struct sandbox_adc_priv *priv = dev_get_priv(dev); in sandbox_adc_stop()
120 struct sandbox_adc_priv *priv = dev_get_priv(dev); in sandbox_adc_probe()
/openbmc/u-boot/drivers/spi/
H A Dxilinx_spi.c113 struct xilinx_spi_priv *priv = dev_get_priv(bus); in xilinx_spi_probe()
128 struct xilinx_spi_priv *priv = dev_get_priv(bus); in spi_cs_activate()
137 struct xilinx_spi_priv *priv = dev_get_priv(bus); in spi_cs_deactivate()
146 struct xilinx_spi_priv *priv = dev_get_priv(bus); in xilinx_spi_claim_bus()
158 struct xilinx_spi_priv *priv = dev_get_priv(bus); in xilinx_spi_release_bus()
170 struct xilinx_spi_priv *priv = dev_get_priv(bus); in xilinx_spi_fill_txfifo()
190 struct xilinx_spi_priv *priv = dev_get_priv(bus); in xilinx_spi_read_rxfifo()
212 struct xilinx_spi_priv *priv = dev_get_priv(bus); in xilinx_spi_startup_block()
245 struct xilinx_spi_priv *priv = dev_get_priv(bus); in xilinx_spi_xfer()
313 struct xilinx_spi_priv *priv = dev_get_priv(bus); in xilinx_spi_set_speed()
[all …]
/openbmc/u-boot/drivers/clk/mediatek/
H A Dclk-mtk.c114 struct mtk_clk_priv *priv = dev_get_priv(clk->dev); in mtk_pll_set_rate_regs()
151 struct mtk_clk_priv *priv = dev_get_priv(clk->dev); in mtk_pll_calc_values()
186 struct mtk_clk_priv *priv = dev_get_priv(clk->dev); in mtk_apmixedsys_get_rate()
204 struct mtk_clk_priv *priv = dev_get_priv(clk->dev); in mtk_apmixedsys_enable()
233 struct mtk_clk_priv *priv = dev_get_priv(clk->dev); in mtk_apmixedsys_disable()
270 struct mtk_clk_priv *priv = dev_get_priv(clk->dev); in mtk_topckgen_get_factor_rate()
292 struct mtk_clk_priv *priv = dev_get_priv(clk->dev); in mtk_topckgen_get_mux_rate()
309 struct mtk_clk_priv *priv = dev_get_priv(clk->dev); in mtk_topckgen_get_rate()
323 struct mtk_clk_priv *priv = dev_get_priv(clk->dev); in mtk_topckgen_enable()
351 struct mtk_clk_priv *priv = dev_get_priv(clk->dev); in mtk_topckgen_disable()
[all …]

12345678910>>...23