Home
last modified time | relevance | path

Searched refs:maps (Results 1 – 25 of 76) sorted by relevance

1234

/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dsw.c256 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
257 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
258 .maps[SYS_CLK] = REG_SYS_CLKR,
259 .maps[MAC_RCR_AM] = AM,
260 .maps[MAC_RCR_AB] = AB,
261 .maps[MAC_RCR_ACRC32] = ACRC32,
262 .maps[MAC_RCR_ACF] = ACF,
263 .maps[MAC_RCR_AAP] = AAP,
264 .maps[MAC_HIMR] = REG_HIMR,
265 .maps[MAC_HIMRE] = REG_HIMRE,
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dsw.c258 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
259 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
260 .maps[SYS_CLK] = REG_SYS_CLKR,
261 .maps[MAC_RCR_AM] = AM,
262 .maps[MAC_RCR_AB] = AB,
263 .maps[MAC_RCR_ACRC32] = ACRC32,
264 .maps[MAC_RCR_ACF] = ACF,
265 .maps[MAC_RCR_AAP] = AAP,
266 .maps[MAC_HIMR] = REG_HIMR,
267 .maps[MAC_HIMRE] = REG_HIMRE,
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dsw.c259 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
260 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
261 .maps[SYS_CLK] = REG_SYS_CLKR,
262 .maps[MAC_RCR_AM] = AM,
263 .maps[MAC_RCR_AB] = AB,
264 .maps[MAC_RCR_ACRC32] = ACRC32,
265 .maps[MAC_RCR_ACF] = ACF,
266 .maps[MAC_RCR_AAP] = AAP,
267 .maps[MAC_HIMR] = REG_HIMR,
268 .maps[MAC_HIMRE] = REG_HIMRE,
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dsw.c242 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
243 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
244 .maps[SYS_CLK] = REG_SYS_CLKR,
245 .maps[MAC_RCR_AM] = AM,
246 .maps[MAC_RCR_AB] = AB,
247 .maps[MAC_RCR_ACRC32] = ACRC32,
248 .maps[MAC_RCR_ACF] = ACF,
249 .maps[MAC_RCR_AAP] = AAP,
250 .maps[MAC_HIMR] = REG_HIMR,
251 .maps[MAC_HIMRE] = REG_HIMRE,
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dsw.c303 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
304 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
305 .maps[SYS_CLK] = REG_SYS_CLKR,
306 .maps[MAC_RCR_AM] = AM,
307 .maps[MAC_RCR_AB] = AB,
308 .maps[MAC_RCR_ACRC32] = ACRC32,
309 .maps[MAC_RCR_ACF] = ACF,
310 .maps[MAC_RCR_AAP] = AAP,
311 .maps[MAC_HIMR] = REG_HIMR,
312 .maps[MAC_HIMRE] = REG_HIMRE,
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dsw.c251 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
252 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
253 .maps[SYS_CLK] = REG_SYS_CLKR,
254 .maps[MAC_RCR_AM] = AM,
255 .maps[MAC_RCR_AB] = AB,
256 .maps[MAC_RCR_ACRC32] = ACRC32,
257 .maps[MAC_RCR_ACF] = ACF,
258 .maps[MAC_RCR_AAP] = AAP,
259 .maps[MAC_HIMR] = REG_HIMR,
260 .maps[MAC_HIMRE] = REG_HIMRE,
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dsw.c248 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
249 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
250 .maps[SYS_CLK] = REG_SYS_CLKR,
251 .maps[MAC_RCR_AM] = RCR_AM,
252 .maps[MAC_RCR_AB] = RCR_AB,
253 .maps[MAC_RCR_ACRC32] = RCR_ACRC32,
254 .maps[MAC_RCR_ACF] = RCR_ACF,
255 .maps[MAC_RCR_AAP] = RCR_AAP,
257 .maps[EFUSE_TEST] = REG_EFUSE_TEST,
258 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dsw.c169 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
170 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
171 .maps[SYS_CLK] = REG_SYS_CLKR,
172 .maps[MAC_RCR_AM] = AM,
173 .maps[MAC_RCR_AB] = AB,
174 .maps[MAC_RCR_ACRC32] = ACRC32,
175 .maps[MAC_RCR_ACF] = ACF,
176 .maps[MAC_RCR_AAP] = AAP,
178 .maps[EFUSE_TEST] = REG_EFUSE_TEST,
179 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dsw.c289 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
290 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
291 .maps[SYS_CLK] = SYS_CLKR,
292 .maps[MAC_RCR_AM] = RCR_AM,
293 .maps[MAC_RCR_AB] = RCR_AB,
294 .maps[MAC_RCR_ACRC32] = RCR_ACRC32,
295 .maps[MAC_RCR_ACF] = RCR_ACF,
296 .maps[MAC_RCR_AAP] = RCR_AAP,
297 .maps[MAC_HIMR] = INTA_MASK,
298 .maps[MAC_HIMRE] = INTA_MASK + 4,
[all …]
/drivers/net/wireless/realtek/rtlwifi/
Defuse.c52 bytetemp = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[SYS_FUNC_EN] + 1); in efuse_initialize()
54 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_FUNC_EN] + 1, temp); in efuse_initialize()
56 bytetemp = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[SYS_ISO_CTRL] + 1); in efuse_initialize()
58 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_ISO_CTRL] + 1, temp); in efuse_initialize()
60 bytetemp = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_TEST] + 3); in efuse_initialize()
62 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_TEST] + 3, temp); in efuse_initialize()
66 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, 0x72); in efuse_initialize()
78 rtlpriv->cfg->maps[EFUSE_REAL_CONTENT_SIZE]; in efuse_read_1byte()
82 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 1, in efuse_read_1byte()
85 rtlpriv->cfg->maps[EFUSE_CTRL] + 2); in efuse_read_1byte()
[all …]
Dcam.c41 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], in rtl_cam_program_entry()
43 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], in rtl_cam_program_entry()
48 rtlpriv->cfg->maps[WCAMI], target_content); in rtl_cam_program_entry()
53 rtlpriv->cfg->maps[RWCAM], target_command); in rtl_cam_program_entry()
62 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], in rtl_cam_program_entry()
64 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], in rtl_cam_program_entry()
81 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], in rtl_cam_program_entry()
83 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], in rtl_cam_program_entry()
141 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], 0); in rtl_cam_delete_one_entry()
142 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], ul_command); in rtl_cam_delete_one_entry()
[all …]
/drivers/mtd/maps/
Dphysmap-core.c53 struct map_info *maps; member
368 info->maps[i].name = mtd_name; in physmap_flash_of_init()
369 info->maps[i].swap = swap; in physmap_flash_of_init()
370 info->maps[i].bankwidth = bankwidth; in physmap_flash_of_init()
371 info->maps[i].device_node = dp; in physmap_flash_of_init()
373 err = of_flash_probe_bt1_rom(dev, dp, &info->maps[i]); in physmap_flash_of_init()
377 err = of_flash_probe_gemini(dev, dp, &info->maps[i]); in physmap_flash_of_init()
381 err = of_flash_probe_ixp4xx(dev, dp, &info->maps[i]); in physmap_flash_of_init()
385 err = of_flash_probe_versatile(dev, dp, &info->maps[i]); in physmap_flash_of_init()
398 info->maps[i].phys = NO_XIP; in physmap_flash_of_init()
[all …]
Damd76xrom.c35 struct list_head maps; member
66 .maps = LIST_HEAD_INIT(amd76xrom_window.maps),
82 list_for_each_entry_safe(map, scratch, &window->maps, list) { in amd76xrom_cleanup()
275 list_add(&map->list, &window->maps); in amd76xrom_init_one()
283 if (list_empty(&window->maps)) { in amd76xrom_init_one()
Dichxrom.c40 struct list_head maps; member
54 .maps = LIST_HEAD_INIT(ichxrom_window.maps),
70 list_for_each_entry_safe(map, scratch, &window->maps, list) { in ichxrom_cleanup()
302 list_add(&map->list, &window->maps); in ichxrom_init_one()
311 if (list_empty(&window->maps)) { in ichxrom_init_one()
Dck804xrom.c39 struct list_head maps; member
79 .maps = LIST_HEAD_INIT(ck804xrom_window.maps),
94 list_for_each_entry_safe(map, scratch, &window->maps, list) { in ck804xrom_cleanup()
304 list_add(&map->list, &window->maps); in ck804xrom_init_one()
313 if (list_empty(&window->maps)) { in ck804xrom_init_one()
/drivers/thermal/intel/
Dintel_bxt_pmic_thermal.c46 const struct thermal_irq_map *maps; member
149 .maps = bxtwc_thermal_irq_map,
171 for (j = 0; j < td->maps[i].num_trips; j++) { in pmic_thermal_irq_handler()
172 reg = td->maps[i].trip_config[j].irq_reg; in pmic_thermal_irq_handler()
173 mask = td->maps[i].trip_config[j].irq_mask; in pmic_thermal_irq_handler()
191 evt_stat_reg = td->maps[i].trip_config[j].evt_stat; in pmic_thermal_irq_handler()
195 tzd = thermal_zone_get_zone_by_name(td->maps[i].handle); in pmic_thermal_irq_handler()
257 for (j = 0; j < thermal_data->maps[i].num_trips; j++) { in pmic_thermal_probe()
258 reg = thermal_data->maps[i].trip_config[j].irq_en; in pmic_thermal_probe()
259 mask = thermal_data->maps[i].trip_config[j].irq_en_mask; in pmic_thermal_probe()
/drivers/irqchip/
Dirq-qcom-mpm.c82 struct mpm_gic_map *maps; member
203 struct mpm_gic_map *maps = priv->maps; in get_mpm_gic_map() local
207 if (maps[i].pin == pin) in get_mpm_gic_map()
208 return &maps[i]; in get_mpm_gic_map()
308 static bool gic_hwirq_is_mapped(struct mpm_gic_map *maps, int cnt, u32 hwirq) in gic_hwirq_is_mapped() argument
313 if (maps[i].hwirq == hwirq) in gic_hwirq_is_mapped()
354 priv->maps = devm_kcalloc(dev, priv->map_cnt, sizeof(*priv->maps), in qcom_mpm_init()
356 if (!priv->maps) in qcom_mpm_init()
365 if (gic_hwirq_is_mapped(priv->maps, i, hwirq)) { in qcom_mpm_init()
371 priv->maps[i].pin = pin; in qcom_mpm_init()
[all …]
/drivers/pinctrl/vt8500/
Dpinctrl-wmt.c210 struct pinctrl_map **maps) in wmt_pctl_dt_node_to_map_func() argument
213 struct pinctrl_map *map = *maps; in wmt_pctl_dt_node_to_map_func()
229 (*maps)++; in wmt_pctl_dt_node_to_map_func()
237 struct pinctrl_map **maps) in wmt_pctl_dt_node_to_map_pull() argument
241 struct pinctrl_map *map = *maps; in wmt_pctl_dt_node_to_map_pull()
277 (*maps)++; in wmt_pctl_dt_node_to_map_pull()
283 struct pinctrl_map *maps, in wmt_pctl_dt_free_map() argument
289 if (maps[i].type == PIN_MAP_TYPE_CONFIGS_PIN) in wmt_pctl_dt_free_map()
290 kfree(maps[i].data.configs.configs); in wmt_pctl_dt_free_map()
292 kfree(maps); in wmt_pctl_dt_free_map()
[all …]
/drivers/phy/starfive/
Dphy-jh7110-dphy-rx.c63 u8 maps[STF_MAP_LANES_NUM]; member
89 FIELD_PREP(STF_DPHY_LANE_SWAP_CLK, info->maps[0]) | in stf_dphy_configure()
90 FIELD_PREP(STF_DPHY_LANE_SWAP_CLK1, info->maps[5]) | in stf_dphy_configure()
91 FIELD_PREP(STF_DPHY_LANE_SWAP_LAN0, info->maps[1]) | in stf_dphy_configure()
92 FIELD_PREP(STF_DPHY_LANE_SWAP_LAN1, info->maps[2]), in stf_dphy_configure()
95 writel(FIELD_PREP(STF_DPHY_LANE_SWAP_LAN2, info->maps[3]) | in stf_dphy_configure()
96 FIELD_PREP(STF_DPHY_LANE_SWAP_LAN3, info->maps[4]) | in stf_dphy_configure()
208 .maps = {4, 0, 1, 2, 3, 5},
/drivers/iommu/
Dof_iommu.c223 const __be32 *maps, *end; in of_iommu_get_resv_regions() local
243 maps = of_get_property(it.node, "iommu-addresses", &size); in of_iommu_get_resv_regions()
244 if (!maps) in of_iommu_get_resv_regions()
247 end = maps + size / sizeof(__be32); in of_iommu_get_resv_regions()
249 while (maps < end) { in of_iommu_get_resv_regions()
253 phandle = be32_to_cpup(maps++); in of_iommu_get_resv_regions()
266 maps = of_translate_dma_region(np, maps, &iova, &length); in of_iommu_get_resv_regions()
/drivers/platform/x86/intel/pmc/
Dcore.c220 const struct pmc_bit_map **maps = pmc->map->slps0_dbg_maps; in pmc_core_slps0_display() local
225 while (*maps) { in pmc_core_slps0_display()
226 map = *maps; in pmc_core_slps0_display()
240 ++maps; in pmc_core_slps0_display()
244 static int pmc_core_lpm_get_arr_size(const struct pmc_bit_map **maps) in pmc_core_lpm_get_arr_size() argument
248 for (idx = 0; maps[idx]; idx++) in pmc_core_lpm_get_arr_size()
257 const struct pmc_bit_map **maps) in pmc_core_lpm_display() argument
262 arr_size = pmc_core_lpm_get_arr_size(maps); in pmc_core_lpm_display()
279 for (index = 0; maps[idx][index].name && index < len; index++) { in pmc_core_lpm_display()
280 bit_mask = maps[idx][index].bit_mask; in pmc_core_lpm_display()
[all …]
/drivers/net/ethernet/netronome/nfp/bpf/
Doffload.c338 if (!bpf->maps.types) in nfp_bpf_map_alloc()
347 if (!(bpf->maps.types & 1 << offmap->map.map_type)) { in nfp_bpf_map_alloc()
351 if (bpf->maps.max_maps == bpf->maps_in_use) { in nfp_bpf_map_alloc()
355 if (bpf->maps.max_elems - bpf->map_elems_in_use < in nfp_bpf_map_alloc()
359 bpf->maps.max_elems - bpf->map_elems_in_use); in nfp_bpf_map_alloc()
364 round_up(offmap->map.value_size, 8) > bpf->maps.max_elem_sz) { in nfp_bpf_map_alloc()
368 bpf->maps.max_elem_sz); in nfp_bpf_map_alloc()
371 if (offmap->map.key_size > bpf->maps.max_key_sz) { in nfp_bpf_map_alloc()
373 offmap->map.key_size, bpf->maps.max_key_sz); in nfp_bpf_map_alloc()
376 if (offmap->map.value_size > bpf->maps.max_val_sz) { in nfp_bpf_map_alloc()
[all …]
Dmain.c275 bpf->maps.types = readl(&cap->types); in nfp_bpf_parse_cap_maps()
276 bpf->maps.max_maps = readl(&cap->max_maps); in nfp_bpf_parse_cap_maps()
277 bpf->maps.max_elems = readl(&cap->max_elems); in nfp_bpf_parse_cap_maps()
278 bpf->maps.max_key_sz = readl(&cap->max_key_sz); in nfp_bpf_parse_cap_maps()
279 bpf->maps.max_val_sz = readl(&cap->max_val_sz); in nfp_bpf_parse_cap_maps()
280 bpf->maps.max_elem_sz = readl(&cap->max_elem_sz); in nfp_bpf_parse_cap_maps()
487 bpf->cmsg_key_sz = bpf->maps.max_key_sz; in nfp_bpf_init()
488 bpf->cmsg_val_sz = bpf->maps.max_val_sz; in nfp_bpf_init()
/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c756 struct pinctrl_map *maps, unsigned num_maps) in bcm2835_pctl_dt_free_map() argument
761 if (maps[i].type == PIN_MAP_TYPE_CONFIGS_PIN) in bcm2835_pctl_dt_free_map()
762 kfree(maps[i].data.configs.configs); in bcm2835_pctl_dt_free_map()
764 kfree(maps); in bcm2835_pctl_dt_free_map()
769 struct pinctrl_map **maps) in bcm2835_pctl_dt_node_to_map_func() argument
771 struct pinctrl_map *map = *maps; in bcm2835_pctl_dt_node_to_map_func()
781 (*maps)++; in bcm2835_pctl_dt_node_to_map_func()
788 struct pinctrl_map **maps) in bcm2835_pctl_dt_node_to_map_pull() argument
790 struct pinctrl_map *map = *maps; in bcm2835_pctl_dt_node_to_map_pull()
807 (*maps)++; in bcm2835_pctl_dt_node_to_map_pull()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv50.c50 refcount_t maps; member
200 if (refcount_dec_and_mutex_lock(&iobj->maps, &imem->base.mutex)) { in nv50_instobj_release()
224 if (refcount_inc_not_zero(&iobj->maps)) { in nv50_instobj_acquire()
234 if (refcount_inc_not_zero(&iobj->maps)) { in nv50_instobj_acquire()
246 if (!refcount_inc_not_zero(&iobj->maps)) { in nv50_instobj_acquire()
257 refcount_set(&iobj->maps, 1); in nv50_instobj_acquire()
368 refcount_set(&iobj->maps, 0); in nv50_instobj_wrap()

1234