/Linux-v5.10/drivers/hwtracing/coresight/ |
D | coresight-etm4x-sysfs.c | 16 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 …]
|
D | coresight-etm3x-sysfs.c | 72 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 …]
|
/Linux-v5.10/tools/power/cpupower/bench/ |
D | main.c | 67 struct config *config = NULL; in main() local 69 config = prepare_default_config(); in main() 71 if (config == NULL) in main() 82 if (config->output != NULL) in main() 83 fclose(config->output); in main() 85 config->output = prepare_output(optarg); in main() 87 if (config->output == NULL) in main() 93 sscanf(optarg, "%li", &config->sleep); in main() 97 sscanf(optarg, "%li", &config->load); in main() 101 sscanf(optarg, "%u", &config->cpu); in main() [all …]
|
D | benchmark.c | 17 if (config->output != stdout) { \ 32 unsigned int calculate_timespace(long load, struct config *config) in calculate_timespace() argument 40 if (config->verbose) in calculate_timespace() 62 if (config->verbose) in calculate_timespace() 78 void start_benchmark(struct config *config) in start_benchmark() argument 87 sleep_time = config->sleep; in start_benchmark() 88 load_time = config->load; in start_benchmark() 91 for (_round = 1; _round <= config->rounds; _round++) in start_benchmark() 92 total_time += _round * (config->sleep + config->load); in start_benchmark() 95 for (_round = 0; _round < config->rounds; _round++) { in start_benchmark() [all …]
|
D | parse.c | 120 struct config *prepare_default_config() in prepare_default_config() 122 struct config *config = malloc(sizeof(struct config)); in prepare_default_config() local 126 config->sleep = 500000; in prepare_default_config() 127 config->load = 500000; in prepare_default_config() 128 config->sleep_step = 500000; in prepare_default_config() 129 config->load_step = 500000; in prepare_default_config() 130 config->cycles = 5; in prepare_default_config() 131 config->rounds = 50; in prepare_default_config() 132 config->cpu = 0; in prepare_default_config() 133 config->prio = SCHED_HIGH; in prepare_default_config() [all …]
|
D | system.c | 126 void prepare_user(const struct config *config) in prepare_user() argument 132 for (round = 0; round < config->rounds; round++) { in prepare_user() 133 sleep_time += 2 * config->cycles * in prepare_user() 134 (config->sleep + config->sleep_step * round); in prepare_user() 135 load_time += 2 * config->cycles * in prepare_user() 136 (config->load + config->load_step * round) + in prepare_user() 137 (config->load + config->load_step * round * 4); in prepare_user() 140 if (config->verbose || config->output != stdout) in prepare_user() 152 void prepare_system(const struct config *config) in prepare_system() argument 154 if (config->verbose) in prepare_system() [all …]
|
/Linux-v5.10/kernel/ |
D | Kconfig.locks | 5 config ARCH_INLINE_SPIN_TRYLOCK 8 config ARCH_INLINE_SPIN_TRYLOCK_BH 11 config ARCH_INLINE_SPIN_LOCK 14 config ARCH_INLINE_SPIN_LOCK_BH 17 config ARCH_INLINE_SPIN_LOCK_IRQ 20 config ARCH_INLINE_SPIN_LOCK_IRQSAVE 23 config ARCH_INLINE_SPIN_UNLOCK 26 config ARCH_INLINE_SPIN_UNLOCK_BH 29 config ARCH_INLINE_SPIN_UNLOCK_IRQ 32 config ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE [all …]
|
/Linux-v5.10/tools/perf/util/ |
D | stat-display.c | 24 static void print_running(struct perf_stat_config *config, in print_running() argument 27 if (config->csv_output) { in print_running() 28 fprintf(config->output, "%s%" PRIu64 "%s%.2f", in print_running() 29 config->csv_sep, in print_running() 31 config->csv_sep, in print_running() 34 fprintf(config->output, " (%.2f%%)", 100.0 * run / ena); in print_running() 38 static void print_noise_pct(struct perf_stat_config *config, in print_noise_pct() argument 43 if (config->csv_output) in print_noise_pct() 44 fprintf(config->output, "%s%.2f%%", config->csv_sep, pct); in print_noise_pct() 46 fprintf(config->output, " ( +-%6.2f%% )", pct); in print_noise_pct() [all …]
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/css_2401_system/hive/ |
D | ia_css_isp_params.c | 1807 struct ia_css_dp_config *config) in ia_css_get_dp_config() argument 1809 if (!config) in ia_css_get_dp_config() 1815 config); in ia_css_get_dp_config() 1817 *config = params->dp_config; in ia_css_get_dp_config() 1821 ia_css_dp_debug_dtrace(config, IA_CSS_DEBUG_TRACE); in ia_css_get_dp_config() 1828 const struct ia_css_dp_config *config) in ia_css_set_dp_config() argument 1830 if (!config) in ia_css_set_dp_config() 1835 ia_css_dp_debug_dtrace(config, IA_CSS_DEBUG_TRACE); in ia_css_set_dp_config() 1836 params->dp_config = *config; in ia_css_set_dp_config() 1846 struct ia_css_wb_config *config) in ia_css_get_wb_config() argument [all …]
|
/Linux-v5.10/drivers/rtc/ |
D | rtc-spear.c | 88 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 …]
|
D | rtc-da9063.c | 69 const struct da9063_compatible_rtc_regmap *config; member 169 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_data_to_tm() local 171 tm->tm_sec = data[RTC_SEC] & config->rtc_count_sec_mask; in da9063_data_to_tm() 172 tm->tm_min = data[RTC_MIN] & config->rtc_count_min_mask; in da9063_data_to_tm() 173 tm->tm_hour = data[RTC_HOUR] & config->rtc_count_hour_mask; in da9063_data_to_tm() 174 tm->tm_mday = data[RTC_DAY] & config->rtc_count_day_mask; in da9063_data_to_tm() 176 config->rtc_count_month_mask); in da9063_data_to_tm() 178 config->rtc_count_year_mask); in da9063_data_to_tm() 184 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_tm_to_data() local 186 data[RTC_SEC] = tm->tm_sec & config->rtc_count_sec_mask; in da9063_tm_to_data() [all …]
|
/Linux-v5.10/drivers/staging/sm750fb/ |
D | ddk750_sii164.c | 132 unsigned char config; in sii164InitChip() local 151 config = SII164_CONFIGURATION_LATCH_FALLING; in sii164InitChip() 153 config = SII164_CONFIGURATION_LATCH_RISING; in sii164InitChip() 157 config |= SII164_CONFIGURATION_BUS_12BITS; in sii164InitChip() 159 config |= SII164_CONFIGURATION_BUS_24BITS; in sii164InitChip() 163 config |= SII164_CONFIGURATION_CLOCK_SINGLE; in sii164InitChip() 165 config |= SII164_CONFIGURATION_CLOCK_DUAL; in sii164InitChip() 169 config |= SII164_CONFIGURATION_HSYNC_FORCE_LOW; in sii164InitChip() 171 config |= SII164_CONFIGURATION_HSYNC_AS_IS; in sii164InitChip() 175 config |= SII164_CONFIGURATION_VSYNC_FORCE_LOW; in sii164InitChip() [all …]
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/css_2400_system/hive/ |
D | ia_css_isp_params.c | 1786 struct ia_css_dp_config *config) in ia_css_get_dp_config() argument 1788 if (!config) in ia_css_get_dp_config() 1794 config); in ia_css_get_dp_config() 1796 *config = params->dp_config; in ia_css_get_dp_config() 1800 ia_css_dp_debug_dtrace(config, IA_CSS_DEBUG_TRACE); in ia_css_get_dp_config() 1807 const struct ia_css_dp_config *config) in ia_css_set_dp_config() argument 1809 if (!config) in ia_css_set_dp_config() 1814 ia_css_dp_debug_dtrace(config, IA_CSS_DEBUG_TRACE); in ia_css_set_dp_config() 1815 params->dp_config = *config; in ia_css_set_dp_config() 1827 struct ia_css_wb_config *config) in ia_css_get_wb_config() argument [all …]
|
/Linux-v5.10/lib/ |
D | test_kmod.c | 131 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-v5.10/sound/soc/codecs/ |
D | Kconfig | 6 config SND_SOC_I2C_AND_SPI 14 config SND_SOC_ALL_CODECS 293 config SND_SOC_88PM860X 297 config SND_SOC_ARIZONA 310 config SND_SOC_WM_HUBS 315 config SND_SOC_WM_ADSP 329 config SND_SOC_AB8500_CODEC 333 config SND_SOC_AC97_CODEC 338 config SND_SOC_AD1836 342 config SND_SOC_AD193X [all …]
|
/Linux-v5.10/arch/mips/cavium-octeon/executive/ |
D | cvmx-pko.c | 77 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-v5.10/scripts/ |
D | diffconfig | 51 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-v5.10/drivers/thunderbolt/ |
D | nvm.c | 59 struct nvmem_config config; in tb_nvm_add_active() local 62 memset(&config, 0, sizeof(config)); in tb_nvm_add_active() 64 config.name = "nvm_active"; in tb_nvm_add_active() 65 config.reg_read = reg_read; in tb_nvm_add_active() 66 config.read_only = true; in tb_nvm_add_active() 67 config.id = nvm->id; in tb_nvm_add_active() 68 config.stride = 4; in tb_nvm_add_active() 69 config.word_size = 4; in tb_nvm_add_active() 70 config.size = size; in tb_nvm_add_active() 71 config.dev = nvm->dev; in tb_nvm_add_active() [all …]
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/ |
D | ia_css_isp_params.h | 162 const struct ia_css_dp_config *config); 168 const struct ia_css_wb_config *config); 174 const struct ia_css_tnr_config *config); 180 const struct ia_css_ob_config *config); 186 const struct ia_css_de_config *config); 192 const struct ia_css_anr_config *config); 198 const struct ia_css_anr_thres *config); 204 const struct ia_css_ce_config *config); 210 const struct ia_css_ecd_config *config); 216 const struct ia_css_ynr_config *config); [all …]
|
/Linux-v5.10/virt/kvm/ |
D | Kconfig | 4 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-v5.10/drivers/net/wireless/ath/ath11k/ |
D | hw.c | 35 struct target_resource_config *config) in ath11k_init_wmi_config_qca6390() argument 37 config->num_vdevs = 4; in ath11k_init_wmi_config_qca6390() 38 config->num_peers = 16; in ath11k_init_wmi_config_qca6390() 39 config->num_tids = 32; in ath11k_init_wmi_config_qca6390() 41 config->num_offload_peers = 3; in ath11k_init_wmi_config_qca6390() 42 config->num_offload_reorder_buffs = 3; in ath11k_init_wmi_config_qca6390() 43 config->num_peer_keys = TARGET_NUM_PEER_KEYS; in ath11k_init_wmi_config_qca6390() 44 config->ast_skid_limit = TARGET_AST_SKID_LIMIT; in ath11k_init_wmi_config_qca6390() 45 config->tx_chain_mask = (1 << ab->target_caps.num_rf_chains) - 1; in ath11k_init_wmi_config_qca6390() 46 config->rx_chain_mask = (1 << ab->target_caps.num_rf_chains) - 1; in ath11k_init_wmi_config_qca6390() [all …]
|
/Linux-v5.10/arch/arm/mach-omap1/ |
D | usb.c | 50 omap_otg_init(struct omap_usb_config *config) in omap_otg_init() argument 65 if (config->pins[0] > 2) /* alt pingroup 2 */ in omap_otg_init() 67 syscon |= config->usb0_init(config->pins[0], is_usb0_device(config)); in omap_otg_init() 68 syscon |= config->usb1_init(config->pins[1]); in omap_otg_init() 69 syscon |= config->usb2_init(config->pins[2], alt_pingroup); in omap_otg_init() 73 syscon = config->hmc_mode; in omap_otg_init() 76 if (config->otg) in omap_otg_init() 84 printk("USB: hmc %d", config->hmc_mode); in omap_otg_init() 86 pr_cont(", usb2 alt %d wires", config->pins[2]); in omap_otg_init() 87 else if (config->pins[0]) in omap_otg_init() [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | ste-dbx5x0-pinctrl.dtsi | 18 ste,config = <&in_pu>; 22 ste,config = <&out_hi>; 29 ste,config = <&slpm_in_wkup_pdis>; 33 ste,config = <&slpm_out_hi_wkup_pdis>; 37 ste,config = <&slpm_out_wkup_pdis>; 50 ste,config = <&in_pu>; 54 ste,config = <&out_hi>; 61 ste,config = <&slpm_in_wkup_pdis>; 65 ste,config = <&slpm_out_wkup_pdis>; 76 ste,config = <&in_pu>; [all …]
|
/Linux-v5.10/drivers/iio/adc/ |
D | mcp3422.c | 41 #define MCP3422_CHANNEL(config) (((config) & MCP3422_CHANNEL_MASK) >> 5) argument 42 #define MCP3422_PGA(config) ((config) & MCP3422_PGA_MASK) argument 43 #define MCP3422_SAMPLE_RATE(config) (((config) & MCP3422_SRATE_MASK) >> 2) argument 90 u8 config; member 101 adc->config = newconfig; in mcp3422_update_config() 108 static int mcp3422_read(struct mcp3422 *adc, int *value, u8 *config) in mcp3422_read() argument 111 u8 sample_rate = MCP3422_SAMPLE_RATE(adc->config); in mcp3422_read() 118 *config = buf[3]; in mcp3422_read() 122 *config = buf[2]; in mcp3422_read() 134 u8 config; in mcp3422_read_channel() local [all …]
|
/Linux-v5.10/fs/fscache/ |
D | object-list.c | 21 unsigned long config; /* display configuration */ member 166 unsigned long config = data->config; in fscache_objlist_show() local 174 if (config & (FSCACHE_OBJLIST_CONFIG_KEY | in fscache_objlist_show() 177 if (config & FSCACHE_OBJLIST_CONFIG_KEY) in fscache_objlist_show() 179 if ((config & (FSCACHE_OBJLIST_CONFIG_KEY | in fscache_objlist_show() 183 if (config & FSCACHE_OBJLIST_CONFIG_AUX) in fscache_objlist_show() 193 if (config & (FSCACHE_OBJLIST_CONFIG_KEY | in fscache_objlist_show() 206 if (!(config & yes)) \ in fscache_objlist_show() 209 if (!(config & no)) \ in fscache_objlist_show() 215 if (~config) { in fscache_objlist_show() [all …]
|