/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | mad.c | 1028 enum rdma_link_layer ll; local 1031 ll = rdma_port_get_link_layer(&dev->ib_dev, p + 1); 1033 if (ll == IB_LINK_LAYER_INFINIBAND) {
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | cq.c | 169 enum rdma_link_layer ll = rdma_port_get_link_layer(qp->ibqp.device, 1); local 239 if (ll != IB_LINK_LAYER_ETHERNET) {
|
H A D | main.c | 280 enum rdma_link_layer ll = mlx5_ib_port_link_layer(&ibdev->ib_dev, local 287 ll != IB_LINK_LAYER_ETHERNET) { 301 /* If it's the master no need to refcount, it'll exist 314 enum rdma_link_layer ll = mlx5_ib_port_link_layer(&ibdev->ib_dev, local 319 if (!mlx5_core_mp_enabled(ibdev->mdev) || ll != IB_LINK_LAYER_ETHERNET) 2927 enum rdma_link_layer ll = mlx5_ib_port_link_layer(ibdev, 1); local 2936 if (ll == IB_LINK_LAYER_INFINIBAND) 2962 enum rdma_link_layer ll = mlx5_ib_port_link_layer(ibdev, port_num); local 2970 if (ll == IB_LINK_LAYER_INFINIBAND) { 3312 enum rdma_link_layer ll local 3380 enum rdma_link_layer ll = mlx5_ib_port_link_layer(&dev->ib_dev, local 3998 enum rdma_link_layer ll; local 4028 enum rdma_link_layer ll; local 4418 enum rdma_link_layer ll; local [all...] |
/linux-master/drivers/isdn/mISDN/ |
H A D | l1oip_core.c | 873 int l, ll; local 896 ll = (l < MAX_DFRAME_LEN_L1) ? l : MAX_DFRAME_LEN_L1; 898 hc->chan[dch->slot].tx_counter++, p, ll); 899 p += ll; 900 l -= ll; 1092 int l, ll; local 1138 ll = (l < MAX_DFRAME_LEN_L1) ? l : MAX_DFRAME_LEN_L1; 1140 hc->chan[bch->slot].tx_counter, p, ll); 1141 hc->chan[bch->slot].tx_counter += ll; 1142 p += ll; [all...] |
/linux-master/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) argument 196 memset(ll, 0, sizeof(struct ll_disk)); 198 ll->tm = tm; 200 ll->bitmap_info.tm = tm; 201 ll->bitmap_info.levels = 1; 208 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); 209 ll->bitmap_info.value_type.inc = NULL; 210 ll->bitmap_info.value_type.dec = NULL; 211 ll->bitmap_info.value_type.equal = NULL; 213 ll 237 sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks) argument 280 sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result) argument 309 sm_ll_lookup_big_ref_count(struct ll_disk *ll, dm_block_t b, uint32_t *result) argument 324 sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result) argument 337 sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, dm_block_t end, dm_block_t *result) argument 422 sm_ll_insert(struct ll_disk *ll, dm_block_t b, uint32_t ref_count, int32_t *nr_allocations) argument 527 exit_inc_context(struct ll_disk *ll, struct inc_context *ic) argument 535 reset_inc_context(struct ll_disk *ll, struct inc_context *ic) argument 551 __sm_ll_inc_overflow(struct ll_disk *ll, dm_block_t b, struct inc_context *ic) argument 584 sm_ll_inc_overflow(struct ll_disk *ll, dm_block_t b, struct inc_context *ic) argument 609 shadow_bitmap(struct ll_disk *ll, struct inc_context *ic) argument 629 ensure_bitmap(struct ll_disk *ll, struct inc_context *ic) argument 647 sm_ll_inc_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t bit, uint32_t bit_end, int32_t *nr_allocations, dm_block_t *new_b, struct inc_context *ic) argument 716 __sm_ll_inc(struct ll_disk *ll, dm_block_t b, dm_block_t e, int32_t *nr_allocations, dm_block_t *new_b) argument 746 sm_ll_inc(struct ll_disk *ll, dm_block_t b, dm_block_t e, int32_t *nr_allocations) argument 762 __sm_ll_del_overflow(struct ll_disk *ll, dm_block_t b, struct inc_context *ic) argument 770 __sm_ll_dec_overflow(struct ll_disk *ll, dm_block_t b, struct inc_context *ic, uint32_t *old_rc) argument 804 sm_ll_dec_overflow(struct ll_disk *ll, dm_block_t b, struct inc_context *ic, uint32_t *old_rc) argument 840 sm_ll_dec_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t bit, uint32_t bit_end, struct inc_context *ic, int32_t *nr_allocations, dm_block_t *new_b) argument 899 __sm_ll_dec(struct ll_disk *ll, dm_block_t b, dm_block_t e, int32_t *nr_allocations, dm_block_t *new_b) argument 928 sm_ll_dec(struct ll_disk *ll, dm_block_t b, dm_block_t e, int32_t *nr_allocations) argument 944 sm_ll_commit(struct ll_disk *ll) argument 959 metadata_ll_load_ie(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *ie) argument 966 metadata_ll_save_ie(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *ie) argument 974 metadata_ll_init_index(struct ll_disk *ll) argument 990 metadata_ll_open(struct ll_disk *ll) argument 1006 metadata_ll_max_entries(struct ll_disk *ll) argument 1011 metadata_ll_commit(struct ll_disk *ll) argument 1028 sm_ll_new_metadata(struct ll_disk *ll, struct dm_transaction_manager *tm) argument 1057 sm_ll_open_metadata(struct ll_disk *ll, struct dm_transaction_manager *tm, void *root_le, size_t len) argument 1095 ie_cache_writeback(struct ll_disk *ll, struct ie_cache *iec) argument 1108 disk_ll_load_ie(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *ie) argument 1139 disk_ll_save_ie(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *ie) argument 1168 disk_ll_init_index(struct ll_disk *ll) argument 1181 disk_ll_open(struct ll_disk *ll) argument 1186 disk_ll_max_entries(struct ll_disk *ll) argument 1191 disk_ll_commit(struct ll_disk *ll) argument 1206 sm_ll_new_disk(struct ll_disk *ll, struct dm_transaction_manager *tm) argument 1235 sm_ll_open_disk(struct ll_disk *ll, struct dm_transaction_manager *tm, void *root_le, size_t len) argument [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_ [all...] |
H A D | dm-space-map-disk.c | 28 struct ll_disk ll; member in struct:sm_disk 46 return sm_ll_extend(&smd->ll, extra_blocks); 72 return sm_ll_lookup(&smd->ll, b, result); 97 r = sm_ll_insert(&smd->ll, b, count, &nr_allocations); 110 r = sm_ll_inc(&smd->ll, b, e, &nr_allocations); 123 r = sm_ll_dec(&smd->ll, b, e, &nr_allocations); 137 * Any block we allocate has to be free in both the old and current ll. 139 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b); 145 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, [all...] |
H A D | dm-space-map-metadata.c | 171 struct ll_disk ll; member in struct:sm_metadata 202 r = sm_ll_inc(&smm->ll, op->b, op->e, &nr_allocations); 206 r = sm_ll_dec(&smm->ll, op->b, op->e, &nr_allocations); 287 *count = smm->ll.nr_blocks; 333 r = sm_ll_lookup(&smm->ll, b, result); 379 r = sm_ll_lookup_bitmap(&smm->ll, b, &rc); 407 r = sm_ll_insert(&smm->ll, b, count, &nr_allocations); 425 r = sm_ll_inc(&smm->ll, b, e, &nr_allocations); 442 r = sm_ll_dec(&smm->ll, b, e, &nr_allocations); 456 * Any block we allocate has to be free in both the old and current ll [all...] |
/linux-master/drivers/media/dvb-core/ |
H A D | dvb_vb2.c | 258 int ll = 0; local 293 ll = min(todo, ctx->remain); 295 memcpy(vbuf + ctx->offset, psrc, ll); 296 todo -= ll; 297 psrc += ll; 299 ctx->remain -= ll; 300 ctx->offset += ll; 310 vb2_set_plane_payload(&ctx->buf->vb, 0, ll);
|
/linux-master/drivers/net/ethernet/amd/ |
H A D | a2065.c | 107 volatile struct lance_regs *ll; member in struct:lance_private 130 volatile struct lance_regs *ll = lp->ll; local 134 ll->rap = LE_CSR1; 135 ll->rdp = (leptr & 0xFFFF); 136 ll->rap = LE_CSR2; 137 ll->rdp = leptr >> 16; 138 ll->rap = LE_CSR3; 139 ll->rdp = lp->busmaster_regval; 142 ll 220 volatile struct lance_regs *ll = lp->ll; local 245 volatile struct lance_regs *ll = lp->ll; local 324 volatile struct lance_regs *ll = lp->ll; local 414 volatile struct lance_regs *ll = lp->ll; local 462 volatile struct lance_regs *ll = lp->ll; local 486 volatile struct lance_regs *ll = lp->ll; local 502 volatile struct lance_regs *ll = lp->ll; local 524 volatile struct lance_regs *ll = lp->ll; local 535 volatile struct lance_regs *ll = lp->ll; local 609 volatile struct lance_regs *ll = lp->ll; local [all...] |
H A D | declance.c | 254 volatile struct lance_regs *ll; member in struct:lance_private 305 volatile struct lance_regs *ll = lp->ll; local 313 writereg(&ll->rap, LE_CSR1); 314 writereg(&ll->rdp, (leptr & 0xFFFF)); 315 writereg(&ll->rap, LE_CSR2); 316 writereg(&ll->rdp, leptr >> 16); 317 writereg(&ll->rap, LE_CSR3); 318 writereg(&ll->rdp, lp->busmaster_regval); 321 writereg(&ll 529 volatile struct lance_regs *ll = lp->ll; local 647 volatile struct lance_regs *ll = lp->ll; local 738 volatile struct lance_regs *ll = lp->ll; local 784 volatile struct lance_regs *ll = lp->ll; local 842 volatile struct lance_regs *ll = lp->ll; local 873 volatile struct lance_regs *ll = lp->ll; local 890 volatile struct lance_regs *ll = lp->ll; local 901 volatile struct lance_regs *ll = lp->ll; local 976 volatile struct lance_regs *ll = lp->ll; local 1030 volatile struct lance_regs *ll; local [all...] |
/linux-master/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_main.c | 418 u8 ll = 0, nv = 0, idx = 0; local 524 ll = 1; 540 raw_desc->m0 = cpu_to_le64(SET_VAL(LL, ll) | SET_VAL(NV, nv) |
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_hw.h | 19 #define AQ_HW_MAC_COUNTER_HZ 312500000ll 20 #define AQ_HW_PHY_COUNTER_HZ 160000000ll
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_tc.c | 401 value = div_s64(qopt->idleslope * 1024ll * ptr, speed_div); 404 value = div_s64(-qopt->sendslope * 1024ll * ptr, speed_div); 407 value = qopt->hicredit * 1024ll * 8; 410 value = qopt->locredit * 1024ll * 8;
|
/linux-master/drivers/net/ethernet/xilinx/ |
H A D | ll_temac_main.c | 55 #include <linux/platform_data/xilinx-ll-temac.h> 1642 { .compatible = "xlnx,xps-ll-temac-1.01.b", }, 1643 { .compatible = "xlnx,xps-ll-temac-2.00.a", }, 1644 { .compatible = "xlnx,xps-ll-temac-2.02.a", }, 1645 { .compatible = "xlnx,xps-ll-temac-2.03.a", },
|
H A D | ll_temac_mdio.c | 17 #include <linux/platform_data/xilinx-ll-temac.h>
|
/linux-master/drivers/pci/controller/dwc/ |
H A D | pcie-designware.c | 964 struct dw_edma_region *ll; local 969 ll = &pci->edma.ll_region_wr[i]; 970 ll->sz = DMA_LLP_MEM_SIZE; 971 ll->vaddr.mem = dmam_alloc_coherent(pci->dev, ll->sz, 973 if (!ll->vaddr.mem) 976 ll->paddr = paddr; 980 ll = &pci->edma.ll_region_rd[i]; 981 ll->sz = DMA_LLP_MEM_SIZE; 982 ll [all...] |
/linux-master/drivers/power/supply/ |
H A D | max17042_battery.c | 331 data64 = data * 5000000ll; 340 data64 = data * 5000000ll; 349 data64 = data * 5000000ll; 358 data64 = sign_extend64(data, 15) * 5000000ll; 400 data64 = sign_extend64(data, 15) * 1562500ll; 412 data64 = sign_extend64(data, 15) * 1562500ll; 423 data64 = data * 1562500ll;
|
/linux-master/drivers/ptp/ |
H A D | ptp_idt82p33.c | 996 offset_regval = div_s64((s64)(-offset_ns) * 1000000000ll,
|
/linux-master/drivers/scsi/elx/libefc/ |
H A D | efc_fabric.c | 1109 (u32)(local_wwpn >> 32ll), 1276 * we'll expect a PLOGI on a separate
|
/linux-master/drivers/scsi/isci/ |
H A D | host.c | 2218 &ihost->scu_registers->peg0.pe[i].ll);
|
H A D | phy.c | 381 struct scu_link_layer_registers __iomem *ll) 387 sci_phy_link_layer_initialization(iphy, ll); 1198 struct scu_link_layer_registers __iomem *ll = iphy->link_layer_registers; local 1202 val = readl(&ll->phy_configuration); 1206 writel(val, &ll->phy_configuration); 1207 readl(&ll->phy_configuration); /* flush */ 1211 val = readl(&ll->phy_configuration); 1213 writel(val, &ll->phy_configuration); 1214 readl(&ll->phy_configuration); /* flush */ 379 sci_phy_initialize(struct isci_phy *iphy, struct scu_transport_layer_registers __iomem *tl, struct scu_link_layer_registers __iomem *ll) argument
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_init.c | 4150 u8 ll = 0; local 4176 ll = a->fc_ll_cc7; 4177 if (ll & FC_LL_VL || ll & FC_LL_L) { 4189 "SFP detect: %s-Range SFP %s (nvr=%x ll=%x lr=%x lrd=%x).\n", 4193 used_nvram, ll, ha->flags.lr_detected, ha->lr_distance);
|
/linux-master/drivers/tty/vt/ |
H A D | vt_ioctl.c | 912 ushort ll,cc; local 916 if (get_user(ll, &vtsizes->v_rows) || 926 __vc_resize(vc_cons[i].d, cc, ll, true); 1173 * normal operation. In this case, we'll also change back 1219 * user will try again, we'll detect the process is gone (unless 1245 * normal operation. In this case, we'll also change back
|
/linux-master/drivers/video/fbdev/mmp/fb/ |
H A D | mmpfb.c | 226 u64 div_result = 1000000000000ll; 251 u64 div_result = 1000000000000ll;
|