/kernel/linux/linux-5.10/sound/usb/misc/ |
D | ua101.c | 129 static void abort_alsa_playback(struct ua101 *ua); 130 static void abort_alsa_capture(struct ua101 *ua); 157 static void abort_usb_capture(struct ua101 *ua) in abort_usb_capture() argument 159 if (test_and_clear_bit(USB_CAPTURE_RUNNING, &ua->states)) { in abort_usb_capture() 160 wake_up(&ua->alsa_capture_wait); in abort_usb_capture() 161 wake_up(&ua->rate_feedback_wait); in abort_usb_capture() 165 static void abort_usb_playback(struct ua101 *ua) in abort_usb_playback() argument 167 if (test_and_clear_bit(USB_PLAYBACK_RUNNING, &ua->states)) in abort_usb_playback() 168 wake_up(&ua->alsa_playback_wait); in abort_usb_playback() 174 struct ua101 *ua = urb->urb.context; in playback_urb_complete() local [all …]
|
/kernel/linux/linux-5.10/drivers/usb/typec/ucsi/ |
D | ucsi_acpi.c | 28 static int ucsi_acpi_dsm(struct ucsi_acpi *ua, int func) in ucsi_acpi_dsm() argument 32 obj = acpi_evaluate_dsm(ACPI_HANDLE(ua->dev), &ua->guid, 1, func, in ucsi_acpi_dsm() 35 dev_err(ua->dev, "%s: failed to evaluate _DSM %d\n", in ucsi_acpi_dsm() 47 struct ucsi_acpi *ua = ucsi_get_drvdata(ucsi); in ucsi_acpi_read() local 50 ret = ucsi_acpi_dsm(ua, UCSI_DSM_FUNC_READ); in ucsi_acpi_read() 54 memcpy(val, (const void __force *)(ua->base + offset), val_len); in ucsi_acpi_read() 62 struct ucsi_acpi *ua = ucsi_get_drvdata(ucsi); in ucsi_acpi_async_write() local 64 memcpy((void __force *)(ua->base + offset), val, val_len); in ucsi_acpi_async_write() 66 return ucsi_acpi_dsm(ua, UCSI_DSM_FUNC_WRITE); in ucsi_acpi_async_write() 72 struct ucsi_acpi *ua = ucsi_get_drvdata(ucsi); in ucsi_acpi_sync_write() local [all …]
|
/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_ua.c | 80 struct se_ua *ua, *ua_p, *ua_tmp; in core_scsi3_ua_allocate() local 82 ua = kmem_cache_zalloc(se_ua_cache, GFP_ATOMIC); in core_scsi3_ua_allocate() 83 if (!ua) { in core_scsi3_ua_allocate() 87 INIT_LIST_HEAD(&ua->ua_nacl_list); in core_scsi3_ua_allocate() 89 ua->ua_asc = asc; in core_scsi3_ua_allocate() 90 ua->ua_ascq = ascq; in core_scsi3_ua_allocate() 99 kmem_cache_free(se_ua_cache, ua); in core_scsi3_ua_allocate() 123 list_add(&ua->ua_nacl_list, in core_scsi3_ua_allocate() 126 list_add_tail(&ua->ua_nacl_list, in core_scsi3_ua_allocate() 134 list_add(&ua->ua_nacl_list, in core_scsi3_ua_allocate() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | iommu_api.c | 33 u64 ua; /* userspace address */ member 56 static long mm_iommu_do_alloc(struct mm_struct *mm, unsigned long ua, in mm_iommu_do_alloc() argument 91 mem->pageshift = __ffs(ua | (entries << PAGE_SHIFT)); in mm_iommu_do_alloc() 106 ret = pin_user_pages(ua + (entry << PAGE_SHIFT), n, in mm_iommu_do_alloc() 127 mem->ua = ua; in mm_iommu_do_alloc() 134 if ((mem2->ua < (ua + (entries << PAGE_SHIFT))) && in mm_iommu_do_alloc() 135 (ua < (mem2->ua + in mm_iommu_do_alloc() 185 long mm_iommu_new(struct mm_struct *mm, unsigned long ua, unsigned long entries, in mm_iommu_new() argument 188 return mm_iommu_do_alloc(mm, ua, entries, MM_IOMMU_TABLE_INVALID_HPA, in mm_iommu_new() 193 long mm_iommu_newdev(struct mm_struct *mm, unsigned long ua, in mm_iommu_newdev() argument [all …]
|
/kernel/linux/linux-5.10/drivers/vfio/pci/ |
D | trace.h | 18 TP_PROTO(struct pci_dev *pdev, unsigned long hpa, unsigned long ua, 20 TP_ARGS(pdev, hpa, ua, ret), 25 __field(unsigned long, ua) 32 __entry->ua = ua; 37 __entry->ua, __entry->ret) 41 TP_PROTO(struct pci_dev *pdev, unsigned long hpa, unsigned long ua, 43 TP_ARGS(pdev, hpa, ua, size, ret), 48 __field(unsigned long, ua) 56 __entry->ua = ua; 62 __entry->ua, __entry->size, __entry->ret) [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_64_vio_hv.c | 78 unsigned long tce, unsigned long *ua) in kvmppc_rm_tce_to_ua() argument 87 *ua = __gfn_to_hva_memslot(memslot, gfn) | in kvmppc_rm_tce_to_ua() 107 unsigned long ua = 0; in kvmppc_rm_tce_validate() local 116 if (kvmppc_rm_tce_to_ua(stt->kvm, tce, &ua)) in kvmppc_rm_tce_validate() 124 mem = mm_iommu_lookup_rm(stt->kvm->mm, ua, 1ULL << shift); in kvmppc_rm_tce_validate() 128 if (mm_iommu_ua_to_hpa_rm(mem, ua, shift, &hpa)) in kvmppc_rm_tce_validate() 331 unsigned long entry, unsigned long ua, in kvmppc_rm_tce_iommu_do_map() argument 343 mem = mm_iommu_lookup_rm(kvm->mm, ua, 1ULL << tbl->it_page_shift); in kvmppc_rm_tce_iommu_do_map() 347 if (WARN_ON_ONCE_RM(mm_iommu_ua_to_hpa_rm(mem, ua, tbl->it_page_shift, in kvmppc_rm_tce_iommu_do_map() 367 *pua = cpu_to_be64(ua); in kvmppc_rm_tce_iommu_do_map() [all …]
|
D | book3s_64_vio.c | 344 unsigned long *ua) in kvmppc_tce_to_ua() argument 353 *ua = __gfn_to_hva_memslot(memslot, gfn) | in kvmppc_tce_to_ua() 365 unsigned long ua = 0; in kvmppc_tce_validate() local 374 if (kvmppc_tce_to_ua(stt->kvm, tce, &ua)) in kvmppc_tce_validate() 383 mem = mm_iommu_lookup(stt->kvm->mm, ua, 1ULL << shift); in kvmppc_tce_validate() 384 if (!mem || mm_iommu_ua_to_hpa(mem, ua, shift, &hpa)) { in kvmppc_tce_validate() 501 unsigned long entry, unsigned long ua, in kvmppc_tce_iommu_do_map() argument 513 mem = mm_iommu_lookup(kvm->mm, ua, 1ULL << tbl->it_page_shift); in kvmppc_tce_iommu_do_map() 518 if (WARN_ON_ONCE(mm_iommu_ua_to_hpa(mem, ua, tbl->it_page_shift, &hpa))) in kvmppc_tce_iommu_do_map() 533 *pua = cpu_to_be64(ua); in kvmppc_tce_iommu_do_map() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ |
D | ibmveth.h | 40 #define h_register_logical_lan(ua, buflst, rxq, fltlst, mac) \ argument 41 plpar_hcall_norets(H_REGISTER_LOGICAL_LAN, ua, buflst, rxq, fltlst, mac) 43 #define h_free_logical_lan(ua) \ argument 44 plpar_hcall_norets(H_FREE_LOGICAL_LAN, ua) 46 #define h_add_logical_lan_buffer(ua, buf) \ argument 47 plpar_hcall_norets(H_ADD_LOGICAL_LAN_BUFFER, ua, buf) 87 #define h_multicast_ctrl(ua, cmd, mac) \ argument 88 plpar_hcall_norets(H_MULTICAST_CTRL, ua, cmd, mac) 90 #define h_change_logical_lan_mac(ua, mac) \ argument 91 plpar_hcall_norets(H_CHANGE_LOGICAL_LAN_MAC, ua, mac)
|
/kernel/linux/linux-5.10/fs/dlm/ |
D | user.c | 179 struct dlm_user_args *ua; in dlm_user_add_ast() local 199 ua = lkb->lkb_ua; in dlm_user_add_ast() 200 proc = ua->proc; in dlm_user_add_ast() 202 if ((flags & DLM_CB_BAST) && ua->bastaddr == NULL) in dlm_user_add_ast() 240 struct dlm_user_args *ua; in device_user_lock() local 253 ua = kzalloc(sizeof(struct dlm_user_args), GFP_NOFS); in device_user_lock() 254 if (!ua) in device_user_lock() 256 ua->proc = proc; in device_user_lock() 257 ua->user_lksb = params->lksb; in device_user_lock() 258 ua->castparam = params->castparam; in device_user_lock() [all …]
|
D | memory.c | 82 struct dlm_user_args *ua; in dlm_free_lkb() local 83 ua = lkb->lkb_ua; in dlm_free_lkb() 84 if (ua) { in dlm_free_lkb() 85 kfree(ua->lksb.sb_lvbptr); in dlm_free_lkb() 86 kfree(ua); in dlm_free_lkb()
|
D | lock.c | 5786 int dlm_user_request(struct dlm_ls *ls, struct dlm_user_args *ua, in dlm_user_request() argument 5798 kfree(ua); in dlm_user_request() 5803 ua->lksb.sb_lvbptr = kzalloc(DLM_USER_LVB_LEN, GFP_NOFS); in dlm_user_request() 5804 if (!ua->lksb.sb_lvbptr) { in dlm_user_request() 5805 kfree(ua); in dlm_user_request() 5811 error = set_lock_args(mode, &ua->lksb, flags, namelen, timeout_cs, in dlm_user_request() 5812 fake_astfn, ua, fake_bastfn, &args); in dlm_user_request() 5814 kfree(ua->lksb.sb_lvbptr); in dlm_user_request() 5815 ua->lksb.sb_lvbptr = NULL; in dlm_user_request() 5816 kfree(ua); in dlm_user_request() [all …]
|
D | lock.h | 44 int dlm_user_request(struct dlm_ls *ls, struct dlm_user_args *ua, int mode,
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | mmu_context.h | 25 unsigned long ua, unsigned long entries, 27 extern long mm_iommu_newdev(struct mm_struct *mm, unsigned long ua, 35 unsigned long ua, unsigned long size); 37 struct mm_struct *mm, unsigned long ua, unsigned long size); 39 unsigned long ua, unsigned long entries); 41 unsigned long ua, unsigned int pageshift, unsigned long *hpa); 43 unsigned long ua, unsigned int pageshift, unsigned long *hpa); 44 extern void mm_iommu_ua_mark_dirty_rm(struct mm_struct *mm, unsigned long ua);
|
D | vio.h | 31 #define h_vio_signal(ua, mode) \ argument 32 plpar_hcall_norets(H_VIO_SIGNAL, ua, mode)
|
/kernel/linux/linux-5.10/include/linux/ |
D | mc6821.h | 28 } ua; member 41 #define ppra ua.pra 42 #define pddra ua.ddra
|
D | netfilter.h | 45 const unsigned long *ua = (const unsigned long *)a1; in nf_inet_addr_mask() local 49 ur[0] = ua[0] & um[0]; in nf_inet_addr_mask() 50 ur[1] = ua[1] & um[1]; in nf_inet_addr_mask()
|
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.h | 355 #define h_reg_crq(ua, tok, sz) \ argument 356 plpar_hcall_norets(H_REG_CRQ, ua, tok, sz) 357 #define h_free_crq(ua) \ argument 358 plpar_hcall_norets(H_FREE_CRQ, ua) 359 #define h_send_crq(ua, d1, d2) \ argument 360 plpar_hcall_norets(H_SEND_CRQ, ua, d1, d2)
|
/kernel/linux/linux-5.10/net/tipc/ |
D | udp_media.c | 113 struct udp_media_addr *ua) in tipc_udp_media_addr_set() argument 117 memcpy(addr->value, ua, sizeof(struct udp_media_addr)); in tipc_udp_media_addr_set() 119 if (tipc_udp_is_mcast_addr(ua)) in tipc_udp_media_addr_set() 126 struct udp_media_addr *ua = (struct udp_media_addr *)&a->value; in tipc_udp_addr2str() local 128 if (ntohs(ua->proto) == ETH_P_IP) in tipc_udp_addr2str() 129 snprintf(buf, size, "%pI4:%u", &ua->ipv4, ntohs(ua->port)); in tipc_udp_addr2str() 130 else if (ntohs(ua->proto) == ETH_P_IPV6) in tipc_udp_addr2str() 131 snprintf(buf, size, "%pI6:%u", &ua->ipv6, ntohs(ua->port)); in tipc_udp_addr2str() 141 struct udp_media_addr *ua; in tipc_udp_msg2addr() local 143 ua = (struct udp_media_addr *) (msg + TIPC_MEDIA_ADDR_OFFSET); in tipc_udp_msg2addr() [all …]
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | pata_sil680.c | 168 unsigned long ua = sil680_seldev(ap, adev, 0x0C); in sil680_set_dmamode() local 177 pci_read_config_word(pdev, ua, &ultra); in sil680_set_dmamode() 196 pci_write_config_word(pdev, ua, ultra); in sil680_set_dmamode()
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_user.c | 2431 struct xfrm_user_acquire *ua = nlmsg_data(nlh); in xfrm_add_acquire() local 2440 err = verify_newpolicy_info(&ua->policy); in xfrm_add_acquire() 2448 xp = xfrm_policy_construct(net, &ua->policy, attrs, &err); in xfrm_add_acquire() 2452 memcpy(&x->id, &ua->id, sizeof(ua->id)); in xfrm_add_acquire() 2453 memcpy(&x->props.saddr, &ua->saddr, sizeof(ua->saddr)); in xfrm_add_acquire() 2454 memcpy(&x->sel, &ua->sel, sizeof(ua->sel)); in xfrm_add_acquire() 2465 t->aalgos = ua->aalgos; in xfrm_add_acquire() 2466 t->ealgos = ua->ealgos; in xfrm_add_acquire() 2467 t->calgos = ua->calgos; in xfrm_add_acquire() 3135 struct xfrm_user_acquire *ua; in build_acquire() local [all …]
|
/kernel/linux/linux-5.10/drivers/leds/ |
D | leds-as3645a.c | 299 unsigned int ua) in as3645a_current_to_reg() argument 304 AS_TORCH_INTENSITY_STEP, ua); in as3645a_current_to_reg() 308 AS_FLASH_INTENSITY_STEP, ua); in as3645a_current_to_reg()
|
D | leds-max77693.c | 105 static u8 max77693_led_iout_to_reg(u32 ua) in max77693_led_iout_to_reg() argument 107 if (ua < FLASH_IOUT_MIN) in max77693_led_iout_to_reg() 108 ua = FLASH_IOUT_MIN; in max77693_led_iout_to_reg() 109 return (ua - FLASH_IOUT_MIN) / FLASH_IOUT_STEP; in max77693_led_iout_to_reg()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | siimage.c | 312 unsigned long ua = siimage_seldev(drive, 0x0C); in sil_set_dma_mode() local 318 ultra = sil_ioread16(dev, ua); in sil_set_dma_mode() 338 sil_iowrite16(dev, ultra, ua); in sil_set_dma_mode()
|
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/ |
D | sym_fw2.h | 1683 SCR_STORE_REL (ua, 4), 1713 SCR_STORE_REL (ua, 4), 1735 SCR_STORE_REL (ua, 4), 1740 SCR_REG_REG (ua, SCR_ADD, 1),
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
D | twl4030_charger.c | 226 static int ua2regval(int ua, bool cgain) in ua2regval() argument 230 ua /= 2; in ua2regval() 231 ret = (ua * 10 + 8500 * 1000) / 16618; in ua2regval()
|