Home
last modified time | relevance | path

Searched refs:spare (Results 1 – 25 of 127) sorted by relevance

123456

/linux/drivers/gpu/drm/xe/
H A Dxe_gt_sriov_pf_config.c350 u64 spare; in pf_get_spare_ggtt() local
356 spare = gt->sriov.pf.spare.ggtt_size; in pf_get_spare_ggtt()
357 spare = max_t(u64, spare, pf_get_min_spare_ggtt(gt)); in pf_get_spare_ggtt()
359 return spare; in pf_get_spare_ggtt()
372 gt->sriov.pf.spare.ggtt_size = size; in pf_set_spare_ggtt()
617 u64 spare = pf_get_spare_ggtt(gt); in pf_get_max_ggtt() local
620 max_hole = xe_ggtt_largest_hole(ggtt, alignment, &spare); in pf_get_max_ggtt()
623 max_hole / SZ_1K, spare / SZ_1K); in pf_get_max_ggtt()
624 return max_hole > spare ? max_hole - spare : 0; in pf_get_max_ggtt()
686 u32 spare; in pf_get_spare_ctxs() local
[all …]
H A Dxe_guc_db_mgr.c115 unsigned int count, unsigned int spare) in dbm_reserve_chunk_locked() argument
128 if (spare) { in dbm_reserve_chunk_locked()
130 if (used + count + spare > dbm->count) in dbm_reserve_chunk_locked()
200 unsigned int count, unsigned int spare) in xe_guc_db_mgr_reserve_range() argument
205 ret = dbm_reserve_chunk_locked(dbm, count, spare); in xe_guc_db_mgr_reserve_range()
H A Dxe_gt_sriov_pf_types.h52 struct xe_gt_sriov_spare_config spare; member
H A Dxe_guc_db_mgr.h17 int xe_guc_db_mgr_reserve_range(struct xe_guc_db_mgr *dbm, unsigned int count, unsigned int spare);
/linux/drivers/soc/tegra/fuse/
H A Dfuse-tegra30.c107 .spare = 0x144,
123 .spare = 0x180,
279 .spare = 0x200,
450 .spare = 0x280,
508 .spare = 0x280,
601 .spare = 0x280,
666 .spare = 0x280,
687 .spare = 0xcf0,
H A Dfuse.h23 unsigned int spare; member
74 u32 __init tegra_fuse_read_spare(unsigned int spare);
/linux/arch/powerpc/platforms/pseries/
H A Dvio.c96 size_t spare; member
159 if (vio_cmo.spare >= VIO_CMO_MIN_ENT) in vio_cmo_alloc()
212 spare_needed = VIO_CMO_MIN_ENT - vio_cmo.spare; in vio_cmo_dealloc()
222 vio_cmo.spare += tmp; in vio_cmo_dealloc()
237 vio_cmo.spare += tmp; in vio_cmo_dealloc()
292 if (vio_cmo.spare < VIO_CMO_MIN_ENT) { in vio_cmo_entitlement_update()
293 tmp = min(delta, (VIO_CMO_MIN_ENT - vio_cmo.spare)); in vio_cmo_entitlement_update()
294 vio_cmo.spare += tmp; in vio_cmo_entitlement_update()
402 cmo->spare = min_t(size_t, VIO_CMO_MIN_ENT, (cmo->entitled - cmo->min)); in vio_cmo_balance()
403 cmo->min += cmo->spare; in vio_cmo_balance()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dmtk_nand.c323 u32 fmt, spare, i; in mtk_nfc_hw_runtime_config() local
328 spare = mtk_nand->spare_per_sector; in mtk_nfc_hw_runtime_config()
365 spare >>= 1; in mtk_nfc_hw_runtime_config()
368 if (nfc->caps->spare_size[i] == spare) in mtk_nfc_hw_runtime_config()
373 dev_err(nfc->dev, "invalid spare size %d\n", spare); in mtk_nfc_hw_runtime_config()
945 u32 spare = mtk_nand->spare_per_sector; in mtk_nfc_read_subpage() local
958 column = start * (chip->ecc.size + spare); in mtk_nfc_read_subpage()
960 len = sectors * chip->ecc.size + (raw ? sectors * spare : 0); in mtk_nfc_read_subpage()
1198 const u8 *spare = nfc->caps->spare_size; in mtk_nfc_set_spare_per_sector() local
1211 if (*sps >= spare[i] && spare[i] >= spare[closest_spare]) { in mtk_nfc_set_spare_per_sector()
[all …]
/linux/crypto/async_tx/
H A Dasync_pq.c299 size_t len, enum sum_check_flags *pqres, struct page *spare, in async_syndrome_val() argument
390 BUG_ON(!spare || !scribble); in async_syndrome_val()
403 tx = async_xor_offs(spare, s_off, in async_syndrome_val()
407 s = page_address(spare) + s_off; in async_syndrome_val()
413 Q(blocks, disks) = spare; in async_syndrome_val()
420 s = page_address(spare) + s_off; in async_syndrome_val()
H A Draid6test.c24 static struct page *spare; variable
115 disks, bytes, &result, spare, 0, &submit); in raid6_dual_recov()
162 spare = data[disks+2]; in test()
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
H A Dsmu11_driver_if_vangogh.h150 uint8_t spare[2]; member
173 uint16_t spare; member
202 uint16_t spare; member
H A Dsmu13_driver_if_v13_0_5.h91 uint16_t spare; member
124 uint8_t spare[3]; member
H A Dsmu13_driver_if_yellow_carp.h136 uint8_t spare[3]; member
164 uint16_t spare; member
H A Dsmu12_driver_if.h130 uint8_t spare[2]; member
198 uint16_t spare; member
H A Dsmu13_driver_if_v13_0_4.h137 uint8_t spare[3]; member
165 uint16_t spare; //[centi] member
H A Dsmu14_driver_if_v14_0_0.h141 uint8_t spare[2]; member
221 uint32_t spare[6]; member
/linux/arch/arm/boot/dts/st/
H A Dstm32mp15xc-lxa-tac.dtsi451 /* spare dmas for other usage */
506 /* spare dmas for other usage */
518 /* spare dmas for other usage */
530 /* spare dmas for other usage */
547 /* spare dmas for other usage */
561 /* spare dmas for other usage */
H A Dstm32mp15xx-dhcom-picoitx.dtsi85 /* spare dmas for other usage */
96 /* spare dmas for other usage */
H A Dstm32mp15xx-dhcom-pdk2.dtsi164 /* spare dmas for other usage */
176 /* spare dmas for other usage */
276 /* spare dmas for other usage (un-delete to enable pwm capture) */
H A Dstm32mp157c-osd32mp1-red.dts81 /* spare dmas for other usage */
188 /* spare dmas for other usage */
/linux/Documentation/driver-api/
H A Dmtdnand.rst431 Most NAND chips mark the bad blocks at a defined position in the spare
434 mark each time when the blocks are accessed by reading the spare area of
547 marked and identified by a pattern which is stored in the spare area
550 the pattern has to be stored in len and the offset in the spare area
578 is stored in 4 consecutive bytes in the spare area of the device. The
604 filesystem data in the spare area,
645 The eccpos array holds the byte offsets in the spare area where the
650 The oobfree array defines the areas in the spare area which can be
661 spare area buffer along with the data buffer. The spare area buffer size
662 is (number of pages) \* (size of spare area). For reads the buffer size
[all …]
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
H A Ddcn31_smu.h145 uint8_t spare[3]; member
173 uint16_t spare; member
/linux/arch/m68k/include/asm/
H A Dadb_iop.h43 __u8 spare[21]; /* spare */ member
/linux/drivers/s390/char/
H A Dsclp_diag.h53 u8 spare; member
/linux/sound/pci/asihpi/
H A Dhpi6205.h53 u32 spare; member

123456