Home
last modified time | relevance | path

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

/drivers/mtd/devices/
Dpmc551.c130 u32 asize; member
154 eoff_hi = end & ~(priv->asize - 1); in pmc551_erase()
155 soff_hi = instr->addr & ~(priv->asize - 1); in pmc551_erase()
156 eoff_lo = end & (priv->asize - 1); in pmc551_erase()
157 soff_lo = instr->addr & (priv->asize - 1); in pmc551_erase()
162 if (soff_hi == eoff_hi || mtd->size == priv->asize) { in pmc551_erase()
174 memset(ptr, 0xff, priv->asize); in pmc551_erase()
175 if (soff_hi + priv->asize >= mtd->size) { in pmc551_erase()
178 soff_hi += priv->asize; in pmc551_erase()
180 priv->asize, &retlen, in pmc551_erase()
[all …]
/drivers/video/fbdev/
Doffb.c301 u64 asize, taddr; in offb_map_reg() local
304 addrp = of_get_pci_address(np, index, &asize, &flags); in offb_map_reg()
306 addrp = of_get_address(np, index, &asize, &flags); in offb_map_reg()
311 if ((offset + size) > asize) in offb_map_reg()
539 u64 asize; in offb_init_nodriver() local
598 for (i = 0; (addrp = of_get_address(dp, i, &asize, &flags)) in offb_init_nodriver()
604 if (asize < rsize) in offb_init_nodriver()
610 ((rstart + asize) >= (addr_prop + rsize))) in offb_init_nodriver()
/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c914 unsigned int usize, asize; in kfd_ioctl() local
926 usize = asize = _IOC_SIZE(cmd); in kfd_ioctl()
927 if (amdkfd_size > asize) in kfd_ioctl()
928 asize = amdkfd_size; in kfd_ioctl()
952 if (asize <= sizeof(stack_kdata)) { in kfd_ioctl()
955 kdata = kmalloc(asize, GFP_KERNEL); in kfd_ioctl()
961 if (asize > usize) in kfd_ioctl()
962 memset(kdata + usize, 0, asize - usize); in kfd_ioctl()
/drivers/memory/
Dti-aemif.c110 u8 asize; member
205 set |= (data->asize & ACR_ASIZE_MASK); in aemif_config_abus()
252 data->asize = val & ASIZE_MAX; in aemif_get_hw_params()
316 data->asize = 1; in of_aemif_parse_abus_config()
/drivers/tty/vt/
Dkeyboard.c1616 int asize; in vt_do_diacrit() local
1635 asize = accent_table_size; in vt_do_diacrit()
1636 for (i = 0; i < asize; i++) { in vt_do_diacrit()
1646 if (put_user(asize, &a->kb_cnt)) in vt_do_diacrit()
1649 asize * sizeof(struct kbdiacr))) in vt_do_diacrit()
1668 asize = accent_table_size; in vt_do_diacrit()
1669 memcpy(buf, accent_table, asize * sizeof(struct kbdiacruc)); in vt_do_diacrit()
1673 if (put_user(asize, &a->kb_cnt)) in vt_do_diacrit()
1676 asize*sizeof(struct kbdiacruc))) in vt_do_diacrit()
/drivers/clk/bcm/
Dclk-bcm2835.c1867 const size_t asize = ARRAY_SIZE(clk_desc_array); in bcm2835_clk_probe() local
1872 sizeof(*cprman->onecell.hws) * asize, in bcm2835_clk_probe()
1890 cprman->onecell.num = asize; in bcm2835_clk_probe()
1893 for (i = 0; i < asize; i++) { in bcm2835_clk_probe()