density 3667 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp, width, row, column, bank, density; density 3683 drivers/gpu/drm/amd/amdgpu/si_dpm.c density = (1 << (row + column - 20 + bank)) * width; density 3686 drivers/gpu/drm/amd/amdgpu/si_dpm.c is_memory_gddr5 && is_special && (density == 0x400)) density 2103 drivers/gpu/drm/amd/include/atomfirmware.h uint8_t density; // _8Mx32, _16Mx32, _16Mx16, _32Mx16 density 2181 drivers/gpu/drm/amd/include/atomfirmware.h uint8_t density; // _8Mx32, _16Mx32, _16Mx16, _32Mx16 density 3208 drivers/gpu/drm/radeon/si_dpm.c u32 tmp, width, row, column, bank, density; density 3224 drivers/gpu/drm/radeon/si_dpm.c density = (1 << (row + column - 20 + bank)) * width; density 3227 drivers/gpu/drm/radeon/si_dpm.c is_memory_gddr5 && is_special && (density == 0x400)) density 347 drivers/memory/emif.c u32 index, type, density; density 350 drivers/memory/emif.c density = device_info->density; density 354 drivers/memory/emif.c index = density - 1; density 357 drivers/memory/emif.c switch (density) { density 360 drivers/memory/emif.c index = density + 3; density 363 drivers/memory/emif.c index = density - 1; density 1209 drivers/memory/emif.c static int is_dev_data_valid(u32 type, u32 density, u32 io_width, u32 phy_type, density 1216 drivers/memory/emif.c && (density >= DDR_DENSITY_64Mb density 1217 drivers/memory/emif.c && density <= DDR_DENSITY_8Gb) density 1312 drivers/memory/emif.c u32 density = 0, io_width = 0; density 1326 drivers/memory/emif.c of_property_read_u32(np_ddr, "density", &density); density 1330 drivers/memory/emif.c if (density & (density - 1)) density 1331 drivers/memory/emif.c dev_info->density = 0; density 1333 drivers/memory/emif.c dev_info->density = __fls(density) - 5; density 1381 drivers/memory/emif.c if (!is_dev_data_valid(pd->device_info->type, pd->device_info->density, density 1439 drivers/memory/emif.c pd->device_info->density, pd->device_info->io_width, density 368 drivers/mtd/nand/onenand/onenand_base.c int density = dev_id >> ONENAND_DEVICE_DENSITY_SHIFT; density 369 drivers/mtd/nand/onenand/onenand_base.c return (density & ONENAND_DEVICE_DENSITY_MASK); density 3042 drivers/mtd/nand/onenand/onenand_base.c int density; density 3047 drivers/mtd/nand/onenand/onenand_base.c density = onenand_get_density(this->device_id); density 3048 drivers/mtd/nand/onenand/onenand_base.c if (density < ONENAND_DEVICE_DENSITY_512Mb) density 3251 drivers/mtd/nand/onenand/onenand_base.c unsigned int density, process, numbufs; density 3254 drivers/mtd/nand/onenand/onenand_base.c density = onenand_get_density(this->device_id); density 3259 drivers/mtd/nand/onenand/onenand_base.c switch (density) { density 3339 drivers/mtd/nand/onenand/onenand_base.c int vcc, demuxed, ddp, density, flexonenand; density 3344 drivers/mtd/nand/onenand/onenand_base.c density = onenand_get_density(device); density 3350 drivers/mtd/nand/onenand/onenand_base.c (16 << density), density 3435 drivers/mtd/nand/onenand/onenand_base.c int die, i, eraseshift, density; density 3439 drivers/mtd/nand/onenand/onenand_base.c density = onenand_get_density(this->device_id); density 3440 drivers/mtd/nand/onenand/onenand_base.c blksperdie = ((loff_t)(16 << density) << 20) >> (this->erase_shift); density 3564 drivers/mtd/nand/onenand/onenand_base.c int ret, density, blksperdie, old, new, thisboundary; density 3575 drivers/mtd/nand/onenand/onenand_base.c density = onenand_get_density(this->device_id); density 3576 drivers/mtd/nand/onenand/onenand_base.c blksperdie = ((16 << density) << 20) >> this->erase_shift; density 3702 drivers/mtd/nand/onenand/onenand_base.c int density; density 3722 drivers/mtd/nand/onenand/onenand_base.c density = onenand_get_density(dev_id); density 3739 drivers/mtd/nand/onenand/onenand_base.c this->chipsize = (16 << density) << 20; density 3208 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int width, density, slow, attempts; density 3218 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c density = G_DEN(val); density 3239 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c V_REFCYC(p->RefCyc[density]) | V_BKCYC(p->BkCyc) | density 3520 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int density = G_DEN(cfg); density 3521 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int MBs = ((256 << density) * banks) / (org << width); density 8954 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int density, size = 0; density 8995 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c density = (flashid >> 16) & 0xff; density 8996 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c switch (density) { density 9031 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c density = (flashid >> 16) & 0xff; density 9032 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c switch (density) { density 9046 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c density = (flashid >> 16) & 0xff; density 9047 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c switch (density) { density 9061 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c density = (flashid >> 16) & 0xff; density 9062 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c switch (density) { density 1517 drivers/net/wireless/ath/ath9k/xmit.c u8 density; density 1534 drivers/net/wireless/ath/ath9k/xmit.c density = ath9k_parse_mpdudensity(sta->ht_cap.ampdu_density); density 1535 drivers/net/wireless/ath/ath9k/xmit.c an->mpdudensity = density; density 1041 drivers/net/wireless/ath/carl9170/tx.c unsigned int density, factor; density 1047 drivers/net/wireless/ath/carl9170/tx.c density = sta->ht_cap.ampdu_density; density 1049 drivers/net/wireless/ath/carl9170/tx.c if (density) { density 1057 drivers/net/wireless/ath/carl9170/tx.c density = max_t(unsigned int, density + 1, 7u); density 1061 drivers/net/wireless/ath/carl9170/tx.c txc->s.ampdu_settings, density); density 301 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c u8 density = 0; density 306 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c density = sta->ht_cap.ampdu_density; density 352 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.mpdu_density = density; density 3537 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c static void rtl8xxxu_set_ampdu_min_space(struct rtl8xxxu_priv *priv, u8 density) density 3543 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= density; density 775 drivers/scsi/csiostor/csio_hw.c u32 density, size = 0; density 810 drivers/scsi/csiostor/csio_hw.c density = (flashid >> 16) & 0xff; density 811 drivers/scsi/csiostor/csio_hw.c switch (density) { density 813 drivers/scsi/csiostor/csio_hw.c size = 1 << density; density 830 drivers/scsi/csiostor/csio_hw.c density = (flashid >> 16) & 0xff; density 831 drivers/scsi/csiostor/csio_hw.c switch (density) { density 845 drivers/scsi/csiostor/csio_hw.c density = (flashid >> 16) & 0xff; density 846 drivers/scsi/csiostor/csio_hw.c switch (density) { density 849 drivers/scsi/csiostor/csio_hw.c size = 1 << density; density 115 drivers/scsi/sr_vendor.c int rc, density = 0; density 119 drivers/scsi/sr_vendor.c density = (blocklength > 2048) ? 0x81 : 0x83; density 127 drivers/scsi/sr_vendor.c sr_printk(KERN_INFO, cd, "MODE SELECT 0x%x/%d\n", density, blocklength); density 136 drivers/scsi/sr_vendor.c modesel->density = density; density 889 drivers/scsi/st.c STm->default_density != STp->density) { density 893 drivers/scsi/st.c arg = STp->density; density 1095 drivers/scsi/st.c STp->density = 0; /* Clear the erroneous "residue" */ density 1161 drivers/scsi/st.c STp->density = (STp->buffer)->b_data[4]; density 1166 drivers/scsi/st.c STp->density, density 2928 drivers/scsi/st.c (STp->buffer)->b_data[4] = STp->density; density 2987 drivers/scsi/st.c STp->density = arg >> MT_ST_DENSITY_SHIFT; density 2991 drivers/scsi/st.c STp->density = arg; density 3756 drivers/scsi/st.c ((STp->density << MT_ST_DENSITY_SHIFT) & MT_ST_DENSITY_MASK); density 3784 drivers/scsi/st.c if (STp->density == 1) density 3786 drivers/scsi/st.c else if (STp->density == 2) density 3788 drivers/scsi/st.c else if (STp->density == 3) density 4326 drivers/scsi/st.c tpnt->density = 0; density 170 drivers/scsi/st.h unsigned char density; density 241 include/linux/cdrom.h __u8 density; density 57 include/linux/platform_data/emif_plat.h u32 density; density 68 include/scsi/scsi.h __u8 density; /* device-specific density code */ density 15 include/uapi/linux/adfs_fs.h __u8 density;