/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_formats.c | 702 struct dpu_hw_fmt_layout *layout) in _dpu_format_get_plane_sizes_ubwc() argument 708 memset(layout, 0, sizeof(struct dpu_hw_fmt_layout)); in _dpu_format_get_plane_sizes_ubwc() 709 layout->format = fmt; in _dpu_format_get_plane_sizes_ubwc() 710 layout->width = width; in _dpu_format_get_plane_sizes_ubwc() 711 layout->height = height; in _dpu_format_get_plane_sizes_ubwc() 712 layout->num_planes = fmt->num_planes; in _dpu_format_get_plane_sizes_ubwc() 721 if (DPU_FORMAT_IS_YUV(layout->format)) { in _dpu_format_get_plane_sizes_ubwc() 726 layout->num_planes = 2; in _dpu_format_get_plane_sizes_ubwc() 727 layout->plane_pitch[0] = VENUS_Y_STRIDE(color, width); in _dpu_format_get_plane_sizes_ubwc() 729 layout->plane_size[0] = MSM_MEDIA_ALIGN(layout->plane_pitch[0] * in _dpu_format_get_plane_sizes_ubwc() [all …]
|
/Linux-v4.19/drivers/media/platform/soc_camera/ |
D | soc_mediabus.c | 27 .layout = SOC_MBUS_LAYOUT_PACKED, 37 .layout = SOC_MBUS_LAYOUT_PACKED, 47 .layout = SOC_MBUS_LAYOUT_PACKED, 57 .layout = SOC_MBUS_LAYOUT_PACKED, 67 .layout = SOC_MBUS_LAYOUT_PACKED, 77 .layout = SOC_MBUS_LAYOUT_PACKED, 87 .layout = SOC_MBUS_LAYOUT_PACKED, 97 .layout = SOC_MBUS_LAYOUT_PACKED, 143 .layout = SOC_MBUS_LAYOUT_PACKED, 153 .layout = SOC_MBUS_LAYOUT_PACKED, [all …]
|
/Linux-v4.19/fs/exofs/ |
D | ore.c | 49 int ore_verify_layout(unsigned total_comps, struct ore_layout *layout) in ore_verify_layout() argument 53 switch (layout->raid_algorithm) { in ore_verify_layout() 55 layout->parity = 0; in ore_verify_layout() 58 layout->parity = 1; in ore_verify_layout() 61 layout->parity = 2; in ore_verify_layout() 66 layout->raid_algorithm); in ore_verify_layout() 69 if (0 != (layout->stripe_unit & ~PAGE_MASK)) { in ore_verify_layout() 72 _LLU(layout->stripe_unit), PAGE_SIZE); in ore_verify_layout() 75 if (layout->group_width) { in ore_verify_layout() 76 if (!layout->group_depth) { in ore_verify_layout() [all …]
|
D | super.c | 278 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in __sbi_read_stats() 333 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in exofs_sbi_write_stats() 392 ret = ore_get_io_state(&sbi->layout, &oc, &ios); in exofs_sync_fs() 480 sbi->layout.stripe_unit = in _read_and_match_data_map() 482 sbi->layout.group_width = in _read_and_match_data_map() 484 sbi->layout.group_depth = in _read_and_match_data_map() 486 sbi->layout.mirrors_p1 = in _read_and_match_data_map() 488 sbi->layout.raid_algorithm = in _read_and_match_data_map() 491 ret = ore_verify_layout(numdevs, &sbi->layout); in _read_and_match_data_map() 497 sbi->layout.stripe_unit, in _read_and_match_data_map() [all …]
|
D | ore_raid.c | 356 struct ore_layout *layout = ios->layout; in _alloc_read_4_write() local 363 ret = _ore_get_io_state(layout, ios->oc, in _alloc_read_4_write() 364 layout->group_width * layout->mirrors_p1, in _alloc_read_4_write() 379 (ios->layout->group_width * ios->layout->mirrors_p1)); in _add_to_r4w() 391 read_ios->numdevs = ios->layout->group_width * ios->layout->mirrors_p1; in _add_to_r4w() 428 ore_calc_stripe_info(ios->layout, ios->offset, 0, &si); in _add_to_r4w_first_page() 446 ore_calc_stripe_info(ios->layout, *offset, 0, &si); in _add_to_r4w_last_page() 521 ore_calc_stripe_info(ios->layout, offset, 0, &read_si); in _read_4_write_first_stripe() 576 ore_calc_stripe_info(ios->layout, offset, 0, &read_si); in _read_4_write_last_stripe() 613 ore_calc_stripe_info(ios->layout, offset, 0, &read_si); in _read_4_write_last_stripe() [all …]
|
D | exofs.h | 75 struct ore_layout layout; /* Default files layout */ member 153 unsigned exofs_max_io_pages(struct ore_layout *layout, 230 oc->numdevs = sbi->layout.group_width * sbi->layout.mirrors_p1 * in exofs_init_comps() 231 sbi->layout.group_count; in exofs_init_comps() 236 first_dev = (dev_mod * sbi->layout.mirrors_p1) % sbi->oc.numdevs; in exofs_init_comps()
|
/Linux-v4.19/drivers/clk/at91/ |
D | clk-programmable.c | 25 #define PROG_PRES(layout, pckr) ((pckr >> layout->pres_shift) & PROG_PRES_MASK) argument 38 const struct clk_programmable_layout *layout; member 51 return parent_rate >> PROG_PRES(prog->layout, pckr); in clk_programmable_recalc_rate() 100 const struct clk_programmable_layout *layout = prog->layout; in clk_programmable_set_parent() local 101 unsigned int mask = layout->css_mask; in clk_programmable_set_parent() 104 if (layout->have_slck_mck) in clk_programmable_set_parent() 107 if (index > layout->css_mask) { in clk_programmable_set_parent() 108 if (index > PROG_MAX_RM9200_CSS && !layout->have_slck_mck) in clk_programmable_set_parent() 122 const struct clk_programmable_layout *layout = prog->layout; in clk_programmable_get_parent() local 128 ret = pckr & layout->css_mask; in clk_programmable_get_parent() [all …]
|
D | clk-pll.c | 25 #define PLL_MUL(reg, layout) (((reg) >> (layout)->mul_shift) & \ argument 26 (layout)->mul_mask) 28 #define PLL_MUL_MASK(layout) ((layout)->mul_mask) argument 29 #define PLL_MUL_MAX(layout) (PLL_MUL_MASK(layout) + 1) argument 60 const struct clk_pll_layout *layout; member 77 const struct clk_pll_layout *layout = pll->layout; in clk_pll_prepare() local 91 mul = PLL_MUL(pllr, layout); in clk_pll_prepare() 105 regmap_update_bits(regmap, offset, layout->pllr_mask, in clk_pll_prepare() 108 ((pll->mul & layout->mul_mask) << layout->mul_shift)); in clk_pll_prepare() 126 unsigned int mask = pll->layout->pllr_mask; in clk_pll_unprepare() [all …]
|
D | clk-master.c | 43 const struct clk_master_layout *layout; member 80 const struct clk_master_layout *layout = master->layout; in clk_master_recalc_rate() local 86 mckr &= layout->mask; in clk_master_recalc_rate() 88 pres = (mckr >> layout->pres_shift) & MASTER_PRES_MASK; in clk_master_recalc_rate() 127 const struct clk_master_layout *layout, in at91_clk_register_master() argument 149 master->layout = layout; in at91_clk_register_master() 202 const struct clk_master_layout *layout) in of_at91_clk_master_setup() argument 228 parent_names, layout, in of_at91_clk_master_setup()
|
/Linux-v4.19/include/linux/mfd/syscon/ |
D | atmel-smc.h | 22 #define ATMEL_HSMC_SETUP(layout, cs) \ argument 23 ((layout)->timing_regs_offset + ((cs) * 0x14)) 25 #define ATMEL_HSMC_PULSE(layout, cs) \ argument 26 ((layout)->timing_regs_offset + ((cs) * 0x14) + 0x4) 28 #define ATMEL_HSMC_CYCLE(layout, cs) \ argument 29 ((layout)->timing_regs_offset + ((cs) * 0x14) + 0x8) 36 #define ATMEL_HSMC_MODE(layout, cs) \ argument 37 ((layout)->timing_regs_offset + ((cs) * 0x14) + 0x10) 67 #define ATMEL_HSMC_TIMINGS(layout, cs) \ argument 68 ((layout)->timing_regs_offset + ((cs) * 0x14) + 0xc)
|
/Linux-v4.19/drivers/mfd/ |
D | atmel-smc.c | 269 const struct atmel_hsmc_reg_layout *layout, in atmel_hsmc_cs_conf_apply() argument 272 regmap_write(regmap, ATMEL_HSMC_SETUP(layout, cs), conf->setup); in atmel_hsmc_cs_conf_apply() 273 regmap_write(regmap, ATMEL_HSMC_PULSE(layout, cs), conf->pulse); in atmel_hsmc_cs_conf_apply() 274 regmap_write(regmap, ATMEL_HSMC_CYCLE(layout, cs), conf->cycle); in atmel_hsmc_cs_conf_apply() 275 regmap_write(regmap, ATMEL_HSMC_TIMINGS(layout, cs), conf->timings); in atmel_hsmc_cs_conf_apply() 276 regmap_write(regmap, ATMEL_HSMC_MODE(layout, cs), conf->mode); in atmel_hsmc_cs_conf_apply() 310 const struct atmel_hsmc_reg_layout *layout, in atmel_hsmc_cs_conf_get() argument 313 regmap_read(regmap, ATMEL_HSMC_SETUP(layout, cs), &conf->setup); in atmel_hsmc_cs_conf_get() 314 regmap_read(regmap, ATMEL_HSMC_PULSE(layout, cs), &conf->pulse); in atmel_hsmc_cs_conf_get() 315 regmap_read(regmap, ATMEL_HSMC_CYCLE(layout, cs), &conf->cycle); in atmel_hsmc_cs_conf_get() [all …]
|
/Linux-v4.19/Documentation/filesystems/nfs/ |
D | pnfs.txt | 15 Each nfs_inode may hold a pointer to a cache of these layout 16 segments in nfsi->layout, of type struct pnfs_layout_hdr. 24 the reference count, as the layout is kept around by the lseg that 30 layout driver type. The device ids are held in a RCU cache (struct 57 layout drivers 60 PNFS utilizes what is called layout drivers. The STD defines 4 basic 61 layout types: "files", "objects", "blocks", and "flexfiles". For each 62 of these types there is a layout-driver with a common function-vectors 64 different layout types. 66 Files-layout-driver code is in: fs/nfs/filelayout/.. directory [all …]
|
/Linux-v4.19/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 290 if (!desc->layout.scaler_config) in atmel_hlcdc_plane_setup_scaler() 295 desc->layout.scaler_config, 0); in atmel_hlcdc_plane_setup_scaler() 299 if (desc->layout.phicoeffs.x) { in atmel_hlcdc_plane_setup_scaler() 313 desc->layout.phicoeffs.x); in atmel_hlcdc_plane_setup_scaler() 320 desc->layout.phicoeffs.y); in atmel_hlcdc_plane_setup_scaler() 326 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.scaler_config, in atmel_hlcdc_plane_setup_scaler() 338 if (desc->layout.size) in atmel_hlcdc_plane_update_pos_and_size() 339 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.size, in atmel_hlcdc_plane_update_pos_and_size() 343 if (desc->layout.memsize) in atmel_hlcdc_plane_update_pos_and_size() 345 desc->layout.memsize, in atmel_hlcdc_plane_update_pos_and_size() [all …]
|
/Linux-v4.19/drivers/md/ |
D | raid5.h | 738 static inline int algorithm_valid_raid5(int layout) in algorithm_valid_raid5() argument 740 return (layout >= 0) && in algorithm_valid_raid5() 741 (layout <= 5); in algorithm_valid_raid5() 743 static inline int algorithm_valid_raid6(int layout) in algorithm_valid_raid6() argument 745 return (layout >= 0 && layout <= 5) in algorithm_valid_raid6() 747 (layout >= 8 && layout <= 10) in algorithm_valid_raid6() 749 (layout >= 16 && layout <= 20); in algorithm_valid_raid6() 752 static inline int algorithm_is_DDF(int layout) in algorithm_is_DDF() argument 754 return layout >= 8 && layout <= 10; in algorithm_is_DDF()
|
D | dm-raid.c | 424 static bool __is_raid10_far(int layout); 523 static unsigned int __raid10_near_copies(int layout) in __raid10_near_copies() argument 525 return layout & 0xFF; in __raid10_near_copies() 529 static unsigned int __raid10_far_copies(int layout) in __raid10_far_copies() argument 531 return __raid10_near_copies(layout >> RAID10_FAR_COPIES_SHIFT); in __raid10_far_copies() 535 static bool __is_raid10_offset(int layout) in __is_raid10_offset() argument 537 return !!(layout & RAID10_OFFSET); in __is_raid10_offset() 541 static bool __is_raid10_near(int layout) in __is_raid10_near() argument 543 return !__is_raid10_offset(layout) && __raid10_near_copies(layout) > 1; in __is_raid10_near() 547 static bool __is_raid10_far(int layout) in __is_raid10_far() argument [all …]
|
/Linux-v4.19/drivers/staging/erofs/ |
D | super.c | 83 struct erofs_super_block *layout; in superblock_read() local 95 layout = (struct erofs_super_block *)((u8 *)bh->b_data in superblock_read() 99 if (le32_to_cpu(layout->magic) != EROFS_SUPER_MAGIC_V1) { in superblock_read() 104 blkszbits = layout->blkszbits; in superblock_read() 112 sbi->blocks = le32_to_cpu(layout->blocks); in superblock_read() 113 sbi->meta_blkaddr = le32_to_cpu(layout->meta_blkaddr); in superblock_read() 115 sbi->xattr_blkaddr = le32_to_cpu(layout->xattr_blkaddr); in superblock_read() 126 sbi->root_nid = le16_to_cpu(layout->root_nid); in superblock_read() 127 sbi->inos = le64_to_cpu(layout->inos); in superblock_read() 129 sbi->build_time = le64_to_cpu(layout->build_time); in superblock_read() [all …]
|
/Linux-v4.19/sound/aoa/fabrics/ |
D | layout.c | 64 struct layout { struct 273 static struct layout layouts[] = { 564 static struct layout *find_layout_by_id(unsigned int id) in find_layout_by_id() 566 struct layout *l; in find_layout_by_id() 577 static struct layout *find_layout_by_device(unsigned int id) in find_layout_by_device() 579 struct layout *l; in find_layout_by_device() 590 static void use_layout(struct layout *l) in use_layout() 613 struct layout *layout; member 827 if (!ldev->layout->codecs[i].name) in layout_found_codec() 829 if (strcmp(ldev->layout->codecs[i].name, codec->name) == 0) { in layout_found_codec() [all …]
|
D | Makefile | 1 snd-aoa-fabric-layout-objs += layout.o 3 obj-$(CONFIG_SND_AOA_FABRIC_LAYOUT) += snd-aoa-fabric-layout.o
|
D | Kconfig | 2 tristate "layout-id fabric" 6 This enables the layout-id fabric for the Apple Onboard 8 based on the device-tree's layout-id property.
|
/Linux-v4.19/include/scsi/ |
D | osd_ore.h | 123 struct ore_layout *layout; member 175 int ore_verify_layout(unsigned total_comps, struct ore_layout *layout); 176 void ore_calc_stripe_info(struct ore_layout *layout, u64 file_offset, 178 int ore_get_rw_state(struct ore_layout *layout, struct ore_components *comps, 181 int ore_get_io_state(struct ore_layout *layout, struct ore_components *comps, 194 int ore_truncate(struct ore_layout *layout, struct ore_components *comps,
|
/Linux-v4.19/drivers/staging/android/ |
D | vsoc.c | 93 struct vsoc_shm_layout_descriptor *layout; member 167 if (iminor(inode) >= vsoc_dev.layout->region_count) { in vsoc_validate_inode() 731 reg_num >= vsoc_dev.layout->region_count)) { in vsoc_interrupt() 800 vsoc_dev.layout = (struct vsoc_shm_layout_descriptor __force *) in vsoc_probe_device() 803 vsoc_dev.layout->major_version); in vsoc_probe_device() 805 vsoc_dev.layout->minor_version); in vsoc_probe_device() 806 dev_info(&pdev->dev, "size: 0x%x\n", vsoc_dev.layout->size); in vsoc_probe_device() 807 dev_info(&pdev->dev, "regions: %d\n", vsoc_dev.layout->region_count); in vsoc_probe_device() 808 if (vsoc_dev.layout->major_version != in vsoc_probe_device() 816 result = alloc_chrdev_region(&devt, 0, vsoc_dev.layout->region_count, in vsoc_probe_device() [all …]
|
/Linux-v4.19/Documentation/arm64/ |
D | memory.txt | 6 This document describes the virtual memory layout used by the AArch64 14 virtual address, are used but the memory layout is the same. 24 AArch64 Linux memory layout with 4KB pages + 3 levels: 32 AArch64 Linux memory layout with 4KB pages + 4 levels: 40 AArch64 Linux memory layout with 64KB pages + 2 levels: 48 AArch64 Linux memory layout with 64KB pages + 3 levels: 56 For details of the virtual kernel memory layout please see the kernel
|
/Linux-v4.19/drivers/staging/comedi/drivers/ |
D | cb_pcidas64.c | 636 enum register_layout layout; member 670 if (board->layout == LAYOUT_4020) in ai_dma_ring_count() 687 .layout = LAYOUT_64XX, 703 .layout = LAYOUT_64XX, 719 .layout = LAYOUT_64XX, 735 .layout = LAYOUT_64XX, 751 .layout = LAYOUT_64XX, 766 .layout = LAYOUT_60XX, 782 .layout = LAYOUT_60XX, 797 .layout = LAYOUT_60XX, [all …]
|
/Linux-v4.19/drivers/input/keyboard/ |
D | sunkbd.c | 82 volatile s8 layout; member 105 if (sunkbd->layout == -1) { in sunkbd_interrupt() 106 sunkbd->layout = data; in sunkbd_interrupt() 119 sunkbd->layout = -1; in sunkbd_interrupt() 201 sunkbd->layout = -2; in sunkbd_initialize() 204 sunkbd->layout >= 0, HZ / 4); in sunkbd_initialize() 205 if (sunkbd->layout < 0) in sunkbd_initialize() 207 if (sunkbd->layout & SUNKBD_LAYOUT_5_MASK) in sunkbd_initialize()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv50/ |
D | head917d.c | 71 case 32: asyh->curs.layout = 0; break; in head917d_curs_layout() 72 case 64: asyh->curs.layout = 1; break; in head917d_curs_layout() 73 case 128: asyh->curs.layout = 2; break; in head917d_curs_layout() 74 case 256: asyh->curs.layout = 3; break; in head917d_curs_layout()
|