Home
last modified time | relevance | path

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

/drivers/mtd/chips/
Djedec_probe.c191 enum uaddr { enum
276 const uint8_t uaddr; /* unlock addrs for 8, 16, 32, 64 */ member
301 .uaddr = MTD_UADDR_0x0555_0x02AA,
314 .uaddr = MTD_UADDR_0x0AAA_0x0555,
329 .uaddr = MTD_UADDR_0x0AAA_0x0555,
344 .uaddr = MTD_UADDR_0x0AAA_0x0555,
359 .uaddr = MTD_UADDR_0x0AAA_0x0555,
374 .uaddr = MTD_UADDR_0x0AAA_0x0555,
390 .uaddr = MTD_UADDR_0x0AAA_0x0555,
407 .uaddr = MTD_UADDR_0x0AAA_0x0555,
[all …]
/drivers/infiniband/hw/qib/
Dqib_diag.c339 static int qib_read_umem64(struct qib_devdata *dd, void __user *uaddr, in qib_read_umem64() argument
360 if (copy_to_user(uaddr, &data, sizeof(u64))) { in qib_read_umem64()
365 uaddr += sizeof(u64); in qib_read_umem64()
384 const void __user *uaddr, size_t count) in qib_write_umem64() argument
404 if (copy_from_user(&data, uaddr, sizeof(data))) { in qib_write_umem64()
411 uaddr += sizeof(u64); in qib_write_umem64()
428 static int qib_read_umem32(struct qib_devdata *dd, void __user *uaddr, in qib_read_umem32() argument
449 if (copy_to_user(uaddr, &data, sizeof(data))) { in qib_read_umem32()
455 uaddr += sizeof(u32); in qib_read_umem32()
475 const void __user *uaddr, size_t count) in qib_write_umem32() argument
[all …]
/drivers/video/fbdev/matrox/
Dmatroxfb_accel.c373 unsigned int uaddr = sy * step + sx - 1; in matroxfb_cfb4_clear() local
377 mga_writeb(vbase, uaddr, (mga_readb(vbase, uaddr) & 0x0F) | bgx2); in matroxfb_cfb4_clear()
378 uaddr += step; in matroxfb_cfb4_clear()
382 unsigned int uaddr = sy * step + sx + width; in matroxfb_cfb4_clear() local
386 mga_writeb(vbase, uaddr, (mga_readb(vbase, uaddr) & 0xF0) | bgx2); in matroxfb_cfb4_clear()
387 uaddr += step; in matroxfb_cfb4_clear()
/drivers/crypto/qat/qat_common/
Dqat_hal.c580 unsigned char ae, unsigned int uaddr, in qat_hal_wr_uwords() argument
587 uaddr |= UA_ECS; in qat_hal_wr_uwords()
588 qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, uaddr); in qat_hal_wr_uwords()
823 unsigned char ae, unsigned int uaddr, in qat_hal_get_uwords() argument
833 uaddr |= UA_ECS; in qat_hal_get_uwords()
835 qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, uaddr); in qat_hal_get_uwords()
836 uaddr++; in qat_hal_get_uwords()
847 unsigned char ae, unsigned int uaddr, in qat_hal_wr_umem() argument
853 uaddr |= UA_ECS; in qat_hal_wr_umem()
854 qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, uaddr); in qat_hal_wr_umem()
[all …]
Dadf_common_drv.h200 unsigned char ae, unsigned int uaddr,
Dqat_uclo.c364 unsigned int ae, ustore_size, uaddr, i; in qat_uclo_init_umem_seg() local
373 uaddr = (init_mem->addr + init_mem->num_in_bytes) >> 0x2; in qat_uclo_init_umem_seg()
376 encap_image->uwords_num < uaddr) in qat_uclo_init_umem_seg()
378 encap_image->uwords_num = uaddr; in qat_uclo_init_umem_seg()
/drivers/mtd/devices/
Dms02-nv.c58 memcpy(buf, mp->uaddr + from, len); in ms02nv_read()
68 memcpy(mp->uaddr + to, buf, len); in ms02nv_write()
199 mp->uaddr = phys_to_virt(fixaddr); in ms02nv_init_one()
Dms02-nv.h100 u_char *uaddr; member
/drivers/vhost/
Dvhost.c711 static bool vhost_overflow(u64 uaddr, u64 size) in vhost_overflow() argument
714 return uaddr > ULONG_MAX || size > ULONG_MAX || uaddr > ULONG_MAX - size; in vhost_overflow()
799 void __user *uaddr = vhost_vq_meta_fetch(vq, in vhost_copy_to_user() local
803 if (uaddr) in vhost_copy_to_user()
804 return __copy_to_user(uaddr, from, size); in vhost_copy_to_user()
833 void __user *uaddr = vhost_vq_meta_fetch(vq, in vhost_copy_from_user() local
838 if (uaddr) in vhost_copy_from_user()
839 return __copy_from_user(to, uaddr, size); in vhost_copy_from_user()
895 void __user *uaddr = vhost_vq_meta_fetch(vq, in __vhost_get_user() local
897 if (uaddr) in __vhost_get_user()
[all …]
Dnet.c1420 } uaddr; in get_raw_socket() local
1433 r = sock->ops->getname(sock, (struct sockaddr *)&uaddr.sa, 0); in get_raw_socket()
1437 if (uaddr.sa.sll_family != AF_PACKET) { in get_raw_socket()
/drivers/infiniband/hw/mthca/
Dmthca_memfree.c447 struct mthca_user_db_table *db_tab, int index, u64 uaddr) in mthca_map_user_db() argument
464 (db_tab->page[i].uvirt && db_tab->page[i].uvirt != uaddr) || in mthca_map_user_db()
465 (uaddr & 4095)) { in mthca_map_user_db()
475 ret = get_user_pages_fast(uaddr & PAGE_MASK, 1, in mthca_map_user_db()
481 uaddr & ~PAGE_MASK); in mthca_map_user_db()
497 db_tab->page[i].uvirt = uaddr; in mthca_map_user_db()
Dmthca_memfree.h166 struct mthca_user_db_table *db_tab, int index, u64 uaddr);
/drivers/media/pci/ivtv/
Divtv-udma.c16 dma_page->uaddr = first & PAGE_MASK; in ivtv_udma_get_page_info()
115 err = get_user_pages_unlocked(user_dma.uaddr, user_dma.page_count, in ivtv_udma_setup()
Divtv-yuv.c66 y_pages = get_user_pages_unlocked(y_dma.uaddr, in ivtv_yuv_prep_user_dma()
70 uv_pages = get_user_pages_unlocked(uv_dma.uaddr, in ivtv_yuv_prep_user_dma()
Divtv-driver.h302 unsigned long uaddr; member
/drivers/misc/genwqe/
Dcard_utils.c564 int genwqe_user_vmap(struct genwqe_dev *cd, struct dma_mapping *m, void *uaddr, in genwqe_user_vmap() argument
571 if ((uaddr == NULL) || (size == 0)) { in genwqe_user_vmap()
575 m->u_vaddr = uaddr; in genwqe_user_vmap()
579 data = (unsigned long)uaddr; in genwqe_user_vmap()
Dcard_base.h485 void *uaddr, unsigned long size);
/drivers/crypto/ccp/
Dpsp-dev.c413 void *psp_copy_user_blob(u64 __user uaddr, u32 len) in psp_copy_user_blob() argument
415 if (!uaddr || !len) in psp_copy_user_blob()
422 return memdup_user((void __user *)(uintptr_t)uaddr, len); in psp_copy_user_blob()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.h176 u64 *uaddr, u16 vlan_id,
Dqlcnic_io.c270 void qlcnic_82xx_change_filter(struct qlcnic_adapter *adapter, u64 *uaddr, in qlcnic_82xx_change_filter() argument
292 memcpy(mac_req->mac_addr, uaddr, ETH_ALEN); in qlcnic_82xx_change_filter()
/drivers/net/ppp/
Dpptp.c474 static int pptp_getname(struct socket *sock, struct sockaddr *uaddr, in pptp_getname() argument
486 memcpy(uaddr, &sp, len); in pptp_getname()
Dpppoe.c719 static int pppoe_getname(struct socket *sock, struct sockaddr *uaddr, in pppoe_getname() argument
730 memcpy(uaddr, &sp, len); in pppoe_getname()
/drivers/tty/serial/
Ducc_uart.c99 __be16 uaddr[2]; /* UART address character 1 & 2 */ member
669 out_be16(&uccup->uaddr[0], 0); in qe_uart_init_ucc()
670 out_be16(&uccup->uaddr[1], 0); in qe_uart_init_ucc()
/drivers/s390/block/
Ddasd_alias.c605 __u8 uaddr = private->uid.real_unit_addr; in dasd_alias_add_device() local
616 if (private->uid.type != lcu->uac->unit[uaddr].ua_type) { in dasd_alias_add_device()
/drivers/scsi/
Dst.c4898 const unsigned int max_pages, unsigned long uaddr, in sgl_map_user_pages() argument
4901 unsigned long end = (uaddr + count + PAGE_SIZE - 1) >> PAGE_SHIFT; in sgl_map_user_pages()
4902 unsigned long start = uaddr >> PAGE_SHIFT; in sgl_map_user_pages()
4909 if ((uaddr + count) < uaddr) in sgl_map_user_pages()
4926 res = get_user_pages_fast(uaddr, nr_pages, rw == READ ? FOLL_WRITE : 0, in sgl_map_user_pages()
4940 mdata->offset = uaddr & ~PAGE_MASK; in sgl_map_user_pages()