addrmap 1052 drivers/edac/synopsys_edac.c static void setup_row_address_map(struct synps_edac_priv *priv, u32 *addrmap) addrmap 1057 drivers/edac/synopsys_edac.c priv->row_shift[0] = (addrmap[5] & ROW_MAX_VAL_MASK) + ROW_B0_BASE; addrmap 1058 drivers/edac/synopsys_edac.c priv->row_shift[1] = ((addrmap[5] >> 8) & addrmap 1061 drivers/edac/synopsys_edac.c addrmap_row_b2_10 = (addrmap[5] >> 16) & ROW_MAX_VAL_MASK; addrmap 1068 drivers/edac/synopsys_edac.c priv->row_shift[2] = (addrmap[9] & addrmap 1070 drivers/edac/synopsys_edac.c priv->row_shift[3] = ((addrmap[9] >> 8) & addrmap 1072 drivers/edac/synopsys_edac.c priv->row_shift[4] = ((addrmap[9] >> 16) & addrmap 1074 drivers/edac/synopsys_edac.c priv->row_shift[5] = ((addrmap[9] >> 24) & addrmap 1076 drivers/edac/synopsys_edac.c priv->row_shift[6] = (addrmap[10] & addrmap 1078 drivers/edac/synopsys_edac.c priv->row_shift[7] = ((addrmap[10] >> 8) & addrmap 1080 drivers/edac/synopsys_edac.c priv->row_shift[8] = ((addrmap[10] >> 16) & addrmap 1082 drivers/edac/synopsys_edac.c priv->row_shift[9] = ((addrmap[10] >> 24) & addrmap 1084 drivers/edac/synopsys_edac.c priv->row_shift[10] = (addrmap[11] & addrmap 1088 drivers/edac/synopsys_edac.c priv->row_shift[11] = (((addrmap[5] >> 24) & ROW_MAX_VAL_MASK) == addrmap 1089 drivers/edac/synopsys_edac.c ROW_MAX_VAL_MASK) ? 0 : (((addrmap[5] >> 24) & addrmap 1091 drivers/edac/synopsys_edac.c priv->row_shift[12] = ((addrmap[6] & ROW_MAX_VAL_MASK) == addrmap 1092 drivers/edac/synopsys_edac.c ROW_MAX_VAL_MASK) ? 0 : ((addrmap[6] & addrmap 1094 drivers/edac/synopsys_edac.c priv->row_shift[13] = (((addrmap[6] >> 8) & ROW_MAX_VAL_MASK) == addrmap 1095 drivers/edac/synopsys_edac.c ROW_MAX_VAL_MASK) ? 0 : (((addrmap[6] >> 8) & addrmap 1097 drivers/edac/synopsys_edac.c priv->row_shift[14] = (((addrmap[6] >> 16) & ROW_MAX_VAL_MASK) == addrmap 1098 drivers/edac/synopsys_edac.c ROW_MAX_VAL_MASK) ? 0 : (((addrmap[6] >> 16) & addrmap 1100 drivers/edac/synopsys_edac.c priv->row_shift[15] = (((addrmap[6] >> 24) & ROW_MAX_VAL_MASK) == addrmap 1101 drivers/edac/synopsys_edac.c ROW_MAX_VAL_MASK) ? 0 : (((addrmap[6] >> 24) & addrmap 1103 drivers/edac/synopsys_edac.c priv->row_shift[16] = ((addrmap[7] & ROW_MAX_VAL_MASK) == addrmap 1104 drivers/edac/synopsys_edac.c ROW_MAX_VAL_MASK) ? 0 : ((addrmap[7] & addrmap 1106 drivers/edac/synopsys_edac.c priv->row_shift[17] = (((addrmap[7] >> 8) & ROW_MAX_VAL_MASK) == addrmap 1107 drivers/edac/synopsys_edac.c ROW_MAX_VAL_MASK) ? 0 : (((addrmap[7] >> 8) & addrmap 1111 drivers/edac/synopsys_edac.c static void setup_column_address_map(struct synps_edac_priv *priv, u32 *addrmap) addrmap 1121 drivers/edac/synopsys_edac.c priv->col_shift[2] = (addrmap[2] & COL_MAX_VAL_MASK) + COL_B2_BASE; addrmap 1122 drivers/edac/synopsys_edac.c priv->col_shift[3] = ((addrmap[2] >> 8) & addrmap 1124 drivers/edac/synopsys_edac.c priv->col_shift[4] = (((addrmap[2] >> 16) & COL_MAX_VAL_MASK) == addrmap 1125 drivers/edac/synopsys_edac.c COL_MAX_VAL_MASK) ? 0 : (((addrmap[2] >> 16) & addrmap 1127 drivers/edac/synopsys_edac.c priv->col_shift[5] = (((addrmap[2] >> 24) & COL_MAX_VAL_MASK) == addrmap 1128 drivers/edac/synopsys_edac.c COL_MAX_VAL_MASK) ? 0 : (((addrmap[2] >> 24) & addrmap 1130 drivers/edac/synopsys_edac.c priv->col_shift[6] = ((addrmap[3] & COL_MAX_VAL_MASK) == addrmap 1131 drivers/edac/synopsys_edac.c COL_MAX_VAL_MASK) ? 0 : ((addrmap[3] & addrmap 1133 drivers/edac/synopsys_edac.c priv->col_shift[7] = (((addrmap[3] >> 8) & COL_MAX_VAL_MASK) == addrmap 1134 drivers/edac/synopsys_edac.c COL_MAX_VAL_MASK) ? 0 : (((addrmap[3] >> 8) & addrmap 1136 drivers/edac/synopsys_edac.c priv->col_shift[8] = (((addrmap[3] >> 16) & COL_MAX_VAL_MASK) == addrmap 1137 drivers/edac/synopsys_edac.c COL_MAX_VAL_MASK) ? 0 : (((addrmap[3] >> 16) & addrmap 1139 drivers/edac/synopsys_edac.c priv->col_shift[9] = (((addrmap[3] >> 24) & COL_MAX_VAL_MASK) == addrmap 1140 drivers/edac/synopsys_edac.c COL_MAX_VAL_MASK) ? 0 : (((addrmap[3] >> 24) & addrmap 1144 drivers/edac/synopsys_edac.c priv->col_shift[10] = ((addrmap[4] & addrmap 1146 drivers/edac/synopsys_edac.c ((addrmap[4] & COL_MAX_VAL_MASK) + addrmap 1148 drivers/edac/synopsys_edac.c priv->col_shift[11] = (((addrmap[4] >> 8) & addrmap 1150 drivers/edac/synopsys_edac.c (((addrmap[4] >> 8) & COL_MAX_VAL_MASK) + addrmap 1153 drivers/edac/synopsys_edac.c priv->col_shift[11] = ((addrmap[4] & addrmap 1155 drivers/edac/synopsys_edac.c ((addrmap[4] & COL_MAX_VAL_MASK) + addrmap 1157 drivers/edac/synopsys_edac.c priv->col_shift[13] = (((addrmap[4] >> 8) & addrmap 1159 drivers/edac/synopsys_edac.c (((addrmap[4] >> 8) & COL_MAX_VAL_MASK) + addrmap 1164 drivers/edac/synopsys_edac.c priv->col_shift[10] = (((addrmap[3] >> 24) & addrmap 1166 drivers/edac/synopsys_edac.c (((addrmap[3] >> 24) & COL_MAX_VAL_MASK) + addrmap 1168 drivers/edac/synopsys_edac.c priv->col_shift[11] = ((addrmap[4] & addrmap 1170 drivers/edac/synopsys_edac.c ((addrmap[4] & COL_MAX_VAL_MASK) + addrmap 1173 drivers/edac/synopsys_edac.c priv->col_shift[11] = (((addrmap[3] >> 24) & addrmap 1175 drivers/edac/synopsys_edac.c (((addrmap[3] >> 24) & COL_MAX_VAL_MASK) + addrmap 1177 drivers/edac/synopsys_edac.c priv->col_shift[13] = ((addrmap[4] & addrmap 1179 drivers/edac/synopsys_edac.c ((addrmap[4] & COL_MAX_VAL_MASK) + addrmap 1184 drivers/edac/synopsys_edac.c priv->col_shift[10] = (((addrmap[3] >> 16) & addrmap 1186 drivers/edac/synopsys_edac.c (((addrmap[3] >> 16) & COL_MAX_VAL_MASK) + addrmap 1188 drivers/edac/synopsys_edac.c priv->col_shift[11] = (((addrmap[3] >> 24) & addrmap 1190 drivers/edac/synopsys_edac.c (((addrmap[3] >> 24) & COL_MAX_VAL_MASK) + addrmap 1192 drivers/edac/synopsys_edac.c priv->col_shift[13] = ((addrmap[4] & addrmap 1194 drivers/edac/synopsys_edac.c ((addrmap[4] & COL_MAX_VAL_MASK) + addrmap 1197 drivers/edac/synopsys_edac.c priv->col_shift[11] = (((addrmap[3] >> 16) & addrmap 1199 drivers/edac/synopsys_edac.c (((addrmap[3] >> 16) & COL_MAX_VAL_MASK) + addrmap 1201 drivers/edac/synopsys_edac.c priv->col_shift[13] = (((addrmap[3] >> 24) & addrmap 1203 drivers/edac/synopsys_edac.c (((addrmap[3] >> 24) & COL_MAX_VAL_MASK) + addrmap 1217 drivers/edac/synopsys_edac.c static void setup_bank_address_map(struct synps_edac_priv *priv, u32 *addrmap) addrmap 1219 drivers/edac/synopsys_edac.c priv->bank_shift[0] = (addrmap[1] & BANK_MAX_VAL_MASK) + BANK_B0_BASE; addrmap 1220 drivers/edac/synopsys_edac.c priv->bank_shift[1] = ((addrmap[1] >> 8) & addrmap 1222 drivers/edac/synopsys_edac.c priv->bank_shift[2] = (((addrmap[1] >> 16) & addrmap 1224 drivers/edac/synopsys_edac.c (((addrmap[1] >> 16) & BANK_MAX_VAL_MASK) + addrmap 1229 drivers/edac/synopsys_edac.c static void setup_bg_address_map(struct synps_edac_priv *priv, u32 *addrmap) addrmap 1231 drivers/edac/synopsys_edac.c priv->bankgrp_shift[0] = (addrmap[8] & addrmap 1233 drivers/edac/synopsys_edac.c priv->bankgrp_shift[1] = (((addrmap[8] >> 8) & BANKGRP_MAX_VAL_MASK) == addrmap 1234 drivers/edac/synopsys_edac.c BANKGRP_MAX_VAL_MASK) ? 0 : (((addrmap[8] >> 8) addrmap 1239 drivers/edac/synopsys_edac.c static void setup_rank_address_map(struct synps_edac_priv *priv, u32 *addrmap) addrmap 1241 drivers/edac/synopsys_edac.c priv->rank_shift[0] = ((addrmap[0] & RANK_MAX_VAL_MASK) == addrmap 1242 drivers/edac/synopsys_edac.c RANK_MAX_VAL_MASK) ? 0 : ((addrmap[0] & addrmap 1256 drivers/edac/synopsys_edac.c u32 addrmap[12]; addrmap 1263 drivers/edac/synopsys_edac.c addrmap[index] = readl(priv->baseaddr + addrmap_offset); addrmap 1266 drivers/edac/synopsys_edac.c setup_row_address_map(priv, addrmap); addrmap 1268 drivers/edac/synopsys_edac.c setup_column_address_map(priv, addrmap); addrmap 1270 drivers/edac/synopsys_edac.c setup_bank_address_map(priv, addrmap); addrmap 1272 drivers/edac/synopsys_edac.c setup_bg_address_map(priv, addrmap); addrmap 1274 drivers/edac/synopsys_edac.c setup_rank_address_map(priv, addrmap); addrmap 103 net/netlabel/netlabel_kapi.c struct netlbl_domaddr_map *addrmap = NULL; addrmap 120 net/netlabel/netlabel_kapi.c addrmap = kzalloc(sizeof(*addrmap), GFP_ATOMIC); addrmap 121 net/netlabel/netlabel_kapi.c if (addrmap == NULL) addrmap 123 net/netlabel/netlabel_kapi.c INIT_LIST_HEAD(&addrmap->list4); addrmap 124 net/netlabel/netlabel_kapi.c INIT_LIST_HEAD(&addrmap->list6); addrmap 138 net/netlabel/netlabel_kapi.c &addrmap->list4); addrmap 159 net/netlabel/netlabel_kapi.c &addrmap->list6); addrmap 169 net/netlabel/netlabel_kapi.c entry->def.addrsel = addrmap; addrmap 185 net/netlabel/netlabel_kapi.c kfree(addrmap); addrmap 332 net/netlabel/netlabel_kapi.c struct netlbl_domaddr_map *addrmap = NULL; addrmap 353 net/netlabel/netlabel_kapi.c addrmap = kzalloc(sizeof(*addrmap), GFP_ATOMIC); addrmap 354 net/netlabel/netlabel_kapi.c if (addrmap == NULL) addrmap 356 net/netlabel/netlabel_kapi.c INIT_LIST_HEAD(&addrmap->list4); addrmap 357 net/netlabel/netlabel_kapi.c INIT_LIST_HEAD(&addrmap->list6); addrmap 367 net/netlabel/netlabel_kapi.c ret_val = netlbl_af4list_add(&addrinfo->list, &addrmap->list4); addrmap 371 net/netlabel/netlabel_kapi.c entry->def.addrsel = addrmap; addrmap 387 net/netlabel/netlabel_kapi.c kfree(addrmap); addrmap 458 net/netlabel/netlabel_kapi.c struct netlbl_domaddr_map *addrmap = NULL; addrmap 479 net/netlabel/netlabel_kapi.c addrmap = kzalloc(sizeof(*addrmap), GFP_ATOMIC); addrmap 480 net/netlabel/netlabel_kapi.c if (addrmap == NULL) addrmap 482 net/netlabel/netlabel_kapi.c INIT_LIST_HEAD(&addrmap->list4); addrmap 483 net/netlabel/netlabel_kapi.c INIT_LIST_HEAD(&addrmap->list6); addrmap 497 net/netlabel/netlabel_kapi.c ret_val = netlbl_af6list_add(&addrinfo->list, &addrmap->list6); addrmap 501 net/netlabel/netlabel_kapi.c entry->def.addrsel = addrmap; addrmap 517 net/netlabel/netlabel_kapi.c kfree(addrmap); addrmap 80 net/netlabel/netlabel_mgmt.c struct netlbl_domaddr_map *addrmap = NULL; addrmap 152 net/netlabel/netlabel_mgmt.c addrmap = kzalloc(sizeof(*addrmap), GFP_KERNEL); addrmap 153 net/netlabel/netlabel_mgmt.c if (addrmap == NULL) { addrmap 157 net/netlabel/netlabel_mgmt.c INIT_LIST_HEAD(&addrmap->list4); addrmap 158 net/netlabel/netlabel_mgmt.c INIT_LIST_HEAD(&addrmap->list6); addrmap 185 net/netlabel/netlabel_mgmt.c ret_val = netlbl_af4list_add(&map->list, &addrmap->list4); addrmap 193 net/netlabel/netlabel_mgmt.c entry->def.addrsel = addrmap; addrmap 200 net/netlabel/netlabel_mgmt.c addrmap = kzalloc(sizeof(*addrmap), GFP_KERNEL); addrmap 201 net/netlabel/netlabel_mgmt.c if (addrmap == NULL) { addrmap 205 net/netlabel/netlabel_mgmt.c INIT_LIST_HEAD(&addrmap->list4); addrmap 206 net/netlabel/netlabel_mgmt.c INIT_LIST_HEAD(&addrmap->list6); addrmap 237 net/netlabel/netlabel_mgmt.c ret_val = netlbl_af6list_add(&map->list, &addrmap->list6); addrmap 245 net/netlabel/netlabel_mgmt.c entry->def.addrsel = addrmap; addrmap 256 net/netlabel/netlabel_mgmt.c kfree(addrmap);