Searched refs:asize (Results 1 – 6 of 6) sorted by relevance
/drivers/mtd/devices/ |
D | pmc551.c | 130 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/ |
D | offb.c | 305 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/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 935 unsigned int usize, asize; in kfd_ioctl() local 947 usize = asize = _IOC_SIZE(cmd); in kfd_ioctl() 948 if (amdkfd_size > asize) in kfd_ioctl() 949 asize = amdkfd_size; in kfd_ioctl() 973 if (asize <= sizeof(stack_kdata)) { in kfd_ioctl() 976 kdata = kmalloc(asize, GFP_KERNEL); in kfd_ioctl() 982 if (asize > usize) in kfd_ioctl() 983 memset(kdata + usize, 0, asize - usize); in kfd_ioctl()
|
/drivers/memory/ |
D | ti-aemif.c | 110 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/gpu/drm/ |
D | drm_ioctl.c | 694 unsigned int usize, asize, drv_size; in drm_ioctl() local 722 asize = max(usize, drv_size); in drm_ioctl() 744 if (asize <= sizeof(stack_kdata)) { in drm_ioctl() 747 kdata = kmalloc(asize, GFP_KERNEL); in drm_ioctl() 753 if (asize > usize) in drm_ioctl() 754 memset(kdata + usize, 0, asize - usize); in drm_ioctl()
|
/drivers/tty/vt/ |
D | keyboard.c | 1628 int asize; in vt_do_diacrit() local 1647 asize = accent_table_size; in vt_do_diacrit() 1648 for (i = 0; i < asize; i++) { in vt_do_diacrit() 1658 if (put_user(asize, &a->kb_cnt)) in vt_do_diacrit() 1661 asize * sizeof(struct kbdiacr))) in vt_do_diacrit() 1680 asize = accent_table_size; in vt_do_diacrit() 1681 memcpy(buf, accent_table, asize * sizeof(struct kbdiacruc)); in vt_do_diacrit() 1685 if (put_user(asize, &a->kb_cnt)) in vt_do_diacrit() 1688 asize*sizeof(struct kbdiacruc))) in vt_do_diacrit()
|