| /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 …]
|
| /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 …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | low_latency.c | 22 struct iwl_mld_low_latency *ll = &mld->low_latency; in iwl_mld_calc_low_latency() local 33 if (!ll->window_start[mac_id]) in iwl_mld_calc_low_latency() 37 time_after(timestamp, ll->window_start[mac_id] + in iwl_mld_calc_low_latency() 41 ll->window_start[mac_id] = timestamp; in iwl_mld_calc_low_latency() 131 struct iwl_mld_low_latency *ll = &mld->low_latency; in iwl_mld_low_latency_init() local 134 ll->pkts_counters = kcalloc(mld->trans->info.num_rxqs, in iwl_mld_low_latency_init() 135 sizeof(*ll->pkts_counters), GFP_KERNEL); in iwl_mld_low_latency_init() 136 if (!ll->pkts_counters) in iwl_mld_low_latency_init() 140 spin_lock_init(&ll->pkts_counters[q].lock); in iwl_mld_low_latency_init() 142 wiphy_delayed_work_init(&ll->work, iwl_mld_low_latency_wk); in iwl_mld_low_latency_init() [all …]
|
| /linux/drivers/md/persistent-data/ |
| 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() 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() 163 r = sm_ll_commit(&smd->ll); in sm_disk_commit() [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() 458 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, smm->begin, smm->ll.nr_blocks, b); in sm_metadata_new_block_() [all …]
|
| /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 …]
|
| /linux/include/linux/ |
| H A D | math64.h | 207 u64 ll; in mul_u64_u64_shr() member 218 a0.ll = a; in mul_u64_u64_shr() 219 b0.ll = b; in mul_u64_u64_shr() 221 rl.ll = mul_u32_u32(a0.l.low, b0.l.low); in mul_u64_u64_shr() 222 rm.ll = mul_u32_u32(a0.l.low, b0.l.high); in mul_u64_u64_shr() 223 rn.ll = mul_u32_u32(a0.l.high, b0.l.low); in mul_u64_u64_shr() 224 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr() 240 return rl.ll; in mul_u64_u64_shr() 242 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr() 243 return rh.ll >> (shift & 63); in mul_u64_u64_shr() [all …]
|
| H A D | math.h | 51 #define DIV_ROUND_DOWN_ULL(ll, d) \ argument 52 ({ unsigned long long _tmp = (ll); do_div(_tmp, d); _tmp; }) 54 #define DIV_ROUND_UP_ULL(ll, d) \ argument 55 DIV_ROUND_DOWN_ULL((unsigned long long)(ll) + (d) - 1, (d)) 58 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP_ULL(ll, d) argument 60 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP(ll,d) argument
|
| /linux/arch/microblaze/lib/ |
| H A D | muldi3.c | 43 __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()
|
| H A D | cmpdi2.c | 9 .ll = a in __cmpdi2() 12 .ll = b in __cmpdi2()
|
| H A D | ucmpdi2.c | 8 const DWunion au = {.ll = a}; in __ucmpdi2() 9 const DWunion bu = {.ll = b}; in __ucmpdi2()
|
| H A D | ashldi3.c | 14 uu.ll = u; in __ashldi3() 27 return w.ll; in __ashldi3()
|
| H A D | lshrdi3.c | 14 uu.ll = u; in __lshrdi3() 27 return w.ll; in __lshrdi3()
|
| /linux/lib/ |
| H A D | muldi3.c | 45 __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()
|
| H A D | ucmpdi2.c | 10 const DWunion au = {.ll = a}; in __ucmpdi2() 11 const DWunion bu = {.ll = b}; in __ucmpdi2()
|
| H A D | cmpdi2.c | 12 .ll = a in __cmpdi2() 15 .ll = b in __cmpdi2()
|
| /linux/arch/powerpc/kernel/ |
| H A D | align.c | 111 u64 ll; in emulate_spe() member 139 data.ll = 0; in emulate_spe() 165 temp.ll = data.ll = 0; in emulate_spe() 192 data.ll = temp.ll; in emulate_spe() 230 data.ll = swab64(data.ll); in emulate_spe()
|
| /linux/arch/powerpc/boot/dts/ |
| H A D | ps3.dts | 21 * We'll get the size of the bootmem block from lv1 after startup, 22 * so we'll put a null entry here. 34 * we'll put a null entries here. These will be initialized after 38 * threads is with an ibm,ppc-interrupt-server#s entry. We'll put one
|
| /linux/tools/testing/selftests/net/ |
| H A D | psock_tpacket.c | 70 struct sockaddr_ll ll; member 377 struct sockaddr_ll ll = { in walk_tx() local 403 ll.sll_ifindex = if_nametoindex("lo"); in walk_tx() 404 ret = bind(rcv_sock, (struct sockaddr *) &ll, sizeof(ll)); in walk_tx() 732 ring->ll.sll_family = PF_PACKET; in bind_ring() 733 ring->ll.sll_protocol = htons(ETH_P_ALL); in bind_ring() 734 ring->ll.sll_ifindex = if_nametoindex("lo"); in bind_ring() 735 ring->ll.sll_hatype = 0; in bind_ring() 736 ring->ll.sll_pkttype = 0; in bind_ring() 737 ring->ll.sll_halen = 0; in bind_ring() [all …]
|
| /linux/drivers/media/dvb-core/ |
| H A D | dvb_vb2.c | 258 int ll = 0; in dvb_vb2_fill_buffer() local 293 ll = min(todo, ctx->remain); in dvb_vb2_fill_buffer() 295 memcpy(vbuf + ctx->offset, psrc, ll); in dvb_vb2_fill_buffer() 296 todo -= ll; in dvb_vb2_fill_buffer() 297 psrc += ll; in dvb_vb2_fill_buffer() 299 ctx->remain -= ll; in dvb_vb2_fill_buffer() 300 ctx->offset += ll; in dvb_vb2_fill_buffer() 310 vb2_set_plane_payload(&ctx->buf->vb, 0, ll); in dvb_vb2_fill_buffer()
|
| /linux/drivers/net/wireless/ti/wl1251/ |
| H A D | Kconfig | 11 If you choose to build a module, it'll be called wl1251. Say 22 If you choose to build a module, it'll be called wl1251_spi. 33 If you choose to build a module, it'll be called
|
| /linux/drivers/nfc/pn533/ |
| H A D | Kconfig | 16 If you choose to build a module, it'll be called pn533_usb. 27 If you choose to build a module, it'll be called pn533_i2c. 38 If you choose to build a module, it'll be called pn532_uart.
|
| /linux/drivers/net/wireless/intersil/p54/ |
| H A D | Kconfig | 15 If you choose to build a module, it'll be called p54common. 27 If you choose to build a module, it'll be called p54usb. 41 If you choose to build a module, it'll be called p54pci. 50 If you choose to build a module, it'll be called p54spi.
|