Home
last modified time | relevance | path

Searched refs:asize (Results 1 – 5 of 5) 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/gpu/drm/
Ddrm_ioctl.c650 unsigned int usize, asize; in drm_ioctl() local
665 usize = asize = _IOC_SIZE(cmd); in drm_ioctl()
666 if (drv_size > asize) in drm_ioctl()
667 asize = drv_size; in drm_ioctl()
676 usize = asize = _IOC_SIZE(cmd); in drm_ioctl()
677 if (drv_size > asize) in drm_ioctl()
678 asize = drv_size; in drm_ioctl()
703 if (asize <= sizeof(stack_kdata)) { in drm_ioctl()
706 kdata = kmalloc(asize, GFP_KERNEL); in drm_ioctl()
712 if (asize > usize) in drm_ioctl()
[all …]
/drivers/video/fbdev/
Doffb.c305 u64 asize, taddr; in offb_map_reg() local
308 addrp = of_get_pci_address(np, index, &asize, &flags); in offb_map_reg()
310 addrp = of_get_address(np, index, &asize, &flags); in offb_map_reg()
315 if ((offset + size) > asize) in offb_map_reg()
543 u64 asize; in offb_init_nodriver() local
602 for (i = 0; (addrp = of_get_address(dp, i, &asize, &flags)) in offb_init_nodriver()
608 if (asize < rsize) in offb_init_nodriver()
614 ((rstart + asize) >= (addr_prop + rsize))) in offb_init_nodriver()
/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.c1512 int asize; in vt_do_diacrit() local
1531 asize = accent_table_size; in vt_do_diacrit()
1532 for (i = 0; i < asize; i++) { in vt_do_diacrit()
1542 if (put_user(asize, &a->kb_cnt)) in vt_do_diacrit()
1545 asize * sizeof(struct kbdiacr))) in vt_do_diacrit()
1564 asize = accent_table_size; in vt_do_diacrit()
1565 memcpy(buf, accent_table, asize * sizeof(struct kbdiacruc)); in vt_do_diacrit()
1569 if (put_user(asize, &a->kb_cnt)) in vt_do_diacrit()
1572 asize*sizeof(struct kbdiacruc))) in vt_do_diacrit()