/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | sw.c | 257 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 258 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 259 .maps[SYS_CLK] = REG_SYS_CLKR, 260 .maps[MAC_RCR_AM] = AM, 261 .maps[MAC_RCR_AB] = AB, 262 .maps[MAC_RCR_ACRC32] = ACRC32, 263 .maps[MAC_RCR_ACF] = ACF, 264 .maps[MAC_RCR_AAP] = AAP, 265 .maps[MAC_HIMR] = REG_HIMR, 266 .maps[MAC_HIMRE] = REG_HIMRE, [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | sw.c | 243 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 244 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 245 .maps[SYS_CLK] = REG_SYS_CLKR, 246 .maps[MAC_RCR_AM] = AM, 247 .maps[MAC_RCR_AB] = AB, 248 .maps[MAC_RCR_ACRC32] = ACRC32, 249 .maps[MAC_RCR_ACF] = ACF, 250 .maps[MAC_RCR_AAP] = AAP, 251 .maps[MAC_HIMR] = REG_HIMR, 252 .maps[MAC_HIMRE] = REG_HIMRE, [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | sw.c | 259 .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/rtl8723be/ |
D | sw.c | 260 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 261 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 262 .maps[SYS_CLK] = REG_SYS_CLKR, 263 .maps[MAC_RCR_AM] = AM, 264 .maps[MAC_RCR_AB] = AB, 265 .maps[MAC_RCR_ACRC32] = ACRC32, 266 .maps[MAC_RCR_ACF] = ACF, 267 .maps[MAC_RCR_AAP] = AAP, 268 .maps[MAC_HIMR] = REG_HIMR, 269 .maps[MAC_HIMRE] = REG_HIMRE, [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | sw.c | 304 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 305 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 306 .maps[SYS_CLK] = REG_SYS_CLKR, 307 .maps[MAC_RCR_AM] = AM, 308 .maps[MAC_RCR_AB] = AB, 309 .maps[MAC_RCR_ACRC32] = ACRC32, 310 .maps[MAC_RCR_ACF] = ACF, 311 .maps[MAC_RCR_AAP] = AAP, 312 .maps[MAC_HIMR] = REG_HIMR, 313 .maps[MAC_HIMRE] = REG_HIMRE, [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | sw.c | 252 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 253 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 254 .maps[SYS_CLK] = REG_SYS_CLKR, 255 .maps[MAC_RCR_AM] = AM, 256 .maps[MAC_RCR_AB] = AB, 257 .maps[MAC_RCR_ACRC32] = ACRC32, 258 .maps[MAC_RCR_ACF] = ACF, 259 .maps[MAC_RCR_AAP] = AAP, 260 .maps[MAC_HIMR] = REG_HIMR, 261 .maps[MAC_HIMRE] = REG_HIMRE, [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | sw.c | 249 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 250 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 251 .maps[SYS_CLK] = REG_SYS_CLKR, 252 .maps[MAC_RCR_AM] = RCR_AM, 253 .maps[MAC_RCR_AB] = RCR_AB, 254 .maps[MAC_RCR_ACRC32] = RCR_ACRC32, 255 .maps[MAC_RCR_ACF] = RCR_ACF, 256 .maps[MAC_RCR_AAP] = RCR_AAP, 258 .maps[EFUSE_TEST] = REG_EFUSE_TEST, 259 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL, [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | sw.c | 171 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 172 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 173 .maps[SYS_CLK] = REG_SYS_CLKR, 174 .maps[MAC_RCR_AM] = AM, 175 .maps[MAC_RCR_AB] = AB, 176 .maps[MAC_RCR_ACRC32] = ACRC32, 177 .maps[MAC_RCR_ACF] = ACF, 178 .maps[MAC_RCR_AAP] = AAP, 180 .maps[EFUSE_TEST] = REG_EFUSE_TEST, 181 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL, [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | sw.c | 290 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL, 291 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN, 292 .maps[SYS_CLK] = SYS_CLKR, 293 .maps[MAC_RCR_AM] = RCR_AM, 294 .maps[MAC_RCR_AB] = RCR_AB, 295 .maps[MAC_RCR_ACRC32] = RCR_ACRC32, 296 .maps[MAC_RCR_ACF] = RCR_ACF, 297 .maps[MAC_RCR_AAP] = RCR_AAP, 298 .maps[MAC_HIMR] = INTA_MASK, 299 .maps[MAC_HIMRE] = INTA_MASK + 4, [all …]
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | cam.c | 41 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 …]
|
D | efuse.c | 52 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 …]
|
/drivers/mtd/maps/ |
D | physmap-core.c | 53 struct map_info *maps; member 372 info->maps[i].name = mtd_name; in physmap_flash_of_init() 373 info->maps[i].swap = swap; in physmap_flash_of_init() 374 info->maps[i].bankwidth = bankwidth; in physmap_flash_of_init() 375 info->maps[i].device_node = dp; in physmap_flash_of_init() 377 err = of_flash_probe_bt1_rom(dev, dp, &info->maps[i]); in physmap_flash_of_init() 381 err = of_flash_probe_gemini(dev, dp, &info->maps[i]); in physmap_flash_of_init() 385 err = of_flash_probe_ixp4xx(dev, dp, &info->maps[i]); in physmap_flash_of_init() 389 err = of_flash_probe_versatile(dev, dp, &info->maps[i]); in physmap_flash_of_init() 402 info->maps[i].phys = NO_XIP; in physmap_flash_of_init() [all …]
|
D | amd76xrom.c | 35 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()
|
D | ichxrom.c | 40 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()
|
D | ck804xrom.c | 39 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()
|
D | esb2rom.c | 101 struct list_head maps; member 115 .maps = LIST_HEAD_INIT(esb2rom_window.maps), 129 list_for_each_entry_safe(map, scratch, &window->maps, list) { in esb2rom_cleanup() 365 list_add(&map->list, &window->maps); in esb2rom_init_one() 374 if (list_empty(&window->maps)) { in esb2rom_init_one()
|
/drivers/thermal/intel/ |
D | intel_bxt_pmic_thermal.c | 46 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/pinctrl/vt8500/ |
D | pinctrl-wmt.c | 210 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/platform/x86/intel/pmc/ |
D | core.c | 1109 const struct pmc_bit_map **maps = pmcdev->map->slps0_dbg_maps; in pmc_core_slps0_display() local 1114 while (*maps) { in pmc_core_slps0_display() 1115 map = *maps; in pmc_core_slps0_display() 1129 ++maps; in pmc_core_slps0_display() 1133 static int pmc_core_lpm_get_arr_size(const struct pmc_bit_map **maps) in pmc_core_lpm_get_arr_size() argument 1137 for (idx = 0; maps[idx]; idx++) in pmc_core_lpm_get_arr_size() 1146 const struct pmc_bit_map **maps) in pmc_core_lpm_display() argument 1151 arr_size = pmc_core_lpm_get_arr_size(maps); in pmc_core_lpm_display() 1168 for (index = 0; maps[idx][index].name && index < len; index++) { in pmc_core_lpm_display() 1169 bit_mask = maps[idx][index].bit_mask; in pmc_core_lpm_display() [all …]
|
/drivers/net/ethernet/netronome/nfp/bpf/ |
D | offload.c | 338 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 …]
|
D | main.c | 275 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/ |
D | pinctrl-bcm2835.c | 736 struct pinctrl_map *maps, unsigned num_maps) in bcm2835_pctl_dt_free_map() argument 741 if (maps[i].type == PIN_MAP_TYPE_CONFIGS_PIN) in bcm2835_pctl_dt_free_map() 742 kfree(maps[i].data.configs.configs); in bcm2835_pctl_dt_free_map() 744 kfree(maps); in bcm2835_pctl_dt_free_map() 749 struct pinctrl_map **maps) in bcm2835_pctl_dt_node_to_map_func() argument 751 struct pinctrl_map *map = *maps; in bcm2835_pctl_dt_node_to_map_func() 761 (*maps)++; in bcm2835_pctl_dt_node_to_map_func() 768 struct pinctrl_map **maps) in bcm2835_pctl_dt_node_to_map_pull() argument 770 struct pinctrl_map *map = *maps; in bcm2835_pctl_dt_node_to_map_pull() 787 (*maps)++; in bcm2835_pctl_dt_node_to_map_pull() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv50.c | 50 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() 231 if (refcount_inc_not_zero(&iobj->maps)) { in nv50_instobj_acquire() 243 if (!refcount_inc_not_zero(&iobj->maps)) { in nv50_instobj_acquire() 252 refcount_set(&iobj->maps, 1); in nv50_instobj_acquire() 365 refcount_set(&iobj->maps, 0); in nv50_instobj_new()
|
/drivers/pinctrl/ |
D | core.h | 181 const struct pinctrl_map *maps; member 247 for (_i_ = 0, _map_ = &_maps_node_->maps[_i_]; \ 249 _i_++, _map_ = &_maps_node_->maps[_i_])
|
/drivers/pinctrl/renesas/ |
D | pinctrl.c | 109 struct pinctrl_map *maps = *map; in sh_pfc_dt_subnode_to_map() local 191 maps = krealloc(maps, sizeof(*maps) * nmaps, GFP_KERNEL); in sh_pfc_dt_subnode_to_map() 192 if (maps == NULL) { in sh_pfc_dt_subnode_to_map() 197 *map = maps; in sh_pfc_dt_subnode_to_map() 203 maps[idx].type = PIN_MAP_TYPE_MUX_GROUP; in sh_pfc_dt_subnode_to_map() 204 maps[idx].data.mux.group = group; in sh_pfc_dt_subnode_to_map() 205 maps[idx].data.mux.function = function; in sh_pfc_dt_subnode_to_map() 210 ret = sh_pfc_map_add_config(&maps[idx], group, in sh_pfc_dt_subnode_to_map() 226 ret = sh_pfc_map_add_config(&maps[idx], pin, in sh_pfc_dt_subnode_to_map()
|