Home
last modified time | relevance | path

Searched full:ua (Results 1 – 25 of 223) sorted by relevance

123456789

/linux/sound/usb/misc/
H A Dua101.c3 * Edirol UA-101/UA-1000 driver
19 MODULE_DESCRIPTION("Edirol UA-101/1000 driver");
32 * This magic value optimizes memory usage efficiency for the UA-101's packet
128 static void abort_alsa_playback(struct ua101 *ua);
129 static void abort_alsa_capture(struct ua101 *ua);
156 static void abort_usb_capture(struct ua101 *ua) in abort_usb_capture() argument
158 if (test_and_clear_bit(USB_CAPTURE_RUNNING, &ua->states)) { in abort_usb_capture()
159 wake_up(&ua->alsa_capture_wait); in abort_usb_capture()
160 wake_up(&ua->rate_feedback_wait); in abort_usb_capture()
164 static void abort_usb_playback(struct ua101 *ua) in abort_usb_playback() argument
[all …]
/linux/drivers/usb/typec/ucsi/
H A Ducsi_acpi.c29 static int ucsi_acpi_dsm(struct ucsi_acpi *ua, int func) in ucsi_acpi_dsm() argument
33 obj = acpi_evaluate_dsm(ACPI_HANDLE(ua->dev), &ua->guid, 1, func, in ucsi_acpi_dsm()
36 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_version() local
50 ret = ucsi_acpi_dsm(ua, UCSI_DSM_FUNC_READ); in ucsi_acpi_read_version()
54 memcpy(version, ua->base + UCSI_VERSION, sizeof(*version)); in ucsi_acpi_read_version()
61 struct ucsi_acpi *ua = ucsi_get_drvdata(ucsi); in ucsi_acpi_read_cci() local
64 ret = ucsi_acpi_dsm(ua, UCSI_DSM_FUNC_READ); in ucsi_acpi_read_cci()
68 memcpy(cci, ua->base + UCSI_CCI, sizeof(*cci)); in ucsi_acpi_read_cci()
75 struct ucsi_acpi *ua = ucsi_get_drvdata(ucsi); in ucsi_acpi_read_message_in() local
[all …]
/linux/drivers/vfio/pci/
H A Dtrace.h18 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 …]
/linux/drivers/target/
H A Dtarget_core_ua.c80 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 …]
/linux/arch/powerpc/mm/book3s64/
H A Diommu_api.c33 u64 ua; /* userspace address */ member
39 * We need to convert ua to hpa in real mode. Make it
56 static long mm_iommu_do_alloc(struct mm_struct *mm, unsigned long ua, in mm_iommu_do_alloc() argument
88 * we use @ua and @entries natural alignment to allow IOMMU pages in mm_iommu_do_alloc()
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()
135 if ((mem2->ua < (ua + (entries << PAGE_SHIFT))) && in mm_iommu_do_alloc()
136 (ua < (mem2->ua + in mm_iommu_do_alloc()
186 long mm_iommu_new(struct mm_struct *mm, unsigned long ua, unsigned long entries, in mm_iommu_new() argument
[all …]
/linux/include/media/i2c/
H A Dlm3646.h21 * min 93350uA, step 93750uA, max 1499600uA
31 * min 23040uA, step 23430uA, max 187100uA
41 * min 23040uA, step 11718uA, max 1499600uA
51 * min 2530uA, step 1460uA, max 187100uA
73 * @led1_flash_brt: led1 flash mode brightness, uA
74 * @led1_torch_brt: led1 torch mode brightness, uA
H A Dlm3560.h21 * min 62500uA, step 62500uA, max 1000000uA
45 * min 31250uA, step 31250uA, max 250000uA
/linux/net/tipc/
H A Dname_table.c225 * @ua: the service range the user is binding to
229 static struct publication *tipc_publ_create(struct tipc_uaddr *ua, in tipc_publ_create() argument
238 p->sr = ua->sr; in tipc_publ_create()
240 p->scope = ua->scope; in tipc_publ_create()
253 * @ua: address representing the service to be bound
258 struct tipc_uaddr *ua) in tipc_service_create() argument
271 service->type = ua->sr.type; in tipc_service_create()
275 hd = &nt->services[hash(ua->sr.type)]; in tipc_service_create()
283 struct tipc_uaddr *ua) in tipc_service_find_range() argument
287 service_range_foreach_match(sr, sc, ua->sr.lower, ua->sr.upper) { in tipc_service_find_range()
[all …]
H 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 …]
H 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,
H A Dsocket.c150 static int tipc_sk_publish(struct tipc_sock *tsk, struct tipc_uaddr *ua);
151 static int tipc_sk_withdraw(struct tipc_sock *tsk, struct tipc_uaddr *ua);
676 struct tipc_uaddr *ua = (struct tipc_uaddr *)skaddr; in __tipc_bind() local
683 if (ua->addrtype == TIPC_SERVICE_ADDR) { in __tipc_bind()
684 ua->addrtype = TIPC_SERVICE_RANGE; in __tipc_bind()
685 ua->sr.upper = ua->sr.lower; in __tipc_bind()
687 if (ua->scope < 0) { in __tipc_bind()
689 ua->scope = -ua->scope; in __tipc_bind()
692 if (ua->scope != TIPC_NODE_SCOPE) in __tipc_bind()
693 ua->scope = TIPC_CLUSTER_SCOPE; in __tipc_bind()
[all …]
H A Dname_distr.c239 struct tipc_uaddr ua; in tipc_publ_purge() local
241 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, p->scope, p->sr.type, in tipc_publ_purge()
244 _p = tipc_nametbl_remove_publ(net, &ua, &p->sk, p->key); in tipc_publ_purge()
284 struct tipc_uaddr ua; in tipc_update_nametbl() local
287 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, TIPC_CLUSTER_SCOPE, in tipc_update_nametbl()
293 p = tipc_nametbl_insert_publ(net, &ua, &sk, key); in tipc_update_nametbl()
299 p = tipc_nametbl_remove_publ(net, &ua, &sk, key); in tipc_update_nametbl()
306 ua.sr.type, ua.sr.lower, node); in tipc_update_nametbl()
/linux/fs/dlm/
H A Duser.c182 struct dlm_user_args *ua; in dlm_user_add_ast() local
196 lkb->ua so we can't try to use it. This second check is necessary in dlm_user_add_ast()
205 ua = lkb->lkb_ua; in dlm_user_add_ast()
206 proc = ua->proc; in dlm_user_add_ast()
208 if ((flags & DLM_CB_BAST) && ua->bastaddr == NULL) in dlm_user_add_ast()
221 cb->ua = *ua; in dlm_user_add_ast()
222 cb->lkb_lksb = &cb->ua.lksb; in dlm_user_add_ast()
224 memcpy(cb->lvbptr, ua->lksb.sb_lvbptr, in dlm_user_add_ast()
252 struct dlm_user_args *ua; in device_user_lock() local
265 ua = kzalloc(sizeof(struct dlm_user_args), GFP_NOFS); in device_user_lock()
[all …]
/linux/include/linux/platform_data/
H A Dadp8870.h88 * L2 comparator current 0..1106uA
93 * L3 comparator current 0..551uA
98 * L4 comparator current 0..275uA
103 * L5 comparator current 0..138uA
129 u8 l2_trip; /* use L2_COMP_CURR_uA(I) 0 <= I <= 1106 uA */
130 u8 l2_hyst; /* use L2_COMP_CURR_uA(I) 0 <= I <= 1106 uA */
131 u8 l3_trip; /* use L3_COMP_CURR_uA(I) 0 <= I <= 551 uA */
132 u8 l3_hyst; /* use L3_COMP_CURR_uA(I) 0 <= I <= 551 uA */
133 u8 l4_trip; /* use L4_COMP_CURR_uA(I) 0 <= I <= 275 uA */
134 u8 l4_hyst; /* use L4_COMP_CURR_uA(I) 0 <= I <= 275 uA */
[all …]
H A Dadp8860.h91 * L2 comparator current 0..1106uA
96 * L3 comparator current 0..138uA
117 u8 l2_trip; /* use L2_COMP_CURR_uA(I) 0 <= I <= 1106 uA */
118 u8 l2_hyst; /* use L2_COMP_CURR_uA(I) 0 <= I <= 1106 uA */
119 u8 l3_trip; /* use L3_COMP_CURR_uA(I) 0 <= I <= 551 uA */
120 u8 l3_hyst; /* use L3_COMP_CURR_uA(I) 0 <= I <= 551 uA */
H A Dad7793.h60 * Only valid when the current sources are set to 10 uA or 210 uA.
62 * Only valid when the current ources are set to 10 uA or 210 uA.
/linux/drivers/net/ethernet/ibm/
H 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/parisc/include/asm/
H A Dfutex.h15 static inline unsigned long _futex_hash_index(unsigned long ua) in _futex_hash_index() argument
17 return (ua >> 2) & 0x3fc; in _futex_hash_index()
38 unsigned long ua = (unsigned long)uaddr; in arch_futex_atomic_op_inuser() local
44 s = (arch_spinlock_t *)&lws_lock_start[_futex_hash_index(ua)]; in arch_futex_atomic_op_inuser()
94 unsigned long ua = (unsigned long)uaddr; in futex_atomic_cmpxchg_inatomic() local
109 s = (arch_spinlock_t *)&lws_lock_start[_futex_hash_index(ua)]; in futex_atomic_cmpxchg_inatomic()
/linux/Documentation/devicetree/bindings/mfd/
H A Dams,as3711.yaml37 su1-max-uA:
45 su2-max-uA:
117 su1-dev: [ su1-max-uA ]
118 su1-max-uA: [ su1-dev ]
122 su2-dev: [ su2-max-uA ]
123 su2-max-uA: [ su2-dev ]
215 su2-max-uA = <36000>;
/linux/Documentation/devicetree/bindings/rtc/
H A Drtc-palmas.txt17 backup battery. Device supports the < 100uA and > 100uA charging.
18 The high current will be > 100uA. Absence of this property will
19 charge battery to lower current i.e. < 100uA.
/linux/include/linux/mfd/
H A Dmax14577.h81 /* Minimal current, set in CHGCTRL4/MBCICHWRCL, uA */
85 * set in CHGCTRL4/MBCICHWRCH, uA
88 /* Value of one step in high setting, uA */
90 /* Maximum current of high setting, uA */
H A Dlm3533.h48 u16 max_current; /* 5000 - 29800 uA (800 uA step) */
56 u16 max_current; /* 5000 - 29800 uA (800 uA step) */
/linux/drivers/leds/
H A Dleds-wm8350.c147 int uA; in wm8350_led_set() local
163 uA = (led->max_uA_index * led->value) / LED_FULL; in wm8350_led_set()
165 BUG_ON(uA >= ARRAY_SIZE(isink_cur)); in wm8350_led_set()
167 ret = regulator_set_current_limit(led->isink, isink_cur[uA], in wm8350_led_set()
168 isink_cur[uA]); in wm8350_led_set()
171 isink_cur[uA], ret); in wm8350_led_set()
/linux/net/lapb/
H A Dlapb_in.c51 lapb_dbg(1, "(%p) S0 TX UA(%d)\n", in lapb_state0_machine()
71 lapb_dbg(1, "(%p) S0 TX UA(%d)\n", in lapb_state0_machine()
95 lapb_dbg(1, "(%p) S0 TX UA(%d)\n", lapb->dev, frame->pf); in lapb_state0_machine()
122 lapb_dbg(1, "(%p) S1 TX UA(%d)\n", in lapb_state1_machine()
132 lapb_dbg(1, "(%p) S1 TX UA(%d)\n", in lapb_state1_machine()
151 lapb_dbg(1, "(%p) S1 RX UA(%d)\n", lapb->dev, frame->pf); in lapb_state1_machine()
200 lapb_dbg(1, "(%p) S2 TX UA(%d)\n", lapb->dev, frame->pf); in lapb_state2_machine()
205 lapb_dbg(1, "(%p) S2 RX UA(%d)\n", lapb->dev, frame->pf); in lapb_state2_machine()
262 lapb_dbg(1, "(%p) S3 TX UA(%d)\n", in lapb_state3_machine()
280 lapb_dbg(1, "(%p) S3 TX UA(%d)\n", in lapb_state3_machine()
[all …]
/linux/include/linux/
H A Dmc6821.h28 } ua; member
41 #define ppra ua.pra
42 #define pddra ua.ddra

123456789