Home
last modified time | relevance | path

Searched refs:asize (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/devices/
Dpmc551.c126 u32 asize; member
150 eoff_hi = end & ~(priv->asize - 1); in pmc551_erase()
151 soff_hi = instr->addr & ~(priv->asize - 1); in pmc551_erase()
152 eoff_lo = end & (priv->asize - 1); in pmc551_erase()
157 if (soff_hi == eoff_hi || mtd->size == priv->asize) { in pmc551_erase()
169 memset(ptr, 0xff, priv->asize); in pmc551_erase()
170 if (soff_hi + priv->asize >= mtd->size) { in pmc551_erase()
173 soff_hi += priv->asize; in pmc551_erase()
175 priv->asize, &retlen, in pmc551_erase()
200 soff_hi = from & ~(priv->asize - 1); in pmc551_point()
[all …]
/kernel/linux/linux-5.10/arch/arm/mm/
Dpmsa-v7.c150 phys_addr_t asize = base + size - abase; in try_split_region() local
151 phys_addr_t p2size = 1 << __fls(asize); in try_split_region()
154 if (p2size != asize) in try_split_region()
158 sdiff = p2size - asize; in try_split_region()
212 phys_addr_t asize = (base - 1) ^ base; in allocate_region() local
215 size = asize < p2size ? asize + 1 : p2size + 1; in allocate_region()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Doffb.c304 u64 asize, taddr; in offb_map_reg() local
307 addrp = of_get_pci_address(np, index, &asize, &flags); in offb_map_reg()
309 addrp = of_get_address(np, index, &asize, &flags); in offb_map_reg()
314 if ((offset + size) > asize) in offb_map_reg()
546 u64 asize; in offb_init_nodriver() local
605 for (i = 0; (addrp = of_get_address(dp, i, &asize, &flags)) in offb_init_nodriver()
611 if (asize < rsize) in offb_init_nodriver()
617 ((rstart + asize) >= (addr_prop + rsize))) in offb_init_nodriver()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dhabanalabs_ioctl.c543 unsigned int usize, asize; in _hl_ioctl() local
564 usize = asize = _IOC_SIZE(cmd); in _hl_ioctl()
565 if (hl_size > asize) in _hl_ioctl()
566 asize = hl_size; in _hl_ioctl()
571 if (asize <= sizeof(stack_kdata)) { in _hl_ioctl()
574 kdata = kzalloc(asize, GFP_KERNEL); in _hl_ioctl()
/kernel/linux/linux-5.10/drivers/memory/
Dti-aemif.c108 u8 asize; member
203 set |= (data->asize & ACR_ASIZE_MASK); in aemif_config_abus()
250 data->asize = val & ASIZE_MAX; in aemif_get_hw_params()
314 data->asize = 1; in of_aemif_parse_abus_config()
/kernel/linux/linux-5.10/include/net/iucv/
Diucv.h462 void *answer, size_t asize, size_t *residual);
479 size_t size, void *answer, size_t asize, size_t *residual);
/kernel/linux/linux-5.10/security/smack/
Dsmackfs.c1796 int asize; in smk_read_ambient() local
1806 asize = strlen(smack_net_ambient->smk_known) + 1; in smk_read_ambient()
1808 if (cn >= asize) in smk_read_ambient()
1811 asize); in smk_read_ambient()
2070 int asize; in smk_read_unconfined() local
2078 asize = strlen(smack) + 1; in smk_read_unconfined()
2080 if (cn >= asize) in smk_read_unconfined()
2081 rc = simple_read_from_buffer(buf, cn, ppos, smack, asize); in smk_read_unconfined()
2625 int asize; in smk_read_syslog() local
2635 asize = strlen(skp->smk_known) + 1; in smk_read_syslog()
[all …]
/kernel/linux/linux-5.10/drivers/tty/vt/
Dkeyboard.c1660 int asize; in vt_do_diacrit() local
1679 asize = accent_table_size; in vt_do_diacrit()
1680 for (i = 0; i < asize; i++) { in vt_do_diacrit()
1690 if (put_user(asize, &a->kb_cnt)) in vt_do_diacrit()
1693 asize * sizeof(struct kbdiacr))) in vt_do_diacrit()
1712 asize = accent_table_size; in vt_do_diacrit()
1713 memcpy(buf, accent_table, asize * sizeof(struct kbdiacruc)); in vt_do_diacrit()
1717 if (put_user(asize, &a->kb_cnt)) in vt_do_diacrit()
1720 asize*sizeof(struct kbdiacruc))) in vt_do_diacrit()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1877 unsigned int usize, asize; in kfd_ioctl() local
1889 usize = asize = _IOC_SIZE(cmd); in kfd_ioctl()
1890 if (amdkfd_size > asize) in kfd_ioctl()
1891 asize = amdkfd_size; in kfd_ioctl()
1920 if (asize <= sizeof(stack_kdata)) { in kfd_ioctl()
1923 kdata = kmalloc(asize, GFP_KERNEL); in kfd_ioctl()
1929 if (asize > usize) in kfd_ioctl()
1930 memset(kdata + usize, 0, asize - usize); in kfd_ioctl()
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/
Dsafexcel.c160 u32 val, dsize, asize; in eip197_trc_cache_init() local
204 asize = eip197_trc_cache_probe(priv, 0, 0x3fffffff, 16) >> 4; in eip197_trc_cache_init()
210 if (dsize < EIP197_MIN_DSIZE || asize < EIP197_MIN_ASIZE) { in eip197_trc_cache_init()
212 dsize, asize); in eip197_trc_cache_init()
232 cs_rc_max = min_t(uint, cs_rc_abs_max, (asize >> 1)); in eip197_trc_cache_init()
234 cs_ht_sz = __fls(asize - cs_rc_max) - 2; in eip197_trc_cache_init()
238 cs_rc_max = min_t(uint, cs_rc_abs_max, asize - (cs_ht_wc >> 2)); in eip197_trc_cache_init()
265 dsize, asize, cs_rc_max, cs_ht_wc + cs_ht_wc); in eip197_trc_cache_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dma_buf.c96 unsigned asize = amdgpu_bo_size(bo); in amdgpu_gem_prime_mmap() local
106 if (asize < vma->vm_end - vma->vm_start) in amdgpu_gem_prime_mmap()
/kernel/linux/linux-5.10/sound/soc/sof/
Dops.h475 const struct sof_ops_table mach_ops[], int asize) in sof_get_ops() argument
479 for (i = 0; i < asize; i++) { in sof_get_ops()
Dtopology.c938 int asize; in sof_parse_token_sets() local
941 asize = le32_to_cpu(array->size); in sof_parse_token_sets()
944 if (asize < 0) { /* FIXME: A zero-size array makes no sense */ in sof_parse_token_sets()
946 asize); in sof_parse_token_sets()
951 priv_size -= asize; in sof_parse_token_sets()
954 asize); in sof_parse_token_sets()
983 + asize); in sof_parse_token_sets()
/kernel/linux/linux-5.10/drivers/clk/bcm/
Dclk-bcm2835.c2239 const size_t asize = ARRAY_SIZE(clk_desc_array); in bcm2835_clk_probe() local
2249 struct_size(cprman, onecell.hws, asize), in bcm2835_clk_probe()
2277 cprman->onecell.num = asize; in bcm2835_clk_probe()
2281 for (i = 0; i < asize; i++) { in bcm2835_clk_probe()
/kernel/linux/linux-5.10/net/iucv/
Diucv.c1360 void *answer, size_t asize, size_t *residual) in iucv_message_send2way() argument
1379 parm->dpl.ipbfln2f = (u32) asize; in iucv_message_send2way()
1390 parm->db.ipbfln2f = (u32) asize; in iucv_message_send2way()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_trace.h2206 __field(unsigned short, asize)
2217 __entry->asize = in_f->ilf_asize;
2229 __entry->asize,