Home
last modified time | relevance | path

Searched refs:ll (Results 1 – 25 of 66) sorted by relevance

123

/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()
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()
162 r = sm_ll_commit(&smd->ll); in sm_disk_commit()
[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()
455 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 …]
/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 …]
/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 …]
/drivers/misc/ti-st/
Dst_ll.c86 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()
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()
103 ll->ll_state = ST_LL_ASLEEP_TO_AWAKE; in st_ll_wakeup()
111 unsigned long st_ll_getstate(struct st_data_s *ll) in st_ll_getstate() argument
113 pr_debug(" returning state %ld", ll->ll_state); in st_ll_getstate()
[all …]
/drivers/media/dvb-core/
Ddvb_vb2.c265 int ll = 0; in dvb_vb2_fill_buffer() local
300 ll = min(todo, ctx->remain); in dvb_vb2_fill_buffer()
302 memcpy(vbuf + ctx->offset, psrc, ll); in dvb_vb2_fill_buffer()
303 todo -= ll; in dvb_vb2_fill_buffer()
304 psrc += ll; in dvb_vb2_fill_buffer()
306 ctx->remain -= ll; in dvb_vb2_fill_buffer()
307 ctx->offset += ll; in dvb_vb2_fill_buffer()
317 vb2_set_plane_payload(&ctx->buf->vb, 0, ll); in dvb_vb2_fill_buffer()
/drivers/net/wireless/ti/wl1251/
DKconfig11 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
/drivers/nfc/pn533/
DKconfig16 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.
/drivers/net/wireless/intersil/p54/
DKconfig15 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.
/drivers/crypto/keembay/
Docs-aes.c1423 struct ocs_dma_linked_list *ll = NULL; in ocs_create_linked_list_from_sg() local
1473 ll = dll_desc->vaddr; in ocs_create_linked_list_from_sg()
1475 ll[i].src_addr = sg_dma_address(sg) + data_offset; in ocs_create_linked_list_from_sg()
1476 ll[i].src_len = (sg_dma_len(sg) - data_offset) < data_size ? in ocs_create_linked_list_from_sg()
1479 data_size -= ll[i].src_len; in ocs_create_linked_list_from_sg()
1481 ll[i].next = dll_desc->dma_addr + (sizeof(*ll) * (i + 1)); in ocs_create_linked_list_from_sg()
1482 ll[i].ll_flags = 0; in ocs_create_linked_list_from_sg()
1485 ll[i - 1].next = 0; in ocs_create_linked_list_from_sg()
1486 ll[i - 1].ll_flags = OCS_LL_DMA_FLAG_TERMINATE; in ocs_create_linked_list_from_sg()
/drivers/isdn/mISDN/
Dl1oip_core.c873 int l, ll; in handle_dmsg() local
896 ll = (l < MAX_DFRAME_LEN_L1) ? l : MAX_DFRAME_LEN_L1; in handle_dmsg()
898 hc->chan[dch->slot].tx_counter++, p, ll); in handle_dmsg()
899 p += ll; in handle_dmsg()
900 l -= ll; in handle_dmsg()
1092 int l, ll; in handle_bmsg() local
1138 ll = (l < MAX_DFRAME_LEN_L1) ? l : MAX_DFRAME_LEN_L1; in handle_bmsg()
1140 hc->chan[bch->slot].tx_counter, p, ll); in handle_bmsg()
1141 hc->chan[bch->slot].tx_counter += ll; in handle_bmsg()
1142 p += ll; in handle_bmsg()
[all …]
/drivers/nfc/st-nci/
DKconfig18 If you choose to build a module, it'll be called st-nci_i2c.
30 If you choose to build a module, it'll be called st-nci_spi.
/drivers/nfc/pn544/
DKconfig18 If you choose to build a module, it'll be called pn544_i2c.
30 If you choose to build a module, it'll be called pn544_mei.
/drivers/nfc/microread/
DKconfig19 If you choose to build a module, it'll be called microread_i2c.
31 If you choose to build a module, it'll be called microread_mei.
/drivers/edac/
Dmce_amd.c506 u8 ll = LL(ec); in f12h_mc0_mce() local
509 if (ll == LL_L2) in f12h_mc0_mce()
511 else if (ll == LL_L1) in f12h_mc0_mce()
666 u8 ll = LL(ec); in k8_mc1_mce() local
672 if (ll == 0x2) in k8_mc1_mce()
674 else if (ll == 0x1) { in k8_mc1_mce()
/drivers/net/wireless/ti/wlcore/
DKconfig24 If you choose to build a module, it'll be called wlcore_spi.
35 If you choose to build a module, it'll be called wlcore_sdio.
/drivers/scsi/isci/
Dphy.c381 struct scu_link_layer_registers __iomem *ll) in sci_phy_initialize() argument
387 sci_phy_link_layer_initialization(iphy, ll); in sci_phy_initialize()
1198 struct scu_link_layer_registers __iomem *ll = iphy->link_layer_registers; in scu_link_layer_start_oob() local
1202 val = readl(&ll->phy_configuration); in scu_link_layer_start_oob()
1206 writel(val, &ll->phy_configuration); in scu_link_layer_start_oob()
1207 readl(&ll->phy_configuration); /* flush */ in scu_link_layer_start_oob()
1211 val = readl(&ll->phy_configuration); in scu_link_layer_start_oob()
1213 writel(val, &ll->phy_configuration); in scu_link_layer_start_oob()
1214 readl(&ll->phy_configuration); /* flush */ in scu_link_layer_start_oob()
/drivers/usb/c67x00/
DMakefile8 c67x00-y := c67x00-drv.o c67x00-ll-hpi.o c67x00-hcd.o c67x00-sched.o
/drivers/dma/dw-edma/
Ddw-edma-v0-core.c164 #define SET_LL_32(ll, value) \ argument
165 writel(value, ll)
225 #define SET_LL_64(ll, value) \ argument
226 writeq(value, ll)
/drivers/net/wireless/ath/wcn36xx/
DKconfig11 If you choose to build a module, it'll be called wcn36xx.
/drivers/nfc/st21nfca/
DKconfig18 If you choose to build a module, it'll be called st21nfca_i2c.
/drivers/infiniband/hw/mlx5/
Dmain.c279 enum rdma_link_layer ll = mlx5_ib_port_link_layer(&ibdev->ib_dev, in mlx5_ib_get_native_port_mdev() local
286 ll != IB_LINK_LAYER_ETHERNET) { in mlx5_ib_get_native_port_mdev()
313 enum rdma_link_layer ll = mlx5_ib_port_link_layer(&ibdev->ib_dev, in mlx5_ib_put_native_port_mdev() local
318 if (!mlx5_core_mp_enabled(ibdev->mdev) || ll != IB_LINK_LAYER_ETHERNET) in mlx5_ib_put_native_port_mdev()
2908 enum rdma_link_layer ll = mlx5_ib_port_link_layer(ibdev, 1); in get_core_cap_flags() local
2917 if (ll == IB_LINK_LAYER_INFINIBAND) in get_core_cap_flags()
2943 enum rdma_link_layer ll = mlx5_ib_port_link_layer(ibdev, port_num); in mlx5_port_immutable() local
2951 if (ll == IB_LINK_LAYER_INFINIBAND) { in mlx5_port_immutable()
3244 enum rdma_link_layer ll = mlx5_ib_port_link_layer(&dev->ib_dev, in mlx5_ib_init_multiport_master() local
3250 if (!mlx5_core_is_mp_master(dev->mdev) || ll != IB_LINK_LAYER_ETHERNET) in mlx5_ib_init_multiport_master()
[all …]

123