Home
last modified time | relevance | path

Searched refs:slot (Results 1 – 25 of 733) sorted by relevance

12345678910>>...30

/freebsd/sys/dev/sdhci/
H A Dsdhci.c81 #define RD1(slot, off) SDHCI_READ_1((slot)->bus, (slot), (off)) argument
82 #define RD2(slot, off) SDHCI_READ_2((slot)->bus, (slot), (off)) argument
83 #define RD4(slot, off) SDHCI_READ_4((slot)->bus, (slot), (off)) argument
84 #define RD_MULTI_4(slot, off, ptr, count) \ argument
85 SDHCI_READ_MULTI_4((slot)->bus, (slot), (off), (ptr), (count))
87 #define WR1(slot, off, val) SDHCI_WRITE_1((slot)->bus, (slot), (off), (val)) argument
88 #define WR2(slot, off, val) SDHCI_WRITE_2((slot)->bus, (slot), (off), (val)) argument
89 #define WR4(slot, off, val) SDHCI_WRITE_4((slot)->bus, (slot), (off), (val)) argument
90 #define WR_MULTI_4(slot, off, ptr, count) \ argument
91 SDHCI_WRITE_MULTI_4((slot)->bus, (slot), (off), (ptr), (count))
[all …]
H A Dsdhci_acpi.c98 struct sdhci_slot slot; member
109 sdhci_acpi_read_1(device_t dev, struct sdhci_slot *slot __unused, in sdhci_acpi_read_1()
120 sdhci_acpi_write_1(device_t dev, struct sdhci_slot *slot __unused, in sdhci_acpi_write_1()
131 sdhci_acpi_read_2(device_t dev, struct sdhci_slot *slot __unused, in sdhci_acpi_read_2()
142 sdhci_acpi_write_2(device_t dev, struct sdhci_slot *slot __unused, in sdhci_acpi_write_2()
153 sdhci_acpi_read_4(device_t dev, struct sdhci_slot *slot __unused, in sdhci_acpi_read_4()
164 sdhci_acpi_write_4(device_t dev, struct sdhci_slot *slot __unused, in sdhci_acpi_write_4()
175 sdhci_acpi_read_multi_4(device_t dev, struct sdhci_slot *slot __unused, in sdhci_acpi_read_multi_4()
184 sdhci_acpi_write_multi_4(device_t dev, struct sdhci_slot *slot __unused, in sdhci_acpi_write_multi_4()
193 sdhci_acpi_set_uhs_timing(device_t dev, struct sdhci_slot *slot) in sdhci_acpi_set_uhs_timing() argument
[all …]
H A Dsdhci_fsl_fdt.c195 struct sdhci_slot slot; member
316 fsl_sdhc_fdt_set_clock(struct sdhci_fsl_fdt_softc *sc, struct sdhci_slot *slot, in fsl_sdhc_fdt_set_clock() argument
333 SDHCI_FSL_FDT_CLK_DIV(sc, sc->baseclk_hz, slot->clock, prescale, div); in fsl_sdhc_fdt_set_clock()
342 (sc->slot.host.ios.timing == bus_timing_mmc_hs400 || in fsl_sdhc_fdt_set_clock()
362 slot->clock, sc->baseclk_hz / (prescale * div), in fsl_sdhc_fdt_set_clock()
376 sdhci_fsl_fdt_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in sdhci_fsl_fdt_read_1() argument
403 sdhci_fsl_fdt_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in sdhci_fsl_fdt_read_2() argument
433 sdhci_fsl_fdt_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) in sdhci_fsl_fdt_read_4() argument
458 sdhci_fsl_fdt_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in sdhci_fsl_fdt_read_multi_4() argument
468 sdhci_fsl_fdt_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, in sdhci_fsl_fdt_write_1() argument
[all …]
H A Dsdhci_xenon.c66 sdhci_xenon_read_1(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_read_1()
75 sdhci_xenon_write_1(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_write_1()
84 sdhci_xenon_read_2(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_read_2()
93 sdhci_xenon_write_2(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_write_2()
102 sdhci_xenon_read_4(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_read_4()
111 sdhci_xenon_write_4(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_write_4()
120 sdhci_xenon_read_multi_4(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_read_multi_4()
129 sdhci_xenon_write_multi_4(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_write_multi_4()
142 sdhci_generic_intr(sc->slot); in sdhci_xenon_intr()
154 sdhci_xenon_set_uhs_timing(device_t brdev, struct sdhci_slot *slot) in sdhci_xenon_set_uhs_timing() argument
[all …]
/freebsd/sys/sys/
H A Dosd.h59 void osd_deregister(u_int type, u_int slot);
61 int osd_set(u_int type, struct osd *osd, u_int slot, void *value);
62 void **osd_reserve(u_int slot);
63 int osd_set_reserved(u_int type, struct osd *osd, u_int slot, void **rsv,
66 void *osd_get(u_int type, struct osd *osd, u_int slot);
67 void *osd_get_unlocked(u_int type, struct osd *osd, u_int slot);
68 void osd_del(u_int type, struct osd *osd, u_int slot);
75 #define osd_thread_deregister(slot) \ argument
76 osd_deregister(OSD_THREAD, (slot))
77 #define osd_thread_set(td, slot, value) \ argument
[all …]
/freebsd/sys/amd64/pci/
H A Dpci_cfgreg.c52 static uint32_t pci_docfgregread(int domain, int bus, int slot, int func,
56 unsigned slot, unsigned func, unsigned reg, unsigned bytes);
58 unsigned slot, unsigned func, unsigned reg, int data,
60 static int pcireg_cfgread(int bus, int slot, int func, int reg, int bytes);
61 static void pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes);
101 pci_docfgregread(int domain, int bus, int slot, int func, int reg, int bytes) in pci_docfgregread() argument
103 if (domain == 0 && bus == 0 && (1 << slot & pcie_badslots) != 0) in pci_docfgregread()
104 return (pcireg_cfgread(bus, slot, func, reg, bytes)); in pci_docfgregread()
111 return (pciereg_cfgread(region, bus, slot, func, reg, in pci_docfgregread()
116 return (pcireg_cfgread(bus, slot, func, reg, bytes)); in pci_docfgregread()
[all …]
/freebsd/crypto/heimdal/lib/hx509/
H A Dks_p11.c68 struct p11_slot *slot; member
96 struct p11_slot *slot; member
144 ret = p11_get_session(NULL, p11rsa->p, p11rsa->slot, NULL, &session); in p11_rsa_private_encrypt()
150 p11_put_session(p11rsa->p, p11rsa->slot, session); in p11_rsa_private_encrypt()
156 p11_put_session(p11rsa->p, p11rsa->slot, session); in p11_rsa_private_encrypt()
182 ret = p11_get_session(NULL, p11rsa->p, p11rsa->slot, NULL, &session); in p11_rsa_private_decrypt()
188 p11_put_session(p11rsa->p, p11rsa->slot, session); in p11_rsa_private_decrypt()
194 p11_put_session(p11rsa->p, p11rsa->slot, session); in p11_rsa_private_decrypt()
265 struct p11_slot *slot, in p11_mech_info() argument
271 ret = P11FUNC(p, GetMechanismList, (slot->id, NULL_PTR, &i)); in p11_mech_info()
[all …]
/freebsd/sys/dev/evdev/
H A Devdev_mt.c110 int slot, slots; in evdev_mt_init() local
139 for (slot = 0; slot < slots; slot++) in evdev_mt_init()
140 mt->slots[slot].id = -1; in evdev_mt_init()
169 evdev_mt_send_slot(struct evdev_dev *evdev, int slot, in evdev_mt_send_slot() argument
176 MPASS(type_a || (slot >= 0 && slot <= MAXIMAL_MT_SLOT(evdev))); in evdev_mt_send_slot()
180 evdev_send_event(evdev, EV_ABS, ABS_MT_SLOT, slot); in evdev_mt_send_slot()
194 evdev_mt_push_slot(struct evdev_dev *evdev, int slot, in evdev_mt_push_slot() argument
202 if (!type_a && (slot < 0 || slot > MAXIMAL_MT_SLOT(evdev))) in evdev_mt_push_slot()
210 evdev_mt_record_event(evdev, EV_ABS, ABS_MT_SLOT, slot); in evdev_mt_push_slot()
217 evdev_mt_send_slot(evdev, slot, state); in evdev_mt_push_slot()
[all …]
/freebsd/sys/kern/
H A Dkern_osd.c76 static void do_osd_del(u_int type, struct osd *osd, u_int slot,
150 osd_deregister(u_int type, u_int slot) in osd_deregister() argument
155 KASSERT(slot > 0, ("Invalid slot.")); in osd_deregister()
159 KASSERT(osdm[type].osd_destructors[slot - 1] != NULL, ("Unused slot.")); in osd_deregister()
166 do_osd_del(type, osd, slot, 1); in osd_deregister()
177 osdm[type].osd_destructors[slot - 1] = NULL; in osd_deregister()
178 OSD_DEBUG("Slot deregistration (type=%u, slot=%u).", type, slot); in osd_deregister()
185 osd_set(u_int type, struct osd *osd, u_int slot, void *value) in osd_set() argument
188 return (osd_set_reserved(type, osd, slot, NULL, value)); in osd_set()
192 osd_reserve(u_int slot) in osd_reserve() argument
[all …]
H A Dsubr_pctrie.c102 pctrie_keybarr(struct pctrie_node *node, uint64_t index, int *slot) in pctrie_keybarr() argument
107 *slot = index; in pctrie_keybarr()
238 int slot; in pctrie_addnode() local
240 slot = pctrie_slot(node, index); in pctrie_addnode()
241 pctrie_node_store(&node->pn_child[slot], child, access); in pctrie_addnode()
242 node->pn_popmap ^= 1 << slot; in pctrie_addnode()
243 KASSERT((node->pn_popmap & (1 << slot)) != 0, in pctrie_addnode()
244 ("%s: bad popmap slot %d in node %p", __func__, slot, node)); in pctrie_addnode()
284 int slot; in pctrie_insert_lookup_compound() local
313 if (pctrie_keybarr(node, index, &slot)) in pctrie_insert_lookup_compound()
[all …]
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_sdhci.c82 #define BCM_SDHCI_SLOT_LEFT(slot) \ argument
83 ((slot)->curcmd->data->len - (slot)->offset)
85 #define BCM_SDHCI_SEGSZ_LEFT(slot) \ argument
87 rounddown(BCM_SDHCI_SLOT_LEFT(slot), BCM_SDHCI_BUFFER_SIZE))
184 static void bcm_sdhci_start_dma(struct sdhci_slot *slot);
453 bcm_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in bcm_sdhci_read_1() argument
462 bcm_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in bcm_sdhci_read_2() argument
483 bcm_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) in bcm_sdhci_read_4() argument
491 bcm_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in bcm_sdhci_read_multi_4() argument
500 bcm_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, in bcm_sdhci_write_1() argument
[all …]
/freebsd/sys/i386/pci/
H A Dpci_cfgreg.c86 static uint32_t pci_docfgregread(int domain, int bus, int slot, int func,
89 static int pcireg_cfgread(int bus, int slot, int func, int reg, int bytes);
90 static void pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes);
93 unsigned slot, unsigned func, unsigned reg, unsigned bytes);
95 unsigned slot, unsigned func, unsigned reg, int data,
175 pci_docfgregread(int domain, int bus, int slot, int func, int reg, int bytes) in pci_docfgregread() argument
177 if (domain == 0 && bus == 0 && (1 << slot & pcie_badslots) != 0) in pci_docfgregread()
178 return (pcireg_cfgread(bus, slot, func, reg, bytes)); in pci_docfgregread()
185 return (pciereg_cfgread(region, bus, slot, func, reg, in pci_docfgregread()
190 return (pcireg_cfgread(bus, slot, func, reg, bytes)); in pci_docfgregread()
[all …]
/freebsd/sys/dev/ata/
H A Data-dma.c163 bzero(ch->dma.slot, sizeof(struct ata_dmaslot) * ATA_DMA_SLOTS); in ata_dmaalloc()
165 struct ata_dmaslot *slot = &ch->dma.slot[i]; in ata_dmaalloc() local
170 0, NULL, NULL, &slot->sg_tag)) { in ata_dmaalloc()
175 if (bus_dmamem_alloc(slot->sg_tag, (void **)&slot->sg, BUS_DMA_WAITOK, in ata_dmaalloc()
176 &slot->sg_map)) { in ata_dmaalloc()
181 if (bus_dmamap_load(slot->sg_tag, slot->sg_map, slot->sg, MAXTABSZ, in ata_dmaalloc()
186 slot->sg_bus = dcba.maddr; in ata_dmaalloc()
193 BUS_DMA_ALLOCNOW, NULL, NULL, &slot->data_tag)) { in ata_dmaalloc()
198 if (bus_dmamap_create(slot->data_tag, 0, &slot->data_map)) { in ata_dmaalloc()
219 struct ata_dmaslot *slot = &ch->dma.slot[i]; in ata_dmafree() local
[all …]
/freebsd/sys/contrib/ck/include/
H A Dck_bytelock.h82 ck_bytelock_write_lock(struct ck_bytelock *bytelock, unsigned int slot) in ck_bytelock_write_lock() argument
88 while (ck_pr_cas_uint(&bytelock->owner, 0, slot) == false) in ck_bytelock_write_lock()
92 if (slot <= sizeof bytelock->readers) in ck_bytelock_write_lock()
93 ck_pr_store_8(&bytelock->readers[slot - 1], false); in ck_bytelock_write_lock()
128 ck_bytelock_read_lock(struct ck_bytelock *bytelock, unsigned int slot) in ck_bytelock_read_lock() argument
131 if (ck_pr_load_uint(&bytelock->owner) == slot) { in ck_bytelock_read_lock()
132 ck_pr_store_8(&bytelock->readers[slot - 1], true); in ck_bytelock_read_lock()
139 if (slot > sizeof bytelock->readers) { in ck_bytelock_read_lock()
155 slot -= 1; in ck_bytelock_read_lock()
158 ck_pr_fas_8(&bytelock->readers[slot], true); in ck_bytelock_read_lock()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dtdm-slot.txt1 TDM slot:
3 This specifies audio DAI's TDM slot.
5 TDM slot properties:
6 dai-tdm-slot-num : Number of slots in use.
7 dai-tdm-slot-width : Width in bits for each slot.
8 dai-tdm-slot-tx-mask : Transmit direction slot mask, optional
9 dai-tdm-slot-rx-mask : Receive direction slot mask, optional
12 dai-tdm-slot-num = <2>;
13 dai-tdm-slot-width = <8>;
14 dai-tdm-slot-tx-mask = <0 1>;
[all …]
H A Dmax98373.txt13 - maxim,vmon-slot-no : slot number used to send voltage information
15 interleave slot.
16 slot range : 0 ~ 15, Default : 0
18 - maxim,imon-slot-no : slot number used to send current information
19 slot range : 0 ~ 15, Default : 0
21 - maxim,spkfb-slot-no : slot number used to send speaker feedback information
22 slot range : 0 ~ 15, Default : 0
36 maxim,vmon-slot-no = <0>;
37 maxim,imon-slot-no = <1>;
38 maxim,spkfb-slot-no = <2>;
/freebsd/sys/x86/pci/
H A Dpci_early_quirks.c70 intel_stolen_base_gen3(int domain, int bus, int slot, int func) in intel_stolen_base_gen3() argument
75 ctrl = pci_cfgregread(domain, bus, slot, func, INTEL_BSM, 4); in intel_stolen_base_gen3()
81 intel_stolen_base_gen11(int domain, int bus, int slot, int func) in intel_stolen_base_gen11() argument
86 ctrl = pci_cfgregread(domain, bus, slot, func, INTEL_GEN11_BSM_DW0, 4); in intel_stolen_base_gen11()
89 domain, bus, slot, func, INTEL_GEN11_BSM_DW1, 4) << 32; in intel_stolen_base_gen11()
94 intel_stolen_size_gen3(int domain, int bus, int slot, int func) in intel_stolen_size_gen3() argument
134 intel_stolen_size_gen6(int domain, int bus, int slot, int func) in intel_stolen_size_gen6() argument
139 ctrl = pci_cfgregread(domain, bus, slot, func, SNB_GMCH_CTRL, 2); in intel_stolen_size_gen6()
145 intel_stolen_size_gen8(int domain, int bus, int slot, int func) in intel_stolen_size_gen8() argument
150 ctrl = pci_cfgregread(domain, bus, slot, fun in intel_stolen_size_gen8()
156 intel_stolen_size_chv(int domain,int bus,int slot,int func) intel_stolen_size_chv() argument
178 intel_stolen_size_gen9(int domain,int bus,int slot,int func) intel_stolen_size_gen9() argument
283 const int slot = 2; intel_graphics_stolen() local
[all...]
H A Dpci_bus.c63 legacy_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, in legacy_pcib_read_config() argument
66 return(pci_cfgregread(0, bus, slot, func, reg, bytes)); in legacy_pcib_read_config()
72 legacy_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, in legacy_pcib_write_config() argument
75 pci_cfgregwrite(0, bus, slot, func, reg, data, bytes); in legacy_pcib_write_config()
120 int error, func, slot; in legacy_pcib_map_msi() local
127 slot = legacy_get_pcislot(pcib); in legacy_pcib_map_msi()
129 if (slot == -1 || func == -1) in legacy_pcib_map_msi()
131 hostb = pci_find_bsf(0, slot, func); in legacy_pcib_map_msi()
133 slot, func)); in legacy_pcib_map_msi()
139 legacy_pcib_is_host_bridge(int bus, int slot, int func, in legacy_pcib_is_host_bridge() argument
[all …]
/freebsd/contrib/openpam/lib/libpam/
H A Dpam_set_item.c61 void **slot; in pam_set_item() local
65 slot = &pamh->item[item_type]; in pam_set_item()
70 if (*slot != NULL && item != NULL) in pam_set_item()
83 if (*slot != NULL) in pam_set_item()
84 osize = strlen(*slot) + 1; in pam_set_item()
97 if (*slot != NULL) { in pam_set_item()
98 memset(*slot, 0xd0, osize); in pam_set_item()
99 FREE(*slot); in pam_set_item()
102 if ((*slot = malloc(nsize)) == NULL) in pam_set_item()
104 memcpy(*slot, item, nsize); in pam_set_item()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cpp152 bool attached = tctx->thr && tctx->thr->slot; in DoResetImpl()
181 if (tctx->thr && !tctx->thr->slot) { in DoResetImpl()
193 for (auto& slot : ctx->slots) { in DoResetImpl() local
194 slot.SetEpoch(kEpochZero); in DoResetImpl()
195 slot.journal.Reset(); in DoResetImpl()
196 slot.thr = nullptr; in DoResetImpl()
197 ctx->slot_queue.PushBack(&slot); in DoResetImpl()
234 for (auto& slot : ctx->slots) { in DoReset() local
235 slot.mtx.Lock(); in DoReset()
240 CHECK_EQ(slot.sid, 0); in DoReset()
[all …]
/freebsd/sys/powerpc/mpc85xx/
H A Dfsl_sata.c68 static void fsl_sata_execute_transaction(struct fsl_sata_slot *slot);
70 static void fsl_sata_end_transaction(struct fsl_sata_slot *slot, enum fsl_sata_err_type et);
157 #define FSL_SATA_CTP_BUS(ch, slot) \ argument
158 ((ch->dma.work_bus + FSL_SATA_CT_OFFSET + (FSL_SATA_CT_SIZE * slot->slot)))
160 #define FSL_SATA_CTP(ch, slot) \ argument
162 (FSL_SATA_CT_SIZE * slot->slot)))
163 #define FSL_SATA_CLP(ch, slot) \ argument
165 (FSL_SATA_CL_SIZE * slot->slot)))
232 uint8_t slot; /* Number of this slot */ member
265 struct fsl_sata_slot slot[FSL_SATA_MAX_SLOTS]; member
[all …]
/freebsd/usr.sbin/bhyve/
H A Dpci_ahci.c132 int slot; member
217 static void ahci_handle_next_trim(struct ahci_port *p, int slot, uint8_t *cfis,
374 ahci_write_fis_sdb(struct ahci_port *p, int slot, uint8_t *cfis, uint32_t tfd) in ahci_write_fis_sdb() argument
387 p->err_cfis[0] = slot; in ahci_write_fis_sdb()
392 *(uint32_t *)(fis + 4) = (1 << slot); in ahci_write_fis_sdb()
393 p->sact &= ~(1 << slot); in ahci_write_fis_sdb()
401 ahci_write_fis_d2h(struct ahci_port *p, int slot, uint8_t *cfis, uint32_t tfd) in ahci_write_fis_d2h() argument
428 p->ci &= ~(1 << slot); in ahci_write_fis_d2h()
434 ahci_write_fis_d2h_ncq(struct ahci_port *p, int slot) in ahci_write_fis_d2h_ncq() argument
444 p->ci &= ~(1 << slot); in ahci_write_fis_d2h_ncq()
[all …]
/freebsd/sys/arm/ti/
H A Dti_sdhci.c73 struct sdhci_slot slot; member
163 ti_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in ti_sdhci_read_1() argument
171 ti_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in ti_sdhci_read_2() argument
195 if (slot->version >= SDHCI_SPEC_300) in ti_sdhci_read_2()
214 ti_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) in ti_sdhci_read_4() argument
238 ti_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in ti_sdhci_read_multi_4() argument
247 ti_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, in ti_sdhci_write_1() argument
277 ti_sdhci_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, in ti_sdhci_write_2() argument
290 if (slot->version >= SDHCI_SPEC_300) in ti_sdhci_write_2()
326 ti_sdhci_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in ti_sdhci_write_4() argument
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dluks52 # key slot 1
53 >208 ubelong =0x00AC71F3 \b; slot #0
54 >>208 use luks-slot
55 # key slot 2
56 >256 ubelong =0x00AC71F3 \b; slot #1
57 >>256 use luks-slot
58 # key slot 3
59 >304 ubelong =0x00AC71F3 \b; slot #2
60 >>304 use luks-slot
61 # key slot 4
[all …]
/freebsd/sys/dev/mvs/
H A Dmvs.c81 static void mvs_legacy_execute_transaction(struct mvs_slot *slot);
86 static void mvs_execute_transaction(struct mvs_slot *slot);
87 static void mvs_end_transaction(struct mvs_slot *slot, enum mvs_err_type et);
430 bzero(ch->slot, sizeof(ch->slot)); in mvs_slotsalloc()
432 struct mvs_slot *slot = &ch->slot[i]; in mvs_slotsalloc() local
434 slot->dev = dev; in mvs_slotsalloc()
435 slot->slot = i; in mvs_slotsalloc()
436 slot->state = MVS_SLOT_EMPTY; in mvs_slotsalloc()
437 slot->eprd_offset = MVS_EPRD_OFFSET + MVS_EPRD_SIZE * i; in mvs_slotsalloc()
438 slot->ccb = NULL; in mvs_slotsalloc()
[all …]

12345678910>>...30