Home
last modified time | relevance | path

Searched full:ll (Results 1 – 25 of 2131) sorted by relevance

12345678910>>...86

/Linux-v5.15/drivers/md/persistent-data/
Ddm-space-map-common.c193 static int sm_ll_init(struct ll_disk *ll, struct dm_transaction_manager *tm) in sm_ll_init() argument
195 memset(ll, 0, sizeof(struct ll_disk)); in sm_ll_init()
197 ll->tm = tm; in sm_ll_init()
199 ll->bitmap_info.tm = tm; in sm_ll_init()
200 ll->bitmap_info.levels = 1; in sm_ll_init()
207 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); in sm_ll_init()
208 ll->bitmap_info.value_type.inc = NULL; in sm_ll_init()
209 ll->bitmap_info.value_type.dec = NULL; in sm_ll_init()
210 ll->bitmap_info.value_type.equal = NULL; in sm_ll_init()
212 ll->ref_count_info.tm = tm; in sm_ll_init()
[all …]
Ddm-space-map-common.h50 typedef int (*load_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *result);
51 typedef int (*save_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *ie);
52 typedef int (*init_index_fn)(struct ll_disk *ll);
53 typedef int (*open_index_fn)(struct ll_disk *ll);
54 typedef dm_block_t (*max_index_entries_fn)(struct ll_disk *ll);
55 typedef int (*commit_fn)(struct ll_disk *ll);
117 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks);
118 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result);
119 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result);
120 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin,
[all …]
Ddm-space-map-disk.c27 struct ll_disk ll; member
45 return sm_ll_extend(&smd->ll, extra_blocks); in sm_disk_extend()
68 return sm_ll_lookup(&smd->ll, b, result); in sm_disk_get_count()
93 r = sm_ll_insert(&smd->ll, b, count, &nr_allocations); in sm_disk_set_count()
107 r = sm_ll_inc(&smd->ll, b, e, &nr_allocations); in sm_disk_inc_blocks()
120 r = sm_ll_dec(&smd->ll, b, e, &nr_allocations); in sm_disk_dec_blocks()
134 * Any block we allocate has to be free in both the old and current ll. in sm_disk_new_block()
136 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b); in sm_disk_new_block()
142 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, 0, smd->begin, b); in sm_disk_new_block()
149 r = sm_ll_inc(&smd->ll, *b, *b + 1, &nr_allocations); in sm_disk_new_block()
[all …]
Ddm-space-map-metadata.c169 struct ll_disk ll; member
199 r = sm_ll_inc(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop()
203 r = sm_ll_dec(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop()
284 *count = smm->ll.nr_blocks; in sm_metadata_get_nr_blocks()
330 r = sm_ll_lookup(&smm->ll, b, result); in sm_metadata_get_count()
376 r = sm_ll_lookup_bitmap(&smm->ll, b, &rc); in sm_metadata_count_is_more_than_one()
404 r = sm_ll_insert(&smm->ll, b, count, &nr_allocations); in sm_metadata_set_count()
422 r = sm_ll_inc(&smm->ll, b, e, &nr_allocations); in sm_metadata_inc_blocks()
439 r = sm_ll_dec(&smm->ll, b, e, &nr_allocations); in sm_metadata_dec_blocks()
453 * Any block we allocate has to be free in both the old and current ll. in sm_metadata_new_block_()
[all …]
/Linux-v5.15/drivers/bluetooth/
Dhci_ll.c89 struct ll_struct *ll = hu->priv; in send_hcill_cmd() local
105 skb_queue_tail(&ll->txq, skb); in send_hcill_cmd()
113 struct ll_struct *ll; in ll_open() local
117 ll = kzalloc(sizeof(*ll), GFP_KERNEL); in ll_open()
118 if (!ll) in ll_open()
121 skb_queue_head_init(&ll->txq); in ll_open()
122 skb_queue_head_init(&ll->tx_wait_q); in ll_open()
123 spin_lock_init(&ll->hcill_lock); in ll_open()
125 ll->hcill_state = HCILL_AWAKE; in ll_open()
127 hu->priv = ll; in ll_open()
[all …]
/Linux-v5.15/drivers/net/ethernet/amd/
Da2065.c107 volatile struct lance_regs *ll; member
130 volatile struct lance_regs *ll = lp->ll; in load_csrs() local
134 ll->rap = LE_CSR1; in load_csrs()
135 ll->rdp = (leptr & 0xFFFF); in load_csrs()
136 ll->rap = LE_CSR2; in load_csrs()
137 ll->rdp = leptr >> 16; in load_csrs()
138 ll->rap = LE_CSR3; in load_csrs()
139 ll->rdp = lp->busmaster_regval; in load_csrs()
142 ll->rap = LE_CSR0; in load_csrs()
220 volatile struct lance_regs *ll = lp->ll; in init_restart_lance() local
[all …]
Ddeclance.c254 volatile struct lance_regs *ll; member
305 volatile struct lance_regs *ll = lp->ll; in load_csrs() local
313 writereg(&ll->rap, LE_CSR1); in load_csrs()
314 writereg(&ll->rdp, (leptr & 0xFFFF)); in load_csrs()
315 writereg(&ll->rap, LE_CSR2); in load_csrs()
316 writereg(&ll->rdp, leptr >> 16); in load_csrs()
317 writereg(&ll->rap, LE_CSR3); in load_csrs()
318 writereg(&ll->rdp, lp->busmaster_regval); in load_csrs()
321 writereg(&ll->rap, LE_CSR0); in load_csrs()
529 volatile struct lance_regs *ll = lp->ll; in init_restart_lance() local
[all …]
/Linux-v5.15/drivers/misc/ti-st/
Dst_ll.c4 * HCI-LL module responsible for TI proprietary HCI_LL protocol
85 * enable ST LL */
86 void st_ll_enable(struct st_data_s *ll) in st_ll_enable() argument
88 ll->ll_state = ST_LL_AWAKE; in st_ll_enable()
92 * disable ST LL */
93 void st_ll_disable(struct st_data_s *ll) in st_ll_disable() argument
95 ll->ll_state = ST_LL_INVALID; in st_ll_disable()
99 void st_ll_wakeup(struct st_data_s *ll) in st_ll_wakeup() argument
101 if (likely(ll->ll_state != ST_LL_AWAKE)) { in st_ll_wakeup()
102 send_ll_cmd(ll, LL_WAKE_UP_IND); /* WAKE_IND */ in st_ll_wakeup()
[all …]
/Linux-v5.15/drivers/media/radio/
Dradio-tea5777.c35 #define TEA5777_W_MUTE_MASK (1LL << 47)
37 #define TEA5777_W_AM_FM_MASK (1LL << 46)
39 #define TEA5777_W_STB_MASK (1LL << 45)
42 #define TEA5777_W_IFCE_MASK (1LL << 29)
44 #define TEA5777_W_IFW_MASK (1LL << 28)
46 #define TEA5777_W_HILO_MASK (1LL << 27)
48 #define TEA5777_W_DBUS_MASK (1LL << 26)
51 #define TEA5777_W_INTEXT_MASK (1LL << 24)
53 #define TEA5777_W_P1_MASK (1LL << 23)
55 #define TEA5777_W_P0_MASK (1LL << 22)
[all …]
/Linux-v5.15/arch/mips/include/asm/
Datomic.h56 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument
74 "1: " #ll " %0, %1 # " #pfx "_" #op " \n" \
83 #define ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ argument
104 "1: " #ll " %1, %2 # " #pfx "_" #op "_return\n" \
117 #define ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument
137 "1: " #ll " %1, %2 # " #pfx "_fetch_" #op "\n" \
151 #define ATOMIC_OPS(pfx, op, type, c_op, asm_op, ll, sc) \ argument
152 ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \
153 ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \
154 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc)
[all …]
Dsync.h103 * Indicate that we need this sync instruction only on systems where LL/SC
115 * store or prefetch) in between an LL & SC can cause the SC instruction to
120 * 1) A memory access appearing prior to the LL in program order may actually
121 * be executed after the LL - this is the reordering case.
124 * instruction) prior to every LL instruction, in between it and any earlier
129 * 2) If a conditional branch exists between an LL & SC with a target outside
130 * of the LL-SC loop, for example an exit upon value mismatch in cmpxchg()
132 * execution of memory accesses from outside of the LL-SC loop.
140 * such that the Invalidate of a competing LL-SC goes 'missing' and SC
/Linux-v5.15/include/linux/mlx4/
Ddevice.h154 MLX4_DEV_CAP_FLAG_RC = 1LL << 0,
155 MLX4_DEV_CAP_FLAG_UC = 1LL << 1,
156 MLX4_DEV_CAP_FLAG_UD = 1LL << 2,
157 MLX4_DEV_CAP_FLAG_XRC = 1LL << 3,
158 MLX4_DEV_CAP_FLAG_SRQ = 1LL << 6,
159 MLX4_DEV_CAP_FLAG_IPOIB_CSUM = 1LL << 7,
160 MLX4_DEV_CAP_FLAG_BAD_PKEY_CNTR = 1LL << 8,
161 MLX4_DEV_CAP_FLAG_BAD_QKEY_CNTR = 1LL << 9,
162 MLX4_DEV_CAP_FLAG_DPDP = 1LL << 12,
163 MLX4_DEV_CAP_FLAG_BLH = 1LL << 15,
[all …]
/Linux-v5.15/include/linux/
Dmath64.h196 u64 ll; in mul_u64_u64_shr() member
207 a0.ll = a; in mul_u64_u64_shr()
208 b0.ll = b; in mul_u64_u64_shr()
210 rl.ll = mul_u32_u32(a0.l.low, b0.l.low); in mul_u64_u64_shr()
211 rm.ll = mul_u32_u32(a0.l.low, b0.l.high); in mul_u64_u64_shr()
212 rn.ll = mul_u32_u32(a0.l.high, b0.l.low); in mul_u64_u64_shr()
213 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr()
225 * The 128-bit result of the multiplication is in rl.ll and rh.ll, in mul_u64_u64_shr()
229 return rl.ll; in mul_u64_u64_shr()
231 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr()
[all …]
Dmath.h38 #define DIV_ROUND_DOWN_ULL(ll, d) \ argument
39 ({ unsigned long long _tmp = (ll); do_div(_tmp, d); _tmp; })
41 #define DIV_ROUND_UP_ULL(ll, d) \ argument
42 DIV_ROUND_DOWN_ULL((unsigned long long)(ll) + (d) - 1, (d))
45 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP_ULL(ll, d) argument
47 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP(ll,d) argument
/Linux-v5.15/drivers/iio/temperature/
Dmlx90632.c115 #define MLX90632_REF_12 12LL /* ResCtrlRef value of Ch 1 or Ch 2 */
116 #define MLX90632_REF_3 12LL /* ResCtrlRef value of Channel 3 */
485 kGb = ((s64)Gb * 1000LL) >> 10ULL; in mlx90632_preprocess_temp_amb()
486 VR_Ta = (s64)ambient_old_raw * 1000000LL + in mlx90632_preprocess_temp_amb()
487 kGb * div64_s64(((s64)ambient_new_raw * 1000LL), in mlx90632_preprocess_temp_amb()
490 div64_s64(((s64)ambient_new_raw * 1000000000000LL), in mlx90632_preprocess_temp_amb()
492 return div64_s64(tmp << 19ULL, 1000LL); in mlx90632_preprocess_temp_amb()
501 kKa = ((s64)Ka * 1000LL) >> 10ULL; in mlx90632_preprocess_temp_obj()
502 VR_IR = (s64)ambient_old_raw * 1000000LL + in mlx90632_preprocess_temp_obj()
503 kKa * div64_s64(((s64)ambient_new_raw * 1000LL), in mlx90632_preprocess_temp_obj()
[all …]
/Linux-v5.15/lib/
Dtest-kstrtox.c241 {"0", 10, 0LL}, in test_kstrtoll_ok()
242 {"1", 10, 1LL}, in test_kstrtoll_ok()
243 {"127", 10, 127LL}, in test_kstrtoll_ok()
244 {"128", 10, 128LL}, in test_kstrtoll_ok()
245 {"129", 10, 129LL}, in test_kstrtoll_ok()
246 {"255", 10, 255LL}, in test_kstrtoll_ok()
247 {"256", 10, 256LL}, in test_kstrtoll_ok()
248 {"257", 10, 257LL}, in test_kstrtoll_ok()
249 {"32767", 10, 32767LL}, in test_kstrtoll_ok()
250 {"32768", 10, 32768LL}, in test_kstrtoll_ok()
[all …]
Dmuldi3.c45 __w.ll; \
51 const DWunion uu = {.ll = u}; in __muldi3()
52 const DWunion vv = {.ll = v}; in __muldi3()
53 DWunion w = {.ll = __umulsidi3(uu.s.low, vv.s.low)}; in __muldi3()
58 return w.ll; in __muldi3()
/Linux-v5.15/fs/fat/
Dfat_test.c35 .ts = {.tv_sec = 315532800LL, .tv_nsec = 0L},
43 .ts = {.tv_sec = 4354819198LL, .tv_nsec = 0L},
51 .ts = {.tv_sec = 315493200LL, .tv_nsec = 0L},
59 .ts = {.tv_sec = 4354858798LL, .tv_nsec = 0L},
67 .ts = {.tv_sec = 825552000LL, .tv_nsec = 0L},
75 .ts = {.tv_sec = 951782400LL, .tv_nsec = 0L},
83 .ts = {.tv_sec = 4107542400LL, .tv_nsec = 0L},
91 .ts = {.tv_sec = 1078014600LL, .tv_nsec = 0L},
99 .ts = {.tv_sec = 1078097400LL, .tv_nsec = 0L},
107 .ts = {.tv_sec = 946684799LL, .tv_nsec = 0L},
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/ivytown/
Duncore-interconnect.json8 "Unit": "QPI LL"
18 "Unit": "QPI LL"
28 "Unit": "QPI LL"
37 "Unit": "QPI LL"
46 "Unit": "QPI LL"
/Linux-v5.15/tools/perf/pmu-events/arch/x86/jaketown/
Duncore-interconnect.json8 "Unit": "QPI LL"
18 "Unit": "QPI LL"
28 "Unit": "QPI LL"
37 "Unit": "QPI LL"
46 "Unit": "QPI LL"
/Linux-v5.15/arch/h8300/lib/
Dmuldi3.c32 __w.ll; } \
37 const DWunion uu = {.ll = u}; in __muldi3()
38 const DWunion vv = {.ll = v}; in __muldi3()
39 DWunion w = {.ll = __umulsidi3(uu.s.low, vv.s.low)}; in __muldi3()
44 return w.ll; in __muldi3()
/Linux-v5.15/arch/m68k/lib/
Dmuldi3.c66 __w.ll; })
78 DItype ll; member
87 uu.ll = u, in __muldi3()
88 vv.ll = v; in __muldi3()
90 w.ll = __umulsidi3 (uu.s.low, vv.s.low); in __muldi3()
94 return w.ll; in __muldi3()
/Linux-v5.15/arch/mips/tools/
Dloongson3-llsc-check.c18 /* If libc provides le{16,32,64}toh() then we'll use them */
147 * Every LL must be preceded by a sync instruction in order to ensure in check_ll()
149 * execute after the LL & cause erroneous results. in check_ll()
152 fprintf(stderr, "%" PRIx64 ": LL not preceded by sync\n", pc); in check_ll()
163 fprintf(stderr, "%" PRIx64 ": LL has no matching SC\n", pc); in check_ll()
168 * Check branches within the LL/SC loop target sync instructions, in check_ll()
177 * If the branch target is within the LL/SC loop then we don't in check_ll()
208 fprintf(stderr, "%" PRIx64 ": First instruction in section is an LL\n", in check_code()
225 /* Now scan through the code looking for LL instructions */ in check_code()
/Linux-v5.15/arch/microblaze/lib/
Dmuldi3.c43 __w.ll; \
49 const DWunion uu = {.ll = u}; in __muldi3()
50 const DWunion vv = {.ll = v}; in __muldi3()
51 DWunion w = {.ll = __umulsidi3(uu.s.low, vv.s.low)}; in __muldi3()
56 return w.ll; in __muldi3()
/Linux-v5.15/drivers/media/tuners/
Dtuner-xc2028-types.h112 #define V4L2_STD_A2_A (1LL<<32)
113 #define V4L2_STD_A2_B (1LL<<33)
114 #define V4L2_STD_NICAM_A (1LL<<34)
115 #define V4L2_STD_NICAM_B (1LL<<35)
116 #define V4L2_STD_AM (1LL<<36)
117 #define V4L2_STD_BTSC (1LL<<37)
118 #define V4L2_STD_EIAJ (1LL<<38)

12345678910>>...86