/linux-6.12.1/tools/perf/util/ |
D | stat-display.c | 74 static void print_running_std(struct perf_stat_config *config, u64 run, u64 ena) in print_running_std() argument 77 fprintf(config->output, " (%.2f%%)", 100.0 * run / ena); in print_running_std() 80 static void print_running_csv(struct perf_stat_config *config, u64 run, u64 ena) in print_running_csv() argument 86 fprintf(config->output, "%s%" PRIu64 "%s%.2f", in print_running_csv() 87 config->csv_sep, run, config->csv_sep, enabled_percent); in print_running_csv() 90 static void print_running_json(struct perf_stat_config *config, u64 run, u64 ena) in print_running_json() argument 96 fprintf(config->output, "\"event-runtime\" : %" PRIu64 ", \"pcnt-running\" : %.2f, ", in print_running_json() 100 static void print_running(struct perf_stat_config *config, in print_running() argument 103 if (config->json_output) { in print_running() 105 print_running_json(config, run, ena); in print_running() [all …]
|
/linux-6.12.1/drivers/hwtracing/coresight/ |
D | coresight-etm4x-sysfs.c | 17 struct etmv4_config *config = &drvdata->config; in etm4_set_mode_exclude() local 19 idx = config->addr_idx; in etm4_set_mode_exclude() 25 if (FIELD_GET(TRCACATRn_TYPE_MASK, config->addr_acc[idx]) == TRCACATRn_TYPE_ADDR) { in etm4_set_mode_exclude() 34 if (config->addr_type[idx] != ETM_ADDR_TYPE_RANGE || in etm4_set_mode_exclude() 35 config->addr_type[idx + 1] != ETM_ADDR_TYPE_RANGE) in etm4_set_mode_exclude() 43 config->viiectlr |= BIT(idx / 2 + 16); in etm4_set_mode_exclude() 44 config->viiectlr &= ~BIT(idx / 2); in etm4_set_mode_exclude() 50 config->viiectlr |= BIT(idx / 2); in etm4_set_mode_exclude() 51 config->viiectlr &= ~BIT(idx / 2 + 16); in etm4_set_mode_exclude() 172 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() 101 struct etm_config *config = &drvdata->config; in mode_show() local 103 val = config->mode; in mode_show() 114 struct etm_config *config = &drvdata->config; in mode_store() local 121 config->mode = val & ETM_MODE_ALL; in mode_store() [all …]
|
/linux-6.12.1/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-6.12.1/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-6.12.1/tools/perf/tests/shell/ |
D | daemon.sh | 115 local config=$1 118 line=`perf daemon --config ${config} -x: | head -1` 126 perf daemon stop --config ${config} 134 local config=$1 137 perf daemon start --config ${config} 146 state=`perf daemon ping --config ${config} --session ${session} | awk '{ print $1 }'` 151 daemon_exit ${config} 161 local config 162 config=$(mktemp /tmp/perf.daemon.config.XXX) 166 cat <<EOF > ${config} [all …]
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/ |
D | ia_css_isp_params.c | 1784 struct ia_css_dp_config *config) in ia_css_get_dp_config() argument 1786 if (!config) in ia_css_get_dp_config() 1792 config); in ia_css_get_dp_config() 1794 *config = params->dp_config; in ia_css_get_dp_config() 1798 ia_css_dp_debug_dtrace(config, IA_CSS_DEBUG_TRACE); in ia_css_get_dp_config() 1805 const struct ia_css_dp_config *config) in ia_css_set_dp_config() argument 1807 if (!config) in ia_css_set_dp_config() 1812 ia_css_dp_debug_dtrace(config, IA_CSS_DEBUG_TRACE); in ia_css_set_dp_config() 1813 params->dp_config = *config; in ia_css_set_dp_config() 1823 struct ia_css_wb_config *config) in ia_css_get_wb_config() argument [all …]
|
D | ia_css_isp_params.h | 159 const struct ia_css_dp_config *config); 165 const struct ia_css_wb_config *config); 171 const struct ia_css_tnr_config *config); 177 const struct ia_css_ob_config *config); 183 const struct ia_css_de_config *config); 189 const struct ia_css_anr_config *config); 195 const struct ia_css_anr_thres *config); 201 const struct ia_css_ce_config *config); 207 const struct ia_css_ecd_config *config); 213 const struct ia_css_ynr_config *config); [all …]
|
/linux-6.12.1/drivers/rtc/ |
D | rtc-spear.c | 85 static inline void spear_rtc_clear_interrupt(struct spear_rtc_config *config) in spear_rtc_clear_interrupt() argument 90 spin_lock_irqsave(&config->lock, flags); in spear_rtc_clear_interrupt() 91 val = readl(config->ioaddr + STATUS_REG); in spear_rtc_clear_interrupt() 93 writel(val, config->ioaddr + STATUS_REG); in spear_rtc_clear_interrupt() 94 spin_unlock_irqrestore(&config->lock, flags); in spear_rtc_clear_interrupt() 97 static inline void spear_rtc_enable_interrupt(struct spear_rtc_config *config) in spear_rtc_enable_interrupt() argument 101 val = readl(config->ioaddr + CTRL_REG); in spear_rtc_enable_interrupt() 103 spear_rtc_clear_interrupt(config); in spear_rtc_enable_interrupt() 105 writel(val, config->ioaddr + CTRL_REG); in spear_rtc_enable_interrupt() 109 static inline void spear_rtc_disable_interrupt(struct spear_rtc_config *config) in spear_rtc_disable_interrupt() argument [all …]
|
D | rtc-da9063.c | 70 const struct da9063_compatible_rtc_regmap *config; member 170 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_data_to_tm() local 172 tm->tm_sec = data[RTC_SEC] & config->rtc_count_sec_mask; in da9063_data_to_tm() 173 tm->tm_min = data[RTC_MIN] & config->rtc_count_min_mask; in da9063_data_to_tm() 174 tm->tm_hour = data[RTC_HOUR] & config->rtc_count_hour_mask; in da9063_data_to_tm() 175 tm->tm_mday = data[RTC_DAY] & config->rtc_count_day_mask; in da9063_data_to_tm() 177 config->rtc_count_month_mask); in da9063_data_to_tm() 179 config->rtc_count_year_mask); in da9063_data_to_tm() 185 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_tm_to_data() local 187 data[RTC_SEC] = tm->tm_sec & config->rtc_count_sec_mask; in da9063_tm_to_data() [all …]
|
/linux-6.12.1/drivers/staging/sm750fb/ |
D | ddk750_sii164.c | 132 unsigned char config; in sii164_init_chip() local 151 config = SII164_CONFIGURATION_LATCH_FALLING; in sii164_init_chip() 153 config = SII164_CONFIGURATION_LATCH_RISING; in sii164_init_chip() 157 config |= SII164_CONFIGURATION_BUS_12BITS; in sii164_init_chip() 159 config |= SII164_CONFIGURATION_BUS_24BITS; in sii164_init_chip() 163 config |= SII164_CONFIGURATION_CLOCK_SINGLE; in sii164_init_chip() 165 config |= SII164_CONFIGURATION_CLOCK_DUAL; in sii164_init_chip() 169 config |= SII164_CONFIGURATION_HSYNC_FORCE_LOW; in sii164_init_chip() 171 config |= SII164_CONFIGURATION_HSYNC_AS_IS; in sii164_init_chip() 175 config |= SII164_CONFIGURATION_VSYNC_FORCE_LOW; in sii164_init_chip() [all …]
|
/linux-6.12.1/lib/ |
D | test_kmod.c | 124 struct test_config config; member 175 struct test_config *config = &test_dev->config; in kmod_test_done_check() local 180 if (test_dev->done == config->num_threads) { in kmod_test_done_check() 191 struct test_config *config = &test_dev->config; in test_kmod_put_module() local 196 switch (config->test_case) { in test_kmod_put_module() 214 struct test_config *config = &test_dev->config; in run_request() local 216 switch (config->test_case) { in run_request() 218 info->ret_sync = request_module("%s", config->test_driver); in run_request() 221 info->fs_sync = get_fs_type(config->test_fs); in run_request() 245 struct test_config *config = &test_dev->config; in tally_work_test() local [all …]
|
/linux-6.12.1/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-ram.c | 11 static inline u8 can_ram_clamp(const struct can_ram_config *config, in can_ram_clamp() argument 17 max = min_t(u8, obj->max, obj->fifo_num * config->fifo_depth); in can_ram_clamp() 22 can_ram_rounddown_pow_of_two(const struct can_ram_config *config, in can_ram_rounddown_pow_of_two() argument 29 val = can_ram_clamp(config, obj, val); in can_ram_rounddown_pow_of_two() 38 ret = min_t(u8, coalesce * 2, config->fifo_depth); in can_ram_rounddown_pow_of_two() 47 config->fifo_depth); in can_ram_rounddown_pow_of_two() 61 const struct can_ram_config *config, in can_ram_get_layout() argument 71 num_tx = config->tx.def[fd_mode]; in can_ram_get_layout() 72 num_tx = can_ram_rounddown_pow_of_two(config, &config->tx, 0, num_tx); in can_ram_get_layout() 74 ram_free = config->size; in can_ram_get_layout() [all …]
|
/linux-6.12.1/fs/overlayfs/ |
D | params.c | 78 static const char *ovl_uuid_mode(struct ovl_config *config) in ovl_uuid_mode() argument 80 return ovl_parameter_uuid[config->uuid].name; in ovl_uuid_mode() 95 const char *ovl_xino_mode(struct ovl_config *config) in ovl_xino_mode() argument 97 return ovl_parameter_xino[config->xino].name; in ovl_xino_mode() 113 static const char *ovl_redirect_mode(struct ovl_config *config) in ovl_redirect_mode() argument 115 return ovl_parameter_redirect_dir[config->redirect_mode].name; in ovl_redirect_mode() 132 static const char *ovl_verity_mode(struct ovl_config *config) in ovl_verity_mode() argument 134 return ovl_parameter_verity[config->verity_mode].name; in ovl_verity_mode() 340 struct ovl_config *config = &ofs->config; in ovl_add_layer() local 346 swap(config->workdir, *pname); in ovl_add_layer() [all …]
|
/linux-6.12.1/virt/kvm/ |
D | Kconfig | 4 config KVM_COMMON 10 config HAVE_KVM_PFNCACHE 13 config HAVE_KVM_IRQCHIP 16 config HAVE_KVM_IRQ_ROUTING 19 config HAVE_KVM_DIRTY_RING 25 config HAVE_KVM_DIRTY_RING_TSO 32 config HAVE_KVM_DIRTY_RING_ACQ_REL 38 config NEED_KVM_DIRTY_RING_WITH_BITMAP 42 config KVM_MMIO 45 config KVM_ASYNC_PF [all …]
|
/linux-6.12.1/tools/testing/selftests/ptrace/ |
D | get_set_sud.c | 20 struct ptrace_sud_config config; in TEST() local 37 memset(&config, 0xff, sizeof(config)); in TEST() 38 config.mode = PR_SYS_DISPATCH_ON; in TEST() 41 (void *)sizeof(config), &config); in TEST() 44 ASSERT_EQ(config.mode, PR_SYS_DISPATCH_OFF); in TEST() 45 ASSERT_EQ(config.selector, 0); in TEST() 46 ASSERT_EQ(config.offset, 0); in TEST() 47 ASSERT_EQ(config.len, 0); in TEST() 49 config.mode = PR_SYS_DISPATCH_ON; in TEST() 50 config.selector = 0; in TEST() [all …]
|
/linux-6.12.1/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-6.12.1/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-6.12.1/sound/soc/sof/ |
D | ipc3-topology.c | 393 static void sof_dbg_comp_config(struct snd_soc_component *scomp, struct sof_ipc_comp_config *config) in sof_dbg_comp_config() argument 396 config->periods_sink, config->periods_source, in sof_dbg_comp_config() 397 config->frame_fmt); in sof_dbg_comp_config() 414 host->config.hdr.size = sizeof(host->config); in sof_ipc3_widget_setup_comp_host() 428 ret = sof_update_ipc_object(scomp, &host->config, SOF_COMP_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_host() 429 swidget->num_tuples, sizeof(host->config), 1); in sof_ipc3_widget_setup_comp_host() 434 sof_dbg_comp_config(scomp, &host->config); in sof_ipc3_widget_setup_comp_host() 464 tone->config.hdr.size = sizeof(tone->config); in sof_ipc3_widget_setup_comp_tone() 467 ret = sof_update_ipc_object(scomp, &tone->config, SOF_COMP_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_tone() 468 swidget->num_tuples, sizeof(tone->config), 1); in sof_ipc3_widget_setup_comp_tone() [all …]
|
/linux-6.12.1/tools/perf/tests/attr/ |
D | test-stat-detailed-3 | 1 [config] 11 config=1 17 config=3 23 config=4 29 config=2 35 config=0 42 config=7 49 config=8 56 config=1 63 config=4 [all …]
|
D | test-stat-detailed-2 | 1 [config] 11 config=1 17 config=3 23 config=4 29 config=2 35 config=0 42 config=7 49 config=8 56 config=1 63 config=4 [all …]
|
/linux-6.12.1/include/linux/ |
D | regmap.h | 598 const struct regmap_config *config, 602 const struct regmap_config *config, 606 const struct regmap_config *config, 610 const struct regmap_config *config, 614 const struct regmap_config *config, 618 const struct regmap_config *config, 622 const struct regmap_config *config, 626 const struct regmap_config *config, 630 const struct regmap_config *config, 635 const struct regmap_config *config, [all …]
|