/linux-6.12.1/sound/usb/misc/ |
D | ua101.c | 3 * 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-6.12.1/drivers/usb/typec/ucsi/ |
D | ucsi_acpi.c | 29 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-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/include/media/i2c/ |
D | lm3646.h | 21 * 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
|
D | lm3560.h | 21 * min 62500uA, step 62500uA, max 1000000uA 45 * min 31250uA, step 31250uA, max 250000uA
|
/linux-6.12.1/arch/powerpc/mm/book3s64/ |
D | iommu_api.c | 33 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-6.12.1/net/tipc/ |
D | name_table.c | 225 * @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 …]
|
D | addr.h | 64 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 …]
|
D | name_table.h | 115 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,
|
D | socket.c | 150 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 …]
|
/linux-6.12.1/fs/dlm/ |
D | user.c | 182 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 …]
|
D | memory.c | 123 struct dlm_user_args *ua; in __free_lkb_rcu() local 124 ua = lkb->lkb_ua; in __free_lkb_rcu() 125 if (ua) { in __free_lkb_rcu() 126 kfree(ua->lksb.sb_lvbptr); in __free_lkb_rcu() 127 kfree(ua); in __free_lkb_rcu()
|
/linux-6.12.1/include/linux/platform_data/ |
D | adp8870.h | 88 * 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 …]
|
D | adp8860.h | 91 * 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 */
|
D | ad7793.h | 60 * 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-6.12.1/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)
|
/linux-6.12.1/arch/powerpc/kvm/ |
D | book3s_64_vio.c | 364 unsigned long *ua) in kvmppc_tce_to_ua() argument 373 *ua = __gfn_to_hva_memslot(memslot, gfn) | in kvmppc_tce_to_ua() 385 unsigned long ua = 0; in kvmppc_tce_validate() local 394 if (kvmppc_tce_to_ua(stt->kvm, tce, &ua)) in kvmppc_tce_validate() 403 mem = mm_iommu_lookup(stt->kvm->mm, ua, 1ULL << shift); in kvmppc_tce_validate() 404 if (!mem || mm_iommu_ua_to_hpa(mem, ua, shift, &hpa)) { in kvmppc_tce_validate() 521 unsigned long entry, unsigned long ua, in kvmppc_tce_iommu_do_map() argument 533 mem = mm_iommu_lookup(kvm->mm, ua, 1ULL << tbl->it_page_shift); in kvmppc_tce_iommu_do_map() 538 if (WARN_ON_ONCE(mm_iommu_ua_to_hpa(mem, ua, tbl->it_page_shift, &hpa))) in kvmppc_tce_iommu_do_map() 553 *pua = cpu_to_be64(ua); in kvmppc_tce_iommu_do_map() [all …]
|
/linux-6.12.1/arch/parisc/include/asm/ |
D | futex.h | 15 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-6.12.1/Documentation/devicetree/bindings/rtc/ |
D | rtc-palmas.txt | 17 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-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | ams,as3711.yaml | 37 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-6.12.1/include/linux/mfd/ |
D | max14577.h | 81 /* 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 */
|
D | lm3533.h | 48 u16 max_current; /* 5000 - 29800 uA (800 uA step) */ 56 u16 max_current; /* 5000 - 29800 uA (800 uA step) */
|
/linux-6.12.1/drivers/leds/ |
D | leds-wm8350.c | 147 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-6.12.1/drivers/usb/typec/tcpm/ |
D | maxim_contaminant.c | 34 /* 1uA current source */ 36 /* 5 uA current source */ 56 /* SBU channels only have 1 scale with 1uA. */ in max_contaminant_adc_to_mv() 119 /* Enable 1uA current source */ in max_contaminant_read_resistance_kohm() 125 /* Enable 1uA current source */ in max_contaminant_read_resistance_kohm() 144 /* returns KOhm as 1uA source is used. */ in max_contaminant_read_resistance_kohm() 153 /* Enable 1ua current source */ in max_contaminant_read_resistance_kohm() 180 /* Enable 80uA source */ in max_contaminant_read_comparators()
|