/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A 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 in ns_free_device() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | nandsim.c | 189 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0) 199 (((ns)->regs.row * (ns)->geom.pgszoob) + (ns)->regs.column) 202 #define NS_RAW_OFFSET_OOB(ns) (NS_RAW_OFFSET(ns) + ns->geom.pgsz) 331 } geom; member 557 BITS_TO_LONGS(ns->geom.pgnum))); in ns_alloc_device() 563 ns->file_buf = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in ns_alloc_device() 581 ns->pages = vmalloc(array_size(sizeof(union ns_mem), ns->geom.pgnum)); in ns_alloc_device() 586 for (i = 0; i < ns->geom.pgnum; i++) { in ns_alloc_device() 590 ns->geom.pgszoob, 0, 0, NULL); in ns_alloc_device() 620 for (i = 0; i < ns->geom in ns_free_device() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | fdomain.c | 464 int geom[]) in fdomain_biosparam() 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[ in fdomain_biosparam() 462 fdomain_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) fdomain_biosparam() argument [all...] |
H A D | scsicam.c | 54 * @geom: output in form of [hds, cylinders, sectors] 57 * table, storing the results in @geom. 61 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]) in scsi_partsize() argument 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()
|
H A D | wd719x.c | 546 sector_t capacity, int geom[]) in wd719x_biosparam() 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() 545 wd719x_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) wd719x_biosparam() argument
|
H A D | aha1542.c | 982 struct block_device *bdev, sector_t capacity, int geom[]) in aha1542_biosparam() 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() 981 aha1542_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) aha1542_biosparam() argument
|
H A D | dpti.h | 36 sector_t, int geom[]);
|
H A D | megaraid.c | 2803 sector_t capacity, int geom[]) in megaraid_biosparam() 2830 geom[0] = heads; in megaraid_biosparam() 2831 geom[1] = sectors; in megaraid_biosparam() 2832 geom[2] = cylinders; in megaraid_biosparam() 2835 if (scsi_partsize(bdev, capacity, geom)) in megaraid_biosparam() 2855 geom[0] = heads; in megaraid_biosparam() 2856 geom[1] = sectors; in megaraid_biosparam() 2857 geom[2] = cylinders; in megaraid_biosparam() 2802 megaraid_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) megaraid_biosparam() argument
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | fdomain.c | 473 int geom[]) in fdomain_biosparam() 479 geom[0] = p[5] + 1; /* heads */ in fdomain_biosparam() 480 geom[1] = p[6] & 0x3f; /* sectors */ in fdomain_biosparam() 483 geom[0] = 255; /* heads */ in fdomain_biosparam() 484 geom[1] = 63; /* sectors */ in fdomain_biosparam() 486 geom[0] = 128; /* heads */ in fdomain_biosparam() 487 geom[1] = 63; /* sectors */ in fdomain_biosparam() 489 geom[0] = 64; /* heads */ in fdomain_biosparam() 490 geom[1] = 32; /* sectors */ in fdomain_biosparam() 493 geom[ in fdomain_biosparam() 471 fdomain_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) fdomain_biosparam() argument [all...] |
H A D | scsicam.c | 53 * @geom: output in form of [hds, cylinders, sectors] 56 * table, storing the results in @geom. 60 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]) in scsi_partsize() argument 122 geom[0] = end_head + 1; in scsi_partsize() 123 geom[1] = end_sector; in scsi_partsize() 124 geom[2] = (unsigned long)capacity / in scsi_partsize()
|
H A D | wd719x.c | 548 sector_t capacity, int geom[]) in wd719x_biosparam() 551 geom[0] = 255; /* heads */ in wd719x_biosparam() 552 geom[1] = 63; /* sectors */ in wd719x_biosparam() 554 geom[0] = 64; /* heads */ in wd719x_biosparam() 555 geom[1] = 32; /* sectors */ in wd719x_biosparam() 557 geom[2] = sector_div(capacity, geom[0] * geom[1]); /* cylinders */ in wd719x_biosparam() 547 wd719x_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) wd719x_biosparam() argument
|
H A D | aha1542.c | 995 struct block_device *bdev, sector_t capacity, int geom[]) in aha1542_biosparam() 1002 geom[0] = 255; /* heads */ in aha1542_biosparam() 1003 geom[1] = 63; /* sectors */ in aha1542_biosparam() 1005 geom[0] = 64; /* heads */ in aha1542_biosparam() 1006 geom[1] = 32; /* sectors */ in aha1542_biosparam() 1008 geom[2] = sector_div(capacity, geom[0] * geom[1]); /* cylinders */ in aha1542_biosparam() 994 aha1542_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) aha1542_biosparam() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
H A 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[bloc in tiler_ssptr() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/ |
H A D | omap_dmm_tiler.c | 60 } geom[TILFMT_NFORMATS] = { variable 544 w = DIV_ROUND_UP(w, geom[fmt].slot_w); in tiler_reserve_2d() 545 h = DIV_ROUND_UP(h, geom[fmt].slot_h); in tiler_reserve_2d() 548 slot_bytes = geom[fmt].slot_w * geom[fmt].cpp; in tiler_reserve_2d() 638 x_bits = CONT_WIDTH_BITS - geom[fmt].x_shft; in tiler_get_address() 639 y_bits = CONT_HEIGHT_BITS - geom[fmt].y_shft; in tiler_get_address() 640 alignment = geom[fmt].x_shft + geom[fmt].y_shft; in tiler_get_address() 672 block->area.p0.x * geom[bloc in tiler_ssptr() [all...] |
/kernel/linux/linux-5.10/include/scsi/ |
H A D | scsicam.h | 17 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]);
|
/kernel/linux/linux-6.6/include/scsi/ |
H A D | scsicam.h | 17 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]);
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | raid10.h | 35 struct geom { struct
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | raid10.h | 35 struct geom { struct
|
/kernel/linux/linux-5.10/drivers/block/ |
H A 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-6.6/drivers/block/ |
H A D | sunvdc.c | 808 struct vio_disk_geom geom; in probe_disk() local 811 &geom, sizeof(geom)); in probe_disk() 817 port->vdisk_size = ((u64)geom.num_cyl * in probe_disk() 818 (u64)geom.num_hd * in probe_disk() 819 (u64)geom.num_sec); in probe_disk()
|
/kernel/linux/linux-5.10/drivers/message/fusion/ |
H A D | mptscsih.h | 125 extern int mptscsih_bios_param(struct scsi_device * sdev, struct block_device *bdev, sector_t capacity, int geom[]);
|
/kernel/linux/linux-6.6/drivers/message/fusion/ |
H A D | mptscsih.h | 125 extern int mptscsih_bios_param(struct scsi_device * sdev, struct block_device *bdev, sector_t capacity, int geom[]);
|
/kernel/linux/linux-5.10/drivers/iommu/ |
H A 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/ |
H A D | aic7xxx_osm.c | 687 sector_t capacity, int geom[]) in ahc_linux_biosparam() 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() 686 ahc_linux_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) ahc_linux_biosparam() argument
|
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_osm.c | 686 sector_t capacity, int geom[]) in ahc_linux_biosparam() 698 if (scsi_partsize(bdev, capacity, geom)) in ahc_linux_biosparam() 716 geom[0] = heads; in ahc_linux_biosparam() 717 geom[1] = sectors; in ahc_linux_biosparam() 718 geom[2] = cylinders; in ahc_linux_biosparam() 685 ahc_linux_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) ahc_linux_biosparam() argument
|