Home
last modified time | relevance | path

Searched refs:conf (Results 1 – 200 of 542) sorted by relevance

123

/linux-4.4.14/drivers/md/
Dfaulty.c94 static int check_mode(struct faulty_conf *conf, int mode) in check_mode() argument
96 if (conf->period[mode] == 0 && in check_mode()
97 atomic_read(&conf->counters[mode]) <= 0) in check_mode()
101 if (atomic_dec_and_test(&conf->counters[mode])) { in check_mode()
102 if (conf->period[mode]) in check_mode()
103 atomic_set(&conf->counters[mode], conf->period[mode]); in check_mode()
109 static int check_sector(struct faulty_conf *conf, sector_t start, sector_t end, int dir) in check_sector() argument
113 for (i=0; i<conf->nfaults; i++) in check_sector()
114 if (conf->faults[i] >= start && in check_sector()
115 conf->faults[i] < end) { in check_sector()
[all …]
Draid1.c69 static void allow_barrier(struct r1conf *conf, sector_t start_next_window,
71 static void lower_barrier(struct r1conf *conf);
181 static void put_all_bios(struct r1conf *conf, struct r1bio *r1_bio) in put_all_bios() argument
185 for (i = 0; i < conf->raid_disks * 2; i++) { in put_all_bios()
195 struct r1conf *conf = r1_bio->mddev->private; in free_r1bio() local
197 put_all_bios(conf, r1_bio); in free_r1bio()
198 mempool_free(r1_bio, conf->r1bio_pool); in free_r1bio()
203 struct r1conf *conf = r1_bio->mddev->private; in put_buf() local
206 for (i = 0; i < conf->raid_disks * 2; i++) { in put_buf()
209 rdev_dec_pending(conf->mirrors[i].rdev, r1_bio->mddev); in put_buf()
[all …]
Draid10.c99 static void allow_barrier(struct r10conf *conf);
100 static void lower_barrier(struct r10conf *conf);
101 static int _enough(struct r10conf *conf, int previous, int ignore);
106 static void end_reshape(struct r10conf *conf);
110 struct r10conf *conf = data; in r10bio_pool_alloc() local
111 int size = offsetof(struct r10bio, devs[conf->copies]); in r10bio_pool_alloc()
140 struct r10conf *conf = data; in r10buf_pool_alloc() local
147 r10_bio = r10bio_pool_alloc(gfp_flags, conf); in r10buf_pool_alloc()
151 if (test_bit(MD_RECOVERY_SYNC, &conf->mddev->recovery) || in r10buf_pool_alloc()
152 test_bit(MD_RECOVERY_RESHAPE, &conf->mddev->recovery)) in r10buf_pool_alloc()
[all …]
Dmultipath.c34 static int multipath_map (struct mpconf *conf) in multipath_map() argument
36 int i, disks = conf->raid_disks; in multipath_map()
45 struct md_rdev *rdev = rcu_dereference(conf->multipaths[i].rdev); in multipath_map()
62 struct mpconf *conf = mddev->private; in multipath_reschedule_retry() local
64 spin_lock_irqsave(&conf->device_lock, flags); in multipath_reschedule_retry()
65 list_add(&mp_bh->retry_list, &conf->retry_list); in multipath_reschedule_retry()
66 spin_unlock_irqrestore(&conf->device_lock, flags); in multipath_reschedule_retry()
78 struct mpconf *conf = mp_bh->mddev->private; in multipath_end_bh_io() local
82 mempool_free(mp_bh, conf->pool); in multipath_end_bh_io()
88 struct mpconf *conf = mp_bh->mddev->private; in multipath_end_request() local
[all …]
Draid5.c87 static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect) in stripe_hash() argument
90 return &conf->stripe_hashtbl[hash]; in stripe_hash()
98 static inline void lock_device_hash_lock(struct r5conf *conf, int hash) in lock_device_hash_lock() argument
100 spin_lock_irq(conf->hash_locks + hash); in lock_device_hash_lock()
101 spin_lock(&conf->device_lock); in lock_device_hash_lock()
104 static inline void unlock_device_hash_lock(struct r5conf *conf, int hash) in unlock_device_hash_lock() argument
106 spin_unlock(&conf->device_lock); in unlock_device_hash_lock()
107 spin_unlock_irq(conf->hash_locks + hash); in unlock_device_hash_lock()
110 static inline void lock_all_device_hash_locks_irq(struct r5conf *conf) in lock_all_device_hash_locks_irq() argument
114 spin_lock(conf->hash_locks); in lock_all_device_hash_locks_irq()
[all …]
Dlinear.c33 struct linear_conf *conf; in which_dev() local
37 conf = mddev->private; in which_dev()
46 if (sector < conf->disks[mid].end_sector) in which_dev()
52 return conf->disks + lo; in which_dev()
57 struct linear_conf *conf; in linear_congested() local
60 conf = mddev->private; in linear_congested()
63 struct request_queue *q = bdev_get_queue(conf->disks[i].rdev->bdev); in linear_congested()
72 struct linear_conf *conf; in linear_size() local
75 conf = mddev->private; in linear_size()
78 array_sectors = conf->array_sectors; in linear_size()
[all …]
Draid0.c30 struct r0conf *conf = mddev->private; in raid0_congested() local
31 struct md_rdev **devlist = conf->devlist; in raid0_congested()
32 int raid_disks = conf->strip_zone[0].nb_dev; in raid0_congested()
52 struct r0conf *conf = mddev->private; in dump_zones() local
53 int raid_disks = conf->strip_zone[0].nb_dev; in dump_zones()
56 conf->nr_strip_zones, conf->nr_strip_zones==1?"":"s"); in dump_zones()
57 for (j = 0; j < conf->nr_strip_zones; j++) { in dump_zones()
59 for (k = 0; k < conf->strip_zone[j].nb_dev; k++) in dump_zones()
61 bdevname(conf->devlist[j*raid_disks in dump_zones()
65 zone_size = conf->strip_zone[j].zone_end - zone_start; in dump_zones()
[all …]
Draid5.h430 struct r5conf *conf; member
619 extern void md_raid5_kick_device(struct r5conf *conf);
623 extern sector_t raid5_compute_sector(struct r5conf *conf, sector_t r_sector,
627 raid5_get_active_stripe(struct r5conf *conf, sector_t sector,
629 extern int r5l_init_log(struct r5conf *conf, struct md_rdev *rdev);
637 extern bool r5l_log_disk_error(struct r5conf *conf);
Draid5-cache.c762 struct r5conf *conf = mddev->private; in r5l_reclaim_thread() local
763 struct r5l_log *log = conf->log; in r5l_reclaim_thread()
807 bool r5l_log_disk_error(struct r5conf *conf) in r5l_log_disk_error() argument
810 if (!conf->log) in r5l_log_disk_error()
811 return test_bit(MD_HAS_JOURNAL, &conf->mddev->flags); in r5l_log_disk_error()
812 return test_bit(Faulty, &conf->log->rdev->flags); in r5l_log_disk_error()
859 struct r5conf *conf = log->rdev->mddev->private; in r5l_recovery_flush_one_stripe() local
864 sh = raid5_get_active_stripe(conf, stripe_sect, 0, 0, 0); in r5l_recovery_flush_one_stripe()
869 raid5_compute_sector(conf, in r5l_recovery_flush_one_stripe()
898 ctx->meta_total_blocks += BLOCK_SECTORS * conf->max_degraded; in r5l_recovery_flush_one_stripe()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dcommon-beacon.c56 struct ath_beacon_config *conf, in ath9k_cmn_beacon_config_sta() argument
71 conf->intval = conf->beacon_interval; in ath9k_cmn_beacon_config_sta()
77 dtim_intval = conf->intval * conf->dtim_period; in ath9k_cmn_beacon_config_sta()
84 conf->nexttbtt = ath9k_get_next_tbtt(ah, tsf, conf->intval); in ath9k_cmn_beacon_config_sta()
86 bs->bs_intval = TU_TO_USEC(conf->intval); in ath9k_cmn_beacon_config_sta()
87 bs->bs_dtimperiod = conf->dtim_period * bs->bs_intval; in ath9k_cmn_beacon_config_sta()
88 bs->bs_nexttbtt = conf->nexttbtt; in ath9k_cmn_beacon_config_sta()
89 bs->bs_nextdtim = conf->nexttbtt; in ath9k_cmn_beacon_config_sta()
90 if (conf->dtim_period > 1) in ath9k_cmn_beacon_config_sta()
99 bs->bs_bmissthreshold = DIV_ROUND_UP(conf->bmiss_timeout, conf->intval); in ath9k_cmn_beacon_config_sta()
[all …]
Dantenna.c90 static inline bool ath_ant_div_comb_alt_check(struct ath_hw_antcomb_conf *conf, in ath_ant_div_comb_alt_check() argument
99 if (conf->main_lna_conf == ATH_ANT_DIV_COMB_LNA2 && in ath_ant_div_comb_alt_check()
100 conf->alt_lna_conf == ATH_ANT_DIV_COMB_LNA1) in ath_ant_div_comb_alt_check()
103 if (conf->main_lna_conf == ATH_ANT_DIV_COMB_LNA1 && in ath_ant_div_comb_alt_check()
104 conf->alt_lna_conf == ATH_ANT_DIV_COMB_LNA2) in ath_ant_div_comb_alt_check()
107 switch (conf->div_group) { in ath_ant_div_comb_alt_check()
194 struct ath_hw_antcomb_conf *conf) in ath_ant_set_alt_ratio() argument
203 if (conf->main_lna_conf == ATH_ANT_DIV_COMB_LNA2) in ath_ant_set_alt_ratio()
204 conf->alt_lna_conf = ATH_ANT_DIV_COMB_LNA1; in ath_ant_set_alt_ratio()
206 conf->alt_lna_conf = ATH_ANT_DIV_COMB_LNA2; in ath_ant_set_alt_ratio()
[all …]
Dcommon-beacon.h20 struct ath_beacon_config *conf,
23 struct ath_beacon_config *conf);
25 struct ath_beacon_config *conf,
Dhtc_drv_beacon.c69 struct ath_beacon_config *conf, in ath9k_htc_beacon_init() argument
77 if (conf->intval >= TU_TO_USEC(DEFAULT_SWBA_RESPONSE)) in ath9k_htc_beacon_init()
86 ath9k_hw_beaconinit(ah, conf->nexttbtt, conf->intval); in ath9k_htc_beacon_init()
112 struct ath_beacon_config *conf) in ath9k_htc_beacon_config_ap() argument
117 ath9k_cmn_beacon_config_ap(ah, conf, ATH9K_HTC_MAX_BCN_VIF); in ath9k_htc_beacon_config_ap()
118 ath9k_htc_beacon_init(priv, conf, false); in ath9k_htc_beacon_config_ap()
122 struct ath_beacon_config *conf) in ath9k_htc_beacon_config_adhoc() argument
127 ath9k_cmn_beacon_config_adhoc(ah, conf); in ath9k_htc_beacon_config_adhoc()
128 ath9k_htc_beacon_init(priv, conf, conf->ibss_creator); in ath9k_htc_beacon_config_adhoc()
Dbeacon.c465 struct ath_beacon_config *conf) in ath9k_beacon_config_ap() argument
469 ath9k_cmn_beacon_config_ap(ah, conf, ATH_BCBUF); in ath9k_beacon_config_ap()
470 ath9k_beacon_init(sc, conf->nexttbtt, conf->intval, false); in ath9k_beacon_config_ap()
474 struct ath_beacon_config *conf) in ath9k_beacon_config_sta() argument
478 if (ath9k_cmn_beacon_config_sta(ah, conf, &bs) == -EPERM) in ath9k_beacon_config_sta()
490 struct ath_beacon_config *conf) in ath9k_beacon_config_adhoc() argument
497 ath9k_cmn_beacon_config_adhoc(ah, conf); in ath9k_beacon_config_adhoc()
499 ath9k_beacon_init(sc, conf->nexttbtt, conf->intval, conf->ibss_creator); in ath9k_beacon_config_adhoc()
505 if (!conf->ibss_creator && conf->enable_beacon) in ath9k_beacon_config_adhoc()
Dar5008_phy.c1216 struct ath_hw_radar_conf *conf) in ar5008_hw_set_radar_params() argument
1220 if (!conf) { in ar5008_hw_set_radar_params()
1226 radar_0 |= SM(conf->fir_power, AR_PHY_RADAR_0_FIRPWR); in ar5008_hw_set_radar_params()
1227 radar_0 |= SM(conf->radar_rssi, AR_PHY_RADAR_0_RRSSI); in ar5008_hw_set_radar_params()
1228 radar_0 |= SM(conf->pulse_height, AR_PHY_RADAR_0_HEIGHT); in ar5008_hw_set_radar_params()
1229 radar_0 |= SM(conf->pulse_rssi, AR_PHY_RADAR_0_PRSSI); in ar5008_hw_set_radar_params()
1230 radar_0 |= SM(conf->pulse_inband, AR_PHY_RADAR_0_INBAND); in ar5008_hw_set_radar_params()
1237 radar_1 |= SM(conf->pulse_maxlen, AR_PHY_RADAR_1_MAXLEN); in ar5008_hw_set_radar_params()
1238 radar_1 |= SM(conf->pulse_inband_step, AR_PHY_RADAR_1_RELSTEP_THRESH); in ar5008_hw_set_radar_params()
1239 radar_1 |= SM(conf->radar_inband, AR_PHY_RADAR_1_RELPWR_THRESH); in ar5008_hw_set_radar_params()
[all …]
Dmain.c665 sc->cur_chandef = hw->conf.chandef; in ath9k_start()
1204 power = sc->hw->conf.power_level; in ath9k_set_txpower()
1206 power = sc->hw->conf.power_level; in ath9k_set_txpower()
1393 struct ieee80211_conf *conf = &hw->conf; in ath9k_config() local
1400 sc->ps_idle = !!(conf->flags & IEEE80211_CONF_IDLE); in ath9k_config()
1423 if (conf->flags & IEEE80211_CONF_PS) in ath9k_config()
1431 if (conf->flags & IEEE80211_CONF_MONITOR) { in ath9k_config()
1441 ctx->offchannel = !!(conf->flags & IEEE80211_CONF_OFFCHANNEL); in ath9k_config()
1442 ath_chanctx_set_channel(sc, ctx, &hw->conf.chandef); in ath9k_config()
2378 struct ieee80211_chanctx_conf *conf) in ath9k_add_chanctx() argument
[all …]
Dhtc_drv_main.c188 struct ieee80211_channel *channel = priv->hw->conf.chandef.chan; in ath9k_htc_reset()
246 struct ieee80211_conf *conf = &common->hw->conf; in ath9k_htc_set_channel() local
248 struct ieee80211_channel *channel = hw->conf.chandef.chan; in ath9k_htc_set_channel()
258 fastcc = !!(hw->conf.flags & IEEE80211_CONF_OFFCHANNEL); in ath9k_htc_set_channel()
275 channel->center_freq, conf_is_ht(conf), conf_is_ht40(conf), in ath9k_htc_set_channel()
311 !(hw->conf.flags & IEEE80211_CONF_OFFCHANNEL)) in ath9k_htc_set_channel()
605 sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band]; in ath9k_htc_setup_rate()
631 (conf_is_ht40(&priv->hw->conf))) in ath9k_htc_setup_rate()
633 if (conf_is_ht40(&priv->hw->conf) && in ath9k_htc_setup_rate()
636 else if (conf_is_ht20(&priv->hw->conf) && in ath9k_htc_setup_rate()
[all …]
Dar9003_phy.c1466 struct ath_hw_radar_conf *conf) in ar9003_hw_set_radar_params() argument
1471 if (!conf) { in ar9003_hw_set_radar_params()
1477 radar_0 |= SM(conf->fir_power, AR_PHY_RADAR_0_FIRPWR); in ar9003_hw_set_radar_params()
1478 radar_0 |= SM(conf->radar_rssi, AR_PHY_RADAR_0_RRSSI); in ar9003_hw_set_radar_params()
1479 radar_0 |= SM(conf->pulse_height, AR_PHY_RADAR_0_HEIGHT); in ar9003_hw_set_radar_params()
1480 radar_0 |= SM(conf->pulse_rssi, AR_PHY_RADAR_0_PRSSI); in ar9003_hw_set_radar_params()
1481 radar_0 |= SM(conf->pulse_inband, AR_PHY_RADAR_0_INBAND); in ar9003_hw_set_radar_params()
1488 radar_1 |= SM(conf->pulse_maxlen, AR_PHY_RADAR_1_MAXLEN); in ar9003_hw_set_radar_params()
1489 radar_1 |= SM(conf->pulse_inband_step, AR_PHY_RADAR_1_RELSTEP_THRESH); in ar9003_hw_set_radar_params()
1490 radar_1 |= SM(conf->radar_inband, AR_PHY_RADAR_1_RELPWR_THRESH); in ar9003_hw_set_radar_params()
[all …]
/linux-4.4.14/include/linux/
Dtextsearch.h77 struct ts_config *conf,
88 void (*finish)(struct ts_config *conf,
104 static inline unsigned int textsearch_next(struct ts_config *conf, in textsearch_next() argument
107 unsigned int ret = conf->ops->find(conf, state); in textsearch_next()
109 if (conf->finish) in textsearch_next()
110 conf->finish(conf, state); in textsearch_next()
123 static inline unsigned int textsearch_find(struct ts_config *conf, in textsearch_find() argument
127 return textsearch_next(conf, state); in textsearch_find()
134 static inline void *textsearch_get_pattern(struct ts_config *conf) in textsearch_get_pattern() argument
136 return conf->ops->get_pattern(conf); in textsearch_get_pattern()
[all …]
/linux-4.4.14/net/sched/
Dem_text.c51 struct tcf_em_text *conf = data; in em_text_change() local
55 if (len < sizeof(*conf) || len < (sizeof(*conf) + conf->pattern_len)) in em_text_change()
58 if (conf->from_layer > conf->to_layer) in em_text_change()
61 if (conf->from_layer == conf->to_layer && in em_text_change()
62 conf->from_offset > conf->to_offset) in em_text_change()
66 ts_conf = textsearch_prepare(conf->algo, (u8 *) conf + sizeof(*conf), in em_text_change()
67 conf->pattern_len, GFP_KERNEL, flags); in em_text_change()
90 tm->from_offset = conf->from_offset; in em_text_change()
91 tm->to_offset = conf->to_offset; in em_text_change()
92 tm->from_layer = conf->from_layer; in em_text_change()
[all …]
Dem_canid.c126 struct can_filter *conf = data; /* Array with rules */ in em_canid_change() local
157 if (conf[i].can_id & CAN_EFF_FLAG) { in em_canid_change()
159 &conf[i], in em_canid_change()
168 if (!(conf[i].can_id & CAN_EFF_FLAG)) { in em_canid_change()
172 &conf[i], sizeof(struct can_filter)); in em_canid_change()
177 conf[i].can_id, conf[i].can_mask); in em_canid_change()
/linux-4.4.14/sound/oss/
Dsb_card.c101 if (!request_region(scc->conf.io_base, 16, "soundblaster")) { in sb_register_oss()
107 if (!sb_dsp_detect(&scc->conf, 0, 0, sbmo)) { in sb_register_oss()
108 release_region(scc->conf.io_base, 16); in sb_register_oss()
113 if(!sb_dsp_init(&scc->conf, THIS_MODULE)) { in sb_register_oss()
130 sb_dsp_unload(&scc->conf, 0); in sb_unload()
146 legacy->conf.io_base = io; in sb_init_legacy()
147 legacy->conf.irq = irq; in sb_init_legacy()
148 legacy->conf.dma = dma; in sb_init_legacy()
149 legacy->conf.dma2 = dma16; in sb_init_legacy()
150 legacy->conf.card_subtype = type; in sb_init_legacy()
[all …]
Dtrix.c275 unsigned char conf; in probe_trix_sb() local
303 conf = 0x84; /* DMA and IRQ enable */ in probe_trix_sb()
304 conf |= hw_config->io_base & 0x70; /* I/O address bits */ in probe_trix_sb()
305 conf |= irq_translate[hw_config->irq]; in probe_trix_sb()
307 conf |= 0x08; in probe_trix_sb()
308 trix_write(0x1b, conf); in probe_trix_sb()
332 unsigned char conf; in probe_trix_mpu() local
350 conf = 0x00; in probe_trix_mpu()
353 conf = 0x04; in probe_trix_mpu()
356 conf = 0x08; in probe_trix_mpu()
[all …]
/linux-4.4.14/scripts/kconfig/
Dstreamline_config.pl104 foreach my $conf (@searchconfigs) {
105 my $file = $conf->{"file"};
109 if (defined($conf->{"test"})) {
110 `$conf->{"test"} $conf->{"file"} 2>/dev/null`;
114 my $exec = $conf->{"exec"};
232 my $conf = $1;
233 if (defined($selects{$conf})) {
234 $selects{$conf} .= " " . $config;
236 $selects{$conf} = $config;
400 foreach my $conf (@arr) {
[all …]
DMakefile30 config: $(obj)/conf
36 silentoldconfig: $(obj)/conf
40 localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf
47 $(obj)/conf $(silent) --silentoldconfig $(Kconfig); \
51 $(obj)/conf $(silent) --silentoldconfig $(Kconfig); \
83 $(simple-targets): $(obj)/conf
93 savedefconfig: $(obj)/conf
96 defconfig: $(obj)/conf
109 %_defconfig: $(obj)/conf
114 %.config: $(obj)/conf
[all …]
D.conf.cmd1 cmd_scripts/kconfig/conf := gcc -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zco…
D.conf.o.cmd1conf.o := gcc -Wp,-MD,scripts/kconfig/.conf.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2…
3 source_scripts/kconfig/conf.o := scripts/kconfig/conf.c
5 deps_scripts/kconfig/conf.o := \
83 scripts/kconfig/conf.o: $(deps_scripts/kconfig/conf.o)
85 $(deps_scripts/kconfig/conf.o):
Dconf.c20 static void conf(struct menu *menu);
347 conf(child); in conf_choice()
354 static void conf(struct menu *menu) in conf() function
415 conf(child); in conf()
440 conf(rootEntry); in check_conf()
671 conf(&rootmenu); in main()
Dmconf.c284 static void conf(struct menu *menu, struct menu *active_menu);
453 conf(targets[i]->parent, targets[i]); in search_conf()
645 static void conf(struct menu *menu, struct menu *active_menu) in conf() function
693 conf(submenu, NULL); in conf()
699 conf(submenu, NULL); in conf()
742 conf(submenu, NULL); in conf()
1042 conf(&rootmenu, NULL); in main()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00config.c35 struct rt2x00intf_conf conf; in rt2x00lib_config_intf() local
38 conf.type = type; in rt2x00lib_config_intf()
42 conf.sync = TSF_SYNC_ADHOC; in rt2x00lib_config_intf()
47 conf.sync = TSF_SYNC_AP_NONE; in rt2x00lib_config_intf()
50 conf.sync = TSF_SYNC_INFRA; in rt2x00lib_config_intf()
53 conf.sync = TSF_SYNC_NONE; in rt2x00lib_config_intf()
63 memset(conf.mac, 0, sizeof(conf.mac)); in rt2x00lib_config_intf()
65 memcpy(conf.mac, mac, ETH_ALEN); in rt2x00lib_config_intf()
67 memset(conf.bssid, 0, sizeof(conf.bssid)); in rt2x00lib_config_intf()
69 memcpy(conf.bssid, bssid, ETH_ALEN); in rt2x00lib_config_intf()
[all …]
Drt2800lib.c1522 struct rt2x00intf_conf *conf, const unsigned int flags) in rt2800_config_intf() argument
1532 rt2x00_set_field32(&reg, BCN_TIME_CFG_TSF_SYNC, conf->sync); in rt2800_config_intf()
1535 if (conf->sync == TSF_SYNC_AP_NONE) { in rt2800_config_intf()
1557 conf->sync == TSF_SYNC_AP_NONE) { in rt2800_config_intf()
1562 memcpy(conf->bssid, conf->mac, sizeof(conf->mac)); in rt2800_config_intf()
1566 if (!is_zero_ether_addr((const u8 *)conf->mac)) { in rt2800_config_intf()
1567 reg = le32_to_cpu(conf->mac[1]); in rt2800_config_intf()
1569 conf->mac[1] = cpu_to_le32(reg); in rt2800_config_intf()
1573 conf->mac, sizeof(conf->mac)); in rt2800_config_intf()
1577 if (!is_zero_ether_addr((const u8 *)conf->bssid)) { in rt2800_config_intf()
[all …]
Drt73usb.c497 struct rt2x00intf_conf *conf, in rt73usb_config_intf() argument
507 rt2x00_set_field32(&reg, TXRX_CSR9_TSF_SYNC, conf->sync); in rt73usb_config_intf()
512 reg = le32_to_cpu(conf->mac[1]); in rt73usb_config_intf()
514 conf->mac[1] = cpu_to_le32(reg); in rt73usb_config_intf()
517 conf->mac, sizeof(conf->mac)); in rt73usb_config_intf()
521 reg = le32_to_cpu(conf->bssid[1]); in rt73usb_config_intf()
523 conf->bssid[1] = cpu_to_le32(reg); in rt73usb_config_intf()
526 conf->bssid, sizeof(conf->bssid)); in rt73usb_config_intf()
737 if (libconf->conf->chandef.chan->band == IEEE80211_BAND_2GHZ) { in rt73usb_config_lna_gain()
815 libconf->conf->long_frame_max_tx_count); in rt73usb_config_retry_limit()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dsec_config.c464 static void sptlrpc_conf_free_rsets(struct sptlrpc_conf *conf) in sptlrpc_conf_free_rsets() argument
468 sptlrpc_rule_set_free(&conf->sc_rset); in sptlrpc_conf_free_rsets()
471 &conf->sc_tgts, sct_list) { in sptlrpc_conf_free_rsets()
476 LASSERT(list_empty(&conf->sc_tgts)); in sptlrpc_conf_free_rsets()
478 conf->sc_updated = 0; in sptlrpc_conf_free_rsets()
479 conf->sc_local = 0; in sptlrpc_conf_free_rsets()
482 static void sptlrpc_conf_free(struct sptlrpc_conf *conf) in sptlrpc_conf_free() argument
484 CDEBUG(D_SEC, "free sptlrpc conf %s\n", conf->sc_fsname); in sptlrpc_conf_free()
486 sptlrpc_conf_free_rsets(conf); in sptlrpc_conf_free()
487 list_del(&conf->sc_list); in sptlrpc_conf_free()
[all …]
Dnrs.c1114 static int ptlrpc_nrs_policy_register(struct ptlrpc_nrs_pol_conf *conf) in ptlrpc_nrs_policy_register() argument
1120 LASSERT(conf != NULL); in ptlrpc_nrs_policy_register()
1121 LASSERT(conf->nc_ops != NULL); in ptlrpc_nrs_policy_register()
1122 LASSERT(conf->nc_compat != NULL); in ptlrpc_nrs_policy_register()
1123 LASSERT(ergo(conf->nc_compat == nrs_policy_compat_one, in ptlrpc_nrs_policy_register()
1124 conf->nc_compat_svc_name != NULL)); in ptlrpc_nrs_policy_register()
1125 LASSERT(ergo((conf->nc_flags & PTLRPC_NRS_FL_REG_EXTERN) != 0, in ptlrpc_nrs_policy_register()
1126 conf->nc_owner != NULL)); in ptlrpc_nrs_policy_register()
1128 conf->nc_name[NRS_POL_NAME_MAX - 1] = '\0'; in ptlrpc_nrs_policy_register()
1139 if ((conf->nc_flags & PTLRPC_NRS_FL_REG_EXTERN) && in ptlrpc_nrs_policy_register()
[all …]
Dservice.c345 struct ptlrpc_service_conf *conf) in ptlrpc_server_nthreads_check() argument
347 struct ptlrpc_service_thr_conf *tc = &conf->psc_thr; in ptlrpc_server_nthreads_check()
539 ptlrpc_register_service(struct ptlrpc_service_conf *conf, in ptlrpc_register_service() argument
543 struct ptlrpc_service_cpt_conf *cconf = &conf->psc_cpt; in ptlrpc_register_service()
553 LASSERT(conf->psc_buf.bc_nbufs > 0); in ptlrpc_register_service()
554 LASSERT(conf->psc_buf.bc_buf_size >= in ptlrpc_register_service()
555 conf->psc_buf.bc_req_max_size + SPTLRPC_MAX_PAYLOAD); in ptlrpc_register_service()
556 LASSERT(conf->psc_thr.tc_ctx_tags != 0); in ptlrpc_register_service()
562 if (!conf->psc_thr.tc_cpu_affinity) { in ptlrpc_register_service()
574 conf->psc_name, cconf->cc_pattern); in ptlrpc_register_service()
[all …]
/linux-4.4.14/net/netfilter/
Dxt_string.c28 const struct xt_string_info *conf = par->matchinfo; in string_mt() local
31 invert = conf->u.v1.flags & XT_STRING_FLAG_INVERT; in string_mt()
33 return (skb_find_text((struct sk_buff *)skb, conf->from_offset, in string_mt()
34 conf->to_offset, conf->config) in string_mt()
42 struct xt_string_info *conf = par->matchinfo; in string_mt_check() local
47 if (conf->from_offset > conf->to_offset) in string_mt_check()
49 if (conf->algo[XT_STRING_MAX_ALGO_NAME_SIZE - 1] != '\0') in string_mt_check()
51 if (conf->patlen > XT_STRING_MAX_PATTERN_SIZE) in string_mt_check()
53 if (conf->u.v1.flags & in string_mt_check()
56 if (conf->u.v1.flags & XT_STRING_FLAG_IGNORECASE) in string_mt_check()
[all …]
/linux-4.4.14/drivers/gpu/drm/i915/
Ddvo_ns2501.c206 uint8_t conf; /* configuration register 8 */ member
233 .conf = NS2501_8_VEN | NS2501_8_HEN | NS2501_8_PD,
253 .conf = NS2501_8_VEN | NS2501_8_HEN | NS2501_8_PD,
272 .conf = NS2501_8_VEN | NS2501_8_HEN | NS2501_8_PD,
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()
[all …]
/linux-4.4.14/lib/
Dtextsearch.c203 struct ts_config *conf, in get_linear_data() argument
229 unsigned int textsearch_find_continuous(struct ts_config *conf, in textsearch_find_continuous() argument
235 conf->get_next_block = get_linear_data; in textsearch_find_continuous()
239 return textsearch_find(conf, state); in textsearch_find_continuous()
265 struct ts_config *conf; in textsearch_prepare() local
287 conf = ops->init(pattern, len, gfp_mask, flags); in textsearch_prepare()
288 if (IS_ERR(conf)) { in textsearch_prepare()
289 err = PTR_ERR(conf); in textsearch_prepare()
293 conf->ops = ops; in textsearch_prepare()
294 return conf; in textsearch_prepare()
[all …]
Dts_kmp.c46 static unsigned int kmp_find(struct ts_config *conf, struct ts_state *state) in kmp_find() argument
48 struct ts_kmp *kmp = ts_config_priv(conf); in kmp_find()
51 const int icase = conf->flags & TS_IGNORECASE; in kmp_find()
54 text_len = conf->get_next_block(consumed, &text, conf, state); in kmp_find()
98 struct ts_config *conf; in kmp_init() local
104 conf = alloc_ts_config(priv_size, gfp_mask); in kmp_init()
105 if (IS_ERR(conf)) in kmp_init()
106 return conf; in kmp_init()
108 conf->flags = flags; in kmp_init()
109 kmp = ts_config_priv(conf); in kmp_init()
[all …]
Dts_bm.c62 static unsigned int bm_find(struct ts_config *conf, struct ts_state *state) in bm_find() argument
64 struct ts_bm *bm = ts_config_priv(conf); in bm_find()
68 const u8 icase = conf->flags & TS_IGNORECASE; in bm_find()
71 text_len = conf->get_next_block(consumed, &text, conf, state); in bm_find()
148 struct ts_config *conf; in bm_init() local
154 conf = alloc_ts_config(priv_size, gfp_mask); in bm_init()
155 if (IS_ERR(conf)) in bm_init()
156 return conf; in bm_init()
158 conf->flags = flags; in bm_init()
159 bm = ts_config_priv(conf); in bm_init()
[all …]
Dts_fsm.c138 static unsigned int fsm_find(struct ts_config *conf, struct ts_state *state) in fsm_find() argument
140 struct ts_fsm *fsm = ts_config_priv(conf); in fsm_find()
149 block_len = conf->get_next_block(consumed, &data, conf, state); }) in fsm_find()
263 struct ts_config *conf; in fsm_init() local
286 conf = alloc_ts_config(priv_size, gfp_mask); in fsm_init()
287 if (IS_ERR(conf)) in fsm_init()
288 return conf; in fsm_init()
290 conf->flags = flags; in fsm_init()
291 fsm = ts_config_priv(conf); in fsm_init()
300 return conf; in fsm_init()
[all …]
/linux-4.4.14/drivers/ata/
Dpata_piccolo.c37 u16 conf; in tosh_set_piomode() local
38 pci_read_config_word(pdev, 0x50, &conf); in tosh_set_piomode()
39 conf &= 0xE088; in tosh_set_piomode()
40 conf |= pio[adev->pio_mode - XFER_PIO_0]; in tosh_set_piomode()
41 pci_write_config_word(pdev, 0x50, conf); in tosh_set_piomode()
47 u32 conf; in tosh_set_dmamode() local
48 pci_read_config_dword(pdev, 0x5C, &conf); in tosh_set_dmamode()
49 conf &= 0x78FFE088; /* Keep the other bits */ in tosh_set_dmamode()
52 conf |= 0x80000000; in tosh_set_dmamode()
53 conf |= (udma + 2) << 28; in tosh_set_dmamode()
[all …]
Dpata_it821x.c131 u8 conf; in it821x_program() local
135 conf = timing >> 8; in it821x_program()
137 conf = timing & 0xFF; in it821x_program()
138 pci_write_config_byte(pdev, 0x54 + 4 * channel, conf); in it821x_program()
160 u8 conf; in it821x_program_udma() local
164 conf = timing >> 8; in it821x_program_udma()
166 conf = timing & 0xFF; in it821x_program_udma()
168 pci_write_config_byte(pdev, 0x56 + 4 * channel + unit, conf); in it821x_program_udma()
171 pci_write_config_byte(pdev, 0x56 + 4 * channel, conf); in it821x_program_udma()
172 pci_write_config_byte(pdev, 0x56 + 4 * channel + 1, conf); in it821x_program_udma()
[all …]
Dpata_ep93xx.c651 struct dma_slave_config conf; in ep93xx_pata_dma_init() local
680 memset(&conf, 0, sizeof(conf)); in ep93xx_pata_dma_init()
681 conf.direction = DMA_FROM_DEVICE; in ep93xx_pata_dma_init()
682 conf.src_addr = drv_data->udma_in_phys; in ep93xx_pata_dma_init()
683 conf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in ep93xx_pata_dma_init()
684 if (dmaengine_slave_config(drv_data->dma_rx_channel, &conf)) { in ep93xx_pata_dma_init()
691 memset(&conf, 0, sizeof(conf)); in ep93xx_pata_dma_init()
692 conf.direction = DMA_TO_DEVICE; in ep93xx_pata_dma_init()
693 conf.dst_addr = drv_data->udma_out_phys; in ep93xx_pata_dma_init()
694 conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in ep93xx_pata_dma_init()
[all …]
/linux-4.4.14/Documentation/aoe/
Dudev-install.sh10 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
25 rules_d="`sed -n '/^udev_rules=/{ s!udev_rules=!!; s!\"!!g; p; }' $conf`"
Dudev.txt8 # bash# find /etc -type f -name udev.conf
9 # /etc/udev/udev.conf
10 # bash# grep udev_rules= /etc/udev/udev.conf
Dautoload.sh5 f=/etc/modprobe.d/aoe.conf
/linux-4.4.14/drivers/isdn/mISDN/
Ddsp_cmx.c161 struct dsp_conf *conf; in dsp_cmx_debug() local
170 if (odsp->conf) in dsp_cmx_debug()
171 printk(" (Conf %d)", odsp->conf->id); in dsp_cmx_debug()
177 list_for_each_entry(conf, &conf_ilist, list) { in dsp_cmx_debug()
178 printk(KERN_DEBUG "* Conf %d (%p)\n", conf->id, conf); in dsp_cmx_debug()
179 list_for_each_entry(member, &conf->mlist, list) { in dsp_cmx_debug()
200 struct dsp_conf *conf; in dsp_cmx_search_conf() local
208 list_for_each_entry(conf, &conf_ilist, list) in dsp_cmx_search_conf()
209 if (conf->id == id) in dsp_cmx_search_conf()
210 return conf; in dsp_cmx_search_conf()
[all …]
Ddsp_core.c210 else if (dsp->conf && dsp->conf->software) in dsp_rx_off_member()
245 if (!dsp->conf) { in dsp_rx_off()
250 list_for_each_entry(member, &dsp->conf->mlist, list) { in dsp_rx_off()
368 dsp_cmx_hardware(dsp->conf, dsp); in dsp_control_req()
382 dsp_cmx_hardware(dsp->conf, dsp); in dsp_control_req()
402 dsp_cmx_hardware(dsp->conf, dsp); in dsp_control_req()
419 dsp_cmx_hardware(dsp->conf, dsp); in dsp_control_req()
427 dsp_cmx_hardware(dsp->conf, dsp); in dsp_control_req()
437 dsp_cmx_hardware(dsp->conf, dsp); in dsp_control_req()
465 dsp_cmx_hardware(dsp->conf, dsp); in dsp_control_req()
[all …]
Ddsp.h192 struct dsp_conf *conf; member
246 extern void dsp_cmx_hardware(struct dsp_conf *conf, struct dsp *dsp);
253 extern int dsp_cmx_del_conf(struct dsp_conf *conf);
/linux-4.4.14/net/mac80211/
Dchan.c70 struct ieee80211_chanctx_conf *conf; in ieee80211_vif_get_chanctx() local
72 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_vif_get_chanctx()
74 if (!conf) in ieee80211_vif_get_chanctx()
77 return container_of(conf, struct ieee80211_chanctx, conf); in ieee80211_vif_get_chanctx()
246 struct ieee80211_chanctx_conf *conf) in ieee80211_get_chanctx_max_required_bw() argument
259 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_get_chanctx_max_required_bw()
296 if (sdata && rcu_access_pointer(sdata->vif.chanctx_conf) == conf) in ieee80211_get_chanctx_max_required_bw()
297 max_bw = max(max_bw, conf->def.width); in ieee80211_get_chanctx_max_required_bw()
318 if (ctx->conf.def.width == NL80211_CHAN_WIDTH_5 || in ieee80211_recalc_chanctx_min_def()
319 ctx->conf.def.width == NL80211_CHAN_WIDTH_10 || in ieee80211_recalc_chanctx_min_def()
[all …]
Dkey.c156 if (sta && !(key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE) && in ieee80211_key_enable_hw_accel()
169 if (!(key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE)) in ieee80211_key_enable_hw_accel()
174 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_enable_hw_accel()
179 if (!((key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_MMIC) || in ieee80211_key_enable_hw_accel()
180 (key->conf.flags & IEEE80211_KEY_FLAG_RESERVE_TAILROOM))) in ieee80211_key_enable_hw_accel()
183 WARN_ON((key->conf.flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE) && in ieee80211_key_enable_hw_accel()
184 (key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_IV)); in ieee80211_key_enable_hw_accel()
192 key->conf.keyidx, in ieee80211_key_enable_hw_accel()
196 switch (key->conf.cipher) { in ieee80211_key_enable_hw_accel()
238 if (!((key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_MMIC) || in ieee80211_key_disable_hw_accel()
[all …]
Ddebugfs_key.c51 KEY_READ(conf_##name, conf.name, format_string)
78 u32 c = key->conf.cipher; in key_algorithm_read()
93 switch (key->conf.cipher) { in key_tx_spec_write()
114 atomic64_set(&key->conf.tx_pn, pn); in key_tx_spec_write()
129 switch (key->conf.cipher) { in key_tx_spec_read()
147 pn = atomic64_read(&key->conf.tx_pn); in key_tx_spec_read()
167 switch (key->conf.cipher) { in key_rx_spec_read()
234 switch (key->conf.cipher) { in key_replays_read()
267 switch (key->conf.cipher) { in key_icverrors_read()
292 if (key->conf.cipher != WLAN_CIPHER_SUITE_TKIP) in key_mic_failures_read()
[all …]
Dwep.c248 if (!key || keyidx != key->conf.keyidx) in ieee80211_wep_decrypt()
251 klen = 3 + key->conf.keylen; in ieee80211_wep_decrypt()
257 memcpy(rc4key + 3, key->conf.key, key->conf.keylen); in ieee80211_wep_decrypt()
309 if (ieee80211_wep_encrypt(tx->local, skb, tx->key->conf.key, in wep_encrypt_skb()
310 tx->key->conf.keylen, in wep_encrypt_skb()
311 tx->key->conf.keyidx)) in wep_encrypt_skb()
316 tx->key->conf.keylen, in wep_encrypt_skb()
317 tx->key->conf.keyidx)) in wep_encrypt_skb()
Dtkip.c150 *pos++ = (key->conf.keyidx << 6) | (1 << 5) /* Ext IV */; in ieee80211_tkip_add_iv()
159 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; in ieee80211_compute_tkip_p1k()
178 container_of(keyconf, struct ieee80211_key, conf); in ieee80211_get_tkip_p1k_iv()
203 container_of(keyconf, struct ieee80211_key, conf); in ieee80211_get_tkip_p2k()
204 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; in ieee80211_get_tkip_p2k()
232 ieee80211_get_tkip_p2k(&key->conf, skb, rc4key); in ieee80211_tkip_encrypt_data()
252 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; in ieee80211_tkip_decrypt_data()
265 if ((keyid >> 6) != key->conf.keyidx) in ieee80211_tkip_decrypt_data()
293 drv_update_tkip_key(key->local, sdata, &key->conf, key->sta, in ieee80211_tkip_decrypt_data()
Dmain.c99 offchannel_flag = local->hw.conf.flags & IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan()
116 local->hw.conf.flags |= IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan()
118 local->hw.conf.flags &= ~IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan()
120 offchannel_flag ^= local->hw.conf.flags & IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan()
123 !cfg80211_chandef_identical(&local->hw.conf.chandef, in ieee80211_hw_conf_chan()
125 local->hw.conf.chandef = chandef; in ieee80211_hw_conf_chan()
129 if (!conf_is_ht(&local->hw.conf)) { in ieee80211_hw_conf_chan()
135 local->hw.conf.smps_mode = IEEE80211_SMPS_STATIC; in ieee80211_hw_conf_chan()
136 } else if (local->hw.conf.smps_mode != local->smps_mode) { in ieee80211_hw_conf_chan()
137 local->hw.conf.smps_mode = local->smps_mode; in ieee80211_hw_conf_chan()
[all …]
Dwpa.c41 if (!tx->key || tx->key->conf.cipher != WLAN_CIPHER_SUITE_TKIP || in ieee80211_tx_h_michael_mic_add()
60 !(tx->key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_MMIC)) { in ieee80211_tx_h_michael_mic_add()
76 key = &tx->key->conf.key[NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY]; in ieee80211_tx_h_michael_mic_add()
115 rx->key->conf.cipher == WLAN_CIPHER_SUITE_TKIP) in ieee80211_rx_h_michael_mic_verify()
126 if (!rx->key || rx->key->conf.cipher != WLAN_CIPHER_SUITE_TKIP || in ieee80211_rx_h_michael_mic_verify()
130 if (rx->sdata->vif.type == NL80211_IFTYPE_AP && rx->key->conf.keyidx) { in ieee80211_rx_h_michael_mic_verify()
153 key = &rx->key->conf.key[NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY]; in ieee80211_rx_h_michael_mic_verify()
181 rx->key ? rx->key->conf.keyidx : -1, in ieee80211_rx_h_michael_mic_verify()
450 pn64 = atomic64_inc_return(&key->conf.tx_pn); in ccmp_encrypt_skb()
459 ccmp_pn2hdr(pos, pn, key->conf.keyidx); in ccmp_encrypt_skb()
[all …]
Dcfg.c188 key->conf.flags |= IEEE80211_KEY_FLAG_PAIRWISE; in ieee80211_add_key()
217 key->conf.flags |= IEEE80211_KEY_FLAG_RX_MGMT; in ieee80211_add_key()
223 key->conf.flags |= IEEE80211_KEY_FLAG_RX_MGMT; in ieee80211_add_key()
231 key->conf.flags |= IEEE80211_KEY_FLAG_RX_MGMT; in ieee80211_add_key()
338 params.cipher = key->conf.cipher; in ieee80211_get_key()
340 switch (key->conf.cipher) { in ieee80211_get_key()
346 !(key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_IV)) { in ieee80211_get_key()
377 !(key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_IV)) { in ieee80211_get_key()
381 pn64 = atomic64_read(&key->conf.tx_pn); in ieee80211_get_key()
395 if (WARN_ON(key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_IV)) in ieee80211_get_key()
[all …]
Doffchannel.c42 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_offchannel_ps_enable()
44 local->hw.conf.flags &= ~IEEE80211_CONF_PS; in ieee80211_offchannel_ps_enable()
87 local->hw.conf.flags |= IEEE80211_CONF_PS; in ieee80211_offchannel_ps_disable()
89 } else if (local->hw.conf.dynamic_ps_timeout > 0) { in ieee80211_offchannel_ps_disable()
98 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout)); in ieee80211_offchannel_ps_disable()
Ddriver-ops.c248 conf); in drv_switch_vif_chanctx()
252 conf); in drv_switch_vif_chanctx()
271 conf); in drv_switch_vif_chanctx()
275 conf); in drv_switch_vif_chanctx()
Dpm.c102 !(local->hw.conf.flags & IEEE80211_CONF_PS)) { in __ieee80211_suspend()
103 local->hw.conf.flags |= IEEE80211_CONF_PS; in __ieee80211_suspend()
/linux-4.4.14/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c87 t = bgp->conf->sensors[(id)].registers; \
113 for (i = 0; i < bgp->conf->sensor_count; i++) in ti_bandgap_power()
167 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_read_temp()
216 for (i = 0; i < bgp->conf->sensor_count; i++) { in ti_bandgap_talert_irq_handler()
217 tsr = bgp->conf->sensors[i].registers; in ti_bandgap_talert_irq_handler()
247 __func__, bgp->conf->sensors[i].domain, in ti_bandgap_talert_irq_handler()
251 if (bgp->conf->report_temperature) in ti_bandgap_talert_irq_handler()
252 bgp->conf->report_temperature(bgp, i); in ti_bandgap_talert_irq_handler()
298 const struct ti_bandgap_data *conf = bgp->conf; in ti_bandgap_adc_to_mcelsius() local
301 if (adc_val < conf->adc_start_val || adc_val > conf->adc_end_val) in ti_bandgap_adc_to_mcelsius()
[all …]
/linux-4.4.14/drivers/media/platform/omap3isp/
Disph3a_af.c31 struct omap3isp_h3a_af_config *conf = priv; in h3a_af_setup_regs() local
51 pax1 = ((conf->paxel.width >> 1) - 1) << AF_PAXW_SHIFT; in h3a_af_setup_regs()
53 pax1 |= (conf->paxel.height >> 1) - 1; in h3a_af_setup_regs()
58 pax2 = ((conf->paxel.line_inc >> 1) - 1) << AF_LINE_INCR_SHIFT; in h3a_af_setup_regs()
60 pax2 |= (conf->paxel.v_cnt - 1) << AF_VT_COUNT_SHIFT; in h3a_af_setup_regs()
62 pax2 |= (conf->paxel.h_cnt - 1); in h3a_af_setup_regs()
67 paxstart = conf->paxel.h_start << AF_HZ_START_SHIFT; in h3a_af_setup_regs()
69 paxstart |= conf->paxel.v_start; in h3a_af_setup_regs()
74 isp_reg_writel(af->isp, conf->iir.h_start, in h3a_af_setup_regs()
82 coef |= conf->iir.coeff_set0[index]; in h3a_af_setup_regs()
[all …]
Disph3a_aewb.c30 struct omap3isp_h3a_aewb_config *conf = priv; in h3a_aewb_setup_regs() local
47 pcr = conf->saturation_limit << ISPH3A_PCR_AEW_AVE2LMT_SHIFT; in h3a_aewb_setup_regs()
48 pcr |= !!conf->alaw_enable << ISPH3A_PCR_AEW_ALAW_EN_SHIFT; in h3a_aewb_setup_regs()
50 win1 = ((conf->win_height >> 1) - 1) << ISPH3A_AEWWIN1_WINH_SHIFT; in h3a_aewb_setup_regs()
51 win1 |= ((conf->win_width >> 1) - 1) << ISPH3A_AEWWIN1_WINW_SHIFT; in h3a_aewb_setup_regs()
52 win1 |= (conf->ver_win_count - 1) << ISPH3A_AEWWIN1_WINVC_SHIFT; in h3a_aewb_setup_regs()
53 win1 |= (conf->hor_win_count - 1) << ISPH3A_AEWWIN1_WINHC_SHIFT; in h3a_aewb_setup_regs()
55 start = conf->hor_win_start << ISPH3A_AEWINSTART_WINSH_SHIFT; in h3a_aewb_setup_regs()
56 start |= conf->ver_win_start << ISPH3A_AEWINSTART_WINSV_SHIFT; in h3a_aewb_setup_regs()
58 blk = conf->blk_ver_win_start << ISPH3A_AEWINBLK_WINSV_SHIFT; in h3a_aewb_setup_regs()
[all …]
Disphist.c37 struct omap3isp_hist_config *conf = hist->priv; in hist_reset_mem() local
60 hist->wait_acc_frames = conf->num_acc_frames; in hist_reset_mem()
69 struct omap3isp_hist_config *conf = priv; in hist_setup_regs() local
80 cnt = conf->cfa << ISPHIST_CNT_CFA_SHIFT; in hist_setup_regs()
82 wb_gain = conf->wg[0] << ISPHIST_WB_GAIN_WG00_SHIFT; in hist_setup_regs()
83 wb_gain |= conf->wg[1] << ISPHIST_WB_GAIN_WG01_SHIFT; in hist_setup_regs()
84 wb_gain |= conf->wg[2] << ISPHIST_WB_GAIN_WG02_SHIFT; in hist_setup_regs()
85 if (conf->cfa == OMAP3ISP_HIST_CFA_BAYER) in hist_setup_regs()
86 wb_gain |= conf->wg[3] << ISPHIST_WB_GAIN_WG03_SHIFT; in hist_setup_regs()
90 if (c < conf->num_regions) { in hist_setup_regs()
[all …]
/linux-4.4.14/sound/soc/jz4740/
Djz4740-i2s.c135 uint32_t conf, ctrl; in jz4740_i2s_startup() local
146 conf = jz4740_i2s_read(i2s, JZ_REG_AIC_CONF); in jz4740_i2s_startup()
147 conf |= JZ_AIC_CONF_ENABLE; in jz4740_i2s_startup()
148 jz4740_i2s_write(i2s, JZ_REG_AIC_CONF, conf); in jz4740_i2s_startup()
157 uint32_t conf; in jz4740_i2s_shutdown() local
162 conf = jz4740_i2s_read(i2s, JZ_REG_AIC_CONF); in jz4740_i2s_shutdown()
163 conf &= ~JZ_AIC_CONF_ENABLE; in jz4740_i2s_shutdown()
164 jz4740_i2s_write(i2s, JZ_REG_AIC_CONF, conf); in jz4740_i2s_shutdown()
209 uint32_t conf; in jz4740_i2s_set_fmt() local
211 conf = jz4740_i2s_read(i2s, JZ_REG_AIC_CONF); in jz4740_i2s_set_fmt()
[all …]
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dacx.c186 acx->lifetime = cpu_to_le32(wl->conf.rx.rx_msdu_life_time); in wl1271_acx_rx_msdu_life_time()
275 rx_timeout->ps_poll_timeout = cpu_to_le16(wl->conf.rx.ps_poll_timeout); in wl1271_acx_service_period_timeout()
276 rx_timeout->upsd_timeout = cpu_to_le16(wl->conf.rx.upsd_timeout); in wl1271_acx_service_period_timeout()
302 rts_threshold = wl->conf.rx.rts_threshold; in wl1271_acx_rts_threshold()
329 struct conf_itrim_settings *c = &wl->conf.itrim; in wl1271_acx_dco_itrim_params()
365 wl->conf.conn.bcn_filt_mode == CONF_BCN_FILT_MODE_DISABLED) in wl1271_acx_beacon_filter_opt()
414 for (i = 0; i < wl->conf.conn.bcn_filt_ie_count; i++) { in wl1271_acx_beacon_filter_table()
415 struct conf_bcn_filt_rule *r = &(wl->conf.conn.bcn_filt_ie[i]); in wl1271_acx_beacon_filter_table()
471 threshold = wl->conf.conn.synch_fail_thold; in wl1271_acx_conn_monit_params()
472 timeout = wl->conf.conn.bss_lose_timeout; in wl1271_acx_conn_monit_params()
[all …]
Ddebugfs.c148 wl->conf.conf_sub_struct.param); \
171 wl->conf.conf_sub_struct.param = value; \
265 wl->conf.conn.dynamic_ps_timeout); in dynamic_ps_timeout_read()
290 wl->conf.conn.dynamic_ps_timeout = value; in dynamic_ps_timeout_write()
329 wl->conf.conn.forced_ps); in forced_ps_read()
354 if (wl->conf.conn.forced_ps == value) in forced_ps_write()
357 wl->conf.conn.forced_ps = value; in forced_ps_write()
398 wl->conf.scan.split_scan_timeout / 1000); in split_scan_timeout_read()
420 wl->conf.scan.split_scan_timeout = value * 1000; in split_scan_timeout_write()
648 if (wl->conf.conn.wake_up_event == CONF_WAKE_UP_EVENT_DTIM || in dtim_interval_read()
[all …]
Dmain.c117 int period = wl->conf.rx_streaming.interval; in wl1271_recalc_rx_streaming()
126 (wl->conf.rx_streaming.always || in wl1271_recalc_rx_streaming()
149 (!wl->conf.rx_streaming.always && in wl1271_rx_streaming_enable_work()
153 if (!wl->conf.rx_streaming.interval) in wl1271_rx_streaming_enable_work()
166 jiffies + msecs_to_jiffies(wl->conf.rx_streaming.duration)); in wl1271_rx_streaming_enable_work()
216 msecs_to_jiffies(wl->conf.tx.tx_watchdog_timeout)); in wl12xx_rearm_tx_watchdog_locked()
265 wl->conf.tx.tx_watchdog_timeout); in wl12xx_tx_watchdog_work()
276 wl->conf.tx.tx_watchdog_timeout); in wl12xx_tx_watchdog_work()
290 wl->conf.tx.tx_watchdog_timeout, in wl12xx_tx_watchdog_work()
297 wl->conf.tx.tx_watchdog_timeout); in wl12xx_tx_watchdog_work()
[all …]
Dps.c100 timeout = wl->conf.conn.forced_ps ? in wl1271_ps_elp_sleep()
179 u16 timeout = wl->conf.conn.dynamic_ps_timeout; in wl1271_ps_set_mode()
188 wl->conf.conn.wake_up_event, in wl1271_ps_set_mode()
189 wl->conf.conn.listen_interval); in wl1271_ps_set_mode()
Dinit.c482 for (i = 0; i < wl->conf.tx.ac_conf_count; i++) { in wl1271_init_ap_rates()
586 u8 sta_auth = wl->conf.conn.sta_sleep_auth; in wl1271_init_vif_specific()
620 BUG_ON(wl->conf.tx.tid_conf_count != wl->conf.tx.ac_conf_count); in wl1271_init_vif_specific()
621 for (i = 0; i < wl->conf.tx.tid_conf_count; i++) { in wl1271_init_vif_specific()
622 conf_ac = &wl->conf.tx.ac_conf[i]; in wl1271_init_vif_specific()
629 conf_tid = &wl->conf.tx.tid_conf[i]; in wl1271_init_vif_specific()
Devent.c178 u32 num_packets = wl->conf.tx.max_tx_retries; in wlcore_disconnect_sta()
240 int delay = wl->conf.conn.synch_fail_thold * in wlcore_event_beacon_loss()
241 wl->conf.conn.bss_lose_timeout; in wlcore_event_beacon_loss()
/linux-4.4.14/drivers/ide/
Dit821x.c118 u8 conf; in it821x_program() local
122 conf = timing >> 8; in it821x_program()
124 conf = timing & 0xFF; in it821x_program()
126 pci_write_config_byte(dev, 0x54 + 4 * channel, conf); in it821x_program()
144 u8 unit = drive->dn & 1, conf; in it821x_program_udma() local
148 conf = timing >> 8; in it821x_program_udma()
150 conf = timing & 0xFF; in it821x_program_udma()
153 pci_write_config_byte(dev, 0x56 + 4 * channel + unit, conf); in it821x_program_udma()
155 pci_write_config_byte(dev, 0x56 + 4 * channel, conf); in it821x_program_udma()
156 pci_write_config_byte(dev, 0x56 + 4 * channel + 1, conf); in it821x_program_udma()
[all …]
/linux-4.4.14/arch/arm/boot/dts/
Dzynq-zc702.dts193 conf {
199 conf-rx {
204 conf-tx {
216 conf {
222 conf-rx {
228 conf-tx {
239 conf-mdio {
255 conf {
263 conf-pull-up {
268 conf-pull-none {
[all …]
Dzynq-zc706.dts141 conf {
147 conf-rx {
153 conf-tx {
164 conf-mdio {
178 conf {
184 conf-pull-up {
189 conf-pull-none {
201 conf {
215 conf {
227 conf-cd {
[all …]
/linux-4.4.14/arch/x86/boot/
DMakefile22 targets += fdimage fdimage144 fdimage288 image.iso mtools.conf
122 $(obj)/mtools.conf: $(src)/mtools.conf.in
126 bzdisk: $(obj)/bzImage $(obj)/mtools.conf
127 MTOOLSRC=$(obj)/mtools.conf mformat a: ; sync
130 MTOOLSRC=$(src)/mtools.conf mcopy - a:syslinux.cfg
132 MTOOLSRC=$(obj)/mtools.conf mcopy '$(FDINITRD)' a:initrd.img ; \
134 MTOOLSRC=$(obj)/mtools.conf mcopy $(obj)/bzImage a:linux ; sync
137 fdimage fdimage144: $(obj)/bzImage $(obj)/mtools.conf
139 MTOOLSRC=$(obj)/mtools.conf mformat v: ; sync
142 MTOOLSRC=$(obj)/mtools.conf mcopy - v:syslinux.cfg
[all …]
/linux-4.4.14/drivers/clk/meson/
Dclk-pll.c50 struct pll_conf *conf; member
66 p = &pll->conf->n; in meson_clk_pll_recalc_rate()
70 p = &pll->conf->m; in meson_clk_pll_recalc_rate()
74 p = &pll->conf->od; in meson_clk_pll_recalc_rate()
87 const struct pll_rate_table *rate_table = pll->conf->rate_table; in meson_clk_pll_round_rate()
102 const struct pll_rate_table *rate_table = pll->conf->rate_table; in meson_clk_get_pll_settings()
148 p = &pll->conf->n; in meson_clk_pll_set_rate()
155 p = &pll->conf->m; in meson_clk_pll_set_rate()
160 p = &pll->conf->od; in meson_clk_pll_set_rate()
165 p = &pll->conf->n; in meson_clk_pll_set_rate()
[all …]
Dclkc.h112 } conf; member
122 .conf.fixed_rate.rate_parm = _c, \
131 .conf.fixed_rate.rate = (_r), \
143 .conf.pll = (_c), \
153 .conf.fixed_fact.div = (_d), \
164 .conf.div_table = (_dt), \
176 .conf.composite = (_c), \
Dclkc.c60 composite_conf = clk_conf->conf.composite; in meson_clk_register_composite()
138 fixed_fact_conf = &clk_conf->conf.fixed_fact; in meson_clk_register_fixed_factor()
140 mult = clk_conf->conf.fixed_fact.mult; in meson_clk_register_fixed_factor()
141 div = clk_conf->conf.fixed_fact.div; in meson_clk_register_fixed_factor()
180 fixed_rate_conf = &clk_conf->conf.fixed_rate; in meson_clk_register_fixed_rate()
/linux-4.4.14/arch/mips/netlogic/xlr/
Dfmn.c45 #define COP2_CC_INIT_CPU_DEST(dest, conf) \ argument
47 nlm_write_c2_cc##dest(0, conf[(dest * 8) + 0]); \
48 nlm_write_c2_cc##dest(1, conf[(dest * 8) + 1]); \
49 nlm_write_c2_cc##dest(2, conf[(dest * 8) + 2]); \
50 nlm_write_c2_cc##dest(3, conf[(dest * 8) + 3]); \
51 nlm_write_c2_cc##dest(4, conf[(dest * 8) + 4]); \
52 nlm_write_c2_cc##dest(5, conf[(dest * 8) + 5]); \
53 nlm_write_c2_cc##dest(6, conf[(dest * 8) + 6]); \
54 nlm_write_c2_cc##dest(7, conf[(dest * 8) + 7]); \
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dvvp_object.c123 const struct cl_object_conf *conf) in vvp_conf_set() argument
125 struct ll_inode_info *lli = ll_i2info(conf->coc_inode); in vvp_conf_set()
127 if (conf->coc_opc == OBJECT_CONF_INVALIDATE) { in vvp_conf_set()
141 unmap_mapping_range(conf->coc_inode->i_mapping, in vvp_conf_set()
147 if (conf->coc_opc != OBJECT_CONF_SET) in vvp_conf_set()
150 if (conf->u.coc_md != NULL && conf->u.coc_md->lsm != NULL) { in vvp_conf_set()
153 conf->u.coc_md->lsm->lsm_layout_gen); in vvp_conf_set()
155 lli->lli_has_smd = lsm_has_objects(conf->u.coc_md->lsm); in vvp_conf_set()
156 ll_layout_version_set(lli, conf->u.coc_md->lsm->lsm_layout_gen); in vvp_conf_set()
/linux-4.4.14/tools/testing/ktest/examples/
Dtest.conf43 INCLUDE include/defaults.conf
58 INCLUDE include/patchcheck.conf
59 INCLUDE include/tests.conf
60 INCLUDE include/bisect.conf
61 INCLUDE include/min-config.conf
Dkvm.conf44 INCLUDE include/defaults.conf
89 INCLUDE include/patchcheck.conf
90 INCLUDE include/tests.conf
91 INCLUDE include/bisect.conf
92 INCLUDE include/min-config.conf
DREADME10 crosstests.conf - this config shows an example of testing a git repo against
16 test.conf - A generic example of a config. This is based on an actual config
19 kvm.conf - A example of a config that is used to test a virtual guest running
22 snowball.conf - An example config that was used to demo ktest.pl against
/linux-4.4.14/drivers/hwmon/
Dtc74.c116 s32 conf; in tc74_probe() local
129 conf = i2c_smbus_read_byte_data(client, TC74_REG_CONFIG); in tc74_probe()
130 if (conf < 0) { in tc74_probe()
133 return conf; in tc74_probe()
136 if (conf & 0x3f) { in tc74_probe()
142 if (conf & BIT(7)) { in tc74_probe()
145 conf &= ~BIT(7); in tc74_probe()
147 ret = i2c_smbus_write_byte_data(client, TC74_REG_CONFIG, conf); in tc74_probe()
Dds1621.c130 u8 conf; /* Register encoding, combined */ member
157 u8 conf, new_conf, sreg, resol; in ds1621_init_client() local
159 new_conf = conf = i2c_smbus_read_byte_data(client, DS1621_REG_CONF); in ds1621_init_client()
169 if (conf != new_conf) in ds1621_init_client()
212 data->conf = i2c_smbus_read_byte_data(client, DS1621_REG_CONF); in ds1621_update_client()
219 new_conf = data->conf; in ds1621_update_client()
224 if (data->conf != new_conf) in ds1621_update_client()
270 return sprintf(buf, "%d\n", ALARMS_FROM_REG(data->conf)); in show_alarms()
278 return sprintf(buf, "%d\n", !!(data->conf & attr->index)); in show_alarm()
307 data->conf = i2c_smbus_read_byte_data(client, DS1621_REG_CONF); in set_convrate()
[all …]
Dds620.c81 u16 conf, new_conf; in ds620_init_client() local
83 new_conf = conf = in ds620_init_client()
100 if (conf != new_conf) in ds620_init_client()
185 u16 conf, new_conf; in show_alarm() local
198 new_conf = conf = res; in show_alarm()
200 if (conf != new_conf) { in show_alarm()
207 return sprintf(buf, "%d\n", !!(conf & attr->index)); in show_alarm()
Dlm77.c255 int i, cur, conf, hyst, crit, min, max; in lm77_detect() local
277 conf = i2c_smbus_read_byte_data(client, 1); in lm77_detect()
283 if (i2c_smbus_read_byte_data(client, i + 1) != conf in lm77_detect()
300 if (conf & 0xe0) in lm77_detect()
325 int conf = lm77_read_value(client, LM77_REG_CONF); in lm77_init_client() local
326 if (conf & 1) in lm77_init_client()
327 lm77_write_value(client, LM77_REG_CONF, conf & 0xfe); in lm77_init_client()
Dad7414.c184 int conf; in ad7414_probe() local
200 conf = i2c_smbus_read_byte_data(client, AD7414_REG_CONF); in ad7414_probe()
201 if (conf < 0) in ad7414_probe()
204 conf &= ~(1 << 7); in ad7414_probe()
205 i2c_smbus_write_byte_data(client, AD7414_REG_CONF, conf); in ad7414_probe()
Dlm73.c240 int id, ctrl, conf; in lm73_detect() local
254 conf = i2c_smbus_read_byte_data(new_client, LM73_REG_CONF); in lm73_detect()
255 if (conf < 0 || (conf & 0x0c)) in lm73_detect()
Dgl520sm.c844 u8 oldconf, conf; in gl520_init_client() local
846 conf = oldconf = gl520_read_value(client, GL520_REG_CONF); in gl520_init_client()
852 conf &= ~0x10; in gl520_init_client()
854 conf |= 0x10; in gl520_init_client()
855 data->two_temps = !(conf & 0x10); in gl520_init_client()
858 if (!(conf & 0x20)) in gl520_init_client()
859 conf &= 0xf7; in gl520_init_client()
862 conf |= 0x40; in gl520_init_client()
864 if (conf != oldconf) in gl520_init_client()
865 gl520_write_value(client, GL520_REG_CONF, conf); in gl520_init_client()
/linux-4.4.14/sound/soc/tegra/
Dtegra30_ahub.c687 struct tegra30_ahub_cif_conf *conf) in tegra30_ahub_set_cif() argument
691 value = (conf->threshold << in tegra30_ahub_set_cif()
693 ((conf->audio_channels - 1) << in tegra30_ahub_set_cif()
695 ((conf->client_channels - 1) << in tegra30_ahub_set_cif()
697 (conf->audio_bits << in tegra30_ahub_set_cif()
699 (conf->client_bits << in tegra30_ahub_set_cif()
701 (conf->expand << in tegra30_ahub_set_cif()
703 (conf->stereo_conv << in tegra30_ahub_set_cif()
705 (conf->replicate << in tegra30_ahub_set_cif()
707 (conf->direction << in tegra30_ahub_set_cif()
[all …]
Dtegra30_ahub.h500 struct tegra30_ahub_cif_conf *conf);
502 struct tegra30_ahub_cif_conf *conf);
508 struct tegra30_ahub_cif_conf *conf);
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-st.c127 #define ST_PINCONF_UNPACK(conf, param)\ argument
128 ((conf >> ST_PINCONF_ ##param ##_SHIFT) \
131 #define ST_PINCONF_PACK(conf, val, param) (conf |=\ argument
139 #define ST_PINCONF_UNPACK_OE(conf) ST_PINCONF_UNPACK(conf, OE) argument
140 #define ST_PINCONF_PACK_OE(conf) ST_PINCONF_PACK(conf, 1, OE) argument
146 #define ST_PINCONF_UNPACK_PU(conf) ST_PINCONF_UNPACK(conf, PU) argument
147 #define ST_PINCONF_PACK_PU(conf) ST_PINCONF_PACK(conf, 1, PU) argument
153 #define ST_PINCONF_UNPACK_OD(conf) ST_PINCONF_UNPACK(conf, OD) argument
154 #define ST_PINCONF_PACK_OD(conf) ST_PINCONF_PACK(conf, 1, OD) argument
159 #define ST_PINCONF_UNPACK_RT(conf) ST_PINCONF_UNPACK(conf, RT) argument
[all …]
Dpinctrl-at91-pio4.c381 unsigned pin_id, u32 conf) in atmel_pin_config_write() argument
392 writel_relaxed(conf, addr + ATMEL_PIO_CFGR); in atmel_pin_config_write()
623 u32 conf; in atmel_pmx_set_mux() local
629 conf = atmel_pin_config_read(pctldev, pin); in atmel_pmx_set_mux()
630 conf &= (~ATMEL_PIO_CFGR_FUNC_MASK); in atmel_pmx_set_mux()
631 conf |= (function & ATMEL_PIO_CFGR_FUNC_MASK); in atmel_pmx_set_mux()
632 dev_dbg(pctldev->dev, "pin: %u, conf: 0x%08x\n", pin, conf); in atmel_pmx_set_mux()
633 atmel_pin_config_write(pctldev, pin, conf); in atmel_pmx_set_mux()
701 u32 mask, conf = 0; in atmel_conf_pin_config_group_set() local
704 conf = atmel_pin_config_read(pctldev, pin_id); in atmel_conf_pin_config_group_set()
[all …]
Dpinctrl-lantiq.h30 #define LTQ_PINCONF_UNPACK_PARAM(conf) ((conf) >> 16) argument
31 #define LTQ_PINCONF_UNPACK_ARG(conf) ((conf) & 0xffff) argument
Dpinctrl-single.c111 struct pcs_conf_vals *conf; member
577 } else if (param != func->conf[i].param) { in pcs_pinconf_get()
582 data = pcs->read(pcs->base + offset) & func->conf[i].mask; in pcs_pinconf_get()
583 switch (func->conf[i].param) { in pcs_pinconf_get()
588 if ((data != func->conf[i].enable) || in pcs_pinconf_get()
589 (data == func->conf[i].disable)) in pcs_pinconf_get()
596 switch (func->conf[j].param) { in pcs_pinconf_get()
598 if (data != func->conf[j].enable) in pcs_pinconf_get()
636 != func->conf[i].param) in pcs_pinconf_set()
642 switch (func->conf[i].param) { in pcs_pinconf_set()
[all …]
Dpinctrl-coh901.c548 const struct u300_gpio_confdata *conf) in u300_gpio_init_pin() argument
551 if (conf->output) { in u300_gpio_init_pin()
552 u300_gpio_direction_output(&gpio->chip, offset, conf->outval); in u300_gpio_init_pin()
563 offset, conf->outval); in u300_gpio_init_pin()
571 u300_gpio_config_set(&gpio->chip, offset, conf->bias_mode); in u300_gpio_init_pin()
574 offset, conf->bias_mode); in u300_gpio_init_pin()
585 const struct u300_gpio_confdata *conf; in u300_gpio_init_coh901571() local
588 conf = &bs335_gpio_config[i][j]; in u300_gpio_init_coh901571()
589 u300_gpio_init_pin(gpio, offset, conf); in u300_gpio_init_coh901571()
/linux-4.4.14/arch/mips/txx9/generic/
Dsetup.c185 unsigned int conf = read_c0_config(); in early_flush_dcache() local
186 unsigned int dc_size = 1 << (12 + ((conf & CONF_DC) >> 6)); in early_flush_dcache()
202 unsigned int conf; in txx9_cache_fixup() local
204 conf = read_c0_config(); in txx9_cache_fixup()
207 conf |= TX49_CONF_IC; in txx9_cache_fixup()
208 write_c0_config(conf); in txx9_cache_fixup()
212 conf |= TX49_CONF_DC; in txx9_cache_fixup()
213 write_c0_config(conf); in txx9_cache_fixup()
217 conf = read_c0_config(); in txx9_cache_fixup()
219 conf &= ~TX49_CONF_IC; in txx9_cache_fixup()
[all …]
Dsetup_tx3927.c34 unsigned int conf; in tx3927_setup() local
97 conf = read_c0_conf(); in tx3927_setup()
98 if (conf & TX39_CONF_DCE) { in tx3927_setup()
99 if (!(conf & TX39_CONF_WBON)) in tx3927_setup()
101 else if (!(conf & TX39_CONF_CWFON)) in tx3927_setup()
/linux-4.4.14/drivers/staging/most/hdm-usb/
Dhdm_usb.c121 struct most_channel_config *conf; member
297 if (mdev->conf[channel].data_type == MOST_CH_ASYNC) { in hdm_poison_channel()
316 struct most_channel_config *conf = &mdev->conf[channel]; in hdm_add_padding() local
320 frame_size = get_stream_frame_size(conf); in hdm_add_padding()
355 struct most_channel_config *const conf = &mdev->conf[channel]; in hdm_remove_padding() local
357 frame_size = get_stream_frame_size(conf); in hdm_remove_padding()
633 struct most_channel_config *conf; in hdm_enqueue() local
647 conf = &mdev->conf[channel]; in hdm_enqueue()
674 (conf->direction & MOST_CH_TX)) in hdm_enqueue()
684 if (conf->direction & MOST_CH_TX) { in hdm_enqueue()
[all …]
/linux-4.4.14/drivers/staging/vt6656/
Dmain_usb.c652 struct ieee80211_conf *conf = &hw->conf; in vnt_config() local
656 if (conf->flags & IEEE80211_CONF_PS) in vnt_config()
657 vnt_enable_power_saving(priv, conf->listen_interval); in vnt_config()
663 (conf->flags & IEEE80211_CONF_OFFCHANNEL)) { in vnt_config()
664 vnt_set_channel(priv, conf->chandef.chan->hw_value); in vnt_config()
666 if (conf->chandef.chan->band == IEEE80211_BAND_5GHZ) in vnt_config()
685 conf->chandef.chan->hw_value); in vnt_config()
692 struct ieee80211_vif *vif, struct ieee80211_bss_conf *conf, in vnt_bss_info_changed() argument
697 priv->current_aid = conf->aid; in vnt_bss_info_changed()
699 if (changed & BSS_CHANGED_BSSID && conf->bssid) in vnt_bss_info_changed()
[all …]
Dpower.c132 struct ieee80211_conf *conf = &hw->conf; in vnt_next_tbtt_wakeup() local
135 if (conf->listen_interval > 1) { in vnt_next_tbtt_wakeup()
Ddpc.c100 sband = hw->wiphy->bands[hw->conf.chandef.chan->band]; in vnt_rx_data()
156 rx_status.band = hw->conf.chandef.chan->band; in vnt_rx_data()
159 rx_status.freq = hw->conf.chandef.chan->center_freq; in vnt_rx_data()
Dkey.c124 struct ieee80211_bss_conf *conf = &vif->bss_conf; in vnt_set_keys() local
174 vnt_set_keymode(hw, (u8 *)conf->bssid, key, in vnt_set_keys()
/linux-4.4.14/drivers/gpu/drm/i2c/
Dch7006_drv.c251 struct drm_mode_config *conf = &dev->mode_config; in ch7006_encoder_create_resources() local
257 drm_object_attach_property(&connector->base, conf->tv_select_subconnector_property, in ch7006_encoder_create_resources()
259 drm_object_attach_property(&connector->base, conf->tv_subconnector_property, in ch7006_encoder_create_resources()
261 drm_object_attach_property(&connector->base, conf->tv_left_margin_property, in ch7006_encoder_create_resources()
263 drm_object_attach_property(&connector->base, conf->tv_bottom_margin_property, in ch7006_encoder_create_resources()
265 drm_object_attach_property(&connector->base, conf->tv_mode_property, in ch7006_encoder_create_resources()
267 drm_object_attach_property(&connector->base, conf->tv_brightness_property, in ch7006_encoder_create_resources()
269 drm_object_attach_property(&connector->base, conf->tv_contrast_property, in ch7006_encoder_create_resources()
271 drm_object_attach_property(&connector->base, conf->tv_flicker_reduction_property, in ch7006_encoder_create_resources()
287 struct drm_mode_config *conf = &encoder->dev->mode_config; in ch7006_encoder_set_property() local
[all …]
/linux-4.4.14/drivers/staging/iio/adc/
Dad7192.c143 u32 conf; member
160 st->conf &= ~AD7192_CONF_CHAN_MASK; in ad7192_set_channel()
161 st->conf |= AD7192_CONF_CHAN(channel); in ad7192_set_channel()
163 return ad_sd_write_reg(&st->sd, AD7192_REG_CONF, 3, st->conf); in ad7192_set_channel()
249 st->conf = AD7192_CONF_GAIN(0); in ad7192_setup()
258 st->conf |= AD7192_CONF_REFSEL; in ad7192_setup()
261 st->conf |= AD7192_CONF_CHOP; in ad7192_setup()
271 st->conf |= AD7192_CONF_BUF; in ad7192_setup()
274 st->conf |= AD7192_CONF_UNIPOLAR; in ad7192_setup()
277 st->conf |= AD7192_CONF_BURN; in ad7192_setup()
[all …]
/linux-4.4.14/arch/mips/txx9/jmr3927/
Dsetup.c76 unsigned int conf; in jmr3927_mem_setup() local
85 conf = read_c0_conf(); in jmr3927_mem_setup()
86 conf &= ~(TX39_CONF_WBON | TX39_CONF_CWFON); in jmr3927_mem_setup()
87 conf |= mips_config_wbon ? TX39_CONF_WBON : 0; in jmr3927_mem_setup()
88 conf |= mips_config_cwfon ? TX39_CONF_CWFON : 0; in jmr3927_mem_setup()
90 write_c0_conf(conf); in jmr3927_mem_setup()
/linux-4.4.14/net/openvswitch/
Dvport-vxlan.c65 struct vxlan_config *conf) in vxlan_configure_exts() argument
78 conf->flags |= VXLAN_F_GBP; in vxlan_configure_exts()
91 struct vxlan_config conf = { in vxlan_tnl_create() local
105 conf.dst_port = htons(nla_get_u16(a)); in vxlan_tnl_create()
118 err = vxlan_configure_exts(vport, a, &conf); in vxlan_tnl_create()
126 dev = vxlan_dev_create(net, parms->name, NET_NAME_USER, &conf); in vxlan_tnl_create()
/linux-4.4.14/drivers/iio/adc/
Dad7793.c159 u16 conf; member
187 st->conf &= ~AD7793_CONF_CHAN_MASK; in ad7793_set_channel()
188 st->conf |= AD7793_CONF_CHAN(channel); in ad7793_set_channel()
190 return ad_sd_write_reg(&st->sd, AD7793_REG_CONF, 2, st->conf); in ad7793_set_channel()
287 st->conf = 0; in ad7793_setup()
292 st->conf |= AD7793_CONF_REFSEL(pdata->refsel); in ad7793_setup()
294 st->conf |= AD7793_CONF_VBIAS(pdata->bias_voltage); in ad7793_setup()
296 st->conf |= AD7793_CONF_BUF; in ad7793_setup()
299 st->conf |= AD7793_CONF_BOOST; in ad7793_setup()
301 st->conf |= AD7793_CONF_BO_EN; in ad7793_setup()
[all …]
/linux-4.4.14/arch/parisc/
DMakefile97 PALOCONF := $(shell if [ -f $(src)/palo.conf ]; then echo $(src)/palo.conf; \
98 else echo $(obj)/palo.conf; \
108 cp $(src)/arch/parisc/defpalo.conf $(obj)/palo.conf; \
135 MRPROPER_FILES += palo.conf
/linux-4.4.14/drivers/iio/accel/
Dmma9553.c189 struct mma9553_conf_regs conf; member
294 config = mma9553_set_bits(data->conf.config, 1, in mma9553_set_config()
402 sizeof(data->conf) / sizeof(u16), in mma9553_init()
403 (u16 *)&data->conf); in mma9553_init()
421 data->conf.sleepmin = MMA9553_DEFAULT_SLEEPMIN; in mma9553_init()
422 data->conf.sleepmax = MMA9553_DEFAULT_SLEEPMAX; in mma9553_init()
423 data->conf.sleepthd = MMA9553_DEFAULT_SLEEPTHD; in mma9553_init()
424 data->conf.config = mma9553_set_bits(data->conf.config, 1, in mma9553_init()
430 data->conf.config = mma9553_set_bits(data->conf.config, 1, in mma9553_init()
434 sizeof(data->conf) / sizeof(u16), in mma9553_init()
[all …]
/linux-4.4.14/drivers/regulator/
Dda9055-regulator.c73 struct da9055_conf_reg conf; member
216 ret = da9055_reg_read(regulator->da9055, info->conf.reg); in da9055_regulator_get_voltage_sel()
220 ret &= info->conf.sel_mask; in da9055_regulator_get_voltage_sel()
248 ret = da9055_reg_update(regulator->da9055, info->conf.reg, in da9055_regulator_set_voltage_sel()
249 info->conf.sel_mask, DA9055_SEL_REG_A); in da9055_regulator_set_voltage_sel()
263 ret = da9055_reg_read(regulator->da9055, info->conf.reg); in da9055_regulator_set_voltage_sel()
267 ret &= info->conf.sel_mask; in da9055_regulator_set_voltage_sel()
287 ret = da9055_reg_update(regulator->da9055, info->conf.reg, in da9055_regulator_set_suspend_voltage()
288 info->conf.sel_mask, DA9055_SEL_REG_B); in da9055_regulator_set_suspend_voltage()
308 return da9055_reg_update(regulator->da9055, info->conf.reg, in da9055_suspend_enable()
[all …]
/linux-4.4.14/security/tomoyo/
DMakefile6 …s/basic/bin2c <$(firstword $(wildcard $(obj)/policy/$(1).conf $(srctree)/$(src)/policy/$(1).conf.d…
12 $(obj)/builtin-policy.h: $(wildcard $(obj)/policy/*.conf $(src)/policy/*.conf.default) FORCE
D.gitignore2 policy/*.conf
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_hdmi.c140 u8 conf[32]; member
147 .conf = {
156 .conf = {
165 .conf = {
174 .conf = {
183 .conf = {
195 .conf = {
204 .conf = {
213 .conf = {
222 .conf = {
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_bios.c1398 uint32_t conn, uint32_t conf, struct dcb_output *entry) in parse_dcb20_entry() argument
1418 (conf & 0xffff) * 10 : in parse_dcb20_entry()
1419 (conf & 0xff) * 10000; in parse_dcb20_entry()
1424 if (conf & 0x1) in parse_dcb20_entry()
1438 if (conf & 0x4 || conf & 0x8) in parse_dcb20_entry()
1442 if (conf & 0x2) in parse_dcb20_entry()
1444 if (conf & 0x4) in parse_dcb20_entry()
1446 entry->lvdsconf.sor.link = (conf & 0x00000030) >> 4; in parse_dcb20_entry()
1449 if (conf & mask) { in parse_dcb20_entry()
1465 entry->tvconf.has_component_output = conf & (0x8 << 4); in parse_dcb20_entry()
[all …]
/linux-4.4.14/arch/blackfin/kernel/
Dbfin_dma.c408 static void __dma_memcpy(u32 daddr, s16 dmod, u32 saddr, s16 smod, size_t cnt, u32 conf) in __dma_memcpy() argument
426 if (conf & DMA2D) { in __dma_memcpy()
454 bfin_write_MDMA_S_CONFIG(DMAEN | conf); in __dma_memcpy()
455 if (conf & DMA2D) in __dma_memcpy()
456 bfin_write_MDMA_D_CONFIG(WNR | DI_EN_Y | DMAEN | conf); in __dma_memcpy()
458 bfin_write_MDMA_D_CONFIG(WNR | DI_EN_X | DMAEN | conf); in __dma_memcpy()
484 u32 conf, shift; in _dma_memcpy() local
493 conf = WDSIZE_32; in _dma_memcpy()
496 conf = WDSIZE_16; in _dma_memcpy()
499 conf = WDSIZE_8; in _dma_memcpy()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dgf119.c133 exec_clkcmp(struct nv50_disp *disp, int head, int id, u32 pclk, u32 *conf) in exec_clkcmp() argument
160 *conf = (ctrl & 0x00000f00) >> 8; in exec_clkcmp()
162 *conf |= 0x0100; in exec_clkcmp()
165 *conf = disp->sor.lvdsconf; in exec_clkcmp()
168 *conf = (ctrl & 0x00000f00) >> 8; in exec_clkcmp()
172 *conf = 0x00ff; in exec_clkcmp()
176 data = nvbios_ocfg_match(bios, data, *conf, &ver, &hdr, &cnt, &len, &info2); in exec_clkcmp()
243 const u32 conf = nvkm_rd32(device, 0x660404 + (head * 0x300)); in gf119_disp_intr_unk2_2_tu() local
278 if ((conf & 0x3c0) == 0x180) bits = 30; in gf119_disp_intr_unk2_2_tu()
279 else if ((conf & 0x3c0) == 0x140) bits = 24; in gf119_disp_intr_unk2_2_tu()
[all …]
Ddport.c42 u8 conf[4]; member
144 dp->conf[i] = (lpre << 3) | lvsw; in dp_link_train_commit()
148 i, dp->conf[i], lpc2); in dp_link_train_commit()
152 ret = nvkm_wraux(outp->aux, DPCD_LC03(0), dp->conf, 4); in dp_link_train_commit()
197 int voltage = dp->conf[0] & DPCD_LC03_VOLTAGE_SWING_SET; in dp_link_train_cr()
212 if (dp->conf[i] & DPCD_LC03_MAX_SWING_REACHED) in dp_link_train_cr()
218 if ((dp->conf[0] & DPCD_LC03_VOLTAGE_SWING_SET) != voltage) { in dp_link_train_cr()
219 voltage = dp->conf[0] & DPCD_LC03_VOLTAGE_SWING_SET; in dp_link_train_cr()
Dnv50.c344 exec_clkcmp(struct nv50_disp *disp, int head, int id, u32 pclk, u32 *conf) in exec_clkcmp() argument
393 *conf = (ctrl & 0x00000f00) >> 8; in exec_clkcmp()
395 *conf |= 0x0100; in exec_clkcmp()
398 *conf = disp->sor.lvdsconf; in exec_clkcmp()
401 *conf = (ctrl & 0x00000f00) >> 8; in exec_clkcmp()
405 *conf = 0x00ff; in exec_clkcmp()
409 *conf = (ctrl & 0x00000f00) >> 8; in exec_clkcmp()
413 data = nvbios_ocfg_match(bios, data, *conf, &ver, &hdr, &cnt, &len, &info2); in exec_clkcmp()
613 u32 mask, conf; in nv50_disp_intr_unk20_2() local
615 outp = exec_clkcmp(disp, head, 0xff, pclk, &conf); in nv50_disp_intr_unk20_2()
[all …]
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
Dmain.c951 params = kmemdup(&priv->conf.phy, sizeof(*params), GFP_KERNEL); in wl18xx_set_mac_and_phy()
1256 return (priv->conf.phy.number_of_assembled_ant2_4 >= 2) && in wl18xx_is_mimo_supported()
1257 (priv->conf.ht.mode != HT_MODE_WIDE) && in wl18xx_is_mimo_supported()
1258 (priv->conf.ht.mode != HT_MODE_SISO20); in wl18xx_is_mimo_supported()
1386 static int wl18xx_load_conf_file(struct device *dev, struct wlcore_conf *conf, in wl18xx_load_conf_file() argument
1425 memcpy(conf, &conf_file->core, sizeof(*conf)); in wl18xx_load_conf_file()
1437 if (wl18xx_load_conf_file(dev, &wl->conf, &priv->conf) < 0) { in wl18xx_conf_init()
1441 memcpy(&wl->conf, &wl18xx_conf, sizeof(wl->conf)); in wl18xx_conf_init()
1443 memcpy(&priv->conf, &wl18xx_default_priv_conf, in wl18xx_conf_init()
1444 sizeof(priv->conf)); in wl18xx_conf_init()
[all …]
Dacx.c259 struct conf_ap_sleep_settings *conf = &priv->conf.ap_sleep; in wl18xx_acx_ap_sleep() local
270 acx->idle_duty_cycle = conf->idle_duty_cycle; in wl18xx_acx_ap_sleep()
271 acx->connected_duty_cycle = conf->connected_duty_cycle; in wl18xx_acx_ap_sleep()
272 acx->max_stations_thresh = conf->max_stations_thresh; in wl18xx_acx_ap_sleep()
273 acx->idle_conn_thresh = conf->idle_conn_thresh; in wl18xx_acx_ap_sleep()
Ddebugfs.c214 memcpy(pos, &wl->conf, sizeof(wl->conf)); in conf_read()
215 pos += sizeof(wl->conf); in conf_read()
216 memcpy(pos, &priv->conf, sizeof(priv->conf)); in conf_read()
511 DEBUGFS_ADD(conf, moddir); in wl18xx_debugfs_add_files()
/linux-4.4.14/drivers/staging/vt6655/
Dpower.c157 struct ieee80211_conf *conf = &hw->conf; in PSbIsNextTBTTWakeUp() local
160 if (conf->listen_interval > 1) { in PSbIsNextTBTTWakeUp()
162 pDevice->wake_up_count = conf->listen_interval; in PSbIsNextTBTTWakeUp()
Ddevice_main.c913 if (priv->hw->conf.flags & IEEE80211_CONF_OFFCHANNEL) in vnt_check_bb_vga()
1274 struct ieee80211_conf *conf = &hw->conf; in vnt_config() local
1278 if (conf->flags & IEEE80211_CONF_PS) in vnt_config()
1279 PSvEnablePowerSaving(priv, conf->listen_interval); in vnt_config()
1285 (conf->flags & IEEE80211_CONF_OFFCHANNEL)) { in vnt_config()
1286 set_channel(priv, conf->chandef.chan); in vnt_config()
1288 if (conf->chandef.chan->band == IEEE80211_BAND_5GHZ) in vnt_config()
1307 conf->chandef.chan->hw_value); in vnt_config()
1314 struct ieee80211_vif *vif, struct ieee80211_bss_conf *conf, in vnt_bss_info_changed() argument
1319 priv->current_aid = conf->aid; in vnt_bss_info_changed()
[all …]
Ddpc.c68 sband = hw->wiphy->bands[hw->conf.chandef.chan->band]; in vnt_rx_data()
106 rx_status.band = hw->conf.chandef.chan->band; in vnt_rx_data()
109 rx_status.freq = hw->conf.chandef.chan->center_freq; in vnt_rx_data()
Dkey.c116 struct ieee80211_bss_conf *conf = &vif->bss_conf; in vnt_set_keys() local
163 vnt_set_keymode(hw, (u8 *)conf->bssid, in vnt_set_keys()
/linux-4.4.14/drivers/misc/
Dad525x_dpot.h18 #define DPOT_UID(conf) (conf & 0x3F) argument
19 #define DPOT_MAX_POS(conf) ((conf >> 6) & 0xF) argument
20 #define DPOT_WIPERS(conf) ((conf >> 10) & 0xFF) argument
21 #define DPOT_FEAT(conf) (conf >> 18) argument
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_object.c59 const struct cl_object_conf *conf,
99 const struct cl_object_conf *conf, in lov_init_empty() argument
114 const struct cl_object_conf *conf) in lov_sub_find() argument
118 o = lu_object_find_at(env, cl2lu_dev(dev), fid, &conf->coc_lu); in lov_sub_find()
196 const struct cl_object_conf *conf, in lov_init_raid0() argument
205 struct lov_stripe_md *lsm = conf->u.coc_md->lsm; in lov_init_raid0()
224 subconf->coc_inode = conf->coc_inode; in lov_init_raid0()
267 const struct cl_object_conf *conf, in lov_init_released() argument
270 struct lov_stripe_md *lsm = conf->u.coc_md->lsm; in lov_init_released()
654 const struct cl_object_conf *conf) in lov_layout_change() argument
[all …]
/linux-4.4.14/drivers/gpu/drm/gma500/
Dmdfld_intel_display.c73 temp = REG_READ(map->conf); in mdfldWaitForPipeDisable()
101 temp = REG_READ(map->conf); in mdfldWaitForPipeEnable()
264 temp = REG_READ(map->conf); in mdfld_disable_crtc()
268 REG_WRITE(map->conf, temp); in mdfld_disable_crtc()
269 REG_READ(map->conf); in mdfld_disable_crtc()
357 !(REG_READ(map->conf) & PIPECONF_DSIPLL_LOCK)) { in mdfld_crtc_dpms()
373 temp = REG_READ(map->conf); in mdfld_crtc_dpms()
375 REG_WRITE(map->conf, pipeconf); in mdfld_crtc_dpms()
398 temp = REG_READ(map->conf); in mdfld_crtc_dpms()
400 REG_WRITE(map->conf, temp); in mdfld_crtc_dpms()
[all …]
Dmdfld_device.c199 pipe->conf = PSB_RVDC32(map->conf); in mdfld_save_display_registers()
313 !(PSB_RVDC32(map->conf) & PIPECONF_DSIPLL_LOCK)) { in mdfld_restore_display_registers()
404 PSB_WVDC32(pipe->conf, map->conf); in mdfld_restore_display_registers()
452 .conf = PIPEACONF,
474 .conf = PIPEBCONF,
496 .conf = PIPECCONF,
Doaktrail_crtc.c269 temp = REG_READ_WITH_AUX(map->conf, i); in oaktrail_crtc_dpms()
271 REG_WRITE_WITH_AUX(map->conf, in oaktrail_crtc_dpms()
313 temp = REG_READ_WITH_AUX(map->conf, i); in oaktrail_crtc_dpms()
315 REG_WRITE_WITH_AUX(map->conf, in oaktrail_crtc_dpms()
317 REG_READ_WITH_AUX(map->conf, i); in oaktrail_crtc_dpms()
492 pipeconf = REG_READ(map->conf); in oaktrail_crtc_mode_set()
583 REG_WRITE_WITH_AUX(map->conf, pipeconf, i); in oaktrail_crtc_mode_set()
584 REG_READ_WITH_AUX(map->conf, i); in oaktrail_crtc_mode_set()
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/
Dwcn36xx.h87 #define WCN36XX_HW_CHANNEL(__wcn) (__wcn->hw->conf.chandef.chan->hw_value)
88 #define WCN36XX_BAND(__wcn) (__wcn->hw->conf.chandef.chan->band)
89 #define WCN36XX_CENTER_FREQ(__wcn) (__wcn->hw->conf.chandef.chan->center_freq)
90 #define WCN36XX_LISTEN_INTERVAL(__wcn) (__wcn->hw->conf.listen_interval)
92 #define WCN36XX_MAX_POWER(__wcn) (__wcn->hw->conf.chandef.chan->max_power)
/linux-4.4.14/drivers/media/platform/s5p-tv/
Dhdmiphy_drv.c180 const struct hdmiphy_conf *conf) in hdmiphy_find_conf() argument
182 for (; conf->pixclk; ++conf) in hdmiphy_find_conf()
183 if (conf->pixclk == pixclk) in hdmiphy_find_conf()
184 return conf->data; in hdmiphy_find_conf()
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
Dtvnv17.c148 struct drm_mode_config *conf = &dev->mode_config; in nv17_tv_detect() local
186 conf->tv_subconnector_property, in nv17_tv_detect()
639 struct drm_mode_config *conf = &dev->mode_config; in nv17_tv_create_resources() local
662 conf->tv_select_subconnector_property, in nv17_tv_create_resources()
665 conf->tv_subconnector_property, in nv17_tv_create_resources()
668 conf->tv_mode_property, in nv17_tv_create_resources()
671 conf->tv_flicker_reduction_property, in nv17_tv_create_resources()
674 conf->tv_saturation_property, in nv17_tv_create_resources()
677 conf->tv_hue_property, in nv17_tv_create_resources()
680 conf->tv_overscan_property, in nv17_tv_create_resources()
[all …]
/linux-4.4.14/drivers/net/irda/
Dsmsc-ircc2.c122 …int (*preconfigure)(struct pci_dev *dev, struct smsc_ircc_subsystem_configuration *conf); /* Preco…
230 static int __init preconfigure_smsc_chip(struct smsc_ircc_subsystem_configuration *conf);
231 …it preconfigure_through_82801(struct pci_dev *dev, struct smsc_ircc_subsystem_configuration *conf);
234 …init preconfigure_through_ali(struct pci_dev *dev, struct smsc_ircc_subsystem_configuration *conf);
2529 *conf) in preconfigure_smsc_chip()
2531 unsigned short iobase = conf->cfg_base; in preconfigure_smsc_chip()
2544 outb( (conf->sir_io >> 2), iobase + 1); // bits 2-9 of 0x3f8 in preconfigure_smsc_chip()
2546 if (tmpbyte != (conf->sir_io >> 2) ) { in preconfigure_smsc_chip()
2556 tmpbyte |= (conf->fir_irq & SMSCSIOFLAT_UART2IRQSELECT_MASK); in preconfigure_smsc_chip()
2559 if (tmpbyte != conf->fir_irq) { in preconfigure_smsc_chip()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Ddcb.c142 u32 conf = nvbios_rd32(bios, dcb + 0x04); in dcb_outp_parse() local
145 switch (conf & 0x00e00000) { in dcb_outp_parse()
158 switch ((conf & 0x0f000000) >> 24) { in dcb_outp_parse()
176 outp->link = (conf & 0x00000030) >> 4; in dcb_outp_parse()
180 outp->extdev = (conf & 0x0000ff00) >> 8; in dcb_outp_parse()
Dgpio.c134 u8 conf = nvbios_rd08(bios, data - 5); in dcb_gpio_match() local
136 if (conf & 0x01) { in dcb_gpio_match()
140 .log[0] = !!(conf & 0x02), in dcb_gpio_match()
141 .log[1] = !(conf & 0x02), in dcb_gpio_match()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_lvds_pll.c41 } conf[32]; member
82 for (i = 0; pll_rate->conf[i].reg; i++) in mpd4_lvds_pll_enable()
83 mdp4_write(mdp4_kms, pll_rate->conf[i].reg, pll_rate->conf[i].val); in mpd4_lvds_pll_enable()
/linux-4.4.14/drivers/media/v4l2-core/
Dvideobuf2-dma-contig.c142 struct vb2_dc_conf *conf = alloc_ctx; in vb2_dc_alloc() local
143 struct device *dev = conf->dev; in vb2_dc_alloc()
476 struct vb2_dc_conf *conf = alloc_ctx; in vb2_dc_get_userptr() local
504 buf->dev = conf->dev; in vb2_dc_get_userptr()
674 struct vb2_dc_conf *conf = alloc_ctx; in vb2_dc_attach_dmabuf() local
685 buf->dev = conf->dev; in vb2_dc_attach_dmabuf()
726 struct vb2_dc_conf *conf; in vb2_dma_contig_init_ctx() local
728 conf = kzalloc(sizeof *conf, GFP_KERNEL); in vb2_dma_contig_init_ctx()
729 if (!conf) in vb2_dma_contig_init_ctx()
732 conf->dev = dev; in vb2_dma_contig_init_ctx()
[all …]
Dvideobuf2-dma-sg.c105 struct vb2_dma_sg_conf *conf = alloc_ctx; in vb2_dma_sg_alloc() local
143 buf->dev = get_device(conf->dev); in vb2_dma_sg_alloc()
233 struct vb2_dma_sg_conf *conf = alloc_ctx; in vb2_dma_sg_get_userptr() local
245 buf->dev = conf->dev; in vb2_dma_sg_get_userptr()
622 struct vb2_dma_sg_conf *conf = alloc_ctx; in vb2_dma_sg_attach_dmabuf() local
633 buf->dev = conf->dev; in vb2_dma_sg_attach_dmabuf()
677 struct vb2_dma_sg_conf *conf; in vb2_dma_sg_init_ctx() local
679 conf = kzalloc(sizeof(*conf), GFP_KERNEL); in vb2_dma_sg_init_ctx()
680 if (!conf) in vb2_dma_sg_init_ctx()
683 conf->dev = dev; in vb2_dma_sg_init_ctx()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dmac.c48 if (conf_is_ht40(&ar->hw->conf)) in carl9170_set_dyn_sifs_ack()
51 if (ar->hw->conf.chandef.chan->band == IEEE80211_BAND_2GHZ) in carl9170_set_dyn_sifs_ack()
64 if (conf_is_ht(&ar->hw->conf)) { in carl9170_set_rts_cts_rate()
69 if (ar->hw->conf.chandef.chan->band == IEEE80211_BAND_2GHZ) { in carl9170_set_rts_cts_rate()
96 if ((ar->hw->conf.chandef.chan->band == IEEE80211_BAND_5GHZ) || in carl9170_set_slot_time()
123 if (ar->hw->conf.chandef.chan->band == IEEE80211_BAND_5GHZ) in carl9170_set_mac_rates()
439 ar->hw->conf.ps_dtim_period); in carl9170_set_beacon_timers()
525 power = min_t(unsigned int, power, ar->hw->conf.power_level * 2); in carl9170_set_mac_tpc()
/linux-4.4.14/drivers/net/wireless/cw1200/
Dsta.c331 struct ieee80211_conf *conf = &dev->conf; in cw1200_config() local
341 priv->output_power = conf->power_level; in cw1200_config()
347 (priv->channel != conf->chandef.chan)) { in cw1200_config()
348 struct ieee80211_channel *ch = conf->chandef.chan; in cw1200_config()
376 if (!(conf->flags & IEEE80211_CONF_PS)) in cw1200_config()
378 else if (conf->dynamic_ps_timeout <= 0) in cw1200_config()
387 if (conf->dynamic_ps_timeout >= 0x80) in cw1200_config()
391 conf->dynamic_ps_timeout << 1; in cw1200_config()
416 (conf->flags & IEEE80211_CONF_IDLE) && in cw1200_config()
427 conf->long_frame_max_tx_count, in cw1200_config()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c198 struct ieee80211_conf *conf = &hw->conf; in ath5k_config() local
205 ret = ath5k_chan_set(ah, &conf->chandef); in ath5k_config()
211 (ah->ah_txpower.txp_requested != conf->power_level)) { in ath5k_config()
212 ah->ah_txpower.txp_requested = conf->power_level; in ath5k_config()
215 ath5k_hw_set_txpower_limit(ah, (conf->power_level * 2)); in ath5k_config()
219 ah->ah_retry_long = conf->long_frame_max_tx_count; in ath5k_config()
220 ah->ah_retry_short = conf->short_frame_max_tx_count; in ath5k_config()
653 struct ieee80211_conf *conf = &hw->conf; in ath5k_get_survey() local
674 survey->channel = conf->chandef.chan; in ath5k_get_survey()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dcn68xx_device.c90 max_oqs = CFG_GET_OQ_MAX_Q(CHIP_FIELD(oct, cn6xxx, conf)); in lio_cn68xx_setup_pkt_ctl_regs()
96 if (CFG_GET_IS_SLI_BP_ON(cn68xx->conf)) in lio_cn68xx_setup_pkt_ctl_regs()
181 cn68xx->conf = (struct octeon_config *) in lio_setup_cn68xx_octeon_device()
183 if (!cn68xx->conf) { in lio_setup_cn68xx_octeon_device()
Drequest_manager.c75 struct octeon_iq_config *conf = NULL; in octeon_init_instr_queue() local
80 conf = &(CFG_GET_IQ_CFG(CHIP_FIELD(oct, cn6xxx, conf))); in octeon_init_instr_queue()
82 if (!conf) { in octeon_init_instr_queue()
95 q_size = (u32)conf->instr_type * num_descs; in octeon_init_instr_queue()
126 iq->fill_threshold = (u32)conf->db_min; in octeon_init_instr_queue()
133 iq->db_timeout = (u32)conf->db_timeout; in octeon_init_instr_queue()
142 oct->io_qmask.iq64B |= ((conf->instr_type == 64) << iq_no); in octeon_init_instr_queue()
143 iq->iqcmd_64B = (conf->instr_type == 64); in octeon_init_instr_queue()
176 CFG_GET_IQ_INSTR_TYPE(CHIP_FIELD(oct, cn6xxx, conf)); in octeon_delete_instr_queue()
Docteon_device.c507 static int __verify_octeon_config_info(struct octeon_device *oct, void *conf) in __verify_octeon_config_info() argument
512 return lio_validate_cn6xxx_config_info(oct, conf); in __verify_octeon_config_info()
523 void *conf = NULL; in oct_get_config_info() local
525 conf = __retrieve_octeon_config_info(oct, card_type); in oct_get_config_info()
526 if (!conf) in oct_get_config_info()
529 if (__verify_octeon_config_info(oct, conf)) { in oct_get_config_info()
534 return conf; in oct_get_config_info()
755 CFG_GET_NUM_DEF_TX_DESCS(CHIP_FIELD(oct, cn6xxx, conf)); in octeon_setup_instr_queues()
790 CFG_GET_NUM_DEF_RX_DESCS(CHIP_FIELD(oct, cn6xxx, conf)); in octeon_setup_output_queues()
792 CFG_GET_DEF_RX_BUF_SIZE(CHIP_FIELD(oct, cn6xxx, conf)); in octeon_setup_output_queues()
[all …]
Dcn66xx_device.c196 if (CFG_GET_OQ_MAX_Q(cn6xxx->conf) <= 4) in lio_cn66xx_setup_pkt_ctl_regs()
202 if (CFG_GET_IS_SLI_BP_ON(cn6xxx->conf)) in lio_cn66xx_setup_pkt_ctl_regs()
219 if (CFG_GET_IS_SLI_BP_ON(cn6xxx->conf)) { in lio_cn6xxx_setup_global_output_regs()
259 (u32)CFG_GET_OQ_INTR_PKT(cn6xxx->conf)); in lio_cn6xxx_setup_global_output_regs()
262 CFG_GET_OQ_INTR_TIME(cn6xxx->conf)); in lio_cn6xxx_setup_global_output_regs()
742 cn6xxx->conf = (struct octeon_config *) in lio_setup_cn66xx_octeon_device()
744 if (!cn6xxx->conf) { in lio_setup_cn66xx_octeon_device()
/linux-4.4.14/drivers/watchdog/
Dvia_wdt.c161 unsigned char conf; in wdt_probe() local
182 pci_read_config_byte(pdev, VIA_WDT_CONF, &conf); in wdt_probe()
183 conf |= VIA_WDT_CONF_ENABLE | VIA_WDT_CONF_MMIO; in wdt_probe()
184 pci_write_config_byte(pdev, VIA_WDT_CONF, conf); in wdt_probe()
/linux-4.4.14/drivers/net/
Dvxlan.c2770 struct vxlan_config *conf) in vxlan_dev_configure() argument
2783 dst->remote_vni = conf->vni; in vxlan_dev_configure()
2785 memcpy(&dst->remote_ip, &conf->remote_ip, sizeof(conf->remote_ip)); in vxlan_dev_configure()
2799 if (conf->remote_ifindex) { in vxlan_dev_configure()
2800 lowerdev = __dev_get_by_index(src_net, conf->remote_ifindex); in vxlan_dev_configure()
2801 dst->remote_ifindex = conf->remote_ifindex; in vxlan_dev_configure()
2818 if (!conf->mtu) in vxlan_dev_configure()
2824 if (conf->mtu) { in vxlan_dev_configure()
2825 err = __vxlan_change_mtu(dev, lowerdev, dst, conf->mtu, false); in vxlan_dev_configure()
2830 if (use_ipv6 || conf->flags & VXLAN_F_COLLECT_METADATA) in vxlan_dev_configure()
[all …]
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dmain.c603 static bool wl1251_can_do_pm(struct ieee80211_conf *conf, struct wl1251 *wl) in wl1251_can_do_pm() argument
605 return (conf->flags & IEEE80211_CONF_PS) && !wl->monitor_present; in wl1251_can_do_pm()
611 struct ieee80211_conf *conf = &hw->conf; in wl1251_op_config() local
615 conf->chandef.chan->center_freq); in wl1251_op_config()
620 conf->flags & IEEE80211_CONF_MONITOR ? "on" : "off", in wl1251_op_config()
621 conf->flags & IEEE80211_CONF_PS ? "on" : "off", in wl1251_op_config()
622 conf->power_level); in wl1251_op_config()
633 if (conf->flags & IEEE80211_CONF_MONITOR) { in wl1251_op_config()
667 if (wl1251_can_do_pm(conf, wl) && !wl->psm_requested) { in wl1251_op_config()
672 wl->dtim_period = conf->ps_dtim_period; in wl1251_op_config()
[all …]
/linux-4.4.14/scripts/basic/
Dfixdep.c227 if (*m == INT_CONF) { p = (char *) m ; goto conf; } in parse_config_file()
228 if (*m == INT_ONFI) { p = (char *) m-1; goto conf; } in parse_config_file()
229 if (*m == INT_NFIG) { p = (char *) m-2; goto conf; } in parse_config_file()
230 if (*m == INT_FIG_) { p = (char *) m-3; goto conf; } in parse_config_file()
232 conf: in parse_config_file()
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8180/
Dmax2820.c93 struct ieee80211_conf *conf) in max2820_rf_set_channel() argument
96 int channel = conf ? in max2820_rf_set_channel()
97 ieee80211_frequency_to_channel(conf->chandef.chan->center_freq) : 1; in max2820_rf_set_channel()
Dgrf5101.c81 struct ieee80211_conf *conf) in grf5101_rf_set_channel() argument
85 ieee80211_frequency_to_channel(conf->chandef.chan->center_freq); in grf5101_rf_set_channel()
/linux-4.4.14/tools/usb/ffs-aio-example/multibuff/host_app/
Dtest.c157 struct libusb_config_descriptor *conf; in main() local
164 libusb_get_config_descriptor(state.found, 0, &conf); in main()
165 iface = &conf->interface[0].altsetting[0]; in main()
/linux-4.4.14/sound/soc/sh/rcar/
Dgen.c147 #define rsnd_gen_regmap_init(priv, id_size, reg_id, name, conf) \ argument
148 _rsnd_gen_regmap_init(priv, id_size, reg_id, name, conf, ARRAY_SIZE(conf))
153 struct rsnd_regmap_field_conf *conf, in _rsnd_gen_regmap_init() argument
194 regf.reg = conf[i].reg_offset; in _rsnd_gen_regmap_init()
195 regf.id_offset = conf[i].id_offset; in _rsnd_gen_regmap_init()
205 gen->regs[conf[i].idx] = regs; in _rsnd_gen_regmap_init()
/linux-4.4.14/drivers/media/platform/soc_camera/
Dmx3_camera.c467 u32 conf; in mx3_camera_activate() local
473 conf = csi_reg_read(mx3_cam, CSI_OUT_FRM_CTRL) & 0xffff0000; in mx3_camera_activate()
474 csi_reg_write(mx3_cam, conf, CSI_OUT_FRM_CTRL); in mx3_camera_activate()
477 conf = 0 << CSI_SENS_CONF_SENS_PRTCL_SHIFT; in mx3_camera_activate()
480 conf |= CSI_SENS_CONF_DATA_FMT_BAYER; in mx3_camera_activate()
483 conf |= 3 << CSI_SENS_CONF_DATA_WIDTH_SHIFT; in mx3_camera_activate()
485 conf |= 2 << CSI_SENS_CONF_DATA_WIDTH_SHIFT; in mx3_camera_activate()
487 conf |= 1 << CSI_SENS_CONF_DATA_WIDTH_SHIFT; in mx3_camera_activate()
489 conf |= 0 << CSI_SENS_CONF_DATA_WIDTH_SHIFT; in mx3_camera_activate()
492 conf |= 1 << CSI_SENS_CONF_SENS_CLKSRC_SHIFT; in mx3_camera_activate()
[all …]
/linux-4.4.14/tools/usb/ffs-aio-example/simple/host_app/
Dtest.c157 struct libusb_config_descriptor *conf; in main() local
164 libusb_get_config_descriptor(state.found, 0, &conf); in main()
165 iface = &conf->interface[0].altsetting[0]; in main()
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Drxon.c83 cpu_to_le16(priv->hw->conf.chandef.chan->hw_value); in iwl_connection_init_rx_config()
84 priv->band = priv->hw->conf.chandef.chan->band; in iwl_connection_init_rx_config()
297 struct ieee80211_conf *conf = NULL; in iwl_send_rxon_timing() local
301 conf = &priv->hw->conf; in iwl_send_rxon_timing()
308 ctx->timing.listen_interval = cpu_to_le16(conf->listen_interval); in iwl_send_rxon_timing()
952 sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band]; in iwl_calc_basic_rates()
1159 void iwlagn_config_ht40(struct ieee80211_conf *conf, in iwlagn_config_ht40() argument
1162 if (conf_is_ht40_minus(conf)) { in iwlagn_config_ht40()
1166 } else if (conf_is_ht40_plus(conf)) { in iwlagn_config_ht40()
1181 struct ieee80211_conf *conf = &hw->conf; in iwlagn_mac_config() local
[all …]
Drs.c1261 struct ieee80211_conf *conf, in rs_switch_to_mimo2() argument
1271 if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported) in rs_switch_to_mimo2()
1316 struct ieee80211_conf *conf, in rs_switch_to_mimo3() argument
1326 if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported) in rs_switch_to_mimo3()
1372 struct ieee80211_conf *conf, in rs_switch_to_siso() argument
1382 if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported) in rs_switch_to_siso()
1421 struct ieee80211_conf *conf, in rs_move_legacy_other() argument
1514 ret = rs_switch_to_siso(priv, lq_sta, conf, sta, in rs_move_legacy_other()
1541 ret = rs_switch_to_mimo2(priv, lq_sta, conf, sta, in rs_move_legacy_other()
1561 ret = rs_switch_to_mimo3(priv, lq_sta, conf, sta, in rs_move_legacy_other()
[all …]
/linux-4.4.14/drivers/net/wireless/rsi/
Drsi_91x_pkt.c85 if (conf_is_ht40(&common->priv->hw->conf)) in rsi_send_data_pkt()
130 struct ieee80211_conf *conf = &hw->conf; in rsi_send_mgmt_pkt() local
190 if (conf_is_ht40(conf)) { in rsi_send_mgmt_pkt()
Drsi_91x_mgmt.c312 struct ieee80211_conf *conf = &hw->conf; in rsi_load_radio_caps() local
313 if (conf_is_ht40_plus(conf)) { in rsi_load_radio_caps()
318 } else if (conf_is_ht40_minus(conf)) { in rsi_load_radio_caps()
626 struct ieee80211_conf *conf = &hw->conf; in rsi_set_vap_capabilities() local
660 if (conf_is_ht40(&common->priv->hw->conf)) { in rsi_set_vap_capabilities()
666 if (conf_is_ht40_minus(conf)) in rsi_set_vap_capabilities()
669 else if (conf_is_ht40_plus(conf)) in rsi_set_vap_capabilities()
861 struct ieee80211_channel *curchan = hw->conf.chandef.chan; in rsi_band_check()
869 if ((hw->conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT) || in rsi_band_check()
870 (hw->conf.chandef.width == NL80211_CHAN_WIDTH_20)) in rsi_band_check()
[all …]
/linux-4.4.14/net/wireless/
Dmesh.c99 const struct mesh_config *conf) in __cfg80211_join_mesh() argument
181 err = rdev_join_mesh(rdev, dev, conf, setup); in __cfg80211_join_mesh()
194 const struct mesh_config *conf) in cfg80211_join_mesh() argument
200 err = __cfg80211_join_mesh(rdev, dev, setup, conf); in cfg80211_join_mesh()
Dtrace.h73 __entry->dot11MeshRetryTimeout = conf->dot11MeshRetryTimeout; \
75 conf->dot11MeshConfirmTimeout; \
77 conf->dot11MeshHoldingTimeout; \
78 __entry->dot11MeshMaxPeerLinks = conf->dot11MeshMaxPeerLinks; \
79 __entry->dot11MeshMaxRetries = conf->dot11MeshMaxRetries; \
80 __entry->dot11MeshTTL = conf->dot11MeshTTL; \
81 __entry->element_ttl = conf->element_ttl; \
82 __entry->auto_open_plinks = conf->auto_open_plinks; \
84 conf->dot11MeshNbrOffsetMaxNeighbor; \
86 conf->dot11MeshHWMPmaxPREQretries; \
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/thermal/
Dexynos-thermal.txt70 #include "exynos4412-tmu-sensor-conf.dtsi"
81 #include "exynos5440-tmu-sensor-conf.dtsi"
91 #include "exynos4412-tmu-sensor-conf.dtsi"
100 #include "exynos4412-tmu-sensor-conf.dtsi"
109 #include "exynos4412-tmu-sensor-conf.dtsi"
/linux-4.4.14/arch/um/drivers/
Dssl.c68 static char *conf[NR_PORTS]; variable
170 char *s = conf[i]; in ssl_init()
194 line_setup(conf, NR_PORTS, &def_conf, str, "serial line"); in ssl_chan_setup()
/linux-4.4.14/drivers/tty/serial/
Dmsm_serial.c135 struct dma_slave_config conf; in msm_request_tx_dma() local
149 memset(&conf, 0, sizeof(conf)); in msm_request_tx_dma()
150 conf.direction = DMA_MEM_TO_DEV; in msm_request_tx_dma()
151 conf.device_fc = true; in msm_request_tx_dma()
152 conf.dst_addr = base + UARTDM_TF; in msm_request_tx_dma()
153 conf.dst_maxburst = UARTDM_BURST_SIZE; in msm_request_tx_dma()
154 conf.slave_id = crci; in msm_request_tx_dma()
156 ret = dmaengine_slave_config(dma->chan, &conf); in msm_request_tx_dma()
178 struct dma_slave_config conf; in msm_request_rx_dma() local
196 memset(&conf, 0, sizeof(conf)); in msm_request_rx_dma()
[all …]
Dmax3100.c106 int conf; /* configuration for the MAX31000 member
266 int conf, cconf, rts, crts; in max3100_work() local
274 conf = s->conf; in max3100_work()
282 max3100_sr(s, MAX3100_WC | conf, &rx); in max3100_work()
372 s->conf &= ~MAX3100_RM; in max3100_stop_rx()
443 param_new = s->conf & MAX3100_BAUD; in max3100_set_termios()
540 s->conf = (s->conf & ~param_mask) | (param_new & param_mask); in max3100_set_termios()
594 s->conf = MAX3100_RM; in max3100_startup()
/linux-4.4.14/include/net/
Dmac80211.h2046 struct ieee80211_conf conf; member
3307 struct ieee80211_key_conf *conf,
5263 conf_is_ht20(struct ieee80211_conf *conf) in conf_is_ht20() argument
5265 return conf->chandef.width == NL80211_CHAN_WIDTH_20; in conf_is_ht20()
5269 conf_is_ht40_minus(struct ieee80211_conf *conf) in conf_is_ht40_minus() argument
5271 return conf->chandef.width == NL80211_CHAN_WIDTH_40 && in conf_is_ht40_minus()
5272 conf->chandef.center_freq1 < conf->chandef.chan->center_freq; in conf_is_ht40_minus()
5276 conf_is_ht40_plus(struct ieee80211_conf *conf) in conf_is_ht40_plus() argument
5278 return conf->chandef.width == NL80211_CHAN_WIDTH_40 && in conf_is_ht40_plus()
5279 conf->chandef.center_freq1 > conf->chandef.chan->center_freq; in conf_is_ht40_plus()
[all …]
/linux-4.4.14/scripts/
DMakefile.modbuiltin10 -include include/config/auto.conf
13 -include include/config/tristate.conf
Dsetlocalversion143 if test -e include/config/auto.conf; then
144 . include/config/auto.conf
/linux-4.4.14/Documentation/namespaces/
Dresource-control.txt13 package present on most distros editing /etc/cgrules.conf,
14 /etc/cgconfig.conf and setting up libpam-cgroup.
/linux-4.4.14/drivers/spi/
Dspi-ep93xx.c437 struct dma_slave_config conf; in ep93xx_spi_dma_prepare() local
450 memset(&conf, 0, sizeof(conf)); in ep93xx_spi_dma_prepare()
451 conf.direction = dir; in ep93xx_spi_dma_prepare()
458 conf.src_addr = espi->sspdr_phys; in ep93xx_spi_dma_prepare()
459 conf.src_addr_width = buswidth; in ep93xx_spi_dma_prepare()
465 conf.dst_addr = espi->sspdr_phys; in ep93xx_spi_dma_prepare()
466 conf.dst_addr_width = buswidth; in ep93xx_spi_dma_prepare()
469 ret = dmaengine_slave_config(chan, &conf); in ep93xx_spi_dma_prepare()
/linux-4.4.14/scripts/selinux/
Dinstall_policy.sh21 ./mdp policy.conf file_contexts
22 $CP -o policy.$VERS policy.conf
/linux-4.4.14/sound/pci/ctxfi/
Dctatc.c463 struct src_node_conf_t *conf, int *n_srcc) in setup_src_node_conf() argument
474 conf[0].pitch = pitch; in setup_src_node_conf()
475 conf[0].mix_msr = conf[0].imp_msr = conf[0].msr = 1; in setup_src_node_conf()
476 conf[0].vo = 1; in setup_src_node_conf()
481 conf[0].pitch = (atc->msr << 24); in setup_src_node_conf()
482 conf[0].msr = conf[0].mix_msr = 1; in setup_src_node_conf()
483 conf[0].imp_msr = atc->msr; in setup_src_node_conf()
484 conf[0].vo = 0; in setup_src_node_conf()
485 conf[1].pitch = atc_get_pitch(atc->rsr, in setup_src_node_conf()
487 conf[1].msr = conf[1].mix_msr = conf[1].imp_msr = 1; in setup_src_node_conf()
[all …]
/linux-4.4.14/drivers/net/wireless/libertas_tf/
Dmain.c412 struct ieee80211_conf *conf = &hw->conf; in lbtf_op_config() local
415 if (conf->chandef.chan->center_freq != priv->cur_freq) { in lbtf_op_config()
416 priv->cur_freq = conf->chandef.chan->center_freq; in lbtf_op_config()
417 lbtf_set_channel(priv, conf->chandef.chan->hw_value); in lbtf_op_config()
532 struct ieee80211_conf *conf = &hw->conf; in lbtf_op_get_survey() local
537 survey->channel = conf->chandef.chan; in lbtf_op_get_survey()
/linux-4.4.14/drivers/gpu/drm/sti/
Dsti_hdmi.c213 u32 conf; in hdmi_config() local
218 conf = HDMI_CFG_FIFO_OVERRUN_CLR | HDMI_CFG_FIFO_UNDERRUN_CLR; in hdmi_config()
221 conf |= HDMI_CFG_HDMI_NOT_DVI | HDMI_CFG_ESS_NOT_OESS; in hdmi_config()
224 conf |= HDMI_CFG_SINK_TERM_DET_EN; in hdmi_config()
229 conf |= HDMI_CFG_H_SYNC_POL_NEG; in hdmi_config()
235 conf |= HDMI_CFG_V_SYNC_POL_NEG; in hdmi_config()
239 conf |= HDMI_CFG_DEVICE_EN; in hdmi_config()
241 hdmi_write(hdmi, conf, HDMI_CFG); in hdmi_config()
/linux-4.4.14/firmware/av7110/
DBoot.S49 .word conf
51 conf: .word 0xa5a55a5a label
/linux-4.4.14/Documentation/filesystems/nfs/
Didmapper.txt13 only fail if /etc/request-key.conf is not configured for the id_resolver key
17 If the call to /sbin/request-key fails (if /etc/request-key.conf is not
26 The file /etc/request-key.conf will need to be modified so /sbin/request-key can
46 would edit your request-key.conf so it look similar to this:
/linux-4.4.14/drivers/pinctrl/sirf/
Dpinctrl-atlas7.c4992 struct atlas7_pad_config *conf, in __atlas7_pmx_pin_ad_sel() argument
4998 writel(ANA_CLEAR_MASK << conf->ad_ctrl_bit, in __atlas7_pmx_pin_ad_sel()
4999 pmx->regs[bank] + CLR_REG(conf->ad_ctrl_reg)); in __atlas7_pmx_pin_ad_sel()
5002 regv = readl(pmx->regs[bank] + conf->ad_ctrl_reg); in __atlas7_pmx_pin_ad_sel()
5003 regv &= ~(ANA_CLEAR_MASK << conf->ad_ctrl_bit); in __atlas7_pmx_pin_ad_sel()
5004 writel(regv | (ad_sel << conf->ad_ctrl_bit), in __atlas7_pmx_pin_ad_sel()
5005 pmx->regs[bank] + conf->ad_ctrl_reg); in __atlas7_pmx_pin_ad_sel()
5007 regv = readl(pmx->regs[bank] + conf->ad_ctrl_reg); in __atlas7_pmx_pin_ad_sel()
5009 bank, conf->ad_ctrl_reg, regv); in __atlas7_pmx_pin_ad_sel()
5014 struct atlas7_pad_config *conf, u32 bank) in __atlas7_pmx_pin_analog_enable() argument
[all …]
/linux-4.4.14/drivers/gpu/drm/msm/hdmi/
Dhdmi_phy_8960.c51 } conf[32]; member
390 for (i = 0; pll_rate->conf[i].reg; i++) in hdmi_pll_set_rate()
391 hdmi_write(hdmi, pll_rate->conf[i].reg, pll_rate->conf[i].val); in hdmi_pll_set_rate()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c198 const struct lu_object_conf *conf) in lu_object_alloc() argument
236 result = scan->lo_ops->loo_object_init(env, scan, conf); in lu_object_alloc()
578 const struct lu_object_conf *conf) in lu_object_find() argument
580 return lu_object_find_at(env, dev->ld_site->ls_top_dev, f, conf); in lu_object_find()
586 const struct lu_object_conf *conf) in lu_object_new() argument
592 o = lu_object_alloc(env, dev, f, conf); in lu_object_new()
609 const struct lu_object_conf *conf, in lu_object_find_try() argument
639 if (conf != NULL && conf->loc_flags & LOC_F_NEW) in lu_object_find_try()
640 return lu_object_new(env, dev, f, conf); in lu_object_find_try()
654 o = lu_object_alloc(env, dev, f, conf); in lu_object_find_try()
[all …]
/linux-4.4.14/drivers/block/paride/
Dpcd.c713 int *conf = *drives[unit]; in pcd_detect() local
714 if (!conf[D_PRT]) in pcd_detect()
716 if (!pi_init(cd->pi, 0, conf[D_PRT], conf[D_MOD], in pcd_detect()
717 conf[D_UNI], conf[D_PRO], conf[D_DLY], in pcd_detect()
720 if (!pcd_probe(cd, conf[D_SLV], id) && cd->disk) { in pcd_detect()
Dpf.c725 int *conf = *drives[unit]; in pf_detect() local
726 if (!conf[D_PRT]) in pf_detect()
728 if (pi_init(pf->pi, 0, conf[D_PRT], conf[D_MOD], in pf_detect()
729 conf[D_UNI], conf[D_PRO], conf[D_DLY], in pf_detect()
/linux-4.4.14/drivers/net/wireless/iwlegacy/
D4965-rs.c1174 struct ieee80211_conf *conf, in il4965_rs_switch_to_mimo2() argument
1182 if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported) in il4965_rs_switch_to_mimo2()
1228 struct ieee80211_conf *conf, struct ieee80211_sta *sta, in il4965_rs_switch_to_siso() argument
1235 if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported) in il4965_rs_switch_to_siso()
1275 struct ieee80211_conf *conf, in il4965_rs_move_legacy_other() argument
1330 il4965_rs_switch_to_siso(il, lq_sta, conf, sta, in il4965_rs_move_legacy_other()
1359 il4965_rs_switch_to_mimo2(il, lq_sta, conf, sta, in il4965_rs_move_legacy_other()
1394 struct ieee80211_conf *conf, in il4965_rs_move_siso_to_other() argument
1456 il4965_rs_switch_to_mimo2(il, lq_sta, conf, sta, in il4965_rs_move_siso_to_other()
1517 struct ieee80211_conf *conf, in il4965_rs_move_mimo2_to_other() argument
[all …]
/linux-4.4.14/drivers/mmc/host/
Djz4740_mmc.c276 struct dma_slave_config conf = { in jz4740_mmc_start_dma_transfer() local
284 conf.direction = DMA_MEM_TO_DEV; in jz4740_mmc_start_dma_transfer()
285 conf.dst_addr = host->mem_res->start + JZ_REG_MMC_TXFIFO; in jz4740_mmc_start_dma_transfer()
286 conf.slave_id = JZ4740_DMA_TYPE_MMC_TRANSMIT; in jz4740_mmc_start_dma_transfer()
289 conf.direction = DMA_DEV_TO_MEM; in jz4740_mmc_start_dma_transfer()
290 conf.src_addr = host->mem_res->start + JZ_REG_MMC_RXFIFO; in jz4740_mmc_start_dma_transfer()
291 conf.slave_id = JZ4740_DMA_TYPE_MMC_RECEIVE; in jz4740_mmc_start_dma_transfer()
299 dmaengine_slave_config(chan, &conf); in jz4740_mmc_start_dma_transfer()
303 conf.direction, in jz4740_mmc_start_dma_transfer()
308 conf.direction == DMA_MEM_TO_DEV ? "TX" : "RX"); in jz4740_mmc_start_dma_transfer()
/linux-4.4.14/drivers/video/fbdev/
Dcg6.c614 u32 conf; in cg6_init_fix() local
616 conf = sbus_readl(par->fhc); in cg6_init_fix()
617 switch (conf & CG6_FHC_CPU_MASK) { in cg6_init_fix()
628 if (((conf >> CG6_FHC_REV_SHIFT) & CG6_FHC_REV_MASK) >= 11) { in cg6_init_fix()
672 u32 rev, conf, mode; in cg6_chip_init() local
686 conf = (sbus_readl(par->fhc) & CG6_FHC_RES_MASK) | in cg6_chip_init()
691 conf |= CG6_FHC_DST_DISABLE; in cg6_chip_init()
692 sbus_writel(conf, par->fhc); in cg6_chip_init()
/linux-4.4.14/tools/hv/
Dhv_get_dns_info.sh13 cat /etc/resolv.conf 2>/dev/null | awk '/^nameserver/ { print $2 }'
/linux-4.4.14/Documentation/devicetree/bindings/mmc/
Dsdhci-pxa.txt17 - reg names: should be "sdhci", "mbus", "conf-sdio3". only mandatory
42 reg-names = "sdhci", "mbus", "conf-sdio3";
/linux-4.4.14/fs/nfsd/
Dnfs4state.c2350 struct nfs4_client *conf, *new; in nfsd4_exchange_id() local
2386 conf = find_confirmed_client_by_name(&exid->clname, nn); in nfsd4_exchange_id()
2387 if (conf) { in nfsd4_exchange_id()
2388 bool creds_match = same_creds(&conf->cl_cred, &rqstp->rq_cred); in nfsd4_exchange_id()
2389 bool verfs_match = same_verf(&verf, &conf->cl_verifier); in nfsd4_exchange_id()
2392 if (!clp_used_exchangeid(conf)) { /* buggy client */ in nfsd4_exchange_id()
2396 if (!mach_creds_match(conf, rqstp)) { in nfsd4_exchange_id()
2413 if (client_has_state(conf)) { in nfsd4_exchange_id()
2420 conf->cl_exchange_flags |= EXCHGID4_FLAG_CONFIRMED_R; in nfsd4_exchange_id()
2424 conf = NULL; in nfsd4_exchange_id()
[all …]
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/
Dscan.c32 struct conf_scan_settings *c = &wl->conf.scan; in wl1271_get_scan_channels()
115 if (wl->conf.scan.split_scan_timeout) in wl1271_scan_send()
143 cmd->params.n_probe_reqs = wl->conf.scan.num_probe_reqs; in wl1271_scan_send()
169 trigger->timeout = cpu_to_le32(wl->conf.scan.split_scan_timeout); in wl1271_scan_send()
328 struct conf_sched_scan_settings *c = &wl->conf.sched_scan; in wl1271_scan_sched_scan_config()
/linux-4.4.14/Documentation/devicetree/bindings/pinctrl/
Dxlnx,zynq-pinctrl.txt89 conf {
95 conf-rx {
100 conf-tx {
/linux-4.4.14/Documentation/sound/oss/
DCMI833063 …In order to use CMI8330 under Linux you just have to use a proper isapnp.conf, a good isapnp and …
76 The /etc/isapnp.conf file will be:
147 a /etc/modprobe.d/*conf file:
DESS186821 sample copy of the isapnp.conf directives regarding the ESS1868:
32 (for a full working isapnp.conf file, remember the
/linux-4.4.14/drivers/crypto/ux500/hash/
Dhash_core.c125 struct dma_slave_config conf = { in hash_dma_setup_channel() local
141 dmaengine_slave_config(device_data->dma.chan_mem2hash, &conf); in hash_dma_setup_channel()
1491 struct hash_config conf; member
1509 ctx->config.algorithm = hash_alg->conf.algorithm; in hash_cra_init()
1510 ctx->config.oper_mode = hash_alg->conf.oper_mode; in hash_cra_init()
1519 .conf.algorithm = HASH_ALGO_SHA1,
1520 .conf.oper_mode = HASH_OPER_MODE_HASH,
1541 .conf.algorithm = HASH_ALGO_SHA256,
1542 .conf.oper_mode = HASH_OPER_MODE_HASH,
1564 .conf.algorithm = HASH_ALGO_SHA1,
[all …]
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
Dmac80211_if.c526 struct ieee80211_conf *conf = &hw->conf; in brcms_ops_config() local
535 conf->listen_interval); in brcms_ops_config()
539 __func__, conf->flags & IEEE80211_CONF_MONITOR ? in brcms_ops_config()
543 __func__, conf->flags & IEEE80211_CONF_PS ? in brcms_ops_config()
547 err = brcms_c_set_tx_power(wl->wlc, conf->power_level); in brcms_ops_config()
554 if (new_int != conf->power_level) in brcms_ops_config()
557 __func__, conf->power_level, in brcms_ops_config()
561 if (conf->chandef.width == NL80211_CHAN_WIDTH_20 || in brcms_ops_config()
562 conf->chandef.width == NL80211_CHAN_WIDTH_20_NOHT) in brcms_ops_config()
564 conf->chandef.chan->hw_value); in brcms_ops_config()
[all …]
/linux-4.4.14/
DMakefile543 scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \
558 -include include/config/auto.conf
563 -include include/config/auto.conf.cmd
566 $(KCONFIG_CONFIG) include/config/auto.conf.cmd: ;
572 include/config/%.conf: $(KCONFIG_CONFIG) include/config/auto.conf.cmd
577 PHONY += include/config/auto.conf
579 include/config/auto.conf:
592 include/config/auto.conf: ;
951 include/config/kernel.release: include/config/auto.conf FORCE
981 include/config/auto.conf
[all …]
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dd3.c1517 struct ieee80211_key_conf conf; in iwl_mvm_setup_connection_keep() member
1519 } conf = { in iwl_mvm_setup_connection_keep() local
1520 .conf.cipher = gtkdata.cipher, in iwl_mvm_setup_connection_keep()
1521 .conf.keyidx = status->gtk.key_index, in iwl_mvm_setup_connection_keep()
1526 conf.conf.keylen = WLAN_KEY_LEN_CCMP; in iwl_mvm_setup_connection_keep()
1527 memcpy(conf.conf.key, status->gtk.decrypt_key, in iwl_mvm_setup_connection_keep()
1531 conf.conf.keylen = WLAN_KEY_LEN_TKIP; in iwl_mvm_setup_connection_keep()
1532 memcpy(conf.conf.key, status->gtk.decrypt_key, 16); in iwl_mvm_setup_connection_keep()
1534 memcpy(conf.conf.key + in iwl_mvm_setup_connection_keep()
1540 key = ieee80211_gtk_rekey_add(vif, &conf.conf); in iwl_mvm_setup_connection_keep()
/linux-4.4.14/Documentation/sound/alsa/
DMIXART.txt81 /etc/modprobe.d/mixart.conf for miXart driver:
86 /etc/modules.conf, instead.)
90 configure). There will be a miXart.conf file, which define the dsp image

123