Home
last modified time | relevance | path

Searched full:drv (Results 1 – 25 of 2506) sorted by relevance

12345678910>>...101

/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c63 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_enable() local
67 dsaf_set_dev_bit(drv, GMAC_PORT_EN_REG, GMAC_PORT_TX_EN_B, 1); in hns_gmac_enable()
71 dsaf_set_dev_bit(drv, GMAC_PCS_RX_EN_REG, 0, 0); in hns_gmac_enable()
72 dsaf_set_dev_bit(drv, GMAC_PORT_EN_REG, GMAC_PORT_RX_EN_B, 1); in hns_gmac_enable()
78 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_disable() local
82 dsaf_set_dev_bit(drv, GMAC_PORT_EN_REG, GMAC_PORT_TX_EN_B, 0); in hns_gmac_disable()
86 dsaf_set_dev_bit(drv, GMAC_PCS_RX_EN_REG, 0, 1); in hns_gmac_disable()
87 dsaf_set_dev_bit(drv, GMAC_PORT_EN_REG, GMAC_PORT_RX_EN_B, 0); in hns_gmac_disable()
98 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_en() local
101 porten = dsaf_read_dev(drv, GMAC_PORT_EN_REG); in hns_gmac_get_en()
[all …]
Dhns_dsaf_xgmac.c88 *@drv: mac driver
91 static void hns_xgmac_tx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_tx_enable() argument
93 dsaf_set_dev_bit(drv, XGMAC_MAC_ENABLE_REG, XGMAC_ENABLE_TX_B, !!value); in hns_xgmac_tx_enable()
98 *@drv: mac driver
101 static void hns_xgmac_rx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_rx_enable() argument
103 dsaf_set_dev_bit(drv, XGMAC_MAC_ENABLE_REG, XGMAC_ENABLE_RX_B, !!value); in hns_xgmac_rx_enable()
138 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_enable() local
140 hns_xgmac_lf_rf_insert(drv, HNS_XGMAC_NO_LF_RF_INSERT); in hns_xgmac_enable()
144 hns_xgmac_tx_enable(drv, 1); in hns_xgmac_enable()
146 hns_xgmac_rx_enable(drv, 1); in hns_xgmac_enable()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c63 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_enable() local
67 dsaf_set_dev_bit(drv, GMAC_PORT_EN_REG, GMAC_PORT_TX_EN_B, 1); in hns_gmac_enable()
71 dsaf_set_dev_bit(drv, GMAC_PCS_RX_EN_REG, 0, 0); in hns_gmac_enable()
72 dsaf_set_dev_bit(drv, GMAC_PORT_EN_REG, GMAC_PORT_RX_EN_B, 1); in hns_gmac_enable()
78 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_disable() local
82 dsaf_set_dev_bit(drv, GMAC_PORT_EN_REG, GMAC_PORT_TX_EN_B, 0); in hns_gmac_disable()
86 dsaf_set_dev_bit(drv, GMAC_PCS_RX_EN_REG, 0, 1); in hns_gmac_disable()
87 dsaf_set_dev_bit(drv, GMAC_PORT_EN_REG, GMAC_PORT_RX_EN_B, 0); in hns_gmac_disable()
98 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_en() local
101 porten = dsaf_read_dev(drv, GMAC_PORT_EN_REG); in hns_gmac_get_en()
[all …]
Dhns_dsaf_xgmac.c88 *@drv: mac driver
91 static void hns_xgmac_tx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_tx_enable() argument
93 dsaf_set_dev_bit(drv, XGMAC_MAC_ENABLE_REG, XGMAC_ENABLE_TX_B, !!value); in hns_xgmac_tx_enable()
98 *@drv: mac driver
101 static void hns_xgmac_rx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_rx_enable() argument
103 dsaf_set_dev_bit(drv, XGMAC_MAC_ENABLE_REG, XGMAC_ENABLE_RX_B, !!value); in hns_xgmac_rx_enable()
138 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_enable() local
140 hns_xgmac_lf_rf_insert(drv, HNS_XGMAC_NO_LF_RF_INSERT); in hns_xgmac_enable()
144 hns_xgmac_tx_enable(drv, 1); in hns_xgmac_enable()
146 hns_xgmac_rx_enable(drv, 1); in hns_xgmac_enable()
[all …]
/kernel/linux/linux-6.6/drivers/pmdomain/qcom/
Dcpr.c251 static bool cpr_is_allowed(struct cpr_drv *drv) in cpr_is_allowed() argument
253 return !drv->loop_disabled; in cpr_is_allowed()
256 static void cpr_write(struct cpr_drv *drv, u32 offset, u32 value) in cpr_write() argument
258 writel_relaxed(value, drv->base + offset); in cpr_write()
261 static u32 cpr_read(struct cpr_drv *drv, u32 offset) in cpr_read() argument
263 return readl_relaxed(drv->base + offset); in cpr_read()
267 cpr_masked_write(struct cpr_drv *drv, u32 offset, u32 mask, u32 value) in cpr_masked_write() argument
271 val = readl_relaxed(drv->base + offset); in cpr_masked_write()
274 writel_relaxed(val, drv->base + offset); in cpr_masked_write()
277 static void cpr_irq_clr(struct cpr_drv *drv) in cpr_irq_clr() argument
[all …]
/kernel/linux/linux-5.10/drivers/soc/qcom/
Dcpr.c252 static bool cpr_is_allowed(struct cpr_drv *drv) in cpr_is_allowed() argument
254 return !drv->loop_disabled; in cpr_is_allowed()
257 static void cpr_write(struct cpr_drv *drv, u32 offset, u32 value) in cpr_write() argument
259 writel_relaxed(value, drv->base + offset); in cpr_write()
262 static u32 cpr_read(struct cpr_drv *drv, u32 offset) in cpr_read() argument
264 return readl_relaxed(drv->base + offset); in cpr_read()
268 cpr_masked_write(struct cpr_drv *drv, u32 offset, u32 mask, u32 value) in cpr_masked_write() argument
272 val = readl_relaxed(drv->base + offset); in cpr_masked_write()
275 writel_relaxed(val, drv->base + offset); in cpr_masked_write()
278 static void cpr_irq_clr(struct cpr_drv *drv) in cpr_irq_clr() argument
[all …]
Drpmh-rsc.c36 /* DRV HW Solver Configuration Information Register */
41 /* DRV TCS Configuration Information Register */
142 tcs_reg_addr(const struct rsc_drv *drv, int reg, int tcs_id) in tcs_reg_addr() argument
144 return drv->tcs_base + RSC_DRV_TCS_OFFSET * tcs_id + reg; in tcs_reg_addr()
148 tcs_cmd_addr(const struct rsc_drv *drv, int reg, int tcs_id, int cmd_id) in tcs_cmd_addr() argument
150 return tcs_reg_addr(drv, reg, tcs_id) + RSC_DRV_CMD_OFFSET * cmd_id; in tcs_cmd_addr()
153 static u32 read_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in read_tcs_cmd() argument
156 return readl_relaxed(tcs_cmd_addr(drv, reg, tcs_id, cmd_id)); in read_tcs_cmd()
159 static u32 read_tcs_reg(const struct rsc_drv *drv, int reg, int tcs_id) in read_tcs_reg() argument
161 return readl_relaxed(tcs_reg_addr(drv, reg, tcs_id)); in read_tcs_reg()
[all …]
/kernel/linux/linux-5.10/drivers/phy/samsung/
Dphy-samsung-usb2.c23 struct samsung_usb2_phy_driver *drv = inst->drv; in samsung_usb2_phy_power_on() local
26 dev_dbg(drv->dev, "Request to power_on \"%s\" usb phy\n", in samsung_usb2_phy_power_on()
29 if (drv->vbus) { in samsung_usb2_phy_power_on()
30 ret = regulator_enable(drv->vbus); in samsung_usb2_phy_power_on()
35 ret = clk_prepare_enable(drv->clk); in samsung_usb2_phy_power_on()
38 ret = clk_prepare_enable(drv->ref_clk); in samsung_usb2_phy_power_on()
42 spin_lock(&drv->lock); in samsung_usb2_phy_power_on()
44 spin_unlock(&drv->lock); in samsung_usb2_phy_power_on()
52 clk_disable_unprepare(drv->ref_clk); in samsung_usb2_phy_power_on()
54 clk_disable_unprepare(drv->clk); in samsung_usb2_phy_power_on()
[all …]
/kernel/linux/linux-6.6/drivers/phy/samsung/
Dphy-samsung-usb2.c21 struct samsung_usb2_phy_driver *drv = inst->drv; in samsung_usb2_phy_power_on() local
24 dev_dbg(drv->dev, "Request to power_on \"%s\" usb phy\n", in samsung_usb2_phy_power_on()
27 if (drv->vbus) { in samsung_usb2_phy_power_on()
28 ret = regulator_enable(drv->vbus); in samsung_usb2_phy_power_on()
33 ret = clk_prepare_enable(drv->clk); in samsung_usb2_phy_power_on()
36 ret = clk_prepare_enable(drv->ref_clk); in samsung_usb2_phy_power_on()
40 spin_lock(&drv->lock); in samsung_usb2_phy_power_on()
42 spin_unlock(&drv->lock); in samsung_usb2_phy_power_on()
50 clk_disable_unprepare(drv->ref_clk); in samsung_usb2_phy_power_on()
52 clk_disable_unprepare(drv->clk); in samsung_usb2_phy_power_on()
[all …]
/kernel/linux/linux-6.6/drivers/devfreq/
Dmtk-cci-devfreq.c39 static int mtk_ccifreq_set_voltage(struct mtk_ccifreq_drv *drv, int new_voltage) in mtk_ccifreq_set_voltage() argument
41 const struct mtk_ccifreq_platform_data *soc_data = drv->soc_data; in mtk_ccifreq_set_voltage()
42 struct device *dev = drv->dev; in mtk_ccifreq_set_voltage()
44 int retry_max = drv->vtrack_max; in mtk_ccifreq_set_voltage()
46 if (!drv->sram_reg) { in mtk_ccifreq_set_voltage()
47 ret = regulator_set_voltage(drv->proc_reg, new_voltage, in mtk_ccifreq_set_voltage()
48 drv->soc_data->proc_max_volt); in mtk_ccifreq_set_voltage()
52 pre_voltage = regulator_get_voltage(drv->proc_reg); in mtk_ccifreq_set_voltage()
58 pre_vsram = regulator_get_voltage(drv->sram_reg); in mtk_ccifreq_set_voltage()
71 ret = regulator_set_voltage(drv->sram_reg, vsram, in mtk_ccifreq_set_voltage()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c13 #include "iwl-drv.h"
41 * struct iwl_drv - drv common data
42 * @list: list of drv structures using this opmode
79 /* Protects the table contents, i.e. the ops pointer & drv list */
84 struct list_head drv; /* list of devices using this op_mode */ member
102 static void iwl_free_fw_desc(struct iwl_drv *drv, struct fw_desc *desc) in iwl_free_fw_desc() argument
109 static void iwl_free_fw_img(struct iwl_drv *drv, struct fw_img *img) in iwl_free_fw_img() argument
113 iwl_free_fw_desc(drv, &img->sec[i]); in iwl_free_fw_img()
117 static void iwl_dealloc_ucode(struct iwl_drv *drv) in iwl_dealloc_ucode() argument
121 kfree(drv->fw.dbg.dest_tlv); in iwl_dealloc_ucode()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c68 #include "iwl-drv.h"
97 * struct iwl_drv - drv common data
98 * @list: list of drv structures using this opmode
135 /* Protects the table contents, i.e. the ops pointer & drv list */
140 struct list_head drv; /* list of devices using this op_mode */ member
158 static void iwl_free_fw_desc(struct iwl_drv *drv, struct fw_desc *desc) in iwl_free_fw_desc() argument
165 static void iwl_free_fw_img(struct iwl_drv *drv, struct fw_img *img) in iwl_free_fw_img() argument
169 iwl_free_fw_desc(drv, &img->sec[i]); in iwl_free_fw_img()
173 static void iwl_dealloc_ucode(struct iwl_drv *drv) in iwl_dealloc_ucode() argument
177 kfree(drv->fw.dbg.dest_tlv); in iwl_dealloc_ucode()
[all …]
/kernel/linux/linux-6.6/drivers/soc/qcom/
Drpmh-rsc.c67 /* DRV HW Solver Configuration Information Register */
71 /* DRV TCS Configuration Information Register */
196 tcs_reg_addr(const struct rsc_drv *drv, int reg, int tcs_id) in tcs_reg_addr() argument
198 return drv->tcs_base + drv->regs[RSC_DRV_TCS_OFFSET] * tcs_id + reg; in tcs_reg_addr()
202 tcs_cmd_addr(const struct rsc_drv *drv, int reg, int tcs_id, int cmd_id) in tcs_cmd_addr() argument
204 return tcs_reg_addr(drv, reg, tcs_id) + drv->regs[RSC_DRV_CMD_OFFSET] * cmd_id; in tcs_cmd_addr()
207 static u32 read_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in read_tcs_cmd() argument
210 return readl_relaxed(tcs_cmd_addr(drv, reg, tcs_id, cmd_id)); in read_tcs_cmd()
213 static u32 read_tcs_reg(const struct rsc_drv *drv, int reg, int tcs_id) in read_tcs_reg() argument
215 return readl_relaxed(tcs_reg_addr(drv, reg, tcs_id)); in read_tcs_reg()
[all …]
/kernel/linux/linux-5.10/drivers/cpuidle/
Dcpuidle-qcom-spm.c112 static inline void spm_register_write(struct spm_driver_data *drv, in spm_register_write() argument
115 if (drv->reg_data->reg_offset[reg]) in spm_register_write()
116 writel_relaxed(val, drv->reg_base + in spm_register_write()
117 drv->reg_data->reg_offset[reg]); in spm_register_write()
121 static inline void spm_register_write_sync(struct spm_driver_data *drv, in spm_register_write_sync() argument
126 if (!drv->reg_data->reg_offset[reg]) in spm_register_write_sync()
130 writel_relaxed(val, drv->reg_base + in spm_register_write_sync()
131 drv->reg_data->reg_offset[reg]); in spm_register_write_sync()
132 ret = readl_relaxed(drv->reg_base + in spm_register_write_sync()
133 drv->reg_data->reg_offset[reg]); in spm_register_write_sync()
[all …]
Ddriver.c42 * @drv: a valid pointer to a struct cpuidle_driver
45 * variable. If @drv is different from the registered driver, the corresponding
48 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver() argument
52 for_each_cpu(cpu, drv->cpumask) { in __cpuidle_unset_driver()
54 if (drv != __cpuidle_get_cpu_driver(cpu)) in __cpuidle_unset_driver()
63 * @drv: a valid pointer to a struct cpuidle_driver
66 * different from drv already.
68 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver() argument
72 for_each_cpu(cpu, drv->cpumask) { in __cpuidle_set_driver()
76 if (old_drv && old_drv != drv) in __cpuidle_set_driver()
[all …]
/kernel/linux/linux-6.6/drivers/cpuidle/
Ddriver.c43 * @drv: a valid pointer to a struct cpuidle_driver
46 * variable. If @drv is different from the registered driver, the corresponding
49 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver() argument
53 for_each_cpu(cpu, drv->cpumask) { in __cpuidle_unset_driver()
55 if (drv != __cpuidle_get_cpu_driver(cpu)) in __cpuidle_unset_driver()
64 * @drv: a valid pointer to a struct cpuidle_driver
67 * different from drv already.
69 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver() argument
73 for_each_cpu(cpu, drv->cpumask) { in __cpuidle_set_driver()
77 if (old_drv && old_drv != drv) in __cpuidle_set_driver()
[all …]
/kernel/linux/linux-6.6/drivers/base/
Ddriver.c110 * @drv: Driver we're iterating.
115 * Iterate over the @drv's list of devices calling @fn for each one.
117 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device() argument
124 if (!drv) in driver_for_each_device()
127 klist_iter_init_node(&drv->p->klist_devices, &i, in driver_for_each_device()
138 * @drv: The device's driver
151 struct device *driver_find_device(struct device_driver *drv, in driver_find_device() argument
158 if (!drv || !drv->p) in driver_find_device()
161 klist_iter_init_node(&drv->p->klist_devices, &i, in driver_find_device()
173 * @drv: driver.
[all …]
/kernel/linux/linux-5.10/drivers/watchdog/
Dmenz69_wdt.c36 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_start() local
39 val = readw(drv->base + MEN_Z069_WTR); in men_z069_wdt_start()
41 writew(val, drv->base + MEN_Z069_WTR); in men_z069_wdt_start()
48 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_stop() local
51 val = readw(drv->base + MEN_Z069_WTR); in men_z069_wdt_stop()
53 writew(val, drv->base + MEN_Z069_WTR); in men_z069_wdt_stop()
60 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_ping() local
64 val = readw(drv->base + MEN_Z069_WVR); in men_z069_wdt_ping()
66 writew(val, drv->base + MEN_Z069_WVR); in men_z069_wdt_ping()
74 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_set_timeout() local
[all …]
/kernel/linux/linux-6.6/drivers/watchdog/
Dmenz69_wdt.c36 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_start() local
39 val = readw(drv->base + MEN_Z069_WTR); in men_z069_wdt_start()
41 writew(val, drv->base + MEN_Z069_WTR); in men_z069_wdt_start()
48 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_stop() local
51 val = readw(drv->base + MEN_Z069_WTR); in men_z069_wdt_stop()
53 writew(val, drv->base + MEN_Z069_WTR); in men_z069_wdt_stop()
60 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_ping() local
64 val = readw(drv->base + MEN_Z069_WVR); in men_z069_wdt_ping()
66 writew(val, drv->base + MEN_Z069_WVR); in men_z069_wdt_ping()
74 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_set_timeout() local
[all …]
/kernel/linux/linux-5.10/drivers/base/
Ddriver.c104 * @drv: Driver we're iterating.
109 * Iterate over the @drv's list of devices calling @fn for each one.
111 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device() argument
118 if (!drv) in driver_for_each_device()
121 klist_iter_init_node(&drv->p->klist_devices, &i, in driver_for_each_device()
132 * @drv: The device's driver
145 struct device *driver_find_device(struct device_driver *drv, in driver_find_device() argument
152 if (!drv || !drv->p) in driver_find_device()
155 klist_iter_init_node(&drv->p->klist_devices, &i, in driver_find_device()
167 * @drv: driver.
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/
Drockchip-pinconf.dtsi23 pcfg_pull_none_drv_level_0: pcfg-pull-none-drv-level-0 {
29 pcfg_pull_none_drv_level_1: pcfg-pull-none-drv-level-1 {
35 pcfg_pull_none_drv_level_2: pcfg-pull-none-drv-level-2 {
41 pcfg_pull_none_drv_level_3: pcfg-pull-none-drv-level-3 {
47 pcfg_pull_none_drv_level_4: pcfg-pull-none-drv-level-4 {
53 pcfg_pull_none_drv_level_5: pcfg-pull-none-drv-level-5 {
59 pcfg_pull_none_drv_level_6: pcfg-pull-none-drv-level-6 {
65 pcfg_pull_none_drv_level_7: pcfg-pull-none-drv-level-7 {
71 pcfg_pull_none_drv_level_8: pcfg-pull-none-drv-level-8 {
77 pcfg_pull_none_drv_level_9: pcfg-pull-none-drv-level-9 {
[all …]
/kernel/linux/linux-6.6/drivers/soundwire/
Dbus_type.c16 * @drv: SoundWire Slave Driver
22 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id() argument
26 for (id = drv->id_table; id && id->mfg_id; id++) in sdw_get_device_id()
41 struct sdw_driver *drv; in sdw_bus_match() local
46 drv = drv_to_sdw_driver(ddrv); in sdw_bus_match()
48 ret = !!sdw_get_device_id(slave, drv); in sdw_bus_match()
84 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_drv_probe() local
98 id = sdw_get_device_id(slave, drv); in sdw_drv_probe()
109 ret = drv->probe(slave, id); in sdw_drv_probe()
111 name = drv->name; in sdw_drv_probe()
[all …]
/kernel/linux/linux-5.10/drivers/phy/renesas/
Dphy-rcar-gen2.c57 struct rcar_gen2_phy_driver *drv; member
81 struct rcar_gen2_phy_driver *drv = channel->drv; in rcar_gen2_phy_init() local
94 clk_prepare_enable(drv->clk); in rcar_gen2_phy_init()
96 spin_lock_irqsave(&drv->lock, flags); in rcar_gen2_phy_init()
97 ugctrl2 = readl(drv->base + USBHS_UGCTRL2); in rcar_gen2_phy_init()
100 writel(ugctrl2, drv->base + USBHS_UGCTRL2); in rcar_gen2_phy_init()
101 spin_unlock_irqrestore(&drv->lock, flags); in rcar_gen2_phy_init()
110 clk_disable_unprepare(channel->drv->clk); in rcar_gen2_phy_exit()
120 struct rcar_gen2_phy_driver *drv = phy->channel->drv; in rcar_gen2_phy_power_on() local
121 void __iomem *base = drv->base; in rcar_gen2_phy_power_on()
[all …]
/kernel/linux/linux-6.6/drivers/phy/renesas/
Dphy-rcar-gen2.c56 struct rcar_gen2_phy_driver *drv; member
80 struct rcar_gen2_phy_driver *drv = channel->drv; in rcar_gen2_phy_init() local
93 clk_prepare_enable(drv->clk); in rcar_gen2_phy_init()
95 spin_lock_irqsave(&drv->lock, flags); in rcar_gen2_phy_init()
96 ugctrl2 = readl(drv->base + USBHS_UGCTRL2); in rcar_gen2_phy_init()
99 writel(ugctrl2, drv->base + USBHS_UGCTRL2); in rcar_gen2_phy_init()
100 spin_unlock_irqrestore(&drv->lock, flags); in rcar_gen2_phy_init()
109 clk_disable_unprepare(channel->drv->clk); in rcar_gen2_phy_exit()
119 struct rcar_gen2_phy_driver *drv = phy->channel->drv; in rcar_gen2_phy_power_on() local
120 void __iomem *base = drv->base; in rcar_gen2_phy_power_on()
[all …]
/kernel/linux/linux-5.10/drivers/cpufreq/
Dqcom-cpufreq-nvmem.c53 struct qcom_cpufreq_drv *drv);
177 struct qcom_cpufreq_drv *drv) in qcom_cpufreq_kryo_name_version() argument
196 drv->versions = 1 << (unsigned int)(*speedbin); in qcom_cpufreq_kryo_name_version()
199 drv->versions = 1 << ((unsigned int)(*speedbin) + 4); in qcom_cpufreq_kryo_name_version()
213 struct qcom_cpufreq_drv *drv) in qcom_cpufreq_krait_name_version() argument
243 drv->versions = (1 << speed); in qcom_cpufreq_krait_name_version()
266 struct qcom_cpufreq_drv *drv; in qcom_cpufreq_probe() local
290 drv = kzalloc(sizeof(*drv), GFP_KERNEL); in qcom_cpufreq_probe()
291 if (!drv) in qcom_cpufreq_probe()
295 drv->data = match->data; in qcom_cpufreq_probe()
[all …]

12345678910>>...101