Home
last modified time | relevance | path

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

12345678910>>...95

/openbmc/linux/drivers/md/
H A Draid5-log.h5 int r5l_init_log(struct r5conf *conf, struct md_rdev *rdev);
6 void r5l_exit_log(struct r5conf *conf);
13 bool r5l_log_disk_error(struct r5conf *conf);
15 int r5c_try_caching_write(struct r5conf *conf, struct stripe_head *sh,
17 void r5c_finish_stripe_write_out(struct r5conf *conf, struct stripe_head *sh,
22 void r5c_handle_cached_data_endio(struct r5conf *conf,
26 void r5c_flush_cache(struct r5conf *conf, int num);
27 void r5c_check_stripe_cache_usage(struct r5conf *conf);
28 void r5c_check_cached_full_stripe(struct r5conf *conf);
31 bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect);
[all …]
H A Dmd-faulty.c85 static int check_mode(struct faulty_conf *conf, int mode) in check_mode() argument
87 if (conf->period[mode] == 0 && in check_mode()
88 atomic_read(&conf->counters[mode]) <= 0) in check_mode()
92 if (atomic_dec_and_test(&conf->counters[mode])) { in check_mode()
93 if (conf->period[mode]) in check_mode()
94 atomic_set(&conf->counters[mode], conf->period[mode]); in check_mode()
100 static int check_sector(struct faulty_conf *conf, sector_t start, sector_t end, int dir) in check_sector() argument
104 for (i=0; i<conf->nfaults; i++) in check_sector()
105 if (conf->faults[i] >= start && in check_sector()
106 conf->faults[i] < end) { in check_sector()
[all …]
H A Draid10.c67 static void allow_barrier(struct r10conf *conf);
68 static void lower_barrier(struct r10conf *conf);
69 static int _enough(struct r10conf *conf, int previous, int ignore);
70 static int enough(struct r10conf *conf, int ignore);
75 static void end_reshape(struct r10conf *conf);
83 #define cmd_before(conf, cmd) \ argument
85 write_sequnlock_irq(&(conf)->resync_lock); \
88 #define cmd_after(conf) write_seqlock_irq(&(conf)->resync_lock) argument
90 #define wait_event_barrier_cmd(conf, cond, cmd) \ argument
91 wait_event_cmd((conf)->wait_barrier, cond, cmd_before(conf, cmd), \
[all …]
H A Draid5.c72 static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect) in stripe_hash() argument
74 int hash = (sect >> RAID5_STRIPE_SHIFT(conf)) & HASH_MASK; in stripe_hash()
75 return &conf->stripe_hashtbl[hash]; in stripe_hash()
78 static inline int stripe_hash_locks_hash(struct r5conf *conf, sector_t sect) in stripe_hash_locks_hash() argument
80 return (sect >> RAID5_STRIPE_SHIFT(conf)) & STRIPE_HASH_LOCKS_MASK; in stripe_hash_locks_hash()
83 static inline void lock_device_hash_lock(struct r5conf *conf, int hash) in lock_device_hash_lock() argument
84 __acquires(&conf->device_lock) in lock_device_hash_lock()
86 spin_lock_irq(conf->hash_locks + hash); in lock_device_hash_lock()
87 spin_lock(&conf->device_lock); in lock_device_hash_lock()
90 static inline void unlock_device_hash_lock(struct r5conf *conf, int hash) in unlock_device_hash_lock() argument
[all …]
H A Draid1.c46 static void allow_barrier(struct r1conf *conf, sector_t sector_nr);
47 static void lower_barrier(struct r1conf *conf, sector_t sector_nr);
241 static void put_all_bios(struct r1conf *conf, struct r1bio *r1_bio) in put_all_bios() argument
245 for (i = 0; i < conf->raid_disks * 2; i++) { in put_all_bios()
255 struct r1conf *conf = r1_bio->mddev->private; in free_r1bio() local
257 put_all_bios(conf, r1_bio); in free_r1bio()
258 mempool_free(r1_bio, &conf->r1bio_pool); in free_r1bio()
263 struct r1conf *conf = r1_bio->mddev->private; in put_buf() local
267 for (i = 0; i < conf->raid_disks * 2; i++) { in put_buf()
270 rdev_dec_pending(conf->mirrors[i].rdev, r1_bio->mddev); in put_buf()
[all …]
H A Dmd-multipath.c26 static int multipath_map (struct mpconf *conf) in multipath_map() argument
28 int i, disks = conf->raid_disks; in multipath_map()
37 struct md_rdev *rdev = rcu_dereference(conf->multipaths[i].rdev); in multipath_map()
55 struct mpconf *conf = mddev->private; in multipath_reschedule_retry() local
57 spin_lock_irqsave(&conf->device_lock, flags); in multipath_reschedule_retry()
58 list_add(&mp_bh->retry_list, &conf->retry_list); in multipath_reschedule_retry()
59 spin_unlock_irqrestore(&conf->device_lock, flags); in multipath_reschedule_retry()
71 struct mpconf *conf = mp_bh->mddev->private; in multipath_end_bh_io() local
75 mempool_free(mp_bh, &conf->pool); in multipath_end_bh_io()
81 struct mpconf *conf = mp_bh->mddev->private; in multipath_end_request() local
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dsunxi_nand_spl.c200 static void nand_apply_config(const struct nfc_config *conf) in nand_apply_config() argument
208 writel(val | NFC_CTL_RAM_METHOD | NFC_CTL_PAGE_SIZE(conf->page_size), in nand_apply_config()
210 writel(conf->ecc_size, SUNXI_NFC_BASE + NFC_CNT); in nand_apply_config()
211 writel(conf->page_size, SUNXI_NFC_BASE + NFC_SPARE_AREA); in nand_apply_config()
214 static int nand_load_page(const struct nfc_config *conf, u32 offs) in nand_load_page() argument
216 int page = offs / conf->page_size; in nand_load_page()
227 ((conf->addr_cycles - 1) << NFC_ADDR_NUM_OFFSET)); in nand_load_page()
254 static int nand_read_page(const struct nfc_config *conf, u32 offs, in nand_read_page() argument
257 int nsectors = len / conf->ecc_size; in nand_read_page()
259 int oob_chunk_sz = ecc_bytes[conf->ecc_strength]; in nand_read_page()
[all …]
/openbmc/linux/drivers/fpga/
H A Daltera-cvp.c78 void (*write_data)(struct altera_cvp_conf *conf,
88 void (*switch_clk)(struct altera_cvp_conf *conf);
89 int (*clear_state)(struct altera_cvp_conf *conf);
96 static int altera_read_config_byte(struct altera_cvp_conf *conf, in altera_read_config_byte() argument
99 return pci_read_config_byte(conf->pci_dev, conf->vsec_offset + where, in altera_read_config_byte()
103 static int altera_read_config_dword(struct altera_cvp_conf *conf, in altera_read_config_dword() argument
106 return pci_read_config_dword(conf->pci_dev, conf->vsec_offset + where, in altera_read_config_dword()
110 static int altera_write_config_dword(struct altera_cvp_conf *conf, in altera_write_config_dword() argument
113 return pci_write_config_dword(conf->pci_dev, conf->vsec_offset + where, in altera_write_config_dword()
119 struct altera_cvp_conf *conf = mgr->priv; in altera_cvp_state() local
[all …]
H A Daltera-ps-spi.c90 struct altera_ps_conf *conf = mgr->priv; in altera_ps_state() local
92 if (gpiod_get_value_cansleep(conf->status)) in altera_ps_state()
110 struct altera_ps_conf *conf = mgr->priv; in altera_ps_write_init() local
114 conf->info_flags = info->flags; in altera_ps_write_init()
121 gpiod_set_value_cansleep(conf->config, 1); in altera_ps_write_init()
124 altera_ps_delay(conf->data->t_cfg_us); in altera_ps_write_init()
126 if (!gpiod_get_value_cansleep(conf->status)) { in altera_ps_write_init()
131 gpiod_set_value_cansleep(conf->config, 0); in altera_ps_write_init()
133 min = conf->data->status_wait_min_us; in altera_ps_write_init()
134 max = conf->data->status_wait_max_us; in altera_ps_write_init()
[all …]
H A Dxilinx-spi.c32 struct xilinx_spi_conf *conf = mgr->priv; in get_done_gpio() local
35 ret = gpiod_get_value(conf->done); in get_done_gpio()
66 struct xilinx_spi_conf *conf = mgr->priv; in wait_for_init_b() local
69 if (conf->init_b) { in wait_for_init_b()
71 int ret = gpiod_get_value(conf->init_b); in wait_for_init_b()
98 struct xilinx_spi_conf *conf = mgr->priv; in xilinx_spi_write_init() local
106 gpiod_set_value(conf->prog_b, 1); in xilinx_spi_write_init()
110 gpiod_set_value(conf->prog_b, 0); in xilinx_spi_write_init()
114 gpiod_set_value(conf->prog_b, 0); in xilinx_spi_write_init()
133 struct xilinx_spi_conf *conf = mgr->priv; in xilinx_spi_write() local
[all …]
/openbmc/qemu/hw/block/
H A Dblock.c103 bool blkconf_blocksizes(BlockConf *conf, Error **errp) in blkconf_blocksizes() argument
105 BlockBackend *blk = conf->blk; in blkconf_blocksizes()
111 switch (conf->backend_defaults) { in blkconf_blocksizes()
133 if (!conf->physical_block_size) { in blkconf_blocksizes()
135 conf->physical_block_size = blocksizes.phys; in blkconf_blocksizes()
137 conf->physical_block_size = BDRV_SECTOR_SIZE; in blkconf_blocksizes()
140 if (!conf->logical_block_size) { in blkconf_blocksizes()
142 conf->logical_block_size = blocksizes.log; in blkconf_blocksizes()
144 conf->logical_block_size = BDRV_SECTOR_SIZE; in blkconf_blocksizes()
148 if (!conf->opt_io_size) { in blkconf_blocksizes()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-beacon.c42 struct ath_beacon_config *conf, in ath9k_cmn_beacon_config_sta() argument
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()
72 bs->bs_intval = TU_TO_USEC(conf->intval); in ath9k_cmn_beacon_config_sta()
73 bs->bs_dtimperiod = conf->dtim_period * bs->bs_intval; in ath9k_cmn_beacon_config_sta()
74 bs->bs_nexttbtt = conf->nexttbtt; in ath9k_cmn_beacon_config_sta()
75 bs->bs_nextdtim = conf->nexttbtt; in ath9k_cmn_beacon_config_sta()
76 if (conf->dtim_period > 1) in ath9k_cmn_beacon_config_sta()
85 bs->bs_bmissthreshold = DIV_ROUND_UP(conf->bmiss_timeout, conf->intval); in ath9k_cmn_beacon_config_sta()
[all …]
/openbmc/openbmc/meta-ibm/recipes-core/systemd/
H A Dsystemd_%.bbappend2 SRC_URI:append:ibm-ac-server = " file://journald-storage-policy.conf"
3 SRC_URI:append:ibm-ac-server = " file://systemd-journald-override.conf"
4 SRC_URI:append:ibm-ac-server = " file://journald-size-policy-2MB.conf"
6 SRC_URI:append:p10bmc = " file://journald-storage-policy.conf"
7 SRC_URI:append:p10bmc = " file://systemd-journald-override.conf"
8 SRC_URI:append:p10bmc = " file://journald-size-policy-16MB.conf"
9 SRC_URI:append:p10bmc = " file://vm.conf"
10 SRC_URI:append:p10bmc = " file://network.conf"
11 SRC_URI:append:p10bmc = " file://systemd-networkd-only-wait-for-one.conf"
12 SRC_URI:append:p10bmc = " file://systemd-sulogin-force.conf"
[all …]
/openbmc/u-boot/scripts/kconfig/tests/choice/
H A D__init__.py13 def test_oldask0(conf): argument
14 assert conf.oldaskconfig() == 0
15 assert conf.stdout_contains('oldask0_expected_stdout')
18 def test_oldask1(conf): argument
19 assert conf.oldaskconfig('oldask1_config') == 0
20 assert conf.stdout_contains('oldask1_expected_stdout')
23 def test_allyes(conf): argument
24 assert conf.allyesconfig() == 0
25 assert conf.config_contains('allyes_expected_config')
28 def test_allmod(conf): argument
[all …]
/openbmc/linux/scripts/kconfig/tests/choice/
H A D__init__.py14 def test_oldask0(conf): argument
15 assert conf.oldaskconfig() == 0
16 assert conf.stdout_contains('oldask0_expected_stdout')
19 def test_oldask1(conf): argument
20 assert conf.oldaskconfig('oldask1_config') == 0
21 assert conf.stdout_contains('oldask1_expected_stdout')
24 def test_allyes(conf): argument
25 assert conf.allyesconfig() == 0
26 assert conf.config_contains('allyes_expected_config')
29 def test_allmod(conf): argument
[all …]
/openbmc/linux/include/linux/
H A Dtextsearch.h78 struct ts_config *conf,
89 void (*finish)(struct ts_config *conf,
105 static inline unsigned int textsearch_next(struct ts_config *conf, in textsearch_next() argument
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()
124 static inline unsigned int textsearch_find(struct ts_config *conf, in textsearch_find() argument
128 return textsearch_next(conf, state); in textsearch_find()
135 static inline void *textsearch_get_pattern(struct ts_config *conf) in textsearch_get_pattern() argument
137 return conf->ops->get_pattern(conf); in textsearch_get_pattern()
[all …]
/openbmc/linux/drivers/clk/
H A Dclk-sparx5.c59 const struct s5_pll_conf *conf) in s5_calc_freq() argument
61 unsigned long rate = parent_rate / conf->div; in s5_calc_freq()
63 if (conf->rot_ena) { in s5_calc_freq()
64 int sign = conf->rot_dir ? -1 : 1; in s5_calc_freq()
65 int divt = sel_rates[conf->rot_sel] * (1 + conf->pre_div); in s5_calc_freq()
78 struct s5_pll_conf *conf) in s5_search_fractional() argument
84 memset(conf, 0, sizeof(*conf)); in s5_search_fractional()
85 conf->div = div; in s5_search_fractional()
86 conf->rot_ena = 1; /* Fractional rate */ in s5_search_fractional()
89 conf->rot_dir = !!d; in s5_search_fractional()
[all …]
/openbmc/linux/drivers/mfd/
H A Datmel-smc.c20 void atmel_smc_cs_conf_init(struct atmel_smc_cs_conf *conf) in atmel_smc_cs_conf_init() argument
22 memset(conf, 0, sizeof(*conf)); in atmel_smc_cs_conf_init()
93 int atmel_smc_cs_conf_set_timing(struct atmel_smc_cs_conf *conf, in atmel_smc_cs_conf_set_timing() argument
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()
135 int atmel_smc_cs_conf_set_setup(struct atmel_smc_cs_conf *conf, in atmel_smc_cs_conf_set_setup() argument
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()
174 int atmel_smc_cs_conf_set_pulse(struct atmel_smc_cs_conf *conf, in atmel_smc_cs_conf_set_pulse() argument
191 conf->pulse &= ~GENMASK(shift + 7, shift); in atmel_smc_cs_conf_set_pulse()
[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()
63 conf->pattern_len, GFP_KERNEL, flags); in em_text_change()
86 tm->from_offset = conf->from_offset; in em_text_change()
87 tm->to_offset = conf->to_offset; in em_text_change()
88 tm->from_layer = conf->from_layer; in em_text_change()
[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.12.bb47 PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'alsa-plugins-pulseaudio-conf', ''…
64 …mv ${D}${sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.…
65 …ln -s ${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf ${D}${sysconfdir}/alsa/conf.d/99-puls…
79 # case of the pulse plugins, we have a separate alsa-plugins-pulseaudio-conf
89 ${datadir}/alsa/alsa.conf.d/50-arcam-av-ctl.conf \
90 ${sysconfdir}/alsa/conf.d/50-arcam-av-ctl.conf \
93 ${datadir}/alsa/alsa.conf.d/60-a52-encoder.conf \
94 ${sysconfdir}/alsa/conf.d/60-a52-encoder.conf \
97 ${datadir}/alsa/alsa.conf.d/98-maemo.conf \
98 ${sysconfdir}/alsa/conf.d/98-maemo.conf \
[all …]
/openbmc/linux/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_core.c61 const struct inv_icm42600_conf *conf; member
85 .conf = &inv_icm42600_default_conf,
90 .conf = &inv_icm42600_default_conf,
95 .conf = &inv_icm42600_default_conf,
100 .conf = &inv_icm42600_default_conf,
105 .conf = &inv_icm42600_default_conf,
159 enum inv_icm42600_sensor_mode oldgyro = st->conf.gyro.mode; in inv_icm42600_set_pwr_mgmt0()
160 enum inv_icm42600_sensor_mode oldaccel = st->conf.accel.mode; in inv_icm42600_set_pwr_mgmt0()
161 bool oldtemp = st->conf.temp_en; in inv_icm42600_set_pwr_mgmt0()
178 st->conf.gyro.mode = gyro; in inv_icm42600_set_pwr_mgmt0()
[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)
71 conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1)
73 - conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h compat.h')
74 - conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h')
75 + conf.CHECK_HEADERS('linux/types.h crypt.h locale.h compat.h')
76 + conf.CHECK_HEADERS('compat.h ctype.h dustat.h')
77 conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h')
[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)
76 conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1)
78 - conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h compat.h')
79 - conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h')
80 + conf.CHECK_HEADERS('linux/types.h crypt.h locale.h compat.h')
81 + conf.CHECK_HEADERS('compat.h ctype.h dustat.h')
82 conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h')
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libtevent/libtevent/
H A D0001-Add-configure-options-for-packages.patch72 def configure(conf):
73 conf.RECURSE('buildtools/wafsamba')
74 @@ -38,12 +66,24 @@ def configure(conf):
75 conf.DEFINE('HAVE_LIBREPLACE', 1)
76 conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1)
78 - conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h compat.h')
79 - conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h')
80 + conf.CHECK_HEADERS('linux/types.h crypt.h locale.h compat.h')
81 + conf.CHECK_HEADERS('compat.h ctype.h dustat.h')
82 conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h')
[all …]

12345678910>>...95