Home
last modified time | relevance | path

Searched full:conf (Results 1 – 25 of 1080) sorted by relevance

12345678910>>...44

/linux-6.12.1/drivers/md/
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 …]
Draid10.c69 static void allow_barrier(struct r10conf *conf);
70 static void lower_barrier(struct r10conf *conf);
71 static int _enough(struct r10conf *conf, int previous, int ignore);
72 static int enough(struct r10conf *conf, int ignore);
77 static void end_reshape(struct r10conf *conf);
82 #define cmd_before(conf, cmd) \ argument
84 write_sequnlock_irq(&(conf)->resync_lock); \
87 #define cmd_after(conf) write_seqlock_irq(&(conf)->resync_lock) argument
89 #define wait_event_barrier_cmd(conf, cond, cmd) \ argument
90 wait_event_cmd((conf)->wait_barrier, cond, cmd_before(conf, cmd), \
[all …]
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);
239 static void put_all_bios(struct r1conf *conf, struct r1bio *r1_bio) in put_all_bios() argument
243 for (i = 0; i < conf->raid_disks * 2; i++) { in put_all_bios()
253 struct r1conf *conf = r1_bio->mddev->private; in free_r1bio() local
255 put_all_bios(conf, r1_bio); in free_r1bio()
256 mempool_free(r1_bio, &conf->r1bio_pool); in free_r1bio()
261 struct r1conf *conf = r1_bio->mddev->private; in put_buf() local
265 for (i = 0; i < conf->raid_disks * 2; i++) { in put_buf()
268 rdev_dec_pending(conf->mirrors[i].rdev, r1_bio->mddev); in put_buf()
[all …]
Draid5.c22 * conf->seq_write is the number of the last batch successfully written.
23 * conf->seq_flush is the number of the last batch that was closed to
74 static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect) in stripe_hash() argument
76 int hash = (sect >> RAID5_STRIPE_SHIFT(conf)) & HASH_MASK; in stripe_hash()
77 return &conf->stripe_hashtbl[hash]; in stripe_hash()
80 static inline int stripe_hash_locks_hash(struct r5conf *conf, sector_t sect) in stripe_hash_locks_hash() argument
82 return (sect >> RAID5_STRIPE_SHIFT(conf)) & STRIPE_HASH_LOCKS_MASK; in stripe_hash_locks_hash()
85 static inline void lock_device_hash_lock(struct r5conf *conf, int hash) in lock_device_hash_lock() argument
86 __acquires(&conf->device_lock) in lock_device_hash_lock()
88 spin_lock_irq(conf->hash_locks + hash); in lock_device_hash_lock()
[all …]
Draid0.c40 struct r0conf *conf = mddev->private; in dump_zones() local
41 int raid_disks = conf->strip_zone[0].nb_dev; in dump_zones()
44 conf->nr_strip_zones, conf->nr_strip_zones==1?"":"s"); in dump_zones()
45 for (j = 0; j < conf->nr_strip_zones; j++) { in dump_zones()
49 for (k = 0; k < conf->strip_zone[j].nb_dev; k++) in dump_zones()
51 conf->devlist[j * raid_disks + k]->bdev); in dump_zones()
54 zone_size = conf->strip_zone[j].zone_end - zone_start; in dump_zones()
57 (unsigned long long)conf->strip_zone[j].dev_start>>1, in dump_zones()
59 zone_start = conf->strip_zone[j].zone_end; in dump_zones()
70 struct r0conf *conf = kzalloc(sizeof(*conf), GFP_KERNEL); in create_strip_zones() local
[all …]
/linux-6.12.1/drivers/fpga/
Daltera-cvp.c77 void (*write_data)(struct altera_cvp_conf *conf,
87 void (*switch_clk)(struct altera_cvp_conf *conf);
88 int (*clear_state)(struct altera_cvp_conf *conf);
95 static int altera_read_config_byte(struct altera_cvp_conf *conf, in altera_read_config_byte() argument
98 return pci_read_config_byte(conf->pci_dev, conf->vsec_offset + where, in altera_read_config_byte()
102 static int altera_read_config_dword(struct altera_cvp_conf *conf, in altera_read_config_dword() argument
105 return pci_read_config_dword(conf->pci_dev, conf->vsec_offset + where, in altera_read_config_dword()
109 static int altera_write_config_dword(struct altera_cvp_conf *conf, in altera_write_config_dword() argument
112 return pci_write_config_dword(conf->pci_dev, conf->vsec_offset + where, in altera_write_config_dword()
118 struct altera_cvp_conf *conf = mgr->priv; in altera_cvp_state() local
[all …]
Daltera-ps-spi.c83 struct altera_ps_conf *conf = mgr->priv; in altera_ps_state() local
85 if (gpiod_get_value_cansleep(conf->status)) in altera_ps_state()
103 struct altera_ps_conf *conf = mgr->priv; in altera_ps_write_init() local
107 conf->info_flags = info->flags; in altera_ps_write_init()
114 gpiod_set_value_cansleep(conf->config, 1); in altera_ps_write_init()
117 altera_ps_delay(conf->data->t_cfg_us); in altera_ps_write_init()
119 if (!gpiod_get_value_cansleep(conf->status)) { in altera_ps_write_init()
124 gpiod_set_value_cansleep(conf->config, 0); in altera_ps_write_init()
126 min = conf->data->status_wait_min_us; in altera_ps_write_init()
127 max = conf->data->status_wait_max_us; in altera_ps_write_init()
[all …]
/linux-6.12.1/drivers/mfd/
Datmel-smc.c15 * atmel_smc_cs_conf_init - initialize a SMC CS conf
16 * @conf: the SMC CS conf to initialize
20 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()
79 * atmel_smc_cs_conf_set_timing - set the SMC CS conf Txx parameter to a
81 * @conf: SMC CS conf descriptor
88 * @conf->timings field at @shift position.
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()
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath9k/
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 …]
/linux-6.12.1/drivers/clk/
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 …]
/linux-6.12.1/net/sched/
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 …]
/linux-6.12.1/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_core.c93 const struct inv_icm42600_conf *conf; member
133 .conf = &inv_icm42600_default_conf,
138 .conf = &inv_icm42600_default_conf,
143 .conf = &inv_icm42600_default_conf,
148 .conf = &inv_icm42686_default_conf,
153 .conf = &inv_icm42600_default_conf,
158 .conf = &inv_icm42600_default_conf,
163 .conf = &inv_icm42600_default_conf,
217 enum inv_icm42600_sensor_mode oldgyro = st->conf.gyro.mode; in inv_icm42600_set_pwr_mgmt0()
218 enum inv_icm42600_sensor_mode oldaccel = st->conf.accel.mode; in inv_icm42600_set_pwr_mgmt0()
[all …]
/linux-6.12.1/include/linux/
Dtextsearch.h68 * @conf: search configuration
78 struct ts_config *conf,
83 * @conf: search configuration
89 void (*finish)(struct ts_config *conf,
95 * @conf: search configuration
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()
118 * @conf: search configuration
[all …]
/linux-6.12.1/scripts/kconfig/tests/choice/
D__init__.py7 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
14 assert conf.config_contains('allyes_expected_config')
17 def test_allmod(conf): argument
18 assert conf.allmodconfig() == 0
19 assert conf.config_contains('allmod_expected_config')
22 def test_allno(conf): argument
[all …]
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_phylink.c53 struct sparx5_port_config conf; in sparx5_phylink_mac_link_up() local
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()
59 conf.pause |= tx_pause ? MLO_PAUSE_TX : 0; in sparx5_phylink_mac_link_up()
60 conf.pause |= rx_pause ? MLO_PAUSE_RX : 0; in sparx5_phylink_mac_link_up()
61 conf.speed = speed; in sparx5_phylink_mac_link_up()
63 err = sparx5_port_config(port->sparx5, port, &conf); in sparx5_phylink_mac_link_up()
100 struct sparx5_port_config conf; in sparx5_pcs_config() local
103 conf = port->conf; in sparx5_pcs_config()
[all …]
Dsparx5_port.c97 if (port->conf.portmode == PHY_INTERFACE_MODE_1000BASEX) in sparx5_get_dev2g5_status()
99 else if (port->conf.portmode == PHY_INTERFACE_MODE_2500BASEX) in sparx5_get_dev2g5_status()
110 if (port->conf.portmode == PHY_INTERFACE_MODE_SGMII) { in sparx5_get_dev2g5_status()
125 bool high_speed_dev = sparx5_is_baser(port->conf.portmode); in sparx5_get_sfi_status()
148 if (port->conf.portmode == PHY_INTERFACE_MODE_5GBASER) in sparx5_get_sfi_status()
150 else if (port->conf.portmode == PHY_INTERFACE_MODE_10GBASER) in sparx5_get_sfi_status()
165 status->speed = port->conf.speed; in sparx5_get_port_status()
166 if (port->conf.power_down) { in sparx5_get_port_status()
170 switch (port->conf.portmode) { in sparx5_get_port_status()
190 struct sparx5_port_config *conf, in sparx5_port_error() argument
[all …]
/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/
Drt2x00config.c24 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()
53 memcpy(conf.mac, mac, ETH_ALEN); in rt2x00lib_config_intf()
55 memset(conf.bssid, 0, sizeof(conf.bssid)); in rt2x00lib_config_intf()
57 memcpy(conf.bssid, bssid, ETH_ALEN); in rt2x00lib_config_intf()
[all …]
/linux-6.12.1/Documentation/admin-guide/aoe/
Dudev-install.sh7 # find udev.conf, often /etc/udev/udev.conf
8 # (or environment can specify where to find udev.conf)
10 if test -z "$conf"; then
11 if test -r /etc/udev/udev.conf; then
12 conf=/etc/udev/udev.conf
14 conf="`find /etc -type f -name udev.conf 2> /dev/null`"
15 if test -z "$conf" || test ! -r "$conf"; then
16 echo "$me Error: no udev.conf found" 1>&2
25 rules_d="`sed -n '/^udev_rules=/{ s!udev_rules=!!; s!\"!!g; p; }' $conf`"
/linux-6.12.1/net/netfilter/
Dxt_string.c26 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()
31 return (skb_find_text((struct sk_buff *)skb, conf->from_offset, 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()
[all …]
/linux-6.12.1/drivers/isdn/mISDN/
Ddsp_cmx.c150 struct dsp_conf *conf; in dsp_cmx_debug() local
159 if (odsp->conf) in dsp_cmx_debug()
160 printk(" (Conf %d)", odsp->conf->id); in dsp_cmx_debug()
165 printk(KERN_DEBUG "-----Current Conf:\n"); in dsp_cmx_debug()
166 list_for_each_entry(conf, &conf_ilist, list) { in dsp_cmx_debug()
167 printk(KERN_DEBUG "* Conf %d (%p)\n", conf->id, conf); in dsp_cmx_debug()
168 list_for_each_entry(member, &conf->mlist, list) { in dsp_cmx_debug()
189 struct dsp_conf *conf; in dsp_cmx_search_conf() local
197 list_for_each_entry(conf, &conf_ilist, list) in dsp_cmx_search_conf()
198 if (conf->id == id) in dsp_cmx_search_conf()
[all …]
/linux-6.12.1/net/mac80211/
Dchan.c58 if (radio_idx >= 0 && ctx->conf.radio_idx != radio_idx) in ieee80211_num_chanctx()
79 struct ieee80211_chanctx_conf *conf; in ieee80211_link_get_chanctx() local
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()
129 .oper = ctx->conf.def, in ieee80211_chanctx_compatible()
130 .ap = ctx->conf.ap, in ieee80211_chanctx_compatible()
174 struct ieee80211_bss_conf *link_conf = link->conf; in ieee80211_chanctx_non_reserved_chandef()
266 * ctx->conf.min_def, we have to make sure to take in ieee80211_get_sta_bw()
313 return ctx->conf.def.width; in ieee80211_get_chanctx_max_required_bw()
[all …]
Dkey.c138 !(key->conf.flags & (IEEE80211_KEY_FLAG_GENERATE_MMIC | in ieee80211_key_enable_hw_accel()
156 if (sta && !(key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE) && in ieee80211_key_enable_hw_accel()
168 if (!(key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE)) { in ieee80211_key_enable_hw_accel()
174 if (key->conf.link_id >= 0 && sdata->vif.active_links && in ieee80211_key_enable_hw_accel()
175 !(sdata->vif.active_links & BIT(key->conf.link_id))) in ieee80211_key_enable_hw_accel()
179 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_enable_hw_accel()
184 if (!(key->conf.flags & (IEEE80211_KEY_FLAG_GENERATE_MMIC | in ieee80211_key_enable_hw_accel()
189 WARN_ON((key->conf.flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE) && in ieee80211_key_enable_hw_accel()
190 (key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_IV)); in ieee80211_key_enable_hw_accel()
192 WARN_ON((key->conf.flags & IEEE80211_KEY_FLAG_PUT_MIC_SPACE) && in ieee80211_key_enable_hw_accel()
[all …]
/linux-6.12.1/drivers/usb/typec/altmodes/
Ddisplayport.c79 unsigned long conf; in dp_altmode_notify() local
82 if (dp->data.conf) { in dp_altmode_notify()
83 state = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in dp_altmode_notify()
84 conf = TYPEC_MODAL_STATE(state); in dp_altmode_notify()
86 conf = TYPEC_STATE_USB; in dp_altmode_notify()
89 return typec_altmode_notify(dp->alt, conf, &dp->data); in dp_altmode_notify()
95 u32 conf; in dp_altmode_configure() local
98 conf = (dp->data.conf & DP_CONF_SIGNALLING_MASK) >> DP_CONF_SIGNALLING_SHIFT; in dp_altmode_configure()
104 conf |= DP_CONF_UFP_U_AS_DFP_D; in dp_altmode_configure()
113 conf |= DP_CONF_UFP_U_AS_UFP_D; in dp_altmode_configure()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/xilinx/
Dzynqmp-zc1751-xm019-dc5.dts120 conf {
134 conf {
147 conf {
161 conf {
174 conf {
180 conf-rx {
185 conf-tx {
197 conf {
203 conf-rx {
208 conf-tx {
[all …]
Dzynqmp-zc1751-xm016-dc2.dts168 conf {
174 conf-rx {
179 conf-tx {
191 conf {
197 conf-rx {
202 conf-tx {
214 conf {
228 conf {
241 conf {
247 conf-rx {
[all …]

12345678910>>...44