/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | nandsim.c | 190 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0) 200 (((ns)->regs.row * (ns)->geom.pgszoob) + (ns)->regs.column) 203 #define NS_RAW_OFFSET_OOB(ns) (NS_RAW_OFFSET(ns) + ns->geom.pgsz) 329 } geom; member 555 BITS_TO_LONGS(ns->geom.pgnum))); in ns_alloc_device() 561 ns->file_buf = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in ns_alloc_device() 579 ns->pages = vmalloc(array_size(sizeof(union ns_mem), ns->geom.pgnum)); in ns_alloc_device() 584 for (i = 0; i < ns->geom.pgnum; i++) { in ns_alloc_device() 588 ns->geom.pgszoob, 0, 0, NULL); in ns_alloc_device() 618 for (i = 0; i < ns->geom.pgnum; i++) { in ns_free_device() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | fdomain.c | 464 int geom[]) in fdomain_biosparam() argument 470 geom[0] = p[5] + 1; /* heads */ in fdomain_biosparam() 471 geom[1] = p[6] & 0x3f; /* sectors */ in fdomain_biosparam() 474 geom[0] = 255; /* heads */ in fdomain_biosparam() 475 geom[1] = 63; /* sectors */ in fdomain_biosparam() 477 geom[0] = 128; /* heads */ in fdomain_biosparam() 478 geom[1] = 63; /* sectors */ in fdomain_biosparam() 480 geom[0] = 64; /* heads */ in fdomain_biosparam() 481 geom[1] = 32; /* sectors */ in fdomain_biosparam() 484 geom[2] = sector_div(capacity, geom[0] * geom[1]); in fdomain_biosparam()
|
D | scsicam.c | 61 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]) in scsi_partsize() 123 geom[0] = end_head + 1; in scsi_partsize() 124 geom[1] = end_sector; in scsi_partsize() 125 geom[2] = (unsigned long)capacity / in scsi_partsize()
|
D | aha1542.c | 982 struct block_device *bdev, sector_t capacity, int geom[]) in aha1542_biosparam() argument 989 geom[0] = 255; /* heads */ in aha1542_biosparam() 990 geom[1] = 63; /* sectors */ in aha1542_biosparam() 992 geom[0] = 64; /* heads */ in aha1542_biosparam() 993 geom[1] = 32; /* sectors */ in aha1542_biosparam() 995 geom[2] = sector_div(capacity, geom[0] * geom[1]); /* cylinders */ in aha1542_biosparam()
|
D | wd719x.c | 546 sector_t capacity, int geom[]) in wd719x_biosparam() argument 549 geom[0] = 255; /* heads */ in wd719x_biosparam() 550 geom[1] = 63; /* sectors */ in wd719x_biosparam() 552 geom[0] = 64; /* heads */ in wd719x_biosparam() 553 geom[1] = 32; /* sectors */ in wd719x_biosparam() 555 geom[2] = sector_div(capacity, geom[0] * geom[1]); /* cylinders */ in wd719x_biosparam()
|
D | dpti.h | 36 sector_t, int geom[]);
|
D | megaraid.c | 2802 sector_t capacity, int geom[]) in megaraid_biosparam() argument 2829 geom[0] = heads; in megaraid_biosparam() 2830 geom[1] = sectors; in megaraid_biosparam() 2831 geom[2] = cylinders; in megaraid_biosparam() 2834 if (scsi_partsize(bdev, capacity, geom)) in megaraid_biosparam() 2854 geom[0] = heads; in megaraid_biosparam() 2855 geom[1] = sectors; in megaraid_biosparam() 2856 geom[2] = cylinders; in megaraid_biosparam()
|
D | 3w-sas.c | 1408 …_scsi_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) in twl_scsi_biosparam() argument 1423 geom[0] = heads; in twl_scsi_biosparam() 1424 geom[1] = sectors; in twl_scsi_biosparam() 1425 geom[2] = sector_div(capacity, heads * sectors); /* cylinders */ in twl_scsi_biosparam()
|
D | stex.c | 1460 struct block_device *bdev, sector_t capacity, int geom[]) in stex_biosparam() argument 1471 geom[0] = heads; in stex_biosparam() 1472 geom[1] = sectors; in stex_biosparam() 1473 geom[2] = capacity; in stex_biosparam()
|
D | 3w-xxxx.c | 1342 sector_t capacity, int geom[]) in tw_scsi_biosparam() argument 1361 geom[0] = heads; in tw_scsi_biosparam() 1362 geom[1] = sectors; in tw_scsi_biosparam() 1363 geom[2] = cylinders; in tw_scsi_biosparam()
|
D | 3w-9xxx.c | 1698 …_scsi_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) in twa_scsi_biosparam() argument 1715 geom[0] = heads; in twa_scsi_biosparam() 1716 geom[1] = sectors; in twa_scsi_biosparam() 1717 geom[2] = cylinders; in twa_scsi_biosparam()
|
D | myrb.c | 1778 sector_t capacity, int geom[]) in myrb_biosparam() argument 1782 geom[0] = cb->ldev_geom_heads; in myrb_biosparam() 1783 geom[1] = cb->ldev_geom_sectors; in myrb_biosparam() 1784 geom[2] = sector_div(capacity, geom[0] * geom[1]); in myrb_biosparam()
|
D | mvumi.c | 2148 sector_t capacity, int geom[]) in mvumi_bios_param() argument 2167 geom[0] = heads; in mvumi_bios_param() 2168 geom[1] = sectors; in mvumi_bios_param() 2169 geom[2] = cylinders; in mvumi_bios_param()
|
D | dpt_i2o.c | 479 sector_t capacity, int geom[]) in DEF_SCSI_QCMD() 521 geom[0] = heads; in DEF_SCSI_QCMD() 522 geom[1] = sectors; in DEF_SCSI_QCMD() 523 geom[2] = cylinders; in DEF_SCSI_QCMD()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 67 } geom[TILFMT_NFORMATS] = { variable 551 w = DIV_ROUND_UP(w, geom[fmt].slot_w); in tiler_reserve_2d() 552 h = DIV_ROUND_UP(h, geom[fmt].slot_h); in tiler_reserve_2d() 555 slot_bytes = geom[fmt].slot_w * geom[fmt].cpp; in tiler_reserve_2d() 645 x_bits = CONT_WIDTH_BITS - geom[fmt].x_shft; in tiler_get_address() 646 y_bits = CONT_HEIGHT_BITS - geom[fmt].y_shft; in tiler_get_address() 647 alignment = geom[fmt].x_shft + geom[fmt].y_shft; in tiler_get_address() 679 block->area.p0.x * geom[block->fmt].slot_w, in tiler_ssptr() 680 block->area.p0.y * geom[block->fmt].slot_h); in tiler_ssptr() 690 (p->x * geom[block->fmt].slot_w) + x, in tiler_tsptr() [all …]
|
/kernel/linux/linux-5.10/include/scsi/ |
D | scsicam.h | 17 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]);
|
/kernel/linux/linux-5.10/drivers/md/ |
D | raid10.h | 35 struct geom { struct
|
D | raid10.c | 561 static void __raid10_find_phys(struct geom *geo, struct r10bio *r10bio) in __raid10_find_phys() 626 struct geom *geo = &conf->geo; in raid10_find_phys() 645 struct geom *geo = &conf->geo; in raid10_find_virt() 717 struct geom *geo = &conf->geo; in read_balance() 3559 static int setup_geo(struct geom *geo, struct mddev *mddev, enum geo_type new) in setup_geo() 3619 struct geom geo; in setup_conf() 4061 struct geom geo; in raid10_check_reshape() 4166 struct geom new; in raid10_start_reshape() 4344 static sector_t last_dev_address(sector_t s, struct geom *geo) in last_dev_address() 4359 static sector_t first_dev_address(sector_t s, struct geom *geo) in first_dev_address()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | sunvdc.c | 827 struct vio_disk_geom geom; in probe_disk() local 830 &geom, sizeof(geom)); in probe_disk() 836 port->vdisk_size = ((u64)geom.num_cyl * in probe_disk() 837 (u64)geom.num_hd * in probe_disk() 838 (u64)geom.num_sec); in probe_disk()
|
/kernel/linux/linux-5.10/drivers/message/fusion/ |
D | mptscsih.h | 125 …ih_bios_param(struct scsi_device * sdev, struct block_device *bdev, sector_t capacity, int geom[]);
|
D | mptscsih.c | 2086 sector_t capacity, int geom[]) in mptscsih_bios_param() argument 2113 geom[0] = heads; in mptscsih_bios_param() 2114 geom[1] = sectors; in mptscsih_bios_param() 2115 geom[2] = cylinders; in mptscsih_bios_param()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | fsl_pamu_domain.c | 61 struct iommu_domain_geometry *geom; in get_phys_addr() local 63 geom = &dma_domain->iommu_domain.geometry; in get_phys_addr() 77 wnd = (subwin_iova - geom->aperture_start) >> ilog2(subwin_size); in get_phys_addr()
|
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 687 sector_t capacity, int geom[]) in ahc_linux_biosparam() argument 699 if (scsi_partsize(bdev, capacity, geom)) in ahc_linux_biosparam() 717 geom[0] = heads; in ahc_linux_biosparam() 718 geom[1] = sectors; in ahc_linux_biosparam() 719 geom[2] = cylinders; in ahc_linux_biosparam()
|
D | aic79xx_osm.c | 721 sector_t capacity, int geom[]) in ahd_linux_biosparam() argument 731 if (scsi_partsize(bdev, capacity, geom)) in ahd_linux_biosparam() 747 geom[0] = heads; in ahd_linux_biosparam() 748 geom[1] = sectors; in ahd_linux_biosparam() 749 geom[2] = cylinders; in ahd_linux_biosparam()
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | libata-scsi.c | 264 sector_t capacity, int geom[]) in ata_std_bios_param() argument 266 geom[0] = 255; in ata_std_bios_param() 267 geom[1] = 63; in ata_std_bios_param() 269 geom[2] = capacity; in ata_std_bios_param()
|