Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 3068) sorted by relevance

12345678910>>...123

/Linux-v4.19/drivers/hwtracing/coresight/
Dcoresight-etm4x-sysfs.c16 struct etmv4_config *config = &drvdata->config; in etm4_set_mode_exclude() local
18 idx = config->addr_idx; in etm4_set_mode_exclude()
24 if (BMVAL(config->addr_acc[idx], 0, 1) == ETM_INSTR_ADDR) { in etm4_set_mode_exclude()
33 if (config->addr_type[idx] != ETM_ADDR_TYPE_RANGE || in etm4_set_mode_exclude()
34 config->addr_type[idx + 1] != ETM_ADDR_TYPE_RANGE) in etm4_set_mode_exclude()
42 config->viiectlr |= BIT(idx / 2 + 16); in etm4_set_mode_exclude()
43 config->viiectlr &= ~BIT(idx / 2); in etm4_set_mode_exclude()
49 config->viiectlr |= BIT(idx / 2); in etm4_set_mode_exclude()
50 config->viiectlr &= ~BIT(idx / 2 + 16); in etm4_set_mode_exclude()
171 struct etmv4_config *config = &drvdata->config; in reset_store() local
[all …]
Dcoresight-etm3x-sysfs.c72 struct etm_config *config = &drvdata->config; in reset_store() local
80 memset(config, 0, sizeof(struct etm_config)); in reset_store()
81 config->mode = ETM_MODE_EXCLUDE; in reset_store()
82 config->trigger_event = ETM_DEFAULT_EVENT_VAL; in reset_store()
84 config->addr_type[i] = ETM_ADDR_TYPE_NONE; in reset_store()
87 etm_set_default(config); in reset_store()
100 struct etm_config *config = &drvdata->config; in mode_show() local
102 val = config->mode; in mode_show()
113 struct etm_config *config = &drvdata->config; in mode_store() local
120 config->mode = val & ETM_MODE_ALL; in mode_store()
[all …]
Dcoresight-etm4x.c41 static void etm4_set_default_config(struct etmv4_config *config);
84 struct etmv4_config *config = &drvdata->config; in etm4_enable_hw() local
98 writel_relaxed(config->pe_sel, drvdata->base + TRCPROCSELR); in etm4_enable_hw()
99 writel_relaxed(config->cfg, drvdata->base + TRCCONFIGR); in etm4_enable_hw()
102 writel_relaxed(config->eventctrl0, drvdata->base + TRCEVENTCTL0R); in etm4_enable_hw()
103 writel_relaxed(config->eventctrl1, drvdata->base + TRCEVENTCTL1R); in etm4_enable_hw()
104 writel_relaxed(config->stall_ctrl, drvdata->base + TRCSTALLCTLR); in etm4_enable_hw()
105 writel_relaxed(config->ts_ctrl, drvdata->base + TRCTSCTLR); in etm4_enable_hw()
106 writel_relaxed(config->syncfreq, drvdata->base + TRCSYNCPR); in etm4_enable_hw()
107 writel_relaxed(config->ccctlr, drvdata->base + TRCCCCTLR); in etm4_enable_hw()
[all …]
/Linux-v4.19/tools/power/cpupower/bench/
Dmain.c80 struct config *config = NULL; in main() local
82 config = prepare_default_config(); in main()
84 if (config == NULL) in main()
95 if (config->output != NULL) in main()
96 fclose(config->output); in main()
98 config->output = prepare_output(optarg); in main()
100 if (config->output == NULL) in main()
106 sscanf(optarg, "%li", &config->sleep); in main()
110 sscanf(optarg, "%li", &config->load); in main()
114 sscanf(optarg, "%u", &config->cpu); in main()
[all …]
Dbenchmark.c30 if (config->output != stdout) { \
45 unsigned int calculate_timespace(long load, struct config *config) in calculate_timespace() argument
53 if (config->verbose) in calculate_timespace()
75 if (config->verbose) in calculate_timespace()
91 void start_benchmark(struct config *config) in start_benchmark() argument
100 sleep_time = config->sleep; in start_benchmark()
101 load_time = config->load; in start_benchmark()
104 for (_round = 1; _round <= config->rounds; _round++) in start_benchmark()
105 total_time += _round * (config->sleep + config->load); in start_benchmark()
108 for (_round = 0; _round < config->rounds; _round++) { in start_benchmark()
[all …]
Dparse.c133 struct config *prepare_default_config() in prepare_default_config()
135 struct config *config = malloc(sizeof(struct config)); in prepare_default_config() local
139 config->sleep = 500000; in prepare_default_config()
140 config->load = 500000; in prepare_default_config()
141 config->sleep_step = 500000; in prepare_default_config()
142 config->load_step = 500000; in prepare_default_config()
143 config->cycles = 5; in prepare_default_config()
144 config->rounds = 50; in prepare_default_config()
145 config->cpu = 0; in prepare_default_config()
146 config->prio = SCHED_HIGH; in prepare_default_config()
[all …]
Dsystem.c139 void prepare_user(const struct config *config) in prepare_user() argument
145 for (round = 0; round < config->rounds; round++) { in prepare_user()
146 sleep_time += 2 * config->cycles * in prepare_user()
147 (config->sleep + config->sleep_step * round); in prepare_user()
148 load_time += 2 * config->cycles * in prepare_user()
149 (config->load + config->load_step * round) + in prepare_user()
150 (config->load + config->load_step * round * 4); in prepare_user()
153 if (config->verbose || config->output != stdout) in prepare_user()
165 void prepare_system(const struct config *config) in prepare_system() argument
167 if (config->verbose) in prepare_system()
[all …]
/Linux-v4.19/kernel/
DKconfig.locks4 config ARCH_INLINE_SPIN_TRYLOCK
7 config ARCH_INLINE_SPIN_TRYLOCK_BH
10 config ARCH_INLINE_SPIN_LOCK
13 config ARCH_INLINE_SPIN_LOCK_BH
16 config ARCH_INLINE_SPIN_LOCK_IRQ
19 config ARCH_INLINE_SPIN_LOCK_IRQSAVE
22 config ARCH_INLINE_SPIN_UNLOCK
25 config ARCH_INLINE_SPIN_UNLOCK_BH
28 config ARCH_INLINE_SPIN_UNLOCK_IRQ
31 config ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
[all …]
/Linux-v4.19/drivers/rtc/
Drtc-spear.c88 static inline void spear_rtc_clear_interrupt(struct spear_rtc_config *config) in spear_rtc_clear_interrupt() argument
93 spin_lock_irqsave(&config->lock, flags); in spear_rtc_clear_interrupt()
94 val = readl(config->ioaddr + STATUS_REG); in spear_rtc_clear_interrupt()
96 writel(val, config->ioaddr + STATUS_REG); in spear_rtc_clear_interrupt()
97 spin_unlock_irqrestore(&config->lock, flags); in spear_rtc_clear_interrupt()
100 static inline void spear_rtc_enable_interrupt(struct spear_rtc_config *config) in spear_rtc_enable_interrupt() argument
104 val = readl(config->ioaddr + CTRL_REG); in spear_rtc_enable_interrupt()
106 spear_rtc_clear_interrupt(config); in spear_rtc_enable_interrupt()
108 writel(val, config->ioaddr + CTRL_REG); in spear_rtc_enable_interrupt()
112 static inline void spear_rtc_disable_interrupt(struct spear_rtc_config *config) in spear_rtc_disable_interrupt() argument
[all …]
Drtc-da9063.c77 const struct da9063_compatible_rtc_regmap *config; member
177 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_data_to_tm() local
179 tm->tm_sec = data[RTC_SEC] & config->rtc_count_sec_mask; in da9063_data_to_tm()
180 tm->tm_min = data[RTC_MIN] & config->rtc_count_min_mask; in da9063_data_to_tm()
181 tm->tm_hour = data[RTC_HOUR] & config->rtc_count_hour_mask; in da9063_data_to_tm()
182 tm->tm_mday = data[RTC_DAY] & config->rtc_count_day_mask; in da9063_data_to_tm()
184 config->rtc_count_month_mask); in da9063_data_to_tm()
186 config->rtc_count_year_mask); in da9063_data_to_tm()
192 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_tm_to_data() local
194 data[RTC_SEC] = tm->tm_sec & config->rtc_count_sec_mask; in da9063_tm_to_data()
[all …]
/Linux-v4.19/drivers/staging/sm750fb/
Dddk750_sii164.c125 unsigned char config; in sii164InitChip() local
143 config = SII164_CONFIGURATION_LATCH_FALLING; in sii164InitChip()
145 config = SII164_CONFIGURATION_LATCH_RISING; in sii164InitChip()
149 config |= SII164_CONFIGURATION_BUS_12BITS; in sii164InitChip()
151 config |= SII164_CONFIGURATION_BUS_24BITS; in sii164InitChip()
155 config |= SII164_CONFIGURATION_CLOCK_SINGLE; in sii164InitChip()
157 config |= SII164_CONFIGURATION_CLOCK_DUAL; in sii164InitChip()
161 config |= SII164_CONFIGURATION_HSYNC_FORCE_LOW; in sii164InitChip()
163 config |= SII164_CONFIGURATION_HSYNC_AS_IS; in sii164InitChip()
167 config |= SII164_CONFIGURATION_VSYNC_FORCE_LOW; in sii164InitChip()
[all …]
/Linux-v4.19/arch/arm/mach-imx/devices/
DKconfig1 config IMX_HAVE_PLATFORM_FEC
5 config IMX_HAVE_PLATFORM_FLEXCAN
8 config IMX_HAVE_PLATFORM_FSL_USB2_UDC
11 config IMX_HAVE_PLATFORM_GPIO_KEYS
14 config IMX_HAVE_PLATFORM_IMX21_HCD
17 config IMX_HAVE_PLATFORM_IMX27_CODA
21 config IMX_HAVE_PLATFORM_IMX2_WDT
24 config IMX_HAVE_PLATFORM_IMX_FB
27 config IMX_HAVE_PLATFORM_IMX_I2C
30 config IMX_HAVE_PLATFORM_IMX_KEYPAD
[all …]
/Linux-v4.19/lib/
Dtest_kmod.c131 struct test_config config; member
182 struct test_config *config = &test_dev->config; in kmod_test_done_check() local
187 if (test_dev->done == config->num_threads) { in kmod_test_done_check()
198 struct test_config *config = &test_dev->config; in test_kmod_put_module() local
203 switch (config->test_case) { in test_kmod_put_module()
221 struct test_config *config = &test_dev->config; in run_request() local
223 switch (config->test_case) { in run_request()
225 info->ret_sync = request_module("%s", config->test_driver); in run_request()
228 info->fs_sync = get_fs_type(config->test_fs); in run_request()
252 struct test_config *config = &test_dev->config; in tally_work_test() local
[all …]
/Linux-v4.19/sound/soc/codecs/
DKconfig5 config SND_SOC_I2C_AND_SPI
13 config SND_SOC_ALL_CODECS
248 config SND_SOC_88PM860X
251 config SND_SOC_ARIZONA
264 config SND_SOC_WM_HUBS
269 config SND_SOC_WM_ADSP
281 config SND_SOC_AB8500_CODEC
284 config SND_SOC_AC97_CODEC
289 config SND_SOC_AD1836
292 config SND_SOC_AD193X
[all …]
/Linux-v4.19/drivers/regulator/
Dfixed.c53 struct fixed_voltage_config *config; in of_get_fixed_voltage_config() local
57 config = devm_kzalloc(dev, sizeof(struct fixed_voltage_config), in of_get_fixed_voltage_config()
59 if (!config) in of_get_fixed_voltage_config()
62 config->init_data = of_get_regulator_init_data(dev, dev->of_node, desc); in of_get_fixed_voltage_config()
63 if (!config->init_data) in of_get_fixed_voltage_config()
66 init_data = config->init_data; in of_get_fixed_voltage_config()
69 config->supply_name = init_data->constraints.name; in of_get_fixed_voltage_config()
71 config->microvolts = init_data->constraints.min_uV; in of_get_fixed_voltage_config()
79 config->enabled_at_boot = true; in of_get_fixed_voltage_config()
81 config->gpio = of_get_named_gpio(np, "gpio", 0); in of_get_fixed_voltage_config()
[all …]
Dgpio-regulator.c139 struct gpio_regulator_config *config; in of_get_gpio_regulator_config() local
144 config = devm_kzalloc(dev, in of_get_gpio_regulator_config()
147 if (!config) in of_get_gpio_regulator_config()
150 config->init_data = of_get_regulator_init_data(dev, np, desc); in of_get_gpio_regulator_config()
151 if (!config->init_data) in of_get_gpio_regulator_config()
154 config->supply_name = config->init_data->constraints.name; in of_get_gpio_regulator_config()
157 config->enable_high = true; in of_get_gpio_regulator_config()
160 config->enabled_at_boot = true; in of_get_gpio_regulator_config()
162 of_property_read_u32(np, "startup-delay-us", &config->startup_delay); in of_get_gpio_regulator_config()
164 config->enable_gpio = of_get_named_gpio(np, "enable-gpio", 0); in of_get_gpio_regulator_config()
[all …]
/Linux-v4.19/arch/mips/cavium-octeon/executive/
Dcvmx-pko.c77 union cvmx_pko_mem_iqueue_ptrs config; in __cvmx_pko_iport_config() local
81 config.u64 = 0; in __cvmx_pko_iport_config()
82 config.s.index = queue; in __cvmx_pko_iport_config()
83 config.s.qid = base_queue + queue; in __cvmx_pko_iport_config()
84 config.s.ipid = pko_port; in __cvmx_pko_iport_config()
85 config.s.tail = (queue == (num_queues - 1)); in __cvmx_pko_iport_config()
86 config.s.s_tail = (queue == static_priority_end); in __cvmx_pko_iport_config()
87 config.s.static_p = (static_priority_base >= 0); in __cvmx_pko_iport_config()
88 config.s.static_q = (queue <= static_priority_end); in __cvmx_pko_iport_config()
89 config.s.qos_mask = 0xff; in __cvmx_pko_iport_config()
[all …]
/Linux-v4.19/scripts/
Ddiffconfig51 def print_config(op, config, value, new_value): argument
57 print("# CONFIG_%s is not set" % config)
59 print("CONFIG_%s=%s" % (config, new_value))
62 print("-%s %s" % (config, value))
64 print("+%s %s" % (config, new_value))
66 print(" %s %s -> %s" % (config, value, new_value))
106 for config in a:
107 if config not in b:
108 old.append(config)
110 for config in old:
[all …]
/Linux-v4.19/drivers/irqchip/
DKconfig3 config IRQCHIP
7 config ARM_GIC
14 config ARM_GIC_PM
20 config ARM_GIC_MAX_NR
25 config ARM_GIC_V2M
31 config GIC_NON_BANKED
34 config ARM_GIC_V3
42 config ARM_GIC_V3_ITS
47 config ARM_GIC_V3_ITS_PCI
54 config ARM_GIC_V3_ITS_FSL_MC
[all …]
/Linux-v4.19/drivers/pinctrl/sh-pfc/
DKconfig7 config PINCTRL_SH_PFC
15 config PINCTRL_SH_PFC_GPIO
22 config PINCTRL_PFC_EMEV2
27 config PINCTRL_PFC_R8A73A4
32 config PINCTRL_PFC_R8A7740
37 config PINCTRL_PFC_R8A7743
42 config PINCTRL_PFC_R8A7745
47 config PINCTRL_PFC_R8A77470
52 config PINCTRL_PFC_R8A7778
57 config PINCTRL_PFC_R8A7779
[all …]
/Linux-v4.19/include/linux/
Dregmap.h520 const struct regmap_config *config,
524 const struct regmap_config *config,
528 const struct regmap_config *config,
532 const struct regmap_config *config,
536 const struct regmap_config *config,
540 const struct regmap_config *config,
544 const struct regmap_config *config,
548 const struct regmap_config *config,
553 const struct regmap_config *config,
557 const struct regmap_config *config,
[all …]
/Linux-v4.19/virt/kvm/
DKconfig4 config HAVE_KVM
7 config HAVE_KVM_IRQCHIP
10 config HAVE_KVM_IRQFD
13 config HAVE_KVM_IRQ_ROUTING
16 config HAVE_KVM_EVENTFD
20 config KVM_MMIO
23 config KVM_ASYNC_PF
27 config KVM_ASYNC_PF_SYNC
30 config HAVE_KVM_MSI
33 config HAVE_KVM_CPU_RELAX_INTERCEPT
[all …]
/Linux-v4.19/arch/arm/mach-omap1/
Dusb.c62 omap_otg_init(struct omap_usb_config *config) in omap_otg_init() argument
77 if (config->pins[0] > 2) /* alt pingroup 2 */ in omap_otg_init()
79 syscon |= config->usb0_init(config->pins[0], is_usb0_device(config)); in omap_otg_init()
80 syscon |= config->usb1_init(config->pins[1]); in omap_otg_init()
81 syscon |= config->usb2_init(config->pins[2], alt_pingroup); in omap_otg_init()
85 syscon = config->hmc_mode; in omap_otg_init()
88 if (config->otg) in omap_otg_init()
96 printk("USB: hmc %d", config->hmc_mode); in omap_otg_init()
98 pr_cont(", usb2 alt %d wires", config->pins[2]); in omap_otg_init()
99 else if (config->pins[0]) in omap_otg_init()
[all …]
/Linux-v4.19/drivers/mmc/host/
Dmmci_qcom_dml.c59 u32 config; in dml_start_xfer() local
65 config = readl_relaxed(base + DML_CONFIG); in dml_start_xfer()
66 config = (config & ~PRODUCER_CRCI_MSK) | PRODUCER_CRCI_X_SEL; in dml_start_xfer()
67 config = (config & ~CONSUMER_CRCI_MSK) | CONSUMER_CRCI_DISABLE; in dml_start_xfer()
68 writel_relaxed(config, base + DML_CONFIG); in dml_start_xfer()
77 config = readl_relaxed(base + DML_CONFIG); in dml_start_xfer()
78 config |= PRODUCER_TRANS_END_EN; in dml_start_xfer()
79 writel_relaxed(config, base + DML_CONFIG); in dml_start_xfer()
85 config = readl_relaxed(base + DML_CONFIG); in dml_start_xfer()
86 config = (config & ~CONSUMER_CRCI_MSK) | CONSUMER_CRCI_X_SEL; in dml_start_xfer()
[all …]
/Linux-v4.19/fs/fscache/
Dobject-list.c24 unsigned long config; /* display configuration */ member
169 unsigned long config = data->config; in fscache_objlist_show() local
177 if (config & (FSCACHE_OBJLIST_CONFIG_KEY | in fscache_objlist_show()
180 if (config & FSCACHE_OBJLIST_CONFIG_KEY) in fscache_objlist_show()
182 if ((config & (FSCACHE_OBJLIST_CONFIG_KEY | in fscache_objlist_show()
186 if (config & FSCACHE_OBJLIST_CONFIG_AUX) in fscache_objlist_show()
196 if (config & (FSCACHE_OBJLIST_CONFIG_KEY | in fscache_objlist_show()
209 if (!(config & yes)) \ in fscache_objlist_show()
212 if (!(config & no)) \ in fscache_objlist_show()
218 if (~config) { in fscache_objlist_show()
[all …]

12345678910>>...123