/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_xgmac.c | 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() 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() 148 hns_xgmac_tx_enable(drv, 1); in hns_xgmac_enable() 149 hns_xgmac_rx_enable(drv, 1); in hns_xgmac_enable() [all …]
|
D | hns_dsaf_gmac.c | 63 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 …]
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
D | cpr.c | 252 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 …]
|
D | rpmh-rsc.c | 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() 164 static void write_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_cmd() argument 167 writel_relaxed(data, tcs_cmd_addr(drv, reg, tcs_id, cmd_id)); in write_tcs_cmd() [all …]
|
/kernel/linux/linux-5.10/drivers/phy/samsung/ |
D | phy-samsung-usb2.c | 23 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 …]
|
D | phy-exynos4x12-usb2.c | 167 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos4x12_isol() local 189 regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask); in exynos4x12_isol() 194 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos4x12_setup_clk() local 197 clk = readl(drv->reg_phy + EXYNOS_4x12_UPHYCLK); in exynos4x12_setup_clk() 200 if (drv->cfg->has_refclk_sel) in exynos4x12_setup_clk() 203 clk |= drv->ref_reg_val << EXYNOS_4x12_UPHYCLK_PHYFSEL_OFFSET; in exynos4x12_setup_clk() 205 writel(clk, drv->reg_phy + EXYNOS_4x12_UPHYCLK); in exynos4x12_setup_clk() 210 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos4x12_phy_pwr() local 240 pwr = readl(drv->reg_phy + EXYNOS_4x12_UPHYPWR); in exynos4x12_phy_pwr() 242 writel(pwr, drv->reg_phy + EXYNOS_4x12_UPHYPWR); in exynos4x12_phy_pwr() [all …]
|
D | phy-exynos5250-usb2.c | 177 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos5250_isol() local 194 regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask); in exynos5250_isol() 199 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos5250_power_on() local 208 regmap_update_bits(drv->reg_sys, in exynos5250_power_on() 214 otg = readl(drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on() 217 otg |= drv->ref_reg_val << EXYNOS_5250_USBOTGSYS_FSEL_SHIFT; in exynos5250_power_on() 230 writel(otg, drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on() 236 writel(otg, drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on() 244 ctrl0 = readl(drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on() 247 ctrl0 |= drv->ref_reg_val << in exynos5250_power_on() [all …]
|
/kernel/linux/linux-5.10/drivers/cpuidle/ |
D | driver.c | 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() 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() 80 for_each_cpu(cpu, drv->cpumask) in __cpuidle_set_driver() 81 per_cpu(cpuidle_drivers, cpu) = drv; in __cpuidle_set_driver() 108 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver() argument 113 cpuidle_curr_driver = drv; in __cpuidle_set_driver() [all …]
|
D | cpuidle-qcom-spm.c | 112 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 …]
|
D | cpuidle.c | 49 bool cpuidle_not_available(struct cpuidle_driver *drv, in cpuidle_not_available() argument 52 return off || !initialized || !drv || !dev || !dev->enabled; in cpuidle_not_available() 63 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_play_dead() local 66 if (!drv) in cpuidle_play_dead() 70 for (i = drv->state_count - 1; i >= 0; i--) in cpuidle_play_dead() 71 if (drv->states[i].enter_dead) in cpuidle_play_dead() 72 return drv->states[i].enter_dead(dev, i); in cpuidle_play_dead() 77 static int find_deepest_state(struct cpuidle_driver *drv, in find_deepest_state() argument 86 for (i = 1; i < drv->state_count; i++) { in find_deepest_state() 87 struct cpuidle_state *s = &drv->states[i]; in find_deepest_state() [all …]
|
/kernel/linux/linux-5.10/drivers/base/ |
D | driver.c | 42 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device() argument 49 if (!drv) in driver_for_each_device() 52 klist_iter_init_node(&drv->p->klist_devices, &i, in driver_for_each_device() 76 struct device *driver_find_device(struct device_driver *drv, in driver_find_device() argument 83 if (!drv || !drv->p) in driver_find_device() 86 klist_iter_init_node(&drv->p->klist_devices, &i, in driver_find_device() 101 int driver_create_file(struct device_driver *drv, in driver_create_file() argument 106 if (drv) in driver_create_file() 107 error = sysfs_create_file(&drv->p->kobj, &attr->attr); in driver_create_file() 119 void driver_remove_file(struct device_driver *drv, in driver_remove_file() argument [all …]
|
D | module.c | 12 static char *make_driver_name(struct device_driver *drv) in make_driver_name() argument 16 driver_name = kasprintf(GFP_KERNEL, "%s:%s", drv->bus->name, drv->name); in make_driver_name() 33 void module_add_driver(struct module *mod, struct device_driver *drv) in module_add_driver() argument 39 if (!drv) in module_add_driver() 44 else if (drv->mod_name) { in module_add_driver() 48 mkobj = kset_find_obj(module_kset, drv->mod_name); in module_add_driver() 52 drv->p->mkobj = mk; in module_add_driver() 62 no_warn = sysfs_create_link(&drv->p->kobj, &mk->kobj, "module"); in module_add_driver() 63 driver_name = make_driver_name(drv); in module_add_driver() 66 no_warn = sysfs_create_link(mk->drivers_dir, &drv->p->kobj, in module_add_driver() [all …]
|
D | dd.c | 222 const char *drv = dev_driver_string(dev); in device_set_deferred_probe_reason() local 227 dev->p->deferred_probe_reason = kasprintf(GFP_KERNEL, "%s: %pV", drv, vaf); in device_set_deferred_probe_reason() 435 struct device_driver *drv = dev->driver; in driver_sysfs_remove() local 437 if (drv) { in driver_sysfs_remove() 438 if (drv->coredump) in driver_sysfs_remove() 440 sysfs_remove_link(&drv->p->kobj, kobject_name(&dev->kobj)); in driver_sysfs_remove() 497 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe() argument 502 !drv->suppress_bind_attrs; in really_probe() 510 dev_dbg(dev, "Driver %s force probe deferral\n", drv->name); in really_probe() 523 drv->bus->name, __func__, drv->name, dev_name(dev)); in really_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-drv.c | 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() 178 for (i = 0; i < ARRAY_SIZE(drv->fw.dbg.conf_tlv); i++) in iwl_dealloc_ucode() 179 kfree(drv->fw.dbg.conf_tlv[i]); in iwl_dealloc_ucode() 180 for (i = 0; i < ARRAY_SIZE(drv->fw.dbg.trigger_tlv); i++) in iwl_dealloc_ucode() 181 kfree(drv->fw.dbg.trigger_tlv[i]); in iwl_dealloc_ucode() [all …]
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | qcom-cpufreq-nvmem.c | 53 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 …]
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
D | menz69_wdt.c | 36 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 …]
|
D | mena21_wdt.c | 42 static unsigned int a21_wdt_get_bootstatus(struct a21_wdt_drv *drv) in a21_wdt_get_bootstatus() argument 46 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST0]) ? (1 << 0) : 0; in a21_wdt_get_bootstatus() 47 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST1]) ? (1 << 1) : 0; in a21_wdt_get_bootstatus() 48 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST2]) ? (1 << 2) : 0; in a21_wdt_get_bootstatus() 55 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_start() local 57 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 1); in a21_wdt_start() 64 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_stop() local 66 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 0); in a21_wdt_stop() 73 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_ping() local 75 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 0); in a21_wdt_ping() [all …]
|
/kernel/linux/linux-5.10/arch/x86/kernel/apic/ |
D | probe_64.c | 21 struct apic **drv; in default_setup_apic_routing() local 25 for (drv = __apicdrivers; drv < __apicdrivers_end; drv++) { in default_setup_apic_routing() 26 if ((*drv)->probe && (*drv)->probe()) { in default_setup_apic_routing() 27 if (apic != *drv) { in default_setup_apic_routing() 28 apic = *drv; in default_setup_apic_routing() 39 struct apic **drv; in default_acpi_madt_oem_check() local 41 for (drv = __apicdrivers; drv < __apicdrivers_end; drv++) { in default_acpi_madt_oem_check() 42 if ((*drv)->acpi_madt_oem_check(oem_id, oem_table_id)) { in default_acpi_madt_oem_check() 43 if (apic != *drv) { in default_acpi_madt_oem_check() 44 apic = *drv; in default_acpi_madt_oem_check()
|
D | probe_32.c | 122 struct apic **drv; in parse_apic() local 127 for (drv = __apicdrivers; drv < __apicdrivers_end; drv++) { in parse_apic() 128 if (!strcmp((*drv)->name, arg)) { in parse_apic() 129 apic = *drv; in parse_apic() 178 struct apic **drv; in generic_apic_probe() local 180 for (drv = __apicdrivers; drv < __apicdrivers_end; drv++) { in generic_apic_probe() 181 if ((*drv)->probe()) { in generic_apic_probe() 182 apic = *drv; in generic_apic_probe() 187 if (drv == __apicdrivers_end) in generic_apic_probe() 196 struct apic **drv; in default_acpi_madt_oem_check() local [all …]
|
/kernel/linux/linux-5.10/drivers/phy/renesas/ |
D | phy-rcar-gen2.c | 57 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-5.10/drivers/soundwire/ |
D | bus_type.c | 21 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id() argument 25 for (id = drv->id_table; id && id->mfg_id; id++) in sdw_get_device_id() 40 struct sdw_driver *drv; in sdw_bus_match() local 45 drv = drv_to_sdw_driver(ddrv); in sdw_bus_match() 47 ret = !!sdw_get_device_id(slave, drv); in sdw_bus_match() 83 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_drv_probe() local 96 id = sdw_get_device_id(slave, drv); in sdw_drv_probe() 100 slave->ops = drv->ops; in sdw_drv_probe() 109 ret = drv->probe(slave, id); in sdw_drv_probe() 111 dev_err(dev, "Probe of %s failed: %d\n", drv->name, ret); in sdw_drv_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/media/radio/ |
D | radio-isa.c | 37 strscpy(v->driver, isa->drv->driver.driver.name, sizeof(v->driver)); in radio_isa_querycap() 38 strscpy(v->card, isa->drv->card, sizeof(v->card)); in radio_isa_querycap() 47 const struct radio_isa_ops *ops = isa->drv->ops; in radio_isa_g_tuner() 57 if (isa->drv->has_stereo) in radio_isa_g_tuner() 77 const struct radio_isa_ops *ops = isa->drv->ops; in radio_isa_s_tuner() 98 res = isa->drv->ops->s_frequency(isa, freq); in radio_isa_s_frequency() 123 return isa->drv->ops->s_mute_volume(isa, ctrl->val, in radio_isa_s_ctrl() 163 struct radio_isa_driver *drv = pdev->platform_data; in radio_isa_match() local 165 return drv->probe || drv->io_params[dev] >= 0; in radio_isa_match() 169 static bool radio_isa_valid_io(const struct radio_isa_driver *drv, int io) in radio_isa_valid_io() argument [all …]
|
/kernel/linux/linux-5.10/drivers/zorro/ |
D | zorro-driver.c | 47 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_probe() local 50 if (!z->driver && drv->probe) { in zorro_device_probe() 53 id = zorro_match_device(drv->id_table, z); in zorro_device_probe() 55 error = drv->probe(z, id); in zorro_device_probe() 57 z->driver = drv; in zorro_device_probe() 68 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_remove() local 70 if (drv) { in zorro_device_remove() 71 if (drv->remove) in zorro_device_remove() 72 drv->remove(z); in zorro_device_remove() 87 int zorro_register_driver(struct zorro_driver *drv) in zorro_register_driver() argument [all …]
|
/kernel/linux/linux-5.10/drivers/vfio/mdev/ |
D | mdev_driver.c | 42 struct mdev_driver *drv = to_mdev_driver(dev->driver); in mdev_probe() local 50 if (drv && drv->probe) { in mdev_probe() 51 ret = drv->probe(dev); in mdev_probe() 61 struct mdev_driver *drv = to_mdev_driver(dev->driver); in mdev_remove() local 64 if (drv && drv->remove) in mdev_remove() 65 drv->remove(dev); in mdev_remove() 86 int mdev_register_driver(struct mdev_driver *drv, struct module *owner) in mdev_register_driver() argument 89 drv->driver.name = drv->name; in mdev_register_driver() 90 drv->driver.bus = &mdev_bus_type; in mdev_register_driver() 91 drv->driver.owner = owner; in mdev_register_driver() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | cpuidle.h | 60 struct cpuidle_driver *drv, 74 struct cpuidle_driver *drv, 142 extern bool cpuidle_not_available(struct cpuidle_driver *drv, 145 extern int cpuidle_select(struct cpuidle_driver *drv, 148 extern int cpuidle_enter(struct cpuidle_driver *drv, 151 extern u64 cpuidle_poll_time(struct cpuidle_driver *drv, 154 extern int cpuidle_register_driver(struct cpuidle_driver *drv); 156 extern void cpuidle_driver_state_disabled(struct cpuidle_driver *drv, int idx, 158 extern void cpuidle_unregister_driver(struct cpuidle_driver *drv); 161 extern int cpuidle_register(struct cpuidle_driver *drv, [all …]
|