/kernel/linux/linux-6.6/drivers/memory/ |
H A D | emif.c | 276 /* Find addressing table entry based on the device's type and density */ 280 u32 index, type, density; in get_addressing_table() local 283 density = device_info->density; in get_addressing_table() 287 index = density - 1; in get_addressing_table() 290 switch (density) { in get_addressing_table() 293 index = density + 3; in get_addressing_table() 296 index = density - 1; in get_addressing_table() 788 static int is_dev_data_valid(u32 type, u32 density, u32 io_width, u32 phy_type, in is_dev_data_valid() argument 795 && (density > in is_dev_data_valid() 891 u32 density = 0, io_width = 0; of_get_ddr_info() local [all...] |
H A D | jedec_ddr.h | 199 unsigned int density : 4; member 211 int density; member
|
H A D | of_memory.c | 345 err = of_property_read_u32(np, "density", &info.density); in of_lpddr2_get_info() 349 info.density = ffs(info.density) - 7; in of_lpddr2_get_info()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | sr_vendor.c | 129 int rc, density = 0; in sr_set_blocklength() local 132 density = (blocklength > 2048) ? 0x81 : 0x83; in sr_set_blocklength() 139 sr_printk(KERN_INFO, cd, "MODE SELECT 0x%x/%d\n", density, blocklength); in sr_set_blocklength() 148 modesel->density = density; in sr_set_blocklength()
|
H A D | st.h | 68 short default_density; /* Forced density, -1 = no value */ 170 unsigned char density; member
|
H A D | st.c | 182 /* Internal ioctl to set both density (uppermost 8 bits) and blocksize (lower 894 STm->default_density != STp->density) { in set_mode_densblk() 898 arg = STp->density; in set_mode_densblk() 911 "and density %x.\n", in set_mode_densblk() 1101 STp->density = 0; /* Clear the erroneous "residue" */ in check_tape() 1167 STp->density = (STp->buffer)->b_data[4]; in check_tape() 1172 STp->density, in check_tape() 2906 case MTSETDENSITY: /* Set tape density */ in st_int_ioctl() 2908 case SET_DENS_AND_BLK: /* Set density and block size */ in st_int_ioctl() 2939 (STp->buffer)->b_data[4] = STp->density; in st_int_ioctl() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | sr_vendor.c | 129 int rc, density = 0; in sr_set_blocklength() local 132 density = (blocklength > 2048) ? 0x81 : 0x83; in sr_set_blocklength() 139 sr_printk(KERN_INFO, cd, "MODE SELECT 0x%x/%d\n", density, blocklength); in sr_set_blocklength() 148 modesel->density = density; in sr_set_blocklength()
|
H A D | st.h | 67 short default_density; /* Forced density, -1 = no value */ 167 unsigned char density; member
|
H A D | st.c | 183 /* Internal ioctl to set both density (uppermost 8 bits) and blocksize (lower 895 STm->default_density != STp->density) { in set_mode_densblk() 899 arg = STp->density; in set_mode_densblk() 912 "and density %x.\n", in set_mode_densblk() 1102 STp->density = 0; /* Clear the erroneous "residue" */ in check_tape() 1168 STp->density = (STp->buffer)->b_data[4]; in check_tape() 1173 STp->density, in check_tape() 2906 case MTSETDENSITY: /* Set tape density */ in st_int_ioctl() 2908 case SET_DENS_AND_BLK: /* Set density and block size */ in st_int_ioctl() 2939 (STp->buffer)->b_data[4] = STp->density; in st_int_ioctl() [all...] |
/kernel/linux/linux-5.10/drivers/memory/ |
H A D | emif.c | 301 /* Find addressing table entry based on the device's type and density */ 305 u32 index, type, density; in get_addressing_table() local 308 density = device_info->density; in get_addressing_table() 312 index = density - 1; in get_addressing_table() 315 switch (density) { in get_addressing_table() 318 index = density + 3; in get_addressing_table() 321 index = density - 1; in get_addressing_table() 1166 static int is_dev_data_valid(u32 type, u32 density, u32 io_width, u32 phy_type, in is_dev_data_valid() argument 1173 && (density > in is_dev_data_valid() 1269 u32 density = 0, io_width = 0; of_get_ddr_info() local [all...] |
/kernel/linux/linux-5.10/include/linux/platform_data/ |
H A D | emif_plat.h | 47 * @density: Device density 57 u32 density; member 98 * as type, bus width, density etc
|
/kernel/linux/linux-6.6/include/linux/platform_data/ |
H A D | emif_plat.h | 47 * @density: Device density 57 u32 density; member 98 * as type, bus width, density etc
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | adfs_fs.h | 15 __u8 density; member
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | adfs_fs.h | 15 __u8 density; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | adfs_fs.h | 27 __u8 density; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | adfs_fs.h | 27 __u8 density; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | adfs_fs.h | 14 __u8 density; member
|
/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/ |
H A D | onenand_base.c | 361 * onenand_get_density - [DEFAULT] Get OneNAND density 364 * Get OneNAND density from device ID 368 int density = dev_id >> ONENAND_DEVICE_DENSITY_SHIFT; in onenand_get_density() local 369 return (density & ONENAND_DEVICE_DENSITY_MASK); in onenand_get_density() 3037 int density; in onenand_otp_walk() local 3042 density = onenand_get_density(this->device_id); in onenand_otp_walk() 3043 if (density < ONENAND_DEVICE_DENSITY_512Mb) in onenand_otp_walk() 3246 unsigned int density, process, numbufs; in onenand_check_features() local 3248 /* Lock scheme depends on density and process */ in onenand_check_features() 3249 density in onenand_check_features() 3334 int vcc, demuxed, ddp, density, flexonenand; onenand_print_device_info() local 3430 int die, i, eraseshift, density; flexonenand_get_size() local 3559 int ret, density, blksperdie, old, new, thisboundary; flexonenand_set_boundary() local 3697 int density; onenand_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/onenand/ |
H A D | onenand_base.c | 361 * onenand_get_density - [DEFAULT] Get OneNAND density 364 * Get OneNAND density from device ID 368 int density = dev_id >> ONENAND_DEVICE_DENSITY_SHIFT; in onenand_get_density() local 369 return (density & ONENAND_DEVICE_DENSITY_MASK); in onenand_get_density() 3044 int density; in onenand_otp_walk() local 3049 density = onenand_get_density(this->device_id); in onenand_otp_walk() 3050 if (density < ONENAND_DEVICE_DENSITY_512Mb) in onenand_otp_walk() 3254 unsigned int density, process, numbufs; in onenand_check_features() local 3256 /* Lock scheme depends on density and process */ in onenand_check_features() 3257 density in onenand_check_features() 3342 int vcc, demuxed, ddp, density, flexonenand; onenand_print_device_info() local 3438 int die, i, eraseshift, density; flexonenand_get_size() local 3566 int ret, density, blksperdie, old, new, thisboundary; flexonenand_set_boundary() local 3704 int density; onenand_probe() local [all...] |
/kernel/linux/linux-6.6/include/scsi/ |
H A D | scsi.h | 43 __u8 density; /* device-specific density code */ member
|
/kernel/linux/linux-5.10/include/scsi/ |
H A D | scsi.h | 42 __u8 density; /* device-specific density code */ member
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
H A D | tx.c | 1041 unsigned int density, factor; in carl9170_tx_prepare() local 1047 density = sta->ht_cap.ampdu_density; in carl9170_tx_prepare() 1049 if (density) { in carl9170_tx_prepare() 1053 * Otus uses slightly different density values than in carl9170_tx_prepare() 1057 density = max_t(unsigned int, density + 1, 7u); in carl9170_tx_prepare() 1061 txc->s.ampdu_settings, density); in carl9170_tx_prepare() 1106 * There's no sane way to handle different density values with in carl9170_set_ampdu_params()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/ |
H A D | tx.c | 1042 unsigned int density, factor; in carl9170_tx_prepare() local 1049 density = sta->deflink.ht_cap.ampdu_density; in carl9170_tx_prepare() 1051 if (density) { in carl9170_tx_prepare() 1055 * Otus uses slightly different density values than in carl9170_tx_prepare() 1059 density = max_t(unsigned int, density + 1, 7u); in carl9170_tx_prepare() 1063 txc->s.ampdu_settings, density); in carl9170_tx_prepare() 1108 * There's no sane way to handle different density values with in carl9170_set_ampdu_params()
|
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
H A D | csio_hw.c | 775 u32 density, size = 0; in csio_hw_get_flash_params() local 810 density = (flashid >> 16) & 0xff; in csio_hw_get_flash_params() 811 switch (density) { in csio_hw_get_flash_params() 813 size = 1 << density; in csio_hw_get_flash_params() 830 density = (flashid >> 16) & 0xff; in csio_hw_get_flash_params() 831 switch (density) { in csio_hw_get_flash_params() 845 density = (flashid >> 16) & 0xff; in csio_hw_get_flash_params() 846 switch (density) { in csio_hw_get_flash_params() 849 size = 1 << density; in csio_hw_get_flash_params()
|
/kernel/linux/linux-6.6/drivers/scsi/csiostor/ |
H A D | csio_hw.c | 775 u32 density, size = 0; in csio_hw_get_flash_params() local 810 density = (flashid >> 16) & 0xff; in csio_hw_get_flash_params() 811 switch (density) { in csio_hw_get_flash_params() 813 size = 1 << density; in csio_hw_get_flash_params() 830 density = (flashid >> 16) & 0xff; in csio_hw_get_flash_params() 831 switch (density) { in csio_hw_get_flash_params() 845 density = (flashid >> 16) & 0xff; in csio_hw_get_flash_params() 846 switch (density) { in csio_hw_get_flash_params() 849 size = 1 << density; in csio_hw_get_flash_params()
|