| /linux/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 | raid10.c | 936 WRITE_ONCE(conf->barrier, conf->barrier + 1); in raise_barrier() 950 WRITE_ONCE(conf->barrier, conf->barrier - 1); in lower_barrier() 1057 WRITE_ONCE(conf->barrier, conf->barrier + 1); in freeze_array() 1069 WRITE_ONCE(conf->barrier, conf->barrier - 1); in unfreeze_array() 3931 conf->prev = conf->geo; in setup_conf() 3943 conf->prev.stride = conf->dev_sectors; in setup_conf() 4452 memcpy(conf->mirrors_new, conf->mirrors, in raid10_start_reshape() 4456 conf->mirrors_old = conf->mirrors; in raid10_start_reshape() 4457 conf->mirrors = conf->mirrors_new; in raid10_start_reshape() 4561 conf->geo = conf->prev; in raid10_start_reshape() [all …]
|
| A D | raid1.c | 1765 if (!conf) { in print_conf() 1860 WRITE_ONCE(conf->nonrot_disks, conf->nonrot_disks + 1); in raid1_add_conf() 1887 WRITE_ONCE(conf->nonrot_disks, conf->nonrot_disks - 1); in raid1_remove_conf() 1974 conf->mirrors[conf->raid_disks + number].rdev) { in raid1_remove_disk() 1980 conf->mirrors[conf->raid_disks + number].rdev; in raid1_remove_disk() 1995 conf->mirrors[conf->raid_disks + number].rdev = NULL; in raid1_remove_disk() 3064 if (!conf) in setup_conf() 3170 return conf; in setup_conf() 3173 if (conf) { in setup_conf() 3183 kfree(conf); in setup_conf() [all …]
|
| A D | raid5.c | 2393 sh = alloc_stripe(conf->slab_cache, gfp, conf->pool_size, conf); in grow_one_stripe() 2420 "raid%d-%p", conf->level, conf->mddev); in grow_stripes() 2644 conf->active_name = 1-conf->active_name; in resize_stripes() 5740 (conf->raid_disks - conf->max_degraded); in make_discard_request() 6698 struct r5conf *conf = group->conf; in raid5_do_work() local 6778 conf->seq_write = conf->seq_flush; in raid5d() 7257 group->conf = conf; in alloc_thread_groups() 7628 conf->prev_algo = conf->algorithm; in setup_conf() 7668 conf->shrinker->private_data = conf; in setup_conf() 8468 conf->prev_algo = conf->algorithm; in raid5_start_reshape() [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() 292 kfree(conf); in create_strip_zones() 349 return conf->devlist[(zone - conf->strip_zone)*raid_disks in map_sector() 374 kfree(conf); in raid0_free() [all …]
|
| /linux/drivers/fpga/ |
| A D | altera-cvp.c | 271 conf->write_data(conf, *data++); in altera_cvp_send_block() 278 conf->write_data(conf, *data & mask); in altera_cvp_send_block() 306 conf->priv->switch_clk(conf); in altera_cvp_teardown() 373 conf->priv->switch_clk(conf); in altera_cvp_write_init() 376 ret = conf->priv->clear_state(conf); in altera_cvp_write_init() 405 conf->priv->switch_clk(conf); in altera_cvp_write_init() 610 conf = devm_kzalloc(&pdev->dev, sizeof(*conf), GFP_KERNEL); in altera_cvp_probe() 611 if (!conf) in altera_cvp_probe() 651 snprintf(conf->mgr_name, sizeof(conf->mgr_name), "%s @%s", in altera_cvp_probe() 666 if (conf->map) in altera_cvp_probe() [all …]
|
| A D | altera-ps-spi.c | 206 if (conf->confd) { in altera_ps_write_complete() 238 conf = devm_kzalloc(&spi->dev, sizeof(*conf), GFP_KERNEL); in altera_ps_probe() 239 if (!conf) in altera_ps_probe() 243 conf->spi = spi; in altera_ps_probe() 245 if (IS_ERR(conf->config)) { in altera_ps_probe() 247 PTR_ERR(conf->config)); in altera_ps_probe() 254 PTR_ERR(conf->status)); in altera_ps_probe() 259 if (IS_ERR(conf->confd)) { in altera_ps_probe() 261 PTR_ERR(conf->confd)); in altera_ps_probe() 263 } else if (!conf->confd) { in altera_ps_probe() [all …]
|
| /linux/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/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/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/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/drivers/iio/imu/inv_icm42600/ |
| A D | inv_icm42600_core.c | 286 if (conf->mode < 0) in inv_icm42600_set_accel_conf() 288 if (conf->fs < 0) in inv_icm42600_set_accel_conf() 290 if (conf->odr < 0) in inv_icm42600_set_accel_conf() 313 if (conf->fs != oldconf->fs || conf->odr != oldconf->odr) { in inv_icm42600_set_accel_conf() 334 return inv_icm42600_set_pwr_mgmt0(st, st->conf.gyro.mode, conf->mode, in inv_icm42600_set_accel_conf() 347 if (conf->mode < 0) in inv_icm42600_set_gyro_conf() 349 if (conf->fs < 0) in inv_icm42600_set_gyro_conf() 351 if (conf->odr < 0) in inv_icm42600_set_gyro_conf() 357 if (conf->fs != oldconf->fs || conf->odr != oldconf->odr) { in inv_icm42600_set_gyro_conf() 419 if (!conf->temp_en) in inv_icm42600_set_conf() [all …]
|
| /linux/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() 109 struct tcf_em_text conf; in em_text_dump() local 111 strncpy(conf.algo, tm->config->ops->name, sizeof(conf.algo) - 1); in em_text_dump() 115 conf.to_layer = tm->to_layer; in em_text_dump() 117 conf.pad = 0; in em_text_dump() [all …]
|
| /linux/scripts/kconfig/tests/choice/ |
| A D | __init__.py | 7 def test_oldask0(conf): argument 8 assert conf.oldaskconfig() == 0 9 assert conf.stdout_contains('oldask0_expected_stdout') 12 def test_allyes(conf): argument 13 assert conf.allyesconfig() == 0 17 def test_allmod(conf): argument 18 assert conf.allmodconfig() == 0 22 def test_allno(conf): argument 23 assert conf.allnoconfig() == 0 27 def test_alldef(conf): argument [all …]
|
| /linux/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() 103 conf = port->conf; in sparx5_pcs_config() 104 conf.power_down = false; in sparx5_pcs_config() 105 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 (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 (conf->inband) { in sparx5_port_pcs_set() 965 port->conf = *conf; in sparx5_port_pcs_set() [all …]
|
| /linux/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/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/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/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/drivers/gpu/drm/i915/display/ |
| A D | dvo_ns2501.c | 206 u8 conf; /* configuration register 8 */ member 381 const struct ns2501_configuration *conf; member 552 const struct ns2501_configuration *conf; in ns2501_mode_set() local 609 conf = ns2501_modes + mode_idx; in ns2501_mode_set() 610 ns->conf = conf; in ns2501_mode_set() 612 ns2501_writeb(dvo, NS2501_REG8, conf->conf); in ns2501_mode_set() 613 ns2501_writeb(dvo, NS2501_REG1B, conf->pll_a); in ns2501_mode_set() 640 ns2501_writeb(dvo, NS2501_REGC0, conf->sync); in ns2501_mode_set() 670 ns->conf->conf | NS2501_8_BPAS); in ns2501_dpms() 671 if (!(ns->conf->conf & NS2501_8_BPAS)) in ns2501_dpms() [all …]
|
| /linux/drivers/pinctrl/cirrus/ |
| A D | pinctrl-madera-core.c | 520 unsigned int conf[2]; in madera_pin_dbg_show() local 533 seq_printf(s, "%04x:%04x", conf[0], conf[1]); in madera_pin_dbg_show() 749 unsigned int conf[2]; in madera_pin_conf_get() local 770 if (!conf[1]) in madera_pin_conf_get() 825 u16 conf[2] = {0, 0}; in madera_pin_conf_set() local 845 conf[1] |= MADERA_GP1_PD; in madera_pin_conf_set() 846 conf[1] &= ~MADERA_GP1_PU; in madera_pin_conf_set() 850 conf[1] |= MADERA_GP1_PU; in madera_pin_conf_set() 851 conf[1] &= ~MADERA_GP1_PD; in madera_pin_conf_set() 876 conf[0] |= MADERA_GP1_DB; in madera_pin_conf_set() [all …]
|
| /linux/net/mac80211/ |
| A D | chan.c | 81 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_link_get_chanctx() 83 if (!conf) in ieee80211_link_get_chanctx() 86 return container_of(conf, struct ieee80211_chanctx, conf); in ieee80211_link_get_chanctx() 393 ctx->conf.min_def = ctx->conf.def; in _ieee80211_recalc_chanctx_min_def() 647 struct ieee80211_chanctx_conf *conf = &ctx->conf; in ieee80211_chanctx_radar_required() local 774 struct ieee80211_chanctx_conf *conf = &ctx->conf; in ieee80211_recalc_chanctx_chantype() local 871 if (conf) { in ieee80211_assign_link_chanctx() 890 conf = &new_ctx->conf; in ieee80211_assign_link_chanctx() 898 rcu_assign_pointer(link->conf->chanctx_conf, conf); in ieee80211_assign_link_chanctx() 1821 if (!conf) in __ieee80211_link_release_channel() [all …]
|
| /linux/lib/ |
| A D | textsearch.c | 205 struct ts_config *conf, in get_linear_data() argument 267 struct ts_config *conf; in textsearch_prepare() local 290 if (IS_ERR(conf)) { in textsearch_prepare() 291 err = PTR_ERR(conf); in textsearch_prepare() 295 conf->ops = ops; in textsearch_prepare() 296 return conf; in textsearch_prepare() 315 if (conf->ops) { in textsearch_destroy() 316 if (conf->ops->destroy) in textsearch_destroy() 317 conf->ops->destroy(conf); in textsearch_destroy() 318 module_put(conf->ops->owner); in textsearch_destroy() [all …]
|
| /linux/sound/soc/tegra/ |
| A D | tegra_cif.h | 47 struct tegra_cif_conf *conf) in tegra_set_cif() argument 51 value = (conf->threshold << TEGRA_ACIF_CTRL_FIFO_TH_SHIFT) | in tegra_set_cif() 52 ((conf->audio_ch - 1) << TEGRA_ACIF_CTRL_AUDIO_CH_SHIFT) | in tegra_set_cif() 53 ((conf->client_ch - 1) << TEGRA_ACIF_CTRL_CLIENT_CH_SHIFT) | in tegra_set_cif() 54 (conf->audio_bits << TEGRA_ACIF_CTRL_AUDIO_BITS_SHIFT) | in tegra_set_cif() 55 (conf->client_bits << TEGRA_ACIF_CTRL_CLIENT_BITS_SHIFT) | in tegra_set_cif() 56 (conf->expand << TEGRA_ACIF_CTRL_EXPAND_SHIFT) | in tegra_set_cif() 57 (conf->stereo_conv << TEGRA_ACIF_CTRL_STEREO_CONV_SHIFT) | in tegra_set_cif() 58 (conf->replicate << TEGRA_ACIF_CTRL_REPLICATE_SHIFT) | in tegra_set_cif() 59 (conf->truncate << TEGRA_ACIF_CTRL_TRUNCATE_SHIFT) | in tegra_set_cif() [all …]
|