Home
last modified time | relevance | path

Searched refs:map_idx (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/mpr/
H A Dmpr_mapping.c345 u32 map_idx, high_idx = MPR_MAPTABLE_BAD_IDX; in _mapping_get_high_missing_mt_idx() local
365 for (map_idx = start_idx; map_idx < end_idx; map_idx++, mt_entry++) { in _mapping_get_high_missing_mt_idx()
368 high_idx = map_idx; in _mapping_get_high_missing_mt_idx()
384 u32 start_idx, end_idx, map_idx; in _mapping_get_ir_mt_idx_from_wwid() local
389 for (map_idx = start_idx; map_idx <= end_idx; map_idx++, mt_entry++) in _mapping_get_ir_mt_idx_from_wwid()
391 return map_idx; in _mapping_get_ir_mt_idx_from_wwid()
406 u32 map_idx; in _mapping_get_mt_idx_from_id() local
409 for (map_idx = 0; map_idx < sc->max_devices; map_idx++) { in _mapping_get_mt_idx_from_id()
410 mt_entry = &sc->mapping_table[map_idx]; in _mapping_get_mt_idx_from_id()
412 return map_idx; in _mapping_get_mt_idx_from_id()
[all …]
/freebsd/sys/dev/mps/
H A Dmps_mapping.c346 u32 map_idx, high_idx = MPS_MAPTABLE_BAD_IDX; in _mapping_get_high_missing_mt_idx() local
366 for (map_idx = start_idx; map_idx < end_idx; map_idx++, mt_entry++) { in _mapping_get_high_missing_mt_idx()
369 high_idx = map_idx; in _mapping_get_high_missing_mt_idx()
385 u32 start_idx, end_idx, map_idx; in _mapping_get_ir_mt_idx_from_wwid() local
390 for (map_idx = start_idx; map_idx <= end_idx; map_idx++, mt_entry++) in _mapping_get_ir_mt_idx_from_wwid()
392 return map_idx; in _mapping_get_ir_mt_idx_from_wwid()
407 u32 map_idx; in _mapping_get_mt_idx_from_id() local
410 for (map_idx = 0; map_idx < sc->max_devices; map_idx++) { in _mapping_get_mt_idx_from_id()
411 mt_entry = &sc->mapping_table[map_idx]; in _mapping_get_mt_idx_from_id()
413 return map_idx; in _mapping_get_mt_idx_from_id()
[all …]
/freebsd/usr.bin/vtfontcvt/
H A Dvtfontcvt.c198 add_mapping(struct glyph *gl, unsigned int c, unsigned int map_idx) in add_mapping() argument
210 ml = &maps[map_idx]; in add_mapping()
225 map_count[map_idx]++; in add_mapping()
232 dedup_mapping(unsigned int map_idx) in dedup_mapping() argument
235 unsigned normal_map_idx = map_idx - VFNT_MAP_BOLD; in dedup_mapping()
237 assert(map_idx == VFNT_MAP_BOLD || map_idx == VFNT_MAP_BOLD_RIGHT); in dedup_mapping()
239 TAILQ_FOREACH_SAFE(mp_bold, &maps[map_idx], m_list, mp_temp) { in dedup_mapping()
249 TAILQ_REMOVE(&maps[map_idx], mp_bold, m_list); in dedup_mapping()
257 add_glyph(const uint8_t *bytes, unsigned int map_idx, bool fallback) in add_glyph() argument
263 glyph_count[map_idx]++; in add_glyph()
[all …]
/freebsd/contrib/wpa/src/nan/
H A Dnan_util.c1788 u8 map_idx) in nan_get_peer_ndc_freq() argument
1793 if (map_idx >= peer_sched->n_maps) { in nan_get_peer_ndc_freq()
1796 map_idx); in nan_get_peer_ndc_freq()
1800 ndc_bf = nan_tbm_to_bf(nan, &peer_sched->maps[map_idx].ndc); in nan_get_peer_ndc_freq()
1804 for (i = 0; i < peer_sched->maps[map_idx].n_chans; i++) { in nan_get_peer_ndc_freq()
1813 &peer_sched->maps[map_idx].chans[i].tbm); in nan_get_peer_ndc_freq()
1824 return peer_sched->maps[map_idx].chans[i].chan.freq; in nan_get_peer_ndc_freq()
H A Dnan.h851 u8 map_idx);
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211.c16080 unsigned int map_idx, chan_idx, n_channels = 0; in wpa_driver_nl80211_nan_config_peer_schedule() local
16098 for (map_idx = 0; map_idx < sched->n_maps; map_idx++) { in wpa_driver_nl80211_nan_config_peer_schedule()
16099 struct nan_schedule_map *map = &sched->maps[map_idx]; in wpa_driver_nl80211_nan_config_peer_schedule()
16114 chan_remap[map_idx][chan_idx] = i; in wpa_driver_nl80211_nan_config_peer_schedule()
16119 chan_remap[map_idx][chan_idx] = n_channels++; in wpa_driver_nl80211_nan_config_peer_schedule()
16168 for (map_idx = 0; map_idx < sched->n_maps; map_idx++) { in wpa_driver_nl80211_nan_config_peer_schedule()
16169 struct nlattr *map = nla_nest_start(msg, map_idx + 1); in wpa_driver_nl80211_nan_config_peer_schedule()
16176 sched->maps[map_idx].map_id)) in wpa_driver_nl80211_nan_config_peer_schedule()
16183 chan_idx < sched->maps[map_idx].sched.num_channels; in wpa_driver_nl80211_nan_config_peer_schedule()
16186 &sched->maps[map_idx].sched.channels[chan_idx]; in wpa_driver_nl80211_nan_config_peer_schedule()
[all …]