Home
last modified time | relevance | path

Searched refs:span (Results 1 – 25 of 28) sorted by relevance

12

/drivers/scsi/megaraid/
Dmegaraid_sas_fp.c137 u16 MR_LdSpanArrayGet(u32 ld, u32 span, struct MR_DRV_RAID_MAP_ALL *map) in MR_LdSpanArrayGet() argument
139 return le16_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span].span.arrayRef); in MR_LdSpanArrayGet()
162 static struct MR_LD_SPAN *MR_LdSpanPtrGet(u32 ld, u32 span, in MR_LdSpanPtrGet() argument
165 return &map->raidMap.ldSpanMap[ld].spanBlock[span].span; in MR_LdSpanPtrGet()
389 u32 span, j; in MR_GetSpanBlock() local
391 for (span = 0; span < raid->spanDepth; span++, pSpanBlock++) { in MR_GetSpanBlock()
409 return span; in MR_GetSpanBlock()
441 u32 span, info; in mr_spanset_get_span_block() local
453 for (span = 0; span < raid->spanDepth; span++) in mr_spanset_get_span_block()
454 if (le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. in mr_spanset_get_span_block()
[all …]
Dmbox_defs.h654 adap_span_40ld_t span[SPAN_DEPTH_8_SPANS]; member
667 adap_span_8ld_t span[SPAN_DEPTH_8_SPANS]; member
680 adap_span_8ld_t span[SPAN_DEPTH_4_SPANS]; member
Dmegaraid_sas_fusion.h762 struct MR_LD_SPAN span; member
Dmegaraid_sas_fusion.c2510 u8 span, physArm; in megasas_build_ld_nonrw_fusion() local
2562 span = physArm = 0; in megasas_build_ld_nonrw_fusion()
2563 arRef = MR_LdSpanArrayGet(ld, span, local_map_ptr); in megasas_build_ld_nonrw_fusion()
/drivers/iio/dac/
Dad5791.c69 int (*get_lin_comp) (unsigned int span);
213 static int ad5791_get_lin_comp(unsigned int span) in ad5791_get_lin_comp() argument
215 if (span <= 10000) in ad5791_get_lin_comp()
217 else if (span <= 12000) in ad5791_get_lin_comp()
219 else if (span <= 16000) in ad5791_get_lin_comp()
221 else if (span <= 19000) in ad5791_get_lin_comp()
227 static int ad5780_get_lin_comp(unsigned int span) in ad5780_get_lin_comp() argument
229 if (span <= 10000) in ad5780_get_lin_comp()
/drivers/staging/rtlwifi/btcoexist/
Dhalbtc8822b1ant.h433 u32 cent_freq, u32 offset, u32 span,
436 u32 cent_freq, u32 offset, u32 span,
440 u32 offset, u32 span, u32 seconds);
Dhalbtc8822b2ant.h496 u32 cent_freq, u32 offset, u32 span,
Dhalbtcoutsrc.h744 u32 offset, u32 span, u32 seconds);
Dhalbtc8822b1ant.c5223 u32 cent_freq, u32 offset, u32 span, in ex_btc8822b1ant_antenna_detection() argument
5229 u32 cent_freq, u32 offset, u32 span, in ex_btc8822b1ant_antenna_isolation() argument
5235 u32 offset, u32 span, u32 seconds) in ex_btc8822b1ant_psd_scan() argument
/drivers/usb/host/
Dehci-sched.c1216 iso_sched->span = urb->number_of_packets * stream->uperiod; in itd_sched_init()
1281 num_itds = 1 + (sched->span + 7) / 8; in itd_urb_transaction()
1498 u32 now, base, next, start, period, span, now2; in iso_stream_schedule() local
1507 span = sched->span; in iso_stream_schedule()
1509 span <<= 3; in iso_stream_schedule()
1634 if (skip >= span) { /* Entirely in the past? */ in iso_stream_schedule()
1636 urb, start + base, span - period, now2 + base, in iso_stream_schedule()
1640 skip = span - period; in iso_stream_schedule()
1644 skip = span; /* Skip the entire URB */ in iso_stream_schedule()
1661 if (unlikely(start + span - period >= mod + wrap)) { in iso_stream_schedule()
[all …]
Dfotg210.h489 unsigned span; member
Dfotg210-hcd.c4062 iso_sched->span = urb->number_of_packets * stream->interval; in itd_sched_init()
4119 num_itds = 1 + (sched->span + 7) / 8; in itd_urb_transaction()
4194 u32 now, next, start, period, span; in iso_stream_schedule() local
4200 span = sched->span; in iso_stream_schedule()
4202 if (span > mod - SCHEDULE_SLOP) { in iso_stream_schedule()
4285 if (unlikely(start - now + span - period >= in iso_stream_schedule()
4288 urb, start - now, span - period, in iso_stream_schedule()
Dehci.h474 unsigned span; member
/drivers/s390/scsi/
Dzfcp_qdio.c52 unsigned long long now, span; in zfcp_qdio_account() local
56 span = (now - qdio->req_q_time) >> 12; in zfcp_qdio_account()
58 qdio->req_q_util += used * span; in zfcp_qdio_account()
/drivers/staging/lustre/lnet/selftest/
Dconrpc.c717 int dist, int span, int nkiov, struct bio_vec *kiov) in lstcon_dstnodes_prep() argument
727 LASSERT(span >= 1); in lstcon_dstnodes_prep()
730 if (span > grp->grp_nnode) in lstcon_dstnodes_prep()
733 start = ((idx / dist) * span) % grp->grp_nnode; in lstcon_dstnodes_prep()
734 end = ((idx / dist) * span + span - 1) % grp->grp_nnode; in lstcon_dstnodes_prep()
Dconsole.h239 int concur, int dist, int span,
Dconsole.c1282 int concur, int dist, int span, in lstcon_test_add() argument
1328 test->tes_span = span; in lstcon_test_add()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c508 mlxsw_sp->span.entries_count = MLXSW_CORE_RES_GET(mlxsw_sp->core, in mlxsw_sp_span_init()
510 mlxsw_sp->span.entries = kcalloc(mlxsw_sp->span.entries_count, in mlxsw_sp_span_init()
513 if (!mlxsw_sp->span.entries) in mlxsw_sp_span_init()
516 for (i = 0; i < mlxsw_sp->span.entries_count; i++) in mlxsw_sp_span_init()
517 INIT_LIST_HEAD(&mlxsw_sp->span.entries[i].bound_ports_list); in mlxsw_sp_span_init()
526 for (i = 0; i < mlxsw_sp->span.entries_count; i++) { in mlxsw_sp_span_fini()
527 struct mlxsw_sp_span_entry *curr = &mlxsw_sp->span.entries[i]; in mlxsw_sp_span_fini()
531 kfree(mlxsw_sp->span.entries); in mlxsw_sp_span_fini()
547 for (i = 0; i < mlxsw_sp->span.entries_count; i++) { in mlxsw_sp_span_entry_create()
548 if (!mlxsw_sp->span.entries[i].used) { in mlxsw_sp_span_entry_create()
[all …]
Dspectrum.h165 } span; member
/drivers/net/wireless/mediatek/mt7601u/
Dmac.c299 u32 span; in mt7601u_mac_work() member
322 for (j = 0; j < spans[i].span; j++) { in mt7601u_mac_work()
/drivers/scsi/
Dmegaraid.h426 adp_span_40ld span[MAX_SPAN_DEPTH]; member
431 adp_span_8ld span[MAX_SPAN_DEPTH]; member
/drivers/iommu/
Darm-smmu-v3.c481 u8 span; member
542 u8 span; member
1019 val |= (desc->span & STRTAB_L1_DESC_SPAN_MASK) in arm_smmu_write_strtab_l1_desc()
1181 desc->span = STRTAB_SPLIT + 1; in arm_smmu_init_l2_strtab()
1467 static int arm_smmu_bitmap_alloc(unsigned long *map, int span) in arm_smmu_bitmap_alloc() argument
1469 int idx, size = 1 << span; in arm_smmu_bitmap_alloc()
/drivers/nvdimm/
DKconfig13 memory resource that may span multiple DIMMs and support DAX
/drivers/acpi/arm64/
Diort.c1021 res[num_res].end = smmu->base_address + smmu->span - 1; in arm_smmu_init_resources()
/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c1408 u32 offset, u32 span, u32 seconds) in exhalbtc_antenna_detection() argument

12