Home
last modified time | relevance | path

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

123456789

/Linux-v5.10/sound/usb/misc/
Dua101.c3 * Edirol UA-101/UA-1000 driver
19 MODULE_DESCRIPTION("Edirol UA-101/1000 driver");
22 MODULE_SUPPORTED_DEVICE("{{Edirol,UA-101},{Edirol,UA-1000}}");
33 * This magic value optimizes memory usage efficiency for the UA-101's packet
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()
[all …]
/Linux-v5.10/drivers/usb/typec/ucsi/
Ducsi_acpi.c28 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 …]
/Linux-v5.10/arch/powerpc/mm/book3s64/
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()
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
[all …]
/Linux-v5.10/drivers/vfio/pci/
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-v5.10/drivers/target/
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-v5.10/include/media/i2c/
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
Dlm3560.h21 * min 62500uA, step 62500uA, max 1000000uA
45 * min 31250uA, step 31250uA, max 250000uA
/Linux-v5.10/Documentation/devicetree/bindings/iio/adc/
Dpalmas-gpadc.txt26 ti,channel0-current-microamp: Channel 0 current in uA.
27 Values are rounded to derive 0uA, 5uA, 15uA, 20uA.
28 ti,channel3-current-microamp: Channel 3 current in uA.
29 Values are rounded to derive 0uA, 10uA, 400uA, 800uA.
/Linux-v5.10/include/linux/platform_data/
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 …]
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 */
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-v5.10/arch/powerpc/kvm/
Dbook3s_64_vio_hv.c78 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()
230 * kvmppc_rm_tce_iommu_do_map() updates the UA cache after in iommu_tce_xchg_no_kill_rm()
231 * calling this so we still get here a valid UA. in iommu_tce_xchg_no_kill_rm()
320 unsigned long entry, unsigned long ua, in kvmppc_rm_tce_iommu_do_map() argument
332 mem = mm_iommu_lookup_rm(kvm->mm, ua, 1ULL << tbl->it_page_shift); in kvmppc_rm_tce_iommu_do_map()
[all …]
Dbook3s_64_vio.c344 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()
493 unsigned long entry, unsigned long ua, in kvmppc_tce_iommu_do_map() argument
505 mem = mm_iommu_lookup(kvm->mm, ua, 1ULL << tbl->it_page_shift); in kvmppc_tce_iommu_do_map()
510 if (WARN_ON_ONCE(mm_iommu_ua_to_hpa(mem, ua, tbl->it_page_shift, &hpa))) in kvmppc_tce_iommu_do_map()
525 *pua = cpu_to_be64(ua); in kvmppc_tce_iommu_do_map()
[all …]
/Linux-v5.10/fs/dlm/
Duser.c179 struct dlm_user_args *ua; in dlm_user_add_ast() local
191 lkb->ua so we can't try to use it. This second check is necessary in dlm_user_add_ast()
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()
[all …]
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()
/Linux-v5.10/drivers/net/ethernet/ibm/
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-v5.10/Documentation/devicetree/bindings/usb/
Dusb251xb.txt52 attached peripheral (range: 0 - 100000 uA, default 1000 uA)
56 attached peripheral (range: 0 - 510000 uA, default 100000 uA)
60 attached peripheral (range: 0 - 100000 uA, default 1000 uA)
64 attached peripheral (range: 0 - 510000 uA, default 100000 uA)
/Linux-v5.10/Documentation/devicetree/bindings/rtc/
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-v5.10/include/linux/mfd/
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 */
Dlm3533.h47 u16 max_current; /* 5000 - 29800 uA (800 uA step) */
55 u16 max_current; /* 5000 - 29800 uA (800 uA step) */
/Linux-v5.10/arch/powerpc/include/asm/
Dmmu_context.h25 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);
/Linux-v5.10/Documentation/devicetree/bindings/power/supply/
Dbq25890.txt15 - ti,charge-current: integer, maximum charging current (in uA);
17 constant-voltage phase drops below this value (in uA);
19 phase (in uA);
25 (in uA).
/Linux-v5.10/drivers/leds/
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-v5.10/include/linux/
Dmc6821.h28 } ua; member
41 #define ppra ua.pra
42 #define pddra ua.ddra
/Linux-v5.10/net/lapb/
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 …]

123456789