/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-space-map-common.c | 194 static int sm_ll_init(struct ll_disk *ll, struct dm_transaction_manager *tm) in sm_ll_init() argument 196 memset(ll, 0, sizeof(struct ll_disk)); in sm_ll_init() 198 ll->tm = tm; in sm_ll_init() 200 ll->bitmap_info.tm = tm; in sm_ll_init() 201 ll->bitmap_info.levels = 1; in sm_ll_init() 208 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); in sm_ll_init() 209 ll->bitmap_info.value_type.inc = NULL; in sm_ll_init() 210 ll->bitmap_info.value_type.dec = NULL; in sm_ll_init() 211 ll->bitmap_info.value_type.equal = NULL; in sm_ll_init() 213 ll->ref_count_info.tm = tm; in sm_ll_init() [all …]
|
H A D | dm-space-map-common.h | 51 typedef int (*load_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *result); 52 typedef int (*save_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *ie); 53 typedef int (*init_index_fn)(struct ll_disk *ll); 54 typedef int (*open_index_fn)(struct ll_disk *ll); 55 typedef dm_block_t (*max_index_entries_fn)(struct ll_disk *ll); 56 typedef int (*commit_fn)(struct ll_disk *ll); 118 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks); 119 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result); 120 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result); 121 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, [all …]
|
H A D | dm-space-map-disk.c | 28 struct ll_disk ll; member 46 return sm_ll_extend(&smd->ll, extra_blocks); in sm_disk_extend() 72 return sm_ll_lookup(&smd->ll, b, result); in sm_disk_get_count() 97 r = sm_ll_insert(&smd->ll, b, count, &nr_allocations); in sm_disk_set_count() 110 r = sm_ll_inc(&smd->ll, b, e, &nr_allocations); in sm_disk_inc_blocks() 123 r = sm_ll_dec(&smd->ll, b, e, &nr_allocations); in sm_disk_dec_blocks() 137 * Any block we allocate has to be free in both the old and current ll. in sm_disk_new_block() 139 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b); in sm_disk_new_block() 145 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, 0, smd->begin, b); in sm_disk_new_block() 151 r = sm_ll_inc(&smd->ll, *b, *b + 1, &nr_allocations); in sm_disk_new_block() [all …]
|
H A D | dm-space-map-metadata.c | 171 struct ll_disk ll; member 202 r = sm_ll_inc(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop() 206 r = sm_ll_dec(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop() 287 *count = smm->ll.nr_blocks; in sm_metadata_get_nr_blocks() 333 r = sm_ll_lookup(&smm->ll, b, result); in sm_metadata_get_count() 379 r = sm_ll_lookup_bitmap(&smm->ll, b, &rc); in sm_metadata_count_is_more_than_one() 407 r = sm_ll_insert(&smm->ll, b, count, &nr_allocations); in sm_metadata_set_count() 425 r = sm_ll_inc(&smm->ll, b, e, &nr_allocations); in sm_metadata_inc_blocks() 442 r = sm_ll_dec(&smm->ll, b, e, &nr_allocations); in sm_metadata_dec_blocks() 456 * Any block we allocate has to be free in both the old and current ll. in sm_metadata_new_block_() [all …]
|
/openbmc/linux/drivers/bluetooth/ |
H A D | hci_ll.c | 89 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 …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_subreg.c | 29 r0 = 0x100000000 ll; \ in add32_reg_zero_extend_check() 45 r1 = 0x1000000000 ll; \ in add32_imm_zero_extend_check() 57 r1 = 0x1000000000 ll; \ in add32_imm_zero_extend_check() 76 r0 = 0x1ffffffff ll; \ in sub32_reg_zero_extend_check() 92 r1 = 0x1000000000 ll; \ in sub32_imm_zero_extend_check() 98 r1 = 0x1000000000 ll; \ in sub32_imm_zero_extend_check() 117 r0 = 0x100000001 ll; \ in mul32_reg_zero_extend_check() 133 r1 = 0x1000000000 ll; \ in mul32_imm_zero_extend_check() 139 r1 = 0x1000000000 ll; \ in mul32_imm_zero_extend_check() 174 r1 = 0x1000000000 ll; \ in div32_imm_zero_extend_check() [all …]
|
H A D | verifier_runtime_jit.c | 59 r2 = %[map_prog1_socket] ll; \ in dummy_prog_loop1_socket() 75 r2 = %[map_prog2_socket] ll; \ in dummy_prog_loop2_socket() 92 r2 = %[map_prog1_socket] ll; \ in call_within_bounds_prog_once() 109 r2 = %[map_prog1_socket] ll; \ in call_within_bounds_prog_loop() 126 r2 = %[map_prog1_socket] ll; \ in call_within_bounds_no_prog() 143 r2 = %[map_prog1_socket] ll; \ in call_within_bounds_key_2() 164 r2 = %[map_prog1_socket] ll; \ in _2_key_2_first_branch() 167 r2 = %[map_prog1_socket] ll; \ in _2_key_2_first_branch() 189 r2 = %[map_prog1_socket] ll; \ in _2_key_2_second_branch() 192 r2 = %[map_prog1_socket] ll; \ in _2_key_2_second_branch() [all …]
|
H A D | verifier_helper_value_access.c | 51 r1 = %[map_hash_48b] ll; \ in access_to_map_full_range() 77 r1 = %[map_hash_48b] ll; \ in access_to_map_partial_range() 102 r1 = %[map_hash_48b] ll; \ in access_to_map_empty_range() 126 r1 = %[map_hash_48b] ll; \ in map_out_of_bound_range() 152 r1 = %[map_hash_48b] ll; \ in access_to_map_negative_range() 177 r1 = %[map_hash_48b] ll; \ in via_const_imm_full_range() 205 r1 = %[map_hash_48b] ll; \ in via_const_imm_partial_range() 232 r1 = %[map_hash_48b] ll; \ in via_const_imm_empty_range() 258 r1 = %[map_hash_48b] ll; \ in imm_out_of_bound_range() 286 r1 = %[map_hash_48b] ll; \ in const_imm_negative_range_adjustment_1() [all …]
|
H A D | verifier_value_ptr_arith.c | 56 r1 = %[map_hash_16b] ll; \ in value_ptr_unknown_vs_const() 58 l0_%=: r1 = %[map_array_48b] ll; \ in value_ptr_unknown_vs_const() 94 r1 = %[map_hash_16b] ll; \ in value_ptr_const_vs_unknown() 96 l0_%=: r1 = %[map_array_48b] ll; \ in value_ptr_const_vs_unknown() 132 r1 = %[map_hash_16b] ll; \ in ptr_const_vs_const_ne() 134 l0_%=: r1 = %[map_array_48b] ll; \ in ptr_const_vs_const_ne() 166 r1 = %[map_hash_16b] ll; \ in ptr_const_vs_const_eq() 168 l0_%=: r1 = %[map_array_48b] ll; \ in ptr_const_vs_const_eq() 200 r1 = %[map_hash_16b] ll; \ in ptr_unknown_vs_unknown_eq() 202 l0_%=: r1 = %[map_array_48b] ll; \ in ptr_unknown_vs_unknown_eq() [all …]
|
/openbmc/linux/drivers/net/ethernet/amd/ |
H A D | a2065.c | 107 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 …]
|
H A D | declance.c | 254 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 …]
|
/openbmc/linux/drivers/misc/ti-st/ |
H A D | st_ll.c | 4 * 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 …]
|
/openbmc/qemu/target/sparc/ |
H A D | vis_helper.c | 90 uint64_t ll; member 108 d.ll = 0; in helper_fpmerge() 119 return d.ll; in helper_fpmerge() 133 d.ll = src2; in helper_fmul8x16() 140 return d.ll; in helper_fmul8x16() 149 d.ll = 0; in helper_fmul8x16a() 156 return d.ll; in helper_fmul8x16a() 163 s.ll = src1; in helper_fmul8sux16() 164 d.ll = src2; in helper_fmul8sux16() 171 return d.ll; in helper_fmul8sux16() [all …]
|
/openbmc/u-boot/arch/nios2/lib/ |
H A D | libgcc.c | 29 DWtype ll; member 56 const DWunion uu = {.ll = u}; in __ashldi3() 73 return w.ll; in __ashldi3() 82 const DWunion uu = {.ll = u}; in __ashrdi3() 100 return w.ll; in __ashrdi3() 109 const DWunion uu = {.ll = u}; in __lshrdi3() 126 return w.ll; in __lshrdi3() 132 const DWunion au = {.ll = a}; in __cmpdi2() 133 const DWunion bu = {.ll = b}; in __cmpdi2() 149 const DWunion nn = {.ll = n}; in __udivmoddi4() [all …]
|
/openbmc/linux/drivers/media/radio/ |
H A D | radio-tea5777.c | 35 #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 …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | atomic.h | 44 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument 62 "1: " #ll " %0, %1 # " #pfx "_" #op " \n" \ 71 #define ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ argument 92 "1: " #ll " %1, %2 # " #pfx "_" #op "_return\n" \ 105 #define ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument 125 "1: " #ll " %1, %2 # " #pfx "_fetch_" #op "\n" \ 139 #define ATOMIC_OPS(pfx, op, type, c_op, asm_op, ll, sc) \ argument 140 ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ 141 ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ 142 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) [all …]
|
/openbmc/u-boot/include/linux/ |
H A D | math64.h | 186 u64 ll; in mul_u64_u64_shr() member 197 a0.ll = a; in mul_u64_u64_shr() 198 b0.ll = b; in mul_u64_u64_shr() 200 rl.ll = mul_u32_u32(a0.l.low, b0.l.low); in mul_u64_u64_shr() 201 rm.ll = mul_u32_u32(a0.l.low, b0.l.high); in mul_u64_u64_shr() 202 rn.ll = mul_u32_u32(a0.l.high, b0.l.low); in mul_u64_u64_shr() 203 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr() 215 * The 128-bit result of the multiplication is in rl.ll and rh.ll, in mul_u64_u64_shr() 219 return rl.ll; in mul_u64_u64_shr() 221 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr() [all …]
|
/openbmc/linux/include/linux/mlx4/ |
H A D | device.h | 155 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 …]
|
/openbmc/linux/include/linux/ |
H A D | math64.h | 200 u64 ll; in mul_u64_u64_shr() member 211 a0.ll = a; in mul_u64_u64_shr() 212 b0.ll = b; in mul_u64_u64_shr() 214 rl.ll = mul_u32_u32(a0.l.low, b0.l.low); in mul_u64_u64_shr() 215 rm.ll = mul_u32_u32(a0.l.low, b0.l.high); in mul_u64_u64_shr() 216 rn.ll = mul_u32_u32(a0.l.high, b0.l.low); in mul_u64_u64_shr() 217 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr() 229 * The 128-bit result of the multiplication is in rl.ll and rh.ll, in mul_u64_u64_shr() 233 return rl.ll; in mul_u64_u64_shr() 235 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr() [all …]
|
/openbmc/openbmc/meta-facebook/recipes-fb/network-wait-ipv6-ll/network-wait-ipv6-ll/ |
H A D | check-ipv6-ll | 5 ll="" 28 echo "non-global mac address, start fix $eth_intf ipv6-ll" 40 echo "expected ipv6-ll: $exp_ll" 41 ll=$(get_ll) 42 if [ "$ll" == "$exp_ll" ]; then 60 # wait for ipv6-ll to be generated 61 if [ "$ll" != "$exp_ll" ]; then 64 ll=$(get_ll) 65 if [ "$ll" == "$exp_ll" ]; then
|
/openbmc/linux/drivers/iio/temperature/ |
H A D | mlx90632.c | 131 #define MLX90632_REF_12 12LL /* ResCtrlRef value of Ch 1 or Ch 2 */ 132 #define MLX90632_REF_3 12LL /* ResCtrlRef value of Channel 3 */ 674 kGb = ((s64)Gb * 1000LL) >> 10ULL; in mlx90632_preprocess_temp_amb() 675 VR_Ta = (s64)ambient_old_raw * 1000000LL + in mlx90632_preprocess_temp_amb() 676 kGb * div64_s64(((s64)ambient_new_raw * 1000LL), in mlx90632_preprocess_temp_amb() 679 div64_s64(((s64)ambient_new_raw * 1000000000000LL), in mlx90632_preprocess_temp_amb() 681 return div64_s64(tmp << 19ULL, 1000LL); in mlx90632_preprocess_temp_amb() 690 kKa = ((s64)Ka * 1000LL) >> 10ULL; in mlx90632_preprocess_temp_obj() 691 VR_IR = (s64)ambient_old_raw * 1000000LL + in mlx90632_preprocess_temp_obj() 692 kKa * div64_s64(((s64)ambient_new_raw * 1000LL), in mlx90632_preprocess_temp_obj() [all …]
|
/openbmc/linux/lib/ |
H A D | test-kstrtox.c | 241 {"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 …]
|
/openbmc/qemu/tests/qtest/ |
H A D | rtc-test.c | 135 * It's also possible that we'll cross an edge reading the host clock so in check_time() 375 clock_step(1000000000LL); in basic_12h_bcd() 377 clock_step(59000000000LL); in basic_12h_bcd() 382 clock_step(60000000000LL); in basic_12h_bcd() 387 clock_step(1000000000LL); in basic_12h_bcd() 392 clock_step(1000000000LL); in basic_12h_bcd() 397 clock_step(1000000000LL); in basic_12h_bcd() 403 clock_step(1000000000LL); in basic_12h_bcd() 412 clock_step(1000000000LL); in basic_12h_dec() 414 clock_step(59000000000LL); in basic_12h_dec() [all …]
|
/openbmc/openbmc/meta-facebook/recipes-fb/network-wait-ipv6-ll/ |
H A D | network-wait-ipv6-ll_0.1.bb | 12 file://check-ipv6-ll \ 13 file://network-wait-ipv6-ll@.service \ 18 install -m 0755 ${UNPACKDIR}/check-ipv6-ll ${D}${libexecdir} 24 NCSI_WAIT_IPV6_LL_INSTFMT="../network-wait-ipv6-ll@.service:${TGT}.wants/network-wait-ipv6-ll@{0}.s… 26 SYSTEMD_SERVICE:${PN} += "network-wait-ipv6-ll@.service"
|
/openbmc/qemu/target/mips/tcg/ |
H A D | op_helper.c | 70 if (tmp0 & (1LL << (i + 16))) { in helper_rotx() 71 tmp1 |= 1LL << i; in helper_rotx() 73 tmp1 &= ~(1LL << i); in helper_rotx() 88 if (tmp1 & (1LL << (i + 8))) { in helper_rotx() 89 tmp2 |= 1LL << i; in helper_rotx() 91 tmp2 &= ~(1LL << i); in helper_rotx() 105 if (tmp2 & (1LL << (i + 4))) { in helper_rotx() 106 tmp3 |= 1LL << i; in helper_rotx() 108 tmp3 &= ~(1LL << i); in helper_rotx() 122 if (tmp3 & (1LL << (i + 2))) { in helper_rotx() [all …]
|