/drivers/mtd/chips/ |
D | jedec_probe.c | 191 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/ |
D | qib_diag.c | 339 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/ |
D | matroxfb_accel.c | 373 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/ |
D | qat_hal.c | 580 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 …]
|
D | adf_common_drv.h | 200 unsigned char ae, unsigned int uaddr,
|
D | qat_uclo.c | 364 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/ |
D | ms02-nv.c | 58 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()
|
D | ms02-nv.h | 100 u_char *uaddr; member
|
/drivers/vhost/ |
D | vhost.c | 711 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 …]
|
D | net.c | 1420 } 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/ |
D | mthca_memfree.c | 447 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()
|
D | mthca_memfree.h | 166 struct mthca_user_db_table *db_tab, int index, u64 uaddr);
|
/drivers/media/pci/ivtv/ |
D | ivtv-udma.c | 16 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()
|
D | ivtv-yuv.c | 66 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()
|
D | ivtv-driver.h | 302 unsigned long uaddr; member
|
/drivers/misc/genwqe/ |
D | card_utils.c | 564 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()
|
D | card_base.h | 485 void *uaddr, unsigned long size);
|
/drivers/crypto/ccp/ |
D | psp-dev.c | 413 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/ |
D | qlcnic_hw.h | 176 u64 *uaddr, u16 vlan_id,
|
D | qlcnic_io.c | 270 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/ |
D | pptp.c | 474 static int pptp_getname(struct socket *sock, struct sockaddr *uaddr, in pptp_getname() argument 486 memcpy(uaddr, &sp, len); in pptp_getname()
|
D | pppoe.c | 719 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/ |
D | ucc_uart.c | 99 __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/ |
D | dasd_alias.c | 605 __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/ |
D | st.c | 4898 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()
|