/drivers/edac/ |
D | pasemi_edac.c | 183 struct edac_mc_layer layers[2]; in pasemi_edac_probe() local 200 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in pasemi_edac_probe() 201 layers[0].size = PASEMI_EDAC_NR_CSROWS; in pasemi_edac_probe() 202 layers[0].is_virt_csrow = true; in pasemi_edac_probe() 203 layers[1].type = EDAC_MC_LAYER_CHANNEL; in pasemi_edac_probe() 204 layers[1].size = PASEMI_EDAC_NR_CHANS; in pasemi_edac_probe() 205 layers[1].is_virt_csrow = false; in pasemi_edac_probe() 206 mci = edac_mc_alloc(system_mmc_id++, ARRAY_SIZE(layers), layers, in pasemi_edac_probe()
|
D | amd76x_edac.c | 237 struct edac_mc_layer layers[2]; in amd76x_probe1() local 246 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in amd76x_probe1() 247 layers[0].size = AMD76X_NR_CSROWS; in amd76x_probe1() 248 layers[0].is_virt_csrow = true; in amd76x_probe1() 249 layers[1].type = EDAC_MC_LAYER_CHANNEL; in amd76x_probe1() 250 layers[1].size = 1; in amd76x_probe1() 251 layers[1].is_virt_csrow = false; in amd76x_probe1() 252 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in amd76x_probe1()
|
D | i82860_edac.c | 187 struct edac_mc_layer layers[2]; in i82860_probe1() local 200 layers[0].type = EDAC_MC_LAYER_CHANNEL; in i82860_probe1() 201 layers[0].size = 2; in i82860_probe1() 202 layers[0].is_virt_csrow = true; in i82860_probe1() 203 layers[1].type = EDAC_MC_LAYER_SLOT; in i82860_probe1() 204 layers[1].size = 8; in i82860_probe1() 205 layers[1].is_virt_csrow = true; in i82860_probe1() 206 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in i82860_probe1()
|
D | r82600_edac.c | 271 struct edac_mc_layer layers[2]; in r82600_probe1() local 285 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in r82600_probe1() 286 layers[0].size = R82600_NR_CSROWS; in r82600_probe1() 287 layers[0].is_virt_csrow = true; in r82600_probe1() 288 layers[1].type = EDAC_MC_LAYER_CHANNEL; in r82600_probe1() 289 layers[1].size = R82600_NR_CHANS; in r82600_probe1() 290 layers[1].is_virt_csrow = false; in r82600_probe1() 291 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in r82600_probe1()
|
D | highbank_mc_edac.c | 148 struct edac_mc_layer layers[2]; in highbank_mc_probe() local 162 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in highbank_mc_probe() 163 layers[0].size = 1; in highbank_mc_probe() 164 layers[0].is_virt_csrow = true; in highbank_mc_probe() 165 layers[1].type = EDAC_MC_LAYER_CHANNEL; in highbank_mc_probe() 166 layers[1].size = 1; in highbank_mc_probe() 167 layers[1].is_virt_csrow = false; in highbank_mc_probe() 168 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, in highbank_mc_probe()
|
D | cell_edac.c | 172 struct edac_mc_layer layers[2]; in cell_edac_probe() local 202 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in cell_edac_probe() 203 layers[0].size = 1; in cell_edac_probe() 204 layers[0].is_virt_csrow = true; in cell_edac_probe() 205 layers[1].type = EDAC_MC_LAYER_CHANNEL; in cell_edac_probe() 206 layers[1].size = num_chans; in cell_edac_probe() 207 layers[1].is_virt_csrow = false; in cell_edac_probe() 208 mci = edac_mc_alloc(pdev->id, ARRAY_SIZE(layers), layers, in cell_edac_probe()
|
D | i82443bxgx_edac.c | 234 struct edac_mc_layer layers[2]; in i82443bxgx_edacmc_probe1() local 248 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in i82443bxgx_edacmc_probe1() 249 layers[0].size = I82443BXGX_NR_CSROWS; in i82443bxgx_edacmc_probe1() 250 layers[0].is_virt_csrow = true; in i82443bxgx_edacmc_probe1() 251 layers[1].type = EDAC_MC_LAYER_CHANNEL; in i82443bxgx_edacmc_probe1() 252 layers[1].size = I82443BXGX_NR_CHANS; in i82443bxgx_edacmc_probe1() 253 layers[1].is_virt_csrow = false; in i82443bxgx_edacmc_probe1() 254 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in i82443bxgx_edacmc_probe1()
|
D | aspeed_edac.c | 282 struct edac_mc_layer layers[2]; in aspeed_probe() local 307 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in aspeed_probe() 308 layers[0].size = 1; in aspeed_probe() 309 layers[0].is_virt_csrow = true; in aspeed_probe() 310 layers[1].type = EDAC_MC_LAYER_CHANNEL; in aspeed_probe() 311 layers[1].size = 1; in aspeed_probe() 312 layers[1].is_virt_csrow = false; in aspeed_probe() 314 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in aspeed_probe()
|
D | x38_edac.c | 322 struct edac_mc_layer layers[2]; in x38_probe1() local 338 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in x38_probe1() 339 layers[0].size = X38_RANKS; in x38_probe1() 340 layers[0].is_virt_csrow = true; in x38_probe1() 341 layers[1].type = EDAC_MC_LAYER_CHANNEL; in x38_probe1() 342 layers[1].size = x38_channel_num; in x38_probe1() 343 layers[1].is_virt_csrow = false; in x38_probe1() 344 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in x38_probe1()
|
D | i3000_edac.c | 313 struct edac_mc_layer layers[2]; in i3000_probe1() local 356 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in i3000_probe1() 357 layers[0].size = I3000_RANKS / nr_channels; in i3000_probe1() 358 layers[0].is_virt_csrow = true; in i3000_probe1() 359 layers[1].type = EDAC_MC_LAYER_CHANNEL; in i3000_probe1() 360 layers[1].size = nr_channels; in i3000_probe1() 361 layers[1].is_virt_csrow = false; in i3000_probe1() 362 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in i3000_probe1()
|
D | i3200_edac.c | 340 struct edac_mc_layer layers[2]; in i3200_probe1() local 355 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in i3200_probe1() 356 layers[0].size = I3200_DIMMS; in i3200_probe1() 357 layers[0].is_virt_csrow = true; in i3200_probe1() 358 layers[1].type = EDAC_MC_LAYER_CHANNEL; in i3200_probe1() 359 layers[1].size = nr_channels; in i3200_probe1() 360 layers[1].is_virt_csrow = false; in i3200_probe1() 361 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, in i3200_probe1()
|
D | i82875p_edac.c | 391 struct edac_mc_layer layers[2]; in i82875p_probe1() local 406 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in i82875p_probe1() 407 layers[0].size = I82875P_NR_CSROWS(nr_chans); in i82875p_probe1() 408 layers[0].is_virt_csrow = true; in i82875p_probe1() 409 layers[1].type = EDAC_MC_LAYER_CHANNEL; in i82875p_probe1() 410 layers[1].size = nr_chans; in i82875p_probe1() 411 layers[1].is_virt_csrow = false; in i82875p_probe1() 412 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); in i82875p_probe1()
|
D | octeon_edac-lmc.c | 228 struct edac_mc_layer layers[1]; in octeon_lmc_edac_probe() local 233 layers[0].type = EDAC_MC_LAYER_CHANNEL; in octeon_lmc_edac_probe() 234 layers[0].size = 1; in octeon_lmc_edac_probe() 235 layers[0].is_virt_csrow = false; in octeon_lmc_edac_probe() 246 mci = edac_mc_alloc(mc, ARRAY_SIZE(layers), layers, sizeof(struct octeon_lmc_pvt)); in octeon_lmc_edac_probe() 278 mci = edac_mc_alloc(mc, ARRAY_SIZE(layers), layers, sizeof(struct octeon_lmc_pvt)); in octeon_lmc_edac_probe()
|
D | edac_mc.c | 70 edac_layer_name[mci->layers[i].type], in edac_dimm_info_location() 349 edac_layer_name[mci->layers[layer].type], in edac_mc_alloc_dimms() 365 if (mci->layers[0].is_virt_csrow) { in edac_mc_alloc_dimms() 382 if (pos[layer] < mci->layers[layer].size) in edac_mc_alloc_dimms() 393 struct edac_mc_layer *layers, in edac_mc_alloc() argument 411 tot_dimms *= layers[idx].size; in edac_mc_alloc() 413 if (layers[idx].is_virt_csrow) in edac_mc_alloc() 414 tot_csrows *= layers[idx].size; in edac_mc_alloc() 416 tot_channels *= layers[idx].size; in edac_mc_alloc() 418 if (layers[idx].type == EDAC_MC_LAYER_CHIP_SELECT) in edac_mc_alloc() [all …]
|
D | e7xxx_edac.c | 424 struct edac_mc_layer layers[2]; in e7xxx_probe1() local 443 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in e7xxx_probe1() 444 layers[0].size = E7XXX_NR_CSROWS; in e7xxx_probe1() 445 layers[0].is_virt_csrow = true; in e7xxx_probe1() 446 layers[1].type = EDAC_MC_LAYER_CHANNEL; in e7xxx_probe1() 447 layers[1].size = drc_chan + 1; in e7xxx_probe1() 448 layers[1].is_virt_csrow = false; in e7xxx_probe1() 449 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); in e7xxx_probe1()
|
D | i82975x_edac.c | 467 struct edac_mc_layer layers[2]; in i82975x_probe1() local 540 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in i82975x_probe1() 541 layers[0].size = I82975X_NR_DIMMS; in i82975x_probe1() 542 layers[0].is_virt_csrow = true; in i82975x_probe1() 543 layers[1].type = EDAC_MC_LAYER_CHANNEL; in i82975x_probe1() 544 layers[1].size = I82975X_NR_CSROWS(chans); in i82975x_probe1() 545 layers[1].is_virt_csrow = false; in i82975x_probe1() 546 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); in i82975x_probe1()
|
D | bluefield_edac.c | 246 struct edac_mc_layer layers[1]; in bluefield_edac_mc_probe() local 273 layers[0].type = EDAC_MC_LAYER_SLOT; in bluefield_edac_mc_probe() 274 layers[0].size = dimm_count; in bluefield_edac_mc_probe() 275 layers[0].is_virt_csrow = true; in bluefield_edac_mc_probe() 277 mci = edac_mc_alloc(mc_idx, ARRAY_SIZE(layers), layers, sizeof(*priv)); in bluefield_edac_mc_probe()
|
D | i5400_edac.c | 1181 for (channel = 0; channel < mci->layers[0].size * mci->layers[1].size; in i5400_init_dimms() 1183 for (slot = 0; slot < mci->layers[2].size; slot++) { in i5400_init_dimms() 1256 struct edac_mc_layer layers[3]; in i5400_probe1() local 1274 layers[0].type = EDAC_MC_LAYER_BRANCH; in i5400_probe1() 1275 layers[0].size = MAX_BRANCHES; in i5400_probe1() 1276 layers[0].is_virt_csrow = false; in i5400_probe1() 1277 layers[1].type = EDAC_MC_LAYER_CHANNEL; in i5400_probe1() 1278 layers[1].size = CHANNELS_PER_BRANCH; in i5400_probe1() 1279 layers[1].is_virt_csrow = false; in i5400_probe1() 1280 layers[2].type = EDAC_MC_LAYER_SLOT; in i5400_probe1() [all …]
|
D | fsl_ddr_edac.c | 479 struct edac_mc_layer layers[2]; in fsl_mc_err_probe() local 488 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in fsl_mc_err_probe() 489 layers[0].size = 4; in fsl_mc_err_probe() 490 layers[0].is_virt_csrow = true; in fsl_mc_err_probe() 491 layers[1].type = EDAC_MC_LAYER_CHANNEL; in fsl_mc_err_probe() 492 layers[1].size = 1; in fsl_mc_err_probe() 493 layers[1].is_virt_csrow = false; in fsl_mc_err_probe() 494 mci = edac_mc_alloc(edac_mc_idx, ARRAY_SIZE(layers), layers, in fsl_mc_err_probe()
|
D | ie31200_edac.c | 400 struct edac_mc_layer layers[2]; in ie31200_probe1() local 420 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in ie31200_probe1() 421 layers[0].size = IE31200_DIMMS; in ie31200_probe1() 422 layers[0].is_virt_csrow = true; in ie31200_probe1() 423 layers[1].type = EDAC_MC_LAYER_CHANNEL; in ie31200_probe1() 424 layers[1].size = nr_channels; in ie31200_probe1() 425 layers[1].is_virt_csrow = false; in ie31200_probe1() 426 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, in ie31200_probe1()
|
D | i7300_edac.c | 1024 struct edac_mc_layer layers[3]; in i7300_init_one() local 1042 layers[0].type = EDAC_MC_LAYER_BRANCH; in i7300_init_one() 1043 layers[0].size = MAX_BRANCHES; in i7300_init_one() 1044 layers[0].is_virt_csrow = false; in i7300_init_one() 1045 layers[1].type = EDAC_MC_LAYER_CHANNEL; in i7300_init_one() 1046 layers[1].size = MAX_CH_PER_BRANCH; in i7300_init_one() 1047 layers[1].is_virt_csrow = true; in i7300_init_one() 1048 layers[2].type = EDAC_MC_LAYER_SLOT; in i7300_init_one() 1049 layers[2].size = MAX_SLOTS; in i7300_init_one() 1050 layers[2].is_virt_csrow = true; in i7300_init_one() [all …]
|
D | al_mc_edac.c | 219 struct edac_mc_layer layers[1]; in al_mc_edac_probe() local 233 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in al_mc_edac_probe() 234 layers[0].size = 1; in al_mc_edac_probe() 235 layers[0].is_virt_csrow = false; in al_mc_edac_probe() 236 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, in al_mc_edac_probe()
|
D | ppc4xx_edac.c | 1229 struct edac_mc_layer layers[2]; in ppc4xx_edac_probe() local 1275 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in ppc4xx_edac_probe() 1276 layers[0].size = ppc4xx_edac_nr_csrows; in ppc4xx_edac_probe() 1277 layers[0].is_virt_csrow = true; in ppc4xx_edac_probe() 1278 layers[1].type = EDAC_MC_LAYER_CHANNEL; in ppc4xx_edac_probe() 1279 layers[1].size = ppc4xx_edac_nr_chans; in ppc4xx_edac_probe() 1280 layers[1].is_virt_csrow = false; in ppc4xx_edac_probe() 1281 mci = edac_mc_alloc(ppc4xx_edac_instance, ARRAY_SIZE(layers), layers, in ppc4xx_edac_probe()
|
/drivers/media/dvb-frontends/ |
D | tc90522.c | 201 int layers; in tc90522s_get_frontend() local 209 layers = 0; in tc90522s_get_frontend() 236 layers = (v > 0) ? 2 : 1; in tc90522s_get_frontend() 284 stats->len = layers; in tc90522s_get_frontend() 287 for (i = 0; i < layers; i++) in tc90522s_get_frontend() 290 for (i = 0; i < layers; i++) { in tc90522s_get_frontend() 298 stats->len = layers; in tc90522s_get_frontend() 300 for (i = 0; i < layers; i++) in tc90522s_get_frontend() 303 for (i = 0; i < layers; i++) { in tc90522s_get_frontend() 336 int layers; in tc90522t_get_frontend() local [all …]
|
/drivers/parisc/ |
D | pdc_stable.c | 359 for (i = 0; i < 6 && devpath->layers[i]; i++) in pdcspath_layer_read() 360 out += sprintf(out, "%u ", devpath->layers[i]); in pdcspath_layer_read() 382 unsigned int layers[6]; /* device-specific info (ctlr#, unit#, ...) */ in pdcspath_layer_write() local 395 memset(&layers, 0, sizeof(layers)); in pdcspath_layer_write() 400 layers[0] = simple_strtoul(in, NULL, 10); in pdcspath_layer_write() 401 DPRINTK("%s: layer[0]: %d\n", __func__, layers[0]); in pdcspath_layer_write() 407 layers[i] = simple_strtoul(temp, NULL, 10); in pdcspath_layer_write() 408 DPRINTK("%s: layer[%d]: %d\n", __func__, i, layers[i]); in pdcspath_layer_write() 416 memcpy(&entry->devpath.layers, &layers, sizeof(layers)); in pdcspath_layer_write()
|