Home
last modified time | relevance | path

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

12345678910>>...162

/kernel/linux/linux-5.10/drivers/md/persistent-data/
Ddm-space-map-common.c191 static int sm_ll_init(struct ll_disk *ll, struct dm_transaction_manager *tm) in sm_ll_init() argument
193 memset(ll, 0, sizeof(struct ll_disk)); in sm_ll_init()
195 ll->tm = tm; in sm_ll_init()
197 ll->bitmap_info.tm = tm; in sm_ll_init()
198 ll->bitmap_info.levels = 1; in sm_ll_init()
205 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); in sm_ll_init()
206 ll->bitmap_info.value_type.inc = NULL; in sm_ll_init()
207 ll->bitmap_info.value_type.dec = NULL; in sm_ll_init()
208 ll->bitmap_info.value_type.equal = NULL; in sm_ll_init()
210 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);
107 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks);
108 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result);
109 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result);
110 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()
94 r = sm_ll_insert(&smd->ll, b, count, &ev); in sm_disk_set_count()
132 r = sm_ll_inc(&smd->ll, b, &ev); in sm_disk_inc_block()
150 r = sm_ll_dec(&smd->ll, b, &ev); in sm_disk_dec_block()
171 * Any block we allocate has to be free in both the old and current ll. in sm_disk_new_block()
173 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b); in sm_disk_new_block()
179 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, 0, smd->begin, b); in sm_disk_new_block()
186 r = sm_ll_inc(&smd->ll, *b, &ev); in sm_disk_new_block()
[all …]
Ddm-space-map-metadata.c169 struct ll_disk ll; member
200 r = sm_ll_inc(&smm->ll, op->block, &ev); in commit_bop()
204 r = sm_ll_dec(&smm->ll, op->block, &ev); in commit_bop()
285 *count = smm->ll.nr_blocks; in sm_metadata_get_nr_blocks()
331 r = sm_ll_lookup(&smm->ll, b, result); in sm_metadata_get_count()
377 r = sm_ll_lookup_bitmap(&smm->ll, b, &rc); in sm_metadata_count_is_more_than_one()
405 r = sm_ll_insert(&smm->ll, b, count, &ev); in sm_metadata_set_count()
421 r = sm_ll_inc(&smm->ll, b, &ev); in sm_metadata_inc_block()
438 r = sm_ll_dec(&smm->ll, b, &ev); in sm_metadata_dec_block()
452 * Any block we allocate has to be free in both the old and current ll. in sm_metadata_new_block_()
[all …]
/kernel/linux/linux-4.19/drivers/md/persistent-data/
Ddm-space-map-common.c191 static int sm_ll_init(struct ll_disk *ll, struct dm_transaction_manager *tm) in sm_ll_init() argument
193 ll->tm = tm; in sm_ll_init()
195 ll->bitmap_info.tm = tm; in sm_ll_init()
196 ll->bitmap_info.levels = 1; in sm_ll_init()
203 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); in sm_ll_init()
204 ll->bitmap_info.value_type.inc = NULL; in sm_ll_init()
205 ll->bitmap_info.value_type.dec = NULL; in sm_ll_init()
206 ll->bitmap_info.value_type.equal = NULL; in sm_ll_init()
208 ll->ref_count_info.tm = tm; in sm_ll_init()
209 ll->ref_count_info.levels = 1; 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);
107 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks);
108 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result);
109 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result);
110 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()
94 r = sm_ll_insert(&smd->ll, b, count, &ev); in sm_disk_set_count()
132 r = sm_ll_inc(&smd->ll, b, &ev); in sm_disk_inc_block()
150 r = sm_ll_dec(&smd->ll, b, &ev); in sm_disk_dec_block()
171 * Any block we allocate has to be free in both the old and current ll. in sm_disk_new_block()
173 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b); in sm_disk_new_block()
178 r = sm_ll_inc(&smd->ll, *b, &ev); in sm_disk_new_block()
197 r = sm_ll_commit(&smd->ll); in sm_disk_commit()
[all …]
/kernel/linux/linux-4.19/drivers/bluetooth/
Dhci_ll.c102 struct ll_struct *ll = hu->priv; in send_hcill_cmd() local
118 skb_queue_tail(&ll->txq, skb); in send_hcill_cmd()
126 struct ll_struct *ll; in ll_open() local
130 ll = kzalloc(sizeof(*ll), GFP_KERNEL); in ll_open()
131 if (!ll) in ll_open()
134 skb_queue_head_init(&ll->txq); in ll_open()
135 skb_queue_head_init(&ll->tx_wait_q); in ll_open()
136 spin_lock_init(&ll->hcill_lock); in ll_open()
138 ll->hcill_state = HCILL_AWAKE; in ll_open()
140 hu->priv = ll; in ll_open()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/drivers/net/ethernet/amd/
Da2065.c107 volatile struct lance_regs *ll; member
134 volatile struct lance_regs *ll = lp->ll; in load_csrs() local
138 ll->rap = LE_CSR1; in load_csrs()
139 ll->rdp = (leptr & 0xFFFF); in load_csrs()
140 ll->rap = LE_CSR2; in load_csrs()
141 ll->rdp = leptr >> 16; in load_csrs()
142 ll->rap = LE_CSR3; in load_csrs()
143 ll->rdp = lp->busmaster_regval; in load_csrs()
146 ll->rap = LE_CSR0; in load_csrs()
224 volatile struct lance_regs *ll = lp->ll; in init_restart_lance() local
[all …]
Ddeclance.c253 volatile struct lance_regs *ll; member
304 volatile struct lance_regs *ll = lp->ll; in load_csrs() local
312 writereg(&ll->rap, LE_CSR1); in load_csrs()
313 writereg(&ll->rdp, (leptr & 0xFFFF)); in load_csrs()
314 writereg(&ll->rap, LE_CSR2); in load_csrs()
315 writereg(&ll->rdp, leptr >> 16); in load_csrs()
316 writereg(&ll->rap, LE_CSR3); in load_csrs()
317 writereg(&ll->rdp, lp->busmaster_regval); in load_csrs()
320 writereg(&ll->rap, LE_CSR0); in load_csrs()
528 volatile struct lance_regs *ll = lp->ll; in init_restart_lance() local
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/drivers/misc/ti-st/
Dst_ll.c3 * HCI-LL module responsible for TI proprietary HCI_LL protocol
98 * enable ST LL */
99 void st_ll_enable(struct st_data_s *ll) in st_ll_enable() argument
101 ll->ll_state = ST_LL_AWAKE; in st_ll_enable()
105 * disable ST LL */
106 void st_ll_disable(struct st_data_s *ll) in st_ll_disable() argument
108 ll->ll_state = ST_LL_INVALID; in st_ll_disable()
112 void st_ll_wakeup(struct st_data_s *ll) in st_ll_wakeup() argument
114 if (likely(ll->ll_state != ST_LL_AWAKE)) { in st_ll_wakeup()
115 send_ll_cmd(ll, LL_WAKE_UP_IND); /* WAKE_IND */ in st_ll_wakeup()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/drivers/media/radio/
Dradio-tea5777.c45 #define TEA5777_W_MUTE_MASK (1LL << 47)
47 #define TEA5777_W_AM_FM_MASK (1LL << 46)
49 #define TEA5777_W_STB_MASK (1LL << 45)
52 #define TEA5777_W_IFCE_MASK (1LL << 29)
54 #define TEA5777_W_IFW_MASK (1LL << 28)
56 #define TEA5777_W_HILO_MASK (1LL << 27)
58 #define TEA5777_W_DBUS_MASK (1LL << 26)
61 #define TEA5777_W_INTEXT_MASK (1LL << 24)
63 #define TEA5777_W_P1_MASK (1LL << 23)
65 #define TEA5777_W_P0_MASK (1LL << 22)
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/
Datomic.h55 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument
73 "1: " #ll " %0, %1 # " #pfx "_" #op " \n" \
82 #define ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ argument
102 "1: " #ll " %1, %2 # " #pfx "_" #op "_return\n" \
115 #define ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument
134 "1: " #ll " %1, %2 # " #pfx "_fetch_" #op "\n" \
148 #define ATOMIC_OPS(pfx, op, type, c_op, asm_op, ll, sc) \ argument
149 ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \
150 ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \
151 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc)
[all …]
/kernel/linux/linux-4.19/include/linux/
Dmath64.h213 u64 ll; in mul_u64_u64_shr() member
224 a0.ll = a; in mul_u64_u64_shr()
225 b0.ll = b; in mul_u64_u64_shr()
227 rl.ll = mul_u32_u32(a0.l.low, b0.l.low); in mul_u64_u64_shr()
228 rm.ll = mul_u32_u32(a0.l.low, b0.l.high); in mul_u64_u64_shr()
229 rn.ll = mul_u32_u32(a0.l.high, b0.l.low); in mul_u64_u64_shr()
230 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr()
242 * The 128-bit result of the multiplication is in rl.ll and rh.ll, in mul_u64_u64_shr()
246 return rl.ll; in mul_u64_u64_shr()
248 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dmath64.h195 u64 ll; in mul_u64_u64_shr() member
206 a0.ll = a; in mul_u64_u64_shr()
207 b0.ll = b; in mul_u64_u64_shr()
209 rl.ll = mul_u32_u32(a0.l.low, b0.l.low); in mul_u64_u64_shr()
210 rm.ll = mul_u32_u32(a0.l.low, b0.l.high); in mul_u64_u64_shr()
211 rn.ll = mul_u32_u32(a0.l.high, b0.l.low); in mul_u64_u64_shr()
212 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr()
224 * The 128-bit result of the multiplication is in rl.ll and rh.ll, in mul_u64_u64_shr()
228 return rl.ll; in mul_u64_u64_shr()
230 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr()
[all …]
/kernel/linux/linux-4.19/include/linux/mlx4/
Ddevice.h155 MLX4_DEV_CAP_FLAG_RC = 1LL << 0,
156 MLX4_DEV_CAP_FLAG_UC = 1LL << 1,
157 MLX4_DEV_CAP_FLAG_UD = 1LL << 2,
158 MLX4_DEV_CAP_FLAG_XRC = 1LL << 3,
159 MLX4_DEV_CAP_FLAG_SRQ = 1LL << 6,
160 MLX4_DEV_CAP_FLAG_IPOIB_CSUM = 1LL << 7,
161 MLX4_DEV_CAP_FLAG_BAD_PKEY_CNTR = 1LL << 8,
162 MLX4_DEV_CAP_FLAG_BAD_QKEY_CNTR = 1LL << 9,
163 MLX4_DEV_CAP_FLAG_DPDP = 1LL << 12,
164 MLX4_DEV_CAP_FLAG_BLH = 1LL << 15,
[all …]
/kernel/linux/linux-5.10/include/linux/mlx4/
Ddevice.h155 MLX4_DEV_CAP_FLAG_RC = 1LL << 0,
156 MLX4_DEV_CAP_FLAG_UC = 1LL << 1,
157 MLX4_DEV_CAP_FLAG_UD = 1LL << 2,
158 MLX4_DEV_CAP_FLAG_XRC = 1LL << 3,
159 MLX4_DEV_CAP_FLAG_SRQ = 1LL << 6,
160 MLX4_DEV_CAP_FLAG_IPOIB_CSUM = 1LL << 7,
161 MLX4_DEV_CAP_FLAG_BAD_PKEY_CNTR = 1LL << 8,
162 MLX4_DEV_CAP_FLAG_BAD_QKEY_CNTR = 1LL << 9,
163 MLX4_DEV_CAP_FLAG_DPDP = 1LL << 12,
164 MLX4_DEV_CAP_FLAG_BLH = 1LL << 15,
[all …]
/kernel/linux/linux-4.19/drivers/iio/temperature/
Dmlx90632.c87 #define MLX90632_REF_12 12LL /**< ResCtrlRef value of Ch 1 or Ch 2 */
88 #define MLX90632_REF_3 12LL /**< ResCtrlRef value of Channel 3 */
329 kGb = ((s64)Gb * 1000LL) >> 10ULL; in mlx90632_preprocess_temp_amb()
330 VR_Ta = (s64)ambient_old_raw * 1000000LL + in mlx90632_preprocess_temp_amb()
331 kGb * div64_s64(((s64)ambient_new_raw * 1000LL), in mlx90632_preprocess_temp_amb()
334 div64_s64(((s64)ambient_new_raw * 1000000000000LL), in mlx90632_preprocess_temp_amb()
336 return div64_s64(tmp << 19ULL, 1000LL); in mlx90632_preprocess_temp_amb()
345 kKa = ((s64)Ka * 1000LL) >> 10ULL; in mlx90632_preprocess_temp_obj()
346 VR_IR = (s64)ambient_old_raw * 1000000LL + in mlx90632_preprocess_temp_obj()
347 kKa * div64_s64(((s64)ambient_new_raw * 1000LL), in mlx90632_preprocess_temp_obj()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/Documentation/isdn/
DINTERFACE.fax7 The communication between linklevel (LL) and hardwarelevel (HL) for fax
9 This struct is allocated in the LL.
10 In order to use fax, the LL provides the pointer to this struct with the
18 In receive-mode the LL-driver takes care of the bit-order conversion
24 capability-values and the command-codes between LL and HL.
27 is in this struct set by the LL.
28 To signal information to the LL, the HL-driver has to set the
59 Defines the actual state of fax connection. Set by HL or LL
61 If the phase changes because of an AT command, the LL driver
71 Commands from LL to HL; possible constants :
[all …]

12345678910>>...162