| /linux/tools/power/cpupower/bench/ |
| H A D | parse.h | 8 struct config struct 10 long sleep; /* sleep time in µs */ 11 long load; /* load time in µs */ 12 long sleep_step; /* time value which changes the 14 long load_step; /* time value which changes the 38 int prepare_config(const char *path, struct config *config); argument
|
| /linux/drivers/gpu/drm/vkms/tests/ |
| H A D | vkms_config_test.c | 9 static size_t vkms_config_get_num_planes(struct vkms_config *config) in vkms_config_get_num_planes() 20 static size_t vkms_config_get_num_encoders(struct vkms_config *config) in vkms_config_get_num_encoders() 31 static size_t vkms_config_get_num_connectors(struct vkms_config *config) in vkms_config_get_num_connectors() 42 static struct vkms_config_plane *get_first_plane(struct vkms_config *config) in get_first_plane() 52 static struct vkms_config_crtc *get_first_crtc(struct vkms_config *config) in get_first_crtc() 62 static struct vkms_config_encoder *get_first_encoder(struct vkms_config *config) in get_first_encoder() 72 static struct vkms_config_connector *get_first_connector(struct vkms_config *config) in get_first_connector() 91 struct vkms_config *config; in vkms_config_test_empty_config() local 135 struct vkms_config *config; in vkms_config_test_default_config() local 203 struct vkms_config *config; in vkms_config_test_get_planes() local [all …]
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-etm3x-sysfs.c | 72 struct etm_config *config = &drvdata->config; in reset_store() local 101 struct etm_config *config = &drvdata->config; in mode_show() local 114 struct etm_config *config = &drvdata->config; in mode_store() local 186 struct etm_config *config = &drvdata->config; in trigger_event_show() local 199 struct etm_config *config = &drvdata->config; in trigger_event_store() local 216 struct etm_config *config = &drvdata->config; in enable_event_show() local 229 struct etm_config *config = &drvdata->config; in enable_event_store() local 246 struct etm_config *config = &drvdata->config; in fifofull_level_show() local 259 struct etm_config *config = &drvdata->config; in fifofull_level_store() local 276 struct etm_config *config = &drvdata->config; in addr_idx_show() local [all …]
|
| /linux/drivers/gpu/drm/vkms/ |
| H A D | vkms_config.c | 13 struct vkms_config *config; in vkms_config_create() local 39 struct vkms_config *config; in vkms_config_default_create() local 113 void vkms_config_destroy(struct vkms_config *config) in vkms_config_destroy() 137 static bool valid_plane_number(const struct vkms_config *config) in valid_plane_number() 151 static bool valid_planes_for_crtc(const struct vkms_config *config, in valid_planes_for_crtc() 196 static bool valid_plane_possible_crtcs(const struct vkms_config *config) in valid_plane_possible_crtcs() 211 static bool valid_crtc_number(const struct vkms_config *config) in valid_crtc_number() 225 static bool valid_encoder_number(const struct vkms_config *config) in valid_encoder_number() 239 static bool valid_encoder_possible_crtcs(const struct vkms_config *config) in valid_encoder_possible_crtcs() 275 static bool valid_connector_number(const struct vkms_config *config) in valid_connector_number() [all …]
|
| H A D | vkms_config.h | 48 struct vkms_config *config; member 71 struct vkms_config *config; member 92 struct vkms_config *config; member 114 struct vkms_config *config; member 128 #define vkms_config_for_each_plane(config, plane_cfg) \ argument 136 #define vkms_config_for_each_crtc(config, crtc_cfg) \ argument 144 #define vkms_config_for_each_encoder(config, encoder_cfg) \ argument 152 #define vkms_config_for_each_connector(config, connector_cfg) \ argument 224 vkms_config_get_device_name(struct vkms_config *config) in vkms_config_get_device_name() 233 static inline size_t vkms_config_get_num_crtcs(struct vkms_config *config) in vkms_config_get_num_crtcs()
|
| /linux/tools/perf/util/ |
| H A D | stat-display.c | 102 static void print_running_std(struct perf_stat_config *config, u64 run, u64 ena) in print_running_std() 108 static void print_running_csv(struct perf_stat_config *config, u64 run, u64 ena) in print_running_csv() 164 static void print_running(struct perf_stat_config *config, struct outstate *os, in print_running() 179 static void print_noise_pct_std(struct perf_stat_config *config, in print_noise_pct_std() 186 static void print_noise_pct_csv(struct perf_stat_config *config, in print_noise_pct_csv() 198 static void print_noise_pct(struct perf_stat_config *config, struct outstate *os, in print_noise_pct() 215 static void print_noise(struct perf_stat_config *config, struct outstate *os, in print_noise() 227 static void print_cgroup_std(struct perf_stat_config *config, const char *cgrp_name) in print_cgroup_std() 232 static void print_cgroup_csv(struct perf_stat_config *config, const char *cgrp_name) in print_cgroup_csv() 242 static void print_cgroup(struct perf_stat_config *config, struct outstate *os, in print_cgroup() [all …]
|
| H A D | stat-shadow.c | 21 static bool tool_pmu__is_time_event(const struct perf_stat_config *config, in tool_pmu__is_time_event() 45 static int prepare_metric(struct perf_stat_config *config, in prepare_metric() 119 static void generic_metric(struct perf_stat_config *config, in generic_metric() 218 static void perf_stat__print_metricgroup_header(struct perf_stat_config *config, in perf_stat__print_metricgroup_header() 263 void *perf_stat__print_shadow_stats_metricgroup(struct perf_stat_config *config, in perf_stat__print_shadow_stats_metricgroup() 313 void perf_stat__print_shadow_stats(struct perf_stat_config *config, in perf_stat__print_shadow_stats()
|
| /linux/lib/ |
| H A D | test_kmod.c | 130 struct test_config config; member 181 struct test_config *config = &test_dev->config; in kmod_test_done_check() local 197 struct test_config *config = &test_dev->config; in test_kmod_put_module() local 220 struct test_config *config = &test_dev->config; in run_request() local 251 struct test_config *config = &test_dev->config; in tally_work_test() local 292 struct test_config *config = &test_dev->config; in tally_up_work() local 351 struct test_config *config = &test_dev->config; in test_dev_kmod_stop_tests() local 389 struct test_config *config = &test_dev->config; in try_requests() local 426 struct test_config *config = &test_dev->config; in run_test_driver() local 443 struct test_config *config = &test_dev->config; in run_test_fs_type() local [all …]
|
| /linux/drivers/base/regmap/ |
| H A D | regmap-kunit.c | 156 gen_regmap(struct kunit * test,struct regmap_config * config,struct regmap_ram_data ** data) gen_regmap() argument 236 struct regmap_config config; basic_read_write() local 261 struct regmap_config config; bulk_write() local 294 struct regmap_config config; bulk_read() local 323 struct regmap_config config; multi_write() local 362 struct regmap_config config; multi_read() local 395 struct regmap_config config; read_bypassed() local 459 struct regmap_config config; read_bypassed_volatile() local 523 struct regmap_config config; write_readonly() local 554 struct regmap_config config; read_writeonly() local 590 struct regmap_config config; reg_defaults() local 616 struct regmap_config config; reg_defaults_read_dev() local 648 struct regmap_config config; register_patch() local 696 struct regmap_config config; stride() local 773 struct regmap_config config; basic_ranges() local 841 struct regmap_config config; stress_insert() local 891 struct regmap_config config; cache_bypass() local 926 struct regmap_config config; cache_sync_marked_dirty() local 961 struct regmap_config config; cache_sync_after_cache_only() local 1010 struct regmap_config config; cache_sync_defaults_marked_dirty() local 1059 struct regmap_config config; cache_sync_default_after_cache_only() local 1106 struct regmap_config config; cache_sync_readonly() local 1144 struct regmap_config config; cache_sync_patch() local 1202 struct regmap_config config; cache_drop() local 1242 struct regmap_config config; cache_drop_with_non_contiguous_ranges() local 1344 struct regmap_config config; cache_drop_all_and_sync_marked_dirty() local 1385 struct regmap_config config; cache_drop_all_and_sync_no_defaults() local 1427 struct regmap_config config; cache_drop_all_and_sync_has_defaults() local 1470 struct regmap_config config; cache_present() local 1506 struct regmap_config config; cache_write_zero() local 1548 struct regmap_config config; cache_range_window_reg() local 1628 gen_raw_regmap(struct kunit * test,struct regmap_config * config,struct regmap_ram_data ** data) gen_raw_regmap() argument 1708 struct regmap_config config; raw_read_defaults_single() local 1730 struct regmap_config config; raw_read_defaults() local 1765 struct regmap_config config; raw_write_read_single() local 1788 struct regmap_config config; raw_write() local 1847 struct regmap_config config; raw_noinc_write() local 1894 struct regmap_config config; raw_sync() local 1969 struct regmap_config config; raw_ranges() local [all...] |
| /linux/drivers/rtc/ |
| H A D | rtc-spear.c | 85 static inline void spear_rtc_clear_interrupt(struct spear_rtc_config *config) in spear_rtc_clear_interrupt() 97 static inline void spear_rtc_enable_interrupt(struct spear_rtc_config *config) in spear_rtc_enable_interrupt() 109 static inline void spear_rtc_disable_interrupt(struct spear_rtc_config *config) in spear_rtc_disable_interrupt() 120 static inline int is_write_complete(struct spear_rtc_config *config) in is_write_complete() 133 static void rtc_wait_not_busy(struct spear_rtc_config *config) in rtc_wait_not_busy() 152 struct spear_rtc_config *config = dev_id; in spear_rtc_irq() local 201 struct spear_rtc_config *config = dev_get_drvdata(dev); in spear_rtc_read_time() local 232 struct spear_rtc_config *config = dev_get_drvdata(dev); in spear_rtc_set_time() local 258 struct spear_rtc_config *config = dev_get_drvdata(dev); in spear_rtc_read_alarm() local 288 struct spear_rtc_config *config = dev_get_drvdata(dev); in spear_rtc_set_alarm() local [all …]
|
| H A 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 185 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_tm_to_data() local 201 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_rtc_alarm_irq_enable() local 213 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_rtc_read_time() local 249 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_rtc_set_time() local 266 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_rtc_read_alarm() local 300 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_rtc_set_alarm() local 337 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_alarm_event() local 361 const struct da9063_compatible_rtc_regmap *config; in da9063_rtc_probe() local
|
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | fp-ptrace.c | 201 static int vl_in(struct test_config *config) in vl_in() 213 static int vl_expected(struct test_config *config) in vl_expected() 225 static void run_child(struct test_config *config) in run_child() 399 static bool check_ptrace_values_sve(pid_t child, struct test_config *config) in check_ptrace_values_sve() 483 static bool check_ptrace_values_ssve(pid_t child, struct test_config *config) in check_ptrace_values_ssve() 566 static bool check_ptrace_values_za(pid_t child, struct test_config *config) in check_ptrace_values_za() 627 static bool check_ptrace_values_zt(pid_t child, struct test_config *config) in check_ptrace_values_zt() 648 static bool check_ptrace_values_fpmr(pid_t child, struct test_config *config) in check_ptrace_values_fpmr() 669 static bool check_ptrace_values(pid_t child, struct test_config *config) in check_ptrace_values() 709 struct test_config *config) in run_parent() [all …]
|
| /linux/drivers/pinctrl/mvebu/ |
| H A D | pinctrl-dove.c | 64 unsigned pid, unsigned long *config) in dove_pmu_mpp_ctrl_get() 82 unsigned pid, unsigned long config) in dove_pmu_mpp_ctrl_set() 104 unsigned long *config) in dove_mpp4_ctrl_get() 135 unsigned long config) in dove_mpp4_ctrl_set() 170 unsigned long *config) in dove_nand_ctrl_get() 181 unsigned long config) in dove_nand_ctrl_set() 190 unsigned long *config) in dove_audio0_ctrl_get() 200 unsigned long config) in dove_audio0_ctrl_set() 213 unsigned long *config) in dove_audio1_ctrl_get() 244 unsigned long config) in dove_audio1_ctrl_set() [all …]
|
| /linux/drivers/video/fbdev/via/ |
| H A D | via_clock.c | 85 static void cle266_set_primary_pll(struct via_pll_config config) in cle266_set_primary_pll() 90 static void k800_set_primary_pll(struct via_pll_config config) in k800_set_primary_pll() 95 static void vx855_set_primary_pll(struct via_pll_config config) in vx855_set_primary_pll() 100 static void cle266_set_secondary_pll(struct via_pll_config config) in cle266_set_secondary_pll() 105 static void k800_set_secondary_pll(struct via_pll_config config) in k800_set_secondary_pll() 110 static void vx855_set_secondary_pll(struct via_pll_config config) in vx855_set_secondary_pll() 115 static void k800_set_engine_pll(struct via_pll_config config) in k800_set_engine_pll() 120 static void vx855_set_engine_pll(struct via_pll_config config) in vx855_set_engine_pll() 273 static void dummy_set_pll(struct via_pll_config config) in dummy_set_pll()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_nve_vxlan.c | 133 struct mlxsw_sp_nve_config *config) in mlxsw_sp_nve_vxlan_ul_proto_sip_config() 149 struct mlxsw_sp_nve_config *config) in mlxsw_sp_nve_vxlan_config() 165 const struct mlxsw_sp_nve_config *config) in mlxsw_sp_nve_vxlan_config_prepare() 195 const struct mlxsw_sp_nve_config *config) in mlxsw_sp1_nve_vxlan_config_set() 233 const struct mlxsw_sp_nve_config *config) in mlxsw_sp1_nve_vxlan_init() 275 struct mlxsw_sp_nve_config *config = &nve->config; in mlxsw_sp1_nve_vxlan_fini() local 337 const struct mlxsw_sp_nve_config *config) in mlxsw_sp2_nve_vxlan_config_set() 414 const struct mlxsw_sp_nve_config *config) in mlxsw_sp2_nve_vxlan_init() 457 struct mlxsw_sp_nve_config *config = &nve->config; in mlxsw_sp2_nve_vxlan_fini() local
|
| /linux/drivers/net/ethernet/tehuti/ |
| H A D | tn40_phy.c | 10 static struct tn40_priv *tn40_config_to_priv(struct phylink_config *config) in tn40_config_to_priv() 15 static void tn40_link_up(struct phylink_config *config, struct phy_device *phy, in tn40_link_up() 25 static void tn40_link_down(struct phylink_config *config, unsigned int mode, in tn40_link_down() 34 static void tn40_mac_config(struct phylink_config *config, unsigned int mode, in tn40_mac_config() 47 struct phylink_config *config; in tn40_phy_register() local
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_pmu.c | 60 static unsigned int config_to_event_id(u64 config) in config_to_event_id() argument 65 static unsigned int config_to_function_id(u64 config) in config_to_function_id() argument 70 static unsigned int config_to_engine_class(u64 config) in config_to_engine_class() argument 75 static unsigned int config_to_engine_instance(u64 config) in config_to_engine_instance() argument 80 static unsigned int config_to_gt_id(u64 config) in config_to_gt_id() argument 103 u64 config = event->attr.config; event_to_hwe() local 117 is_engine_event(u64 config) is_engine_event() argument 136 u64 config = event->attr.config; event_gt_forcewake() local 177 u64 config = event->attr.config; event_param_valid() local 280 u64 config, val = 0; read_engine_events() local [all...] |
| H A D | xe_gt_sriov_pf_config.c | 261 static u32 encode_config_ggtt(u32 *cfg, const struct xe_gt_sriov_config *config, bool details) in encode_config_ggtt() 272 static u32 encode_config(u32 *cfg, const struct xe_gt_sriov_config *config, bool details) in encode_config() 319 struct xe_gt_sriov_config *config = pf_pick_vf_config(gt, vfid); in pf_push_full_vf_config() local 452 static void pf_release_vf_config_ggtt(struct xe_gt *gt, struct xe_gt_sriov_config *config) in pf_release_vf_config_ggtt() 460 struct xe_gt_sriov_config *config = pf_pick_vf_config(gt, vfid); in pf_provision_vf_ggtt() local 514 struct xe_gt_sriov_config *config = pf_pick_vf_config(gt, vfid); in pf_get_vf_config_ggtt() local 862 static void pf_release_config_ctxs(struct xe_gt *gt, struct xe_gt_sriov_config *config) in pf_release_config_ctxs() 873 struct xe_gt_sriov_config *config = pf_pick_vf_config(gt, vfid); in pf_provision_vf_ctxs() local 916 struct xe_gt_sriov_config *config = pf_pick_vf_config(gt, vfid); in pf_get_vf_config_ctxs() local 1182 static void pf_release_config_dbs(struct xe_gt *gt, struct xe_gt_sriov_config *config) in pf_release_config_dbs() [all …]
|
| /linux/drivers/iio/adc/ |
| H A 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 108 static int mcp3422_read(struct mcp3422 *adc, int *value, u8 *config) in mcp3422_read() 134 u8 config; in mcp3422_read_channel() local 200 u8 config = adc->config; in mcp3422_write_raw() local 339 u8 config; in mcp3422_probe() local
|
| /linux/drivers/md/dm-vdo/ |
| H A D | dm-vdo-target.c | 179 static void free_device_config(struct device_config *config) in free_device_config() 396 struct thread_count_config *config) in process_one_thread_config_spec() 475 struct thread_count_config *config) in parse_one_thread_config_spec() 526 struct thread_count_config *config) in parse_thread_config_string() 561 struct device_config *config) in process_one_key_value_pair() 592 struct device_config *config) in parse_one_key_value_pair() 628 static int parse_key_value_pairs(int argc, char **argv, struct device_config *config) in parse_key_value_pairs() 661 struct device_config *config) in parse_optional_arguments() 692 static void handle_parse_error(struct device_config *config, char **error_ptr, in handle_parse_error() 715 struct device_config *config = NULL; in parse_device_config() local [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | tda8261.c | 20 const struct tda8261_config *config; member 29 const struct tda8261_config *config = state->config; in tda8261_read() local 41 const struct tda8261_config *config = state->config; in tda8261_write() local 87 const struct tda8261_config *config = state->config; in tda8261_set_params() local 166 const struct tda8261_config *config, in tda8261_attach()
|
| H A D | tda665x.c | 19 const struct tda665x_config *config; member 27 const struct tda665x_config *config = state->config; in tda665x_read() local 43 const struct tda665x_config *config = state->config; in tda665x_write() local 93 const struct tda665x_config *config = state->config; in tda665x_set_frequency() local 204 const struct tda665x_config *config, in tda665x_attach()
|
| /linux/drivers/block/ |
| H A D | nbd.c | 111 static inline unsigned int nbd_blksize(struct nbd_config *config) in nbd_blksize() 122 struct nbd_config *config; member 299 static int nbd_disconnected(struct nbd_config *config) in nbd_disconnected() 400 struct nbd_config *config = nbd->config; in sock_shutdown() local 455 struct nbd_config *config; in nbd_xmit_timeout() local 602 struct nbd_config *config = nbd->config; in sock_xmit() local 649 struct nbd_config *config = nbd->config; in nbd_send_cmd() local 976 struct nbd_config *config = nbd->config; in recv_work() local 1060 struct nbd_config *config = nbd->config; in find_fallback() local 1103 struct nbd_config *config = nbd->config; in wait_for_reconnect() local [all …]
|
| /linux/drivers/md/dm-vdo/indexer/ |
| H A D | config.c | 97 struct uds_configuration config; in uds_validate_config_contents() local 175 struct uds_configuration *config, u32 version) in uds_write_config_contents() 316 struct uds_configuration *config; in uds_make_configuration() local 355 void uds_free_configuration(struct uds_configuration *config) in uds_free_configuration() 363 void uds_log_configuration(struct uds_configuration *config) in uds_log_configuration()
|
| /linux/include/linux/ |
| H A D | regmap.h | 802 #define regmap_init(dev, bus, bus_context, config) \ argument 817 #define regmap_init_i2c(i2c, config) \ argument 830 #define regmap_init_mdio(mdio_dev, config) \ argument 843 #define regmap_init_sccb(i2c, config) \ argument 856 #define regmap_init_slimbus(slimbus, config) \ argument 869 #define regmap_init_spi(dev, config) \ argument 882 #define regmap_init_spmi_base(dev, config) \ argument 895 #define regmap_init_spmi_ext(dev, config) \ argument 908 #define regmap_init_w1(w1_dev, config) \ argument 923 #define regmap_init_mmio_clk(dev, clk_id, regs, config) \ argument [all …]
|