Home
last modified time | relevance | path

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

/drivers/scsi/megaraid/
Dmegaraid_sas_fp.c148 u16 MR_LdSpanArrayGet(u32 ld, u32 span, struct MR_DRV_RAID_MAP_ALL *map) in MR_LdSpanArrayGet() argument
150 return le16_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span].span.arrayRef); in MR_LdSpanArrayGet()
168 static struct MR_LD_SPAN *MR_LdSpanPtrGet(u32 ld, u32 span, in MR_LdSpanPtrGet() argument
171 return &map->raidMap.ldSpanMap[ld].spanBlock[span].span; in MR_LdSpanPtrGet()
321 u32 span, j; in MR_GetSpanBlock() local
323 for (span = 0; span < raid->spanDepth; span++, pSpanBlock++) { in MR_GetSpanBlock()
341 return span; in MR_GetSpanBlock()
362 u8 span; in getSpanInfo() local
377 for (span = 0; span < raid->spanDepth; span++) in getSpanInfo()
379 " number of quads=%x\n", span, in getSpanInfo()
[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.h639 struct MR_LD_SPAN span; member
Dmegaraid_sas_fusion.c1882 u8 span, physArm; in megasas_build_ld_nonrw_fusion() local
1932 span = physArm = 0; in megasas_build_ld_nonrw_fusion()
1933 arRef = MR_LdSpanArrayGet(ld, span, local_map_ptr); in megasas_build_ld_nonrw_fusion()
Dmegaraid_sas.h2350 u16 MR_LdSpanArrayGet(u32 ld, u32 span, struct MR_DRV_RAID_MAP_ALL *map);
/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/usb/host/
Dehci-sched.c1217 iso_sched->span = urb->number_of_packets * stream->uperiod; in itd_sched_init()
1282 num_itds = 1 + (sched->span + 7) / 8; in itd_urb_transaction()
1499 u32 now, base, next, start, period, span, now2; in iso_stream_schedule() local
1508 span = sched->span; in iso_stream_schedule()
1510 span <<= 3; in iso_stream_schedule()
1635 if (skip >= span) { /* Entirely in the past? */ in iso_stream_schedule()
1637 urb, start + base, span - period, now2 + base, in iso_stream_schedule()
1641 skip = span - period; in iso_stream_schedule()
1645 skip = span; /* Skip the entire URB */ in iso_stream_schedule()
1662 if (unlikely(start + span - period >= mod + wrap)) { in iso_stream_schedule()
[all …]
Dfotg210.h488 unsigned span; member
Dfotg210-hcd.c4059 iso_sched->span = urb->number_of_packets * stream->interval; in itd_sched_init()
4116 num_itds = 1 + (sched->span + 7) / 8; in itd_urb_transaction()
4191 u32 now, next, start, period, span; in iso_stream_schedule() local
4197 span = sched->span; in iso_stream_schedule()
4199 if (span > mod - SCHEDULE_SLOP) { in iso_stream_schedule()
4282 if (unlikely(start - now + span - period >= in iso_stream_schedule()
4285 urb, start - now, span - period, in iso_stream_schedule()
Dehci.h473 unsigned span; member
/drivers/s390/scsi/
Dzfcp_qdio.c51 unsigned long long now, span; in zfcp_qdio_account() local
55 span = (now - qdio->req_q_time) >> 12; in zfcp_qdio_account()
57 qdio->req_q_util += used * span; in zfcp_qdio_account()
/drivers/staging/lustre/lnet/selftest/
Dconrpc.c715 int dist, int span, int nkiov, lnet_kiov_t *kiov) in lstcon_dstnodes_prep() argument
725 LASSERT(span >= 1); in lstcon_dstnodes_prep()
728 if (span > grp->grp_nnode) in lstcon_dstnodes_prep()
731 start = ((idx / dist) * span) % grp->grp_nnode; in lstcon_dstnodes_prep()
732 end = ((idx / dist) * span + span - 1) % grp->grp_nnode; in lstcon_dstnodes_prep()
Dconsole.h235 int concur, int dist, int span,
Dconsole.c1277 int concur, int dist, int span, in lstcon_test_add() argument
1323 test->tes_span = span; in lstcon_test_add()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c178 mlxsw_sp->span.entries_count = resources->max_span; in mlxsw_sp_span_init()
179 mlxsw_sp->span.entries = kcalloc(mlxsw_sp->span.entries_count, in mlxsw_sp_span_init()
182 if (!mlxsw_sp->span.entries) in mlxsw_sp_span_init()
185 for (i = 0; i < mlxsw_sp->span.entries_count; i++) in mlxsw_sp_span_init()
186 INIT_LIST_HEAD(&mlxsw_sp->span.entries[i].bound_ports_list); in mlxsw_sp_span_init()
195 for (i = 0; i < mlxsw_sp->span.entries_count; i++) { in mlxsw_sp_span_fini()
196 struct mlxsw_sp_span_entry *curr = &mlxsw_sp->span.entries[i]; in mlxsw_sp_span_fini()
200 kfree(mlxsw_sp->span.entries); in mlxsw_sp_span_fini()
216 for (i = 0; i < mlxsw_sp->span.entries_count; i++) { in mlxsw_sp_span_entry_create()
217 if (!mlxsw_sp->span.entries[i].used) { in mlxsw_sp_span_entry_create()
[all …]
Dspectrum.h299 } 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.h425 adp_span_40ld span[MAX_SPAN_DEPTH]; member
430 adp_span_8ld span[MAX_SPAN_DEPTH]; member
/drivers/iommu/
Darm-smmu-v3.c469 u8 span; member
530 u8 span; member
973 val |= (desc->span & STRTAB_L1_DESC_SPAN_MASK) in arm_smmu_write_strtab_l1_desc()
1135 desc->span = STRTAB_SPLIT + 1; in arm_smmu_init_l2_strtab()
1403 static int arm_smmu_bitmap_alloc(unsigned long *map, int span) in arm_smmu_bitmap_alloc() argument
1405 int idx, size = 1 << span; in arm_smmu_bitmap_alloc()
/drivers/nvdimm/
DKconfig13 memory resource that may span multiple DIMMs and support DAX