/linux-6.3-rc2/drivers/md/ |
A D | raid5-log.h | 61 if (conf->log) { in log_stripe() 82 if (conf->log) in log_stripe_write_finished() 90 if (conf->log) in log_write_stripe_run() 98 if (conf->log) in log_flush_stripe_to_raid() 108 if (conf->log) in log_handle_flush_request() 118 if (conf->log) in log_quiesce() 126 if (conf->log) in log_exit() 127 r5l_exit_log(conf); in log_exit() 129 ppl_exit_log(conf); in log_exit() 138 return ppl_init_log(conf); in log_init() [all …]
|
A D | md-faulty.c | 94 atomic_set(&conf->counters[mode], conf->period[mode]); in check_mode() 127 int n = conf->nfaults; in add_sector() 159 conf->modes[n] = mode; in add_sector() 161 conf->nfaults = n+1; in add_sector() 265 conf->nfaults = 0; in faulty_reshape() 303 conf = kmalloc(sizeof(*conf), GFP_KERNEL); in faulty_run() 304 if (!conf) in faulty_run() 309 conf->period[i] = 0; in faulty_run() 311 conf->nfaults = 0; in faulty_run() 314 conf->rdev = rdev; in faulty_run() [all …]
|
A D | raid10.c | 961 WRITE_ONCE(conf->barrier, conf->barrier + 1); in raise_barrier() 975 WRITE_ONCE(conf->barrier, conf->barrier - 1); in lower_barrier() 1075 WRITE_ONCE(conf->barrier, conf->barrier + 1); in freeze_array() 1087 WRITE_ONCE(conf->barrier, conf->barrier - 1); in unfreeze_array() 4057 conf->prev = conf->geo; in setup_conf() 4069 conf->prev.stride = conf->dev_sectors; in setup_conf() 4586 memcpy(conf->mirrors_new, conf->mirrors, in raid10_start_reshape() 4590 conf->mirrors_old = conf->mirrors; in raid10_start_reshape() 4591 conf->mirrors = conf->mirrors_new; in raid10_start_reshape() 4703 conf->geo = conf->prev; in raid10_start_reshape() [all …]
|
A D | raid5.c | 899 if (raid5_has_log(conf) || raid5_has_ppl(conf)) in stripe_can_batch() 2401 sh = alloc_stripe(conf->slab_cache, gfp, conf->pool_size, conf); in grow_one_stripe() 2431 "raid%d-%p", conf->level, conf->mddev); in grow_stripes() 2654 conf->active_name = 1-conf->active_name; in resize_stripes() 5669 conf->last_hold = conf->hold_list.next; in __get_priority_stripe() 5809 (conf->raid_disks - conf->max_degraded); in make_discard_request() 6684 struct r5conf *conf = group->conf; in raid5_do_work() local 6761 conf->seq_write = conf->seq_flush; in raid5d() 7258 group->conf = conf; in alloc_thread_groups() 7627 conf->prev_algo = conf->algorithm; in setup_conf() [all …]
|
A D | raid1.c | 1698 if (!conf) { in print_conf() 1851 p = conf->mirrors + conf->raid_disks + number; in raid1_remove_disk() 1879 if (conf->mirrors[conf->raid_disks + number].rdev) { in raid1_remove_disk() 1885 conf->mirrors[conf->raid_disks + number].rdev; in raid1_remove_disk() 1900 conf->mirrors[conf->raid_disks + number].rdev = NULL; in raid1_remove_disk() 2980 if (!conf) in setup_conf() 3091 return conf; in setup_conf() 3094 if (conf) { in setup_conf() 3104 kfree(conf); in setup_conf() 3212 kfree(conf); in raid1_free() [all …]
|
A D | md-multipath.c | 190 if (!conf) { in print_multipath_conf() 194 pr_debug(" --- wd:%d rd:%d\n", conf->raid_disks - conf->mddev->degraded, in print_multipath_conf() 195 conf->raid_disks); in print_multipath_conf() 338 struct mpconf *conf; in multipath_run() local 360 mddev->private = conf; in multipath_run() 361 if (!conf) in multipath_run() 367 if (!conf->multipaths) in multipath_run() 387 conf->mddev = mddev; in multipath_run() 423 kfree(conf->multipaths); in multipath_run() 424 kfree(conf); in multipath_run() [all …]
|
A D | raid0.c | 44 conf->nr_strip_zones, conf->nr_strip_zones==1?"":"s"); in dump_zones() 70 struct r0conf *conf = kzalloc(sizeof(*conf), GFP_KERNEL); in create_strip_zones() local 74 if (!conf) in create_strip_zones() 140 conf->strip_zone = kcalloc(conf->nr_strip_zones, in create_strip_zones() 149 if (!conf->devlist) in create_strip_zones() 158 dev = conf->devlist; in create_strip_zones() 257 if (conf->nr_strip_zones == 1 || conf->strip_zone[1].nb_dev == 1) { in create_strip_zones() 280 kfree(conf); in create_strip_zones() 337 return conf->devlist[(zone - conf->strip_zone)*raid_disks in map_sector() 360 kfree(conf); in free_conf() [all …]
|
A D | md-linear.c | 31 conf = mddev->private; in which_dev() 46 return conf->disks + lo; in which_dev() 54 conf = mddev->private; in linear_size() 68 conf = kzalloc(struct_size(conf, disks, raid_disks), GFP_KERNEL); in linear_conf() 69 if (!conf) in linear_conf() 108 conf->disks[0].end_sector = conf->disks[0].rdev->sectors; in linear_conf() 128 return conf; in linear_conf() 131 kfree(conf); in linear_conf() 144 if (!conf) in linear_run() 151 kfree(conf); in linear_run() [all …]
|
/linux-6.3-rc2/drivers/fpga/ |
A D | altera-cvp.c | 272 conf->write_data(conf, *data++); in altera_cvp_send_block() 279 conf->write_data(conf, *data & mask); in altera_cvp_send_block() 307 conf->priv->switch_clk(conf); in altera_cvp_teardown() 374 conf->priv->switch_clk(conf); in altera_cvp_write_init() 377 ret = conf->priv->clear_state(conf); in altera_cvp_write_init() 406 conf->priv->switch_clk(conf); in altera_cvp_write_init() 611 conf = devm_kzalloc(&pdev->dev, sizeof(*conf), GFP_KERNEL); in altera_cvp_probe() 612 if (!conf) in altera_cvp_probe() 652 snprintf(conf->mgr_name, sizeof(conf->mgr_name), "%s @%s", in altera_cvp_probe() 667 if (conf->map) in altera_cvp_probe() [all …]
|
A D | altera-ps-spi.c | 213 if (conf->confd) { in altera_ps_write_complete() 262 conf = devm_kzalloc(&spi->dev, sizeof(*conf), GFP_KERNEL); in altera_ps_probe() 263 if (!conf) in altera_ps_probe() 270 conf->data = of_id->data; in altera_ps_probe() 273 if (!conf->data) in altera_ps_probe() 277 conf->spi = spi; in altera_ps_probe() 281 PTR_ERR(conf->config)); in altera_ps_probe() 288 PTR_ERR(conf->status)); in altera_ps_probe() 293 if (IS_ERR(conf->confd)) { in altera_ps_probe() 295 PTR_ERR(conf->confd)); in altera_ps_probe() [all …]
|
A D | xilinx-spi.c | 35 ret = gpiod_get_value(conf->done); in get_done_gpio() 69 if (conf->init_b) { in wait_for_init_b() 198 if (conf->init_b) { in xilinx_spi_write_complete() 225 struct xilinx_spi_conf *conf; in xilinx_spi_probe() local 228 conf = devm_kzalloc(&spi->dev, sizeof(*conf), GFP_KERNEL); in xilinx_spi_probe() 229 if (!conf) in xilinx_spi_probe() 232 conf->spi = spi; in xilinx_spi_probe() 236 if (IS_ERR(conf->prog_b)) in xilinx_spi_probe() 241 if (IS_ERR(conf->init_b)) in xilinx_spi_probe() 246 if (IS_ERR(conf->done)) in xilinx_spi_probe() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/ |
A D | common-beacon.c | 57 conf->intval = conf->beacon_interval; in ath9k_cmn_beacon_config_sta() 63 dtim_intval = conf->intval * conf->dtim_period; in ath9k_cmn_beacon_config_sta() 70 conf->nexttbtt = ath9k_get_next_tbtt(ah, tsf, conf->intval); in ath9k_cmn_beacon_config_sta() 85 bs->bs_bmissthreshold = DIV_ROUND_UP(conf->bmiss_timeout, conf->intval); in ath9k_cmn_beacon_config_sta() 101 conf->intval)); in ath9k_cmn_beacon_config_sta() 119 conf->intval = TU_TO_USEC(conf->beacon_interval); in ath9k_cmn_beacon_config_adhoc() 121 if (conf->ibss_creator) in ath9k_cmn_beacon_config_adhoc() 122 conf->nexttbtt = conf->intval; in ath9k_cmn_beacon_config_adhoc() 135 conf->nexttbtt, conf->intval, conf->beacon_interval); in ath9k_cmn_beacon_config_adhoc() 151 conf->intval = TU_TO_USEC(conf->beacon_interval); in ath9k_cmn_beacon_config_ap() [all …]
|
/linux-6.3-rc2/scripts/kconfig/tests/choice/ |
A D | __init__.py | 14 def test_oldask0(conf): argument 15 assert conf.oldaskconfig() == 0 19 def test_oldask1(conf): argument 24 def test_allyes(conf): argument 25 assert conf.allyesconfig() == 0 29 def test_allmod(conf): argument 30 assert conf.allmodconfig() == 0 34 def test_allno(conf): argument 35 assert conf.allnoconfig() == 0 39 def test_alldef(conf): argument [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | textsearch.h | 78 struct ts_config *conf, 108 unsigned int ret = conf->ops->find(conf, state); in textsearch_next() 110 if (conf->finish) in textsearch_next() 111 conf->finish(conf, state); in textsearch_next() 128 return textsearch_next(conf, state); in textsearch_find() 137 return conf->ops->get_pattern(conf); in textsearch_get_pattern() 146 return conf->ops->get_pattern_len(conf); in textsearch_get_pattern_len() 165 struct ts_config *conf; in alloc_ts_config() local 167 conf = kzalloc(TS_PRIV_ALIGN(sizeof(*conf)) + payload, gfp_mask); in alloc_ts_config() 168 if (conf == NULL) in alloc_ts_config() [all …]
|
/linux-6.3-rc2/drivers/clk/ |
A D | clk-sparx5.c | 65 int divt = sel_rates[conf->rot_sel] * (1 + conf->pre_div); in s5_calc_freq() 84 memset(conf, 0, sizeof(*conf)); in s5_search_fractional() 85 conf->div = div; in s5_search_fractional() 94 conf->freq = s5_calc_freq(parent_rate, conf); in s5_search_fractional() 98 best = *conf; in s5_search_fractional() 105 *conf = best; in s5_search_fractional() 121 *conf = alt1; in s5_calc_params() 131 *conf = alt1; in s5_calc_params() 138 memset(conf, 0, sizeof(*conf)); in s5_calc_params() 208 conf.freq = s5_calc_freq(parent_rate, &conf); in s5_pll_recalc_rate() [all …]
|
/linux-6.3-rc2/drivers/mfd/ |
A D | atmel-smc.c | 22 memset(conf, 0, sizeof(*conf)); in atmel_smc_cs_conf_init() 113 conf->timings &= ~GENMASK(shift + 3, shift); in atmel_smc_cs_conf_set_timing() 114 conf->timings |= val << shift; in atmel_smc_cs_conf_set_timing() 152 conf->setup &= ~GENMASK(shift + 7, shift); in atmel_smc_cs_conf_set_setup() 153 conf->setup |= val << shift; in atmel_smc_cs_conf_set_setup() 191 conf->pulse &= ~GENMASK(shift + 7, shift); in atmel_smc_cs_conf_set_pulse() 192 conf->pulse |= val << shift; in atmel_smc_cs_conf_set_pulse() 229 conf->cycle &= ~GENMASK(shift + 15, shift); in atmel_smc_cs_conf_set_cycle() 230 conf->cycle |= val << shift; in atmel_smc_cs_conf_set_cycle() 246 const struct atmel_smc_cs_conf *conf) in atmel_smc_cs_conf_apply() argument [all …]
|
/linux-6.3-rc2/net/sched/ |
A D | em_text.c | 47 struct tcf_em_text *conf = data; in em_text_change() local 51 if (len < sizeof(*conf) || len < (sizeof(*conf) + conf->pattern_len)) in em_text_change() 54 if (conf->from_layer > conf->to_layer) in em_text_change() 57 if (conf->from_layer == conf->to_layer && in em_text_change() 58 conf->from_offset > conf->to_offset) in em_text_change() 62 ts_conf = textsearch_prepare(conf->algo, (u8 *) conf + sizeof(*conf), in em_text_change() 107 struct tcf_em_text conf; in em_text_dump() local 109 strncpy(conf.algo, tm->config->ops->name, sizeof(conf.algo) - 1); in em_text_dump() 113 conf.to_layer = tm->to_layer; in em_text_dump() 115 conf.pad = 0; in em_text_dump() [all …]
|
/linux-6.3-rc2/drivers/iio/imu/inv_icm42600/ |
A D | inv_icm42600_core.c | 216 if (conf->mode < 0) in inv_icm42600_set_accel_conf() 218 if (conf->fs < 0) in inv_icm42600_set_accel_conf() 220 if (conf->odr < 0) in inv_icm42600_set_accel_conf() 226 if (conf->fs != oldconf->fs || conf->odr != oldconf->odr) { in inv_icm42600_set_accel_conf() 247 return inv_icm42600_set_pwr_mgmt0(st, st->conf.gyro.mode, conf->mode, in inv_icm42600_set_accel_conf() 260 if (conf->mode < 0) in inv_icm42600_set_gyro_conf() 262 if (conf->fs < 0) in inv_icm42600_set_gyro_conf() 264 if (conf->odr < 0) in inv_icm42600_set_gyro_conf() 270 if (conf->fs != oldconf->fs || conf->odr != oldconf->odr) { in inv_icm42600_set_gyro_conf() 332 if (!conf->temp_en) in inv_icm42600_set_conf() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_phylink.c | 56 conf = port->conf; in sparx5_phylink_mac_link_up() 57 conf.duplex = duplex; in sparx5_phylink_mac_link_up() 58 conf.pause = 0; in sparx5_phylink_mac_link_up() 61 conf.speed = speed; in sparx5_phylink_mac_link_up() 104 conf = port->conf; in sparx5_pcs_config() 105 conf.power_down = false; in sparx5_pcs_config() 106 conf.portmode = interface; in sparx5_pcs_config() 109 conf.pause_adv = 0; in sparx5_pcs_config() 116 conf.media = PHY_MEDIA_SR; in sparx5_pcs_config() 118 conf.media = PHY_MEDIA_DAC; in sparx5_pcs_config() [all …]
|
A D | sparx5_port.c | 197 conf->speed, phy_modes(conf->portmode)); in sparx5_port_error() 224 switch (conf->portmode) { in sparx5_port_verify_speed() 523 if (port->conf.portmode == conf->portmode) in sparx5_port_mux_set() 526 switch (conf->portmode) { in sparx5_port_mux_set() 708 if (conf->serdes_reset) { in sparx5_serdes_set() 734 if (port->conf.inband) { in sparx5_port_pcs_low_set() 739 conf->autoneg) in sparx5_port_pcs_low_set() 873 int spd = conf->speed; in sparx5_port_config_low_set() 951 if (port->conf.inband) { in sparx5_port_pcs_set() 965 port->conf = *conf; in sparx5_port_pcs_set() [all …]
|
/linux-6.3-rc2/scripts/kconfig/ |
A D | streamline_config.pl | 104 my $file = $conf->{"file"}; 109 `$conf->{"test"} $conf->{"file"} 2>/dev/null`; 113 my $exec = $conf->{"exec"}; 233 my $conf = $1; 401 foreach my $conf (@arr) { 405 my $c=$conf; 458 if (!defined($orig_configs{$conf}) || $orig_configs{$conf} eq "y") { 467 $configs{$conf} = 1; 505 if (defined($orig_configs{$conf}) && $orig_configs{$conf} ne "m") { 517 $next_config = $conf; [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/ |
A D | rt2x00config.c | 24 struct rt2x00intf_conf conf; in rt2x00lib_config_intf() local 27 conf.type = type; in rt2x00lib_config_intf() 31 conf.sync = TSF_SYNC_ADHOC; in rt2x00lib_config_intf() 35 conf.sync = TSF_SYNC_AP_NONE; in rt2x00lib_config_intf() 38 conf.sync = TSF_SYNC_INFRA; in rt2x00lib_config_intf() 41 conf.sync = TSF_SYNC_NONE; in rt2x00lib_config_intf() 51 memset(conf.mac, 0, sizeof(conf.mac)); in rt2x00lib_config_intf() 55 memset(conf.bssid, 0, sizeof(conf.bssid)); in rt2x00lib_config_intf() 205 libconf.conf = conf; in rt2x00lib_config() 208 if (!conf_is_ht(conf)) in rt2x00lib_config() [all …]
|
/linux-6.3-rc2/net/netfilter/ |
A D | xt_string.c | 26 const struct xt_string_info *conf = par->matchinfo; in string_mt() local 29 invert = conf->u.v1.flags & XT_STRING_FLAG_INVERT; in string_mt() 32 conf->to_offset, conf->config) in string_mt() 40 struct xt_string_info *conf = par->matchinfo; in string_mt_check() local 45 if (conf->from_offset > conf->to_offset) in string_mt_check() 47 if (conf->algo[XT_STRING_MAX_ALGO_NAME_SIZE - 1] != '\0') in string_mt_check() 49 if (conf->patlen > XT_STRING_MAX_PATTERN_SIZE) in string_mt_check() 51 if (conf->u.v1.flags & in string_mt_check() 54 if (conf->u.v1.flags & XT_STRING_FLAG_IGNORECASE) in string_mt_check() 56 ts_conf = textsearch_prepare(conf->algo, conf->pattern, conf->patlen, in string_mt_check() [all …]
|
/linux-6.3-rc2/drivers/platform/x86/intel/telemetry/ |
A D | debugfs.c | 365 conf->pss_idle_data[conf->pss_idle_evts - 1].bit_pos) & in telem_pss_states_show() 370 conf->pss_idle_evts - 1, in telem_pss_states_show() 375 conf->pcs_idle_blkd_evts, in telem_pss_states_show() 378 conf->pcs_idle_blkd_data, in telem_pss_states_show() 382 conf->pcs_s0ix_blkd_evts, in telem_pss_states_show() 389 conf->pss_wakeup_evts, in telem_pss_states_show() 519 conf->ioss_d0ix_evts, in telem_soc_states_show() 521 conf->ioss_d0ix_data, in telem_soc_states_show() 524 TELEM_CHECK_AND_PARSE_EVTS(conf->ioss_pg_id, conf->ioss_pg_evts, in telem_soc_states_show() 529 conf->ioss_d0ix_evts, in telem_soc_states_show() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | dvo_ns2501.c | 207 u8 conf; /* configuration register 8 */ member 382 const struct ns2501_configuration *conf; member 553 const struct ns2501_configuration *conf; in ns2501_mode_set() local 610 conf = ns2501_modes + mode_idx; in ns2501_mode_set() 611 ns->conf = conf; in ns2501_mode_set() 613 ns2501_writeb(dvo, NS2501_REG8, conf->conf); in ns2501_mode_set() 614 ns2501_writeb(dvo, NS2501_REG1B, conf->pll_a); in ns2501_mode_set() 641 ns2501_writeb(dvo, NS2501_REGC0, conf->sync); in ns2501_mode_set() 671 ns->conf->conf | NS2501_8_BPAS); in ns2501_dpms() 672 if (!(ns->conf->conf & NS2501_8_BPAS)) in ns2501_dpms() [all …]
|