Home
last modified time | relevance | path

Searched refs:conf (Results 1 – 25 of 2482) sorted by relevance

12345678910>>...100

/openbmc/linux/drivers/md/
H A Draid5-log.h61 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 …]
H A Dmd-faulty.c94 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()
267 conf->nfaults = 0; in faulty_reshape()
305 conf = kmalloc(sizeof(*conf), GFP_KERNEL); in faulty_run()
306 if (!conf) in faulty_run()
311 conf->period[i] = 0; in faulty_run()
313 conf->nfaults = 0; in faulty_run()
316 conf->rdev = rdev; in faulty_run()
[all …]
H A Draid10.c959 WRITE_ONCE(conf->barrier, conf->barrier + 1); in raise_barrier()
973 WRITE_ONCE(conf->barrier, conf->barrier - 1); in lower_barrier()
1080 WRITE_ONCE(conf->barrier, conf->barrier + 1); in freeze_array()
1092 WRITE_ONCE(conf->barrier, conf->barrier - 1); in unfreeze_array()
4100 conf->prev = conf->geo; in setup_conf()
4112 conf->prev.stride = conf->dev_sectors; in setup_conf()
4612 memcpy(conf->mirrors_new, conf->mirrors, in raid10_start_reshape()
4616 conf->mirrors_old = conf->mirrors; in raid10_start_reshape()
4617 conf->mirrors = conf->mirrors_new; in raid10_start_reshape()
4729 conf->geo = conf->prev; in raid10_start_reshape()
[all …]
H A Draid5.c905 if (raid5_has_log(conf) || raid5_has_ppl(conf)) in stripe_can_batch()
2407 sh = alloc_stripe(conf->slab_cache, gfp, conf->pool_size, conf); in grow_one_stripe()
2437 "raid%d-%p", conf->level, conf->mddev); in grow_stripes()
2660 conf->active_name = 1-conf->active_name; in resize_stripes()
5662 conf->last_hold = conf->hold_list.next; in __get_priority_stripe()
5802 (conf->raid_disks - conf->max_degraded); in make_discard_request()
6749 struct r5conf *conf = group->conf; in raid5_do_work() local
6829 conf->seq_write = conf->seq_flush; in raid5d()
7315 group->conf = conf; in alloc_thread_groups()
7686 conf->prev_algo = conf->algorithm; in setup_conf()
[all …]
H A Dmd-multipath.c191 if (!conf) { in print_multipath_conf()
195 pr_debug(" --- wd:%d rd:%d\n", conf->raid_disks - conf->mddev->degraded, in print_multipath_conf()
196 conf->raid_disks); in print_multipath_conf()
339 struct mpconf *conf; in multipath_run() local
361 mddev->private = conf; in multipath_run()
362 if (!conf) in multipath_run()
368 if (!conf->multipaths) in multipath_run()
388 conf->mddev = mddev; in multipath_run()
424 kfree(conf->multipaths); in multipath_run()
425 kfree(conf); in multipath_run()
[all …]
H A Draid1.c1686 if (!conf) { in print_conf()
1846 p = conf->mirrors + conf->raid_disks + number; in raid1_remove_disk()
1874 if (conf->mirrors[conf->raid_disks + number].rdev) { in raid1_remove_disk()
1880 conf->mirrors[conf->raid_disks + number].rdev; in raid1_remove_disk()
1895 conf->mirrors[conf->raid_disks + number].rdev = NULL; in raid1_remove_disk()
2977 if (!conf) in setup_conf()
3089 return conf; in setup_conf()
3092 if (conf) { in setup_conf()
3102 kfree(conf); in setup_conf()
3210 kfree(conf); in raid1_free()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dsunxi_nand_spl.c264 if (offs % conf->page_size || len % conf->ecc_size || in nand_read_page()
269 if (conf->randomize) in nand_read_page()
330 int nsectors = conf->page_size / conf->ecc_size; in nand_max_ecc_strength()
379 for (conf->ecc_size = 1024; conf->ecc_size >= min_ecc_size; in nand_detect_ecc_config()
400 ret = nand_read_page(conf, offs, dest, conf->ecc_size); in nand_detect_ecc_config()
442 if (conf->valid) in nand_detect_config()
458 for (conf->page_size = 2048; conf->page_size <= max_page_size; in nand_detect_config()
464 conf->valid = true; in nand_detect_config()
480 if (conf->randomize) in nand_read_buffer()
487 ret = nand_read_page(conf, offs, dest, conf->page_size); in nand_read_buffer()
[all …]
/openbmc/linux/drivers/fpga/
H A Daltera-cvp.c272 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 …]
H A Daltera-ps-spi.c213 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 …]
H A Dxilinx-spi.c35 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 …]
/openbmc/qemu/hw/block/
H A Dblock.c160 if (conf->logical_block_size > conf->physical_block_size) { in blkconf_blocksizes()
166 if (!QEMU_IS_ALIGNED(conf->min_io_size, conf->logical_block_size)) { in blkconf_blocksizes()
176 if (conf->min_io_size / conf->logical_block_size > UINT16_MAX) { in blkconf_blocksizes()
182 if (!QEMU_IS_ALIGNED(conf->opt_io_size, conf->logical_block_size)) { in blkconf_blocksizes()
256 if (!conf->cyls && !conf->heads && !conf->secs) { in blkconf_geometry()
258 &conf->cyls, &conf->heads, &conf->secs, in blkconf_geometry()
261 *ptrans = hd_bios_chs_auto_trans(conf->cyls, conf->heads, conf->secs); in blkconf_geometry()
263 if (conf->cyls || conf->heads || conf->secs) { in blkconf_geometry()
264 if (conf->cyls < 1 || conf->cyls > cyls_max) { in blkconf_geometry()
268 if (conf->heads < 1 || conf->heads > heads_max) { in blkconf_geometry()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-beacon.c57 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 …]
/openbmc/openbmc/meta-ibm/recipes-core/systemd/
H A Dsystemd_%.bbappend26 FILES:${PN}:append:p10bmc = " ${systemd_unitdir}/journald.conf.d/journald-storage-policy.conf"
28 FILES:${PN}:append:p10bmc = " ${systemd_unitdir}/journald.conf.d/journald-size-policy.conf"
41 FILES:${PN}:append:system1 = " ${systemd_unitdir}/journald.conf.d/journald-size-policy.conf"
44 …4 -D ${WORKDIR}/journald-storage-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald-stora…
46 …44 -D ${WORKDIR}/journald-size-policy-2MB.conf ${D}${systemd_unitdir}/journald.conf.d/journald-siz…
49 …4 -D ${WORKDIR}/journald-storage-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald-stora…
51 …4 -D ${WORKDIR}/journald-size-policy-16MB.conf ${D}${systemd_unitdir}/journald.conf.d/journald-siz…
52 install -m 644 -D ${WORKDIR}/vm.conf ${D}${sysconfdir}/sysctl.d/vm.conf
53 install -m 644 -D ${WORKDIR}/network.conf ${D}${sysconfdir}/sysctl.d/network.conf
71 …4 -D ${WORKDIR}/journald-storage-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald-stora…
[all …]
/openbmc/linux/scripts/kconfig/tests/choice/
H A D__init__.py14 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 …]
/openbmc/u-boot/scripts/kconfig/tests/choice/
H A D__init__.py13 def test_oldask0(conf): argument
14 assert conf.oldaskconfig() == 0
18 def test_oldask1(conf): argument
23 def test_allyes(conf): argument
24 assert conf.allyesconfig() == 0
28 def test_allmod(conf): argument
29 assert conf.allmodconfig() == 0
33 def test_allno(conf): argument
34 assert conf.allnoconfig() == 0
38 def test_alldef(conf): argument
[all …]
/openbmc/linux/include/linux/
H A Dtextsearch.h78 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 …]
/openbmc/linux/drivers/clk/
H A Dclk-sparx5.c65 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 …]
/openbmc/linux/drivers/mfd/
H A Datmel-smc.c22 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 …]
/openbmc/linux/net/sched/
H A Dem_text.c47 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 …]
/openbmc/openbmc/poky/meta/recipes-connectivity/bind/bind/
H A Dmake-etc-initd-bind-stop-work.patch10 conf/named.conf | 5 +++++
11 conf/rndc.conf | 5 +++++
13 create mode 100644 conf/rndc.conf
15 diff --git a/conf/named.conf b/conf/named.conf
17 --- a/conf/named.conf
18 +++ b/conf/named.conf
22 include "/etc/bind/named.conf.local";
28 diff --git a/conf/rndc.conf b/conf/rndc.conf
32 +++ b/conf/rndc.conf
/openbmc/openbmc/poky/meta/recipes-multimedia/alsa/
H A Dalsa-plugins_1.2.7.1.bb65 …mv ${D}${sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.…
66 …ln -s ${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf ${D}${sysconfdir}/alsa/conf.d/99-puls…
98 ${datadir}/alsa/alsa.conf.d/98-maemo.conf \
99 ${sysconfdir}/alsa/conf.d/98-maemo.conf \
102 ${datadir}/alsa/alsa.conf.d/50-jack.conf \
103 ${sysconfdir}/alsa/conf.d/50-jack.conf \
106 ${datadir}/alsa/alsa.conf.d/50-oss.conf \
107 ${sysconfdir}/alsa/conf.d/50-oss.conf \
110 ${datadir}/alsa/alsa.conf.d/60-speex.conf \
111 ${sysconfdir}/alsa/conf.d/60-speex.conf \
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libldb/libldb/
H A D0002-ldb-Add-configure-options-for-packages.patch67 def configure(conf):
68 conf.RECURSE('buildtools/wafsamba')
69 @@ -38,12 +66,22 @@ def configure(conf):
70 conf.DEFINE('HAVE_LIBREPLACE', 1)
81 + conf.CHECK_HEADERS('shadow.h')
96 @@ -113,8 +151,9 @@ def configure(conf):
108 @@ -443,20 +482,21 @@ def configure(conf):
124 - if not conf.CHECK_FUNCS('closefrom'):
142 conf.CHECK_CODE('''
161 def configure(conf):
[all …]
/openbmc/linux/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_core.c216 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 …]
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_phylink.c56 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 …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libtalloc/libtalloc/
H A D0001-talloc-Add-configure-options-for-packages.patch72 def configure(conf):
73 conf.RECURSE('buildtools/wafsamba')
74 @@ -38,18 +66,27 @@ def configure(conf):
75 conf.DEFINE('HAVE_LIBREPLACE', 1)
86 + conf.CHECK_HEADERS('shadow.h')
104 conf.CHECK_HEADERS('malloc.h')
127 - elif conf.env.enable_fuzzing:
153 + elif conf.env.enable_fuzzing:
173 conf.CHECK_CODE('''
191 def configure(conf):
[all …]

12345678910>>...100