Home
last modified time | relevance | path

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

12

/linux/sound/usb/misc/
A Dua101.c522 err = submit_stream_urbs(ua, &ua->capture); in start_usb_capture()
597 err = submit_stream_urbs(ua, &ua->playback); in start_usb_playback()
859 return ua101_pcm_pointer(ua, &ua->capture); in capture_pcm_pointer()
866 return ua101_pcm_pointer(ua, &ua->playback); in playback_pcm_pointer()
1134 free_stream_buffers(ua, &ua->capture); in free_usb_related_resources()
1135 free_stream_buffers(ua, &ua->playback); in free_usb_related_resources()
1227 ua->intf[i] = usb_ifnum_to_if(ua->dev, in ua101_probe()
1236 ua->intf[i], ua); in ua101_probe()
1254 ua->dev->serial ? ua->dev->serial : "?", ua->rate, usb_path, in ua101_probe()
1257 err = alloc_stream_buffers(ua, &ua->capture); in ua101_probe()
[all …]
/linux/drivers/usb/typec/ucsi/
A Ducsi_acpi.c32 obj = acpi_evaluate_dsm(ACPI_HANDLE(ua->dev), &ua->guid, 1, func, in ucsi_acpi_dsm()
111 complete(&ua->complete); in ucsi_acpi_notify()
117 struct ucsi_acpi *ua; in ucsi_acpi_probe() local
125 ua = devm_kzalloc(&pdev->dev, sizeof(*ua), GFP_KERNEL); in ucsi_acpi_probe()
126 if (!ua) in ucsi_acpi_probe()
147 if (!ua->base) in ucsi_acpi_probe()
155 ua->dev = &pdev->dev; in ucsi_acpi_probe()
158 if (IS_ERR(ua->ucsi)) in ucsi_acpi_probe()
161 ucsi_set_drvdata(ua->ucsi, ua); in ucsi_acpi_probe()
168 ucsi_destroy(ua->ucsi); in ucsi_acpi_probe()
[all …]
/linux/drivers/target/
A Dtarget_core_ua.c83 if (!ua) { 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()
178 struct se_ua *ua, *ua_p; in core_scsi3_ua_release_all() local
182 list_del(&ua->ua_nacl_list); in core_scsi3_ua_release_all()
235 *asc = ua->ua_asc; in core_scsi3_ua_for_check_condition()
236 *ascq = ua->ua_ascq; in core_scsi3_ua_for_check_condition()
245 *asc = ua->ua_asc; in core_scsi3_ua_for_check_condition()
246 *ascq = ua->ua_ascq; in core_scsi3_ua_for_check_condition()
307 *asc = ua->ua_asc; in core_scsi3_ua_clear_for_request_sense()
[all …]
/linux/arch/powerpc/mm/book3s64/
A Diommu_api.c127 mem->ua = ua; in mm_iommu_do_alloc()
135 if ((mem2->ua < (ua + (entries << PAGE_SHIFT))) && in mm_iommu_do_alloc()
136 (ua < (mem2->ua + in mm_iommu_do_alloc()
295 if ((mem->ua <= ua) && in mm_iommu_lookup()
296 (ua + size <= mem->ua + in mm_iommu_lookup()
315 if ((mem->ua <= ua) && in mm_iommu_lookup_rm()
316 (ua + size <= mem->ua + in mm_iommu_lookup_rm()
351 const long entry = (ua - mem->ua) >> PAGE_SHIFT; in mm_iommu_ua_to_hpa()
361 *hpa = mem->dev_hpa + (ua - mem->ua); in mm_iommu_ua_to_hpa()
385 *hpa = mem->dev_hpa + (ua - mem->ua); in mm_iommu_ua_to_hpa_rm()
[all …]
/linux/drivers/vfio/pci/
A Dtrace.h20 TP_ARGS(pdev, hpa, ua, ret),
25 __field(unsigned long, ua)
32 __entry->ua = ua;
37 __entry->ua, __entry->ret)
43 TP_ARGS(pdev, hpa, ua, size, ret),
48 __field(unsigned long, ua)
56 __entry->ua = ua;
62 __entry->ua, __entry->size, __entry->ret)
68 TP_ARGS(pdev, hpa, ua, size, ret),
73 __field(unsigned long, ua)
[all …]
/linux/net/tipc/
A Daddr.h64 static inline void tipc_uaddr(struct tipc_uaddr *ua, u32 atype, u32 scope, in tipc_uaddr() argument
67 ua->family = AF_TIPC; in tipc_uaddr()
68 ua->addrtype = atype; in tipc_uaddr()
69 ua->scope = scope; in tipc_uaddr()
70 ua->sr.type = type; in tipc_uaddr()
71 ua->sr.lower = lower; in tipc_uaddr()
72 ua->sr.upper = upper; in tipc_uaddr()
75 static inline bool tipc_uaddr_valid(struct tipc_uaddr *ua, int len) in tipc_uaddr_valid() argument
81 atype = ua->addrtype; in tipc_uaddr_valid()
82 if (ua->family != AF_TIPC) in tipc_uaddr_valid()
[all …]
A Dname_table.c238 p->sr = ua->sr; in tipc_publ_create()
240 p->scope = ua->scope; in tipc_publ_create()
287 service_range_foreach_match(sr, sc, ua->sr.lower, ua->sr.upper) { in tipc_service_find_range()
289 if (sr->lower == ua->sr.lower && sr->upper == ua->sr.upper) in tipc_service_find_range()
542 ua->sr.type, ua->sr.lower, ua->sr.upper, in tipc_nametbl_remove_publ()
681 u8 scope = ua->scope; in tipc_nametbl_lookup_mcast_sockets()
689 service_range_foreach_match(sr, sc, ua->sr.lower, ua->sr.upper) { in tipc_nametbl_lookup_mcast_sockets()
718 service_range_foreach_match(sr, sc, ua->sr.lower, ua->sr.upper) { in tipc_nametbl_lookup_mcast_nodes()
832 struct tipc_uaddr ua; in tipc_nametbl_subscribe() local
862 struct tipc_uaddr ua; in tipc_nametbl_unsubscribe() local
[all …]
A Dname_table.h115 bool tipc_nametbl_lookup_anycast(struct net *net, struct tipc_uaddr *ua,
117 void tipc_nametbl_lookup_mcast_sockets(struct net *net, struct tipc_uaddr *ua,
119 void tipc_nametbl_lookup_mcast_nodes(struct net *net, struct tipc_uaddr *ua,
121 bool tipc_nametbl_lookup_group(struct net *net, struct tipc_uaddr *ua,
125 struct tipc_uaddr *ua);
126 struct publication *tipc_nametbl_publish(struct net *net, struct tipc_uaddr *ua,
128 void tipc_nametbl_withdraw(struct net *net, struct tipc_uaddr *ua,
131 struct tipc_uaddr *ua,
135 struct tipc_uaddr *ua,
A Dsocket.c686 ua->sr.upper = ua->sr.lower; in __tipc_bind()
690 ua->scope = -ua->scope; in __tipc_bind()
969 port = ua->sk.ref; in tipc_send_group_unicast()
1110 if (ua) { in tipc_send_group_bcast()
1177 tipc_dest_pop(&dsts, &ua->sk.node, &ua->sk.ref); in tipc_send_group_mcast()
1426 if (ua) { in __tipc_sendmsg()
1434 if (!ua) in __tipc_sendmsg()
1445 if (!ua) { in __tipc_sendmsg()
1475 skaddr = ua->sk; in __tipc_sendmsg()
2932 if (!ua) { in tipc_sk_withdraw()
[all …]
A Dname_distr.c247 struct tipc_uaddr ua; in tipc_publ_purge() local
249 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, p->scope, p->sr.type, in tipc_publ_purge()
252 _p = tipc_nametbl_remove_publ(net, &ua, &p->sk, p->key); in tipc_publ_purge()
292 struct tipc_uaddr ua; in tipc_update_nametbl() local
295 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, TIPC_CLUSTER_SCOPE, in tipc_update_nametbl()
301 p = tipc_nametbl_insert_publ(net, &ua, &sk, key); in tipc_update_nametbl()
307 p = tipc_nametbl_remove_publ(net, &ua, &sk, key); in tipc_update_nametbl()
314 ua.sr.type, ua.sr.lower, node); in tipc_update_nametbl()
A Dudp_media.c119 struct udp_media_addr *ua) in tipc_udp_media_addr_set() argument
123 memcpy(addr->value, ua, sizeof(struct udp_media_addr)); in tipc_udp_media_addr_set()
125 if (tipc_udp_is_mcast_addr(ua)) in tipc_udp_media_addr_set()
132 struct udp_media_addr *ua = (struct udp_media_addr *)&a->value; in tipc_udp_addr2str() local
134 if (ntohs(ua->proto) == ETH_P_IP) in tipc_udp_addr2str()
135 snprintf(buf, size, "%pI4:%u", &ua->ipv4, ntohs(ua->port)); in tipc_udp_addr2str()
136 else if (ntohs(ua->proto) == ETH_P_IPV6) in tipc_udp_addr2str()
137 snprintf(buf, size, "%pI6:%u", &ua->ipv6, ntohs(ua->port)); in tipc_udp_addr2str()
147 struct udp_media_addr *ua; in tipc_udp_msg2addr() local
149 ua = (struct udp_media_addr *) (msg + TIPC_MEDIA_ADDR_OFFSET); in tipc_udp_msg2addr()
[all …]
A Dnet.c130 struct tipc_uaddr ua; in tipc_net_finalize() local
132 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, TIPC_CLUSTER_SCOPE, in tipc_net_finalize()
141 tipc_nametbl_publish(net, &ua, &sk, addr); in tipc_net_finalize()
/linux/arch/powerpc/kvm/
A Dbook3s_64_vio_hv.c78 unsigned long tce, unsigned long *ua) in kvmppc_rm_tce_to_ua() argument
107 unsigned long ua = 0; in kvmppc_rm_tce_validate() local
323 unsigned long entry, unsigned long ua, in kvmppc_rm_tce_iommu_do_map() argument
359 *pua = cpu_to_be64(ua); in kvmppc_rm_tce_iommu_do_map()
377 io_entry + i, ua + pgoff, dir); in kvmppc_rm_tce_iommu_map()
391 unsigned long entry, ua = 0; in kvmppc_rm_h_put_tce() local
421 stit->tbl, entry, ua, dir); in kvmppc_rm_h_put_tce()
474 (ua & ~PAGE_MASK); in kvmppc_rm_ua_to_hpa()
486 unsigned long tces, entry, ua = 0; in kvmppc_rm_h_put_tce_indirect() local
561 ua = 0; in kvmppc_rm_h_put_tce_indirect()
[all …]
A Dbook3s_64_vio.c343 unsigned long *ua) in kvmppc_tce_to_ua() argument
364 unsigned long ua = 0; in kvmppc_tce_validate() local
492 unsigned long entry, unsigned long ua, in kvmppc_tce_iommu_do_map() argument
524 *pua = cpu_to_be64(ua); in kvmppc_tce_iommu_do_map()
531 unsigned long entry, unsigned long ua, in kvmppc_tce_iommu_map() argument
542 io_entry + i, ua + pgoff, dir); in kvmppc_tce_iommu_map()
556 unsigned long entry, ua = 0; in kvmppc_h_put_tce() local
591 entry, ua, dir); in kvmppc_h_put_tce()
616 unsigned long entry, ua = 0; in kvmppc_h_put_tce_indirect() local
645 tces = (u64 __user *) ua; in kvmppc_h_put_tce_indirect()
[all …]
/linux/fs/dlm/
A Duser.c179 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()
240 struct dlm_user_args *ua; in device_user_lock() local
254 if (!ua) in device_user_lock()
256 ua->proc = proc; in device_user_lock()
262 ua->xid = params->xid; in device_user_lock()
283 error = ua->lksb.sb_lkid; in device_user_lock()
294 struct dlm_user_args *ua; in device_user_unlock() local
302 if (!ua) in device_user_unlock()
[all …]
A Dmemory.c82 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()
A Dlock.c5781 kfree(ua); in dlm_user_request()
5788 kfree(ua); in dlm_user_request()
5799 kfree(ua); in dlm_user_request()
5852 ua = lkb->lkb_ua; in dlm_user_convert()
5864 ua->xid = ua_tmp->xid; in dlm_user_convert()
5936 ua = lkb->lkb_ua; in dlm_user_adopt_orphan()
5938 ua->proc = ua_tmp->proc; in dlm_user_adopt_orphan()
5939 ua->xid = ua_tmp->xid; in dlm_user_adopt_orphan()
5974 ua = lkb->lkb_ua; in dlm_user_unlock()
6023 ua = lkb->lkb_ua; in dlm_user_cancel()
[all …]
/linux/drivers/net/ethernet/ibm/
A Dibmveth.h40 #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)
/linux/arch/powerpc/include/asm/
A Dmmu_context.h27 unsigned long ua, unsigned long entries,
29 extern long mm_iommu_newdev(struct mm_struct *mm, unsigned long ua,
37 unsigned long ua, unsigned long size);
39 struct mm_struct *mm, unsigned long ua, unsigned long size);
41 unsigned long ua, unsigned long entries);
43 unsigned long ua, unsigned int pageshift, unsigned long *hpa);
45 unsigned long ua, unsigned int pageshift, unsigned long *hpa);
46 extern void mm_iommu_ua_mark_dirty_rm(struct mm_struct *mm, unsigned long ua);
A Dvio.h31 #define h_vio_signal(ua, mode) \ argument
32 plpar_hcall_norets(H_VIO_SIGNAL, ua, mode)
/linux/drivers/scsi/ibmvscsi_tgt/
A Dibmvscsi_tgt.h355 #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)
/linux/include/linux/
A Dmc6821.h28 } ua; member
41 #define ppra ua.pra
42 #define pddra ua.ddra
/linux/drivers/leds/flash/
A Dleds-rt8515.c237 u32 ua; in rt8515_determine_max_intensity() local
243 ret = fwnode_property_read_u32(led, max_ua_prop, &ua); in rt8515_determine_max_intensity()
264 max_intensity = (ua / 10) / max_ma; in rt8515_determine_max_intensity()
268 max_ma, (ua / 1000), max_intensity); in rt8515_determine_max_intensity()
/linux/net/xfrm/
A Dxfrm_user.c2497 memcpy(&x->id, &ua->id, sizeof(ua->id)); in xfrm_add_acquire()
2498 memcpy(&x->props.saddr, &ua->saddr, sizeof(ua->saddr)); in xfrm_add_acquire()
2499 memcpy(&x->sel, &ua->sel, sizeof(ua->sel)); in xfrm_add_acquire()
2510 t->aalgos = ua->aalgos; in xfrm_add_acquire()
2511 t->ealgos = ua->ealgos; in xfrm_add_acquire()
2512 t->calgos = ua->calgos; in xfrm_add_acquire()
3180 ua = nlmsg_data(nlh); in build_acquire()
3181 memcpy(&ua->id, &x->id, sizeof(ua->id)); in build_acquire()
3182 memcpy(&ua->saddr, &x->props.saddr, sizeof(ua->saddr)); in build_acquire()
3183 memcpy(&ua->sel, &x->sel, sizeof(ua->sel)); in build_acquire()
[all …]
/linux/drivers/ata/
A Dpata_sil680.c169 unsigned long ua = sil680_seldev(ap, adev, 0x0C); in sil680_set_dmamode() local
178 pci_read_config_word(pdev, ua, &ultra); in sil680_set_dmamode()
197 pci_write_config_word(pdev, ua, ultra); in sil680_set_dmamode()

Completed in 77 milliseconds

12