Home
last modified time | relevance | path

Searched full:slot (Results 1 – 25 of 1943) sorted by relevance

12345678910>>...78

/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_if.m73 struct sdhci_slot *slot __unused,
81 struct sdhci_slot *slot __unused)
91 struct sdhci_slot *slot;
97 struct sdhci_slot *slot;
103 struct sdhci_slot *slot;
109 struct sdhci_slot *slot;
117 struct sdhci_slot *slot;
124 struct sdhci_slot *slot;
131 struct sdhci_slot *slot;
138 struct sdhci_slot *slot;
[all …]
/freebsd/lib/libsys/
H A Dinterposing_table.c35 #define SLOT(a, b) \ macro
38 SLOT(accept, __sys_accept),
39 SLOT(accept4, __sys_accept4),
40 SLOT(aio_suspend, __sys_aio_suspend),
41 SLOT(close, __sys_close),
42 SLOT(connect, __sys_connect),
43 SLOT(fcntl, __sys_fcntl),
44 SLOT(fsync, __sys_fsync),
45 SLOT(fork, __sys_fork),
46 SLOT(msync, __sys_msync),
[all …]
/freebsd/sys/kern/
H A Dkern_osd.c76 static void do_osd_del(u_int type, struct osd *osd, u_int slot,
102 * destructor, because NULL destructor means unused slot. in osd_register()
109 * First, we try to find unused slot. in osd_register()
113 OSD_DEBUG("Unused slot found (type=%u, slot=%u).", in osd_register()
119 * If no unused slot was found, allocate one. in osd_register()
135 OSD_DEBUG("New slot allocated (type=%u, slot=%u).", in osd_register()
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()
162 * Free all OSD for the given slot. in osd_deregister()
[all …]
H A Dsubr_pctrie.c98 * sets slot value, and returns false.
101 pctrie_keybarr(struct pctrie_node *node, uint64_t index, int *slot) in pctrie_keybarr() argument
106 *slot = index; in pctrie_keybarr()
117 int slot; in pctrie_node_put() local
122 for (slot = 0; slot < PCTRIE_COUNT; slot++) { in pctrie_node_put()
123 if ((node->pn_popmap & (1 << slot)) != 0) in pctrie_node_put()
125 KASSERT(smr_unserialized_load(&node->pn_child[slot], true) == in pctrie_node_put()
135 * Fetch a node pointer from a slot.
231 int slot; in pctrie_addnode() local
233 slot = pctrie_slot(node, index); in pctrie_addnode()
[all …]
/freebsd/share/man/man9/
H A Dosd.957 .Fa "u_int slot"
63 .Fa "u_int slot"
68 .Fa "u_int slot"
74 .Fa "u_int slot"
86 .Fa "u_int slot"
92 .Fa "u_int slot"
133 framework using a type/slot identifier pair.
137 Slot identifiers are dynamically assigned by the framework when a data type is
145 function registers a type/slot identifier pair with the
154 the slot identifier should be allocated under.
[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/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/security/mac_mls/
H A Dmac_mls.c123 #define SLOT(l) ((struct mac_mls *)mac_label_get((l), mls_slot)) macro
483 if (SLOT(label) == NULL) in mls_init_label_waitcheck()
493 mls_free(SLOT(label)); in mls_destroy_label()
591 mm = SLOT(label); in mls_externalize_label()
721 mm = SLOT(label); in mls_internalize_label()
731 *SLOT(dest) = *SLOT(src); in mls_copy_label()
747 a = SLOT(dlabel); in mls_bpfdesc_check_receive()
748 b = SLOT(ifplabel); in mls_bpfdesc_check_receive()
760 source = SLOT(cred->cr_label); in mls_bpfdesc_create()
761 dest = SLOT(dlabel); in mls_bpfdesc_create()
[all …]
/freebsd/sys/security/mac_biba/
H A Dmac_biba.c134 #define SLOT(l) ((struct mac_biba *)mac_label_get((l), biba_slot)) macro
518 if (SLOT(label) == NULL) in biba_init_label_waitcheck()
528 biba_free(SLOT(label)); in biba_destroy_label()
626 mb = SLOT(label); in biba_externalize_label()
755 mb = SLOT(label); in biba_internalize_label()
765 *SLOT(dest) = *SLOT(src); in biba_copy_label()
781 a = SLOT(dlabel); in biba_bpfdesc_check_receive()
782 b = SLOT(ifplabel); in biba_bpfdesc_check_receive()
795 source = SLOT(cred->cr_label); in biba_bpfdesc_create()
796 dest = SLOT(dlabel); in biba_bpfdesc_create()
[all …]
/freebsd/sys/contrib/openzfs/man/man5/
H A Dvdev_id.conf.579 .It Sy slot Ar prefix Ar new Op Ar channel
80 Maps a disk slot number as reported by the operating system to an
81 alternative slot number.
88 .Ar slot
89 rule that can match a slot takes precedence.
90 Therefore a channel-specific mapping for a given slot should generally appear
91 before a generic mapping for the same slot.
96 Pad slot numbers with zeros to make them
116 channels are uniquely identified by a PCI slot and HBA port number
130 .It Sy slot Sy bay Ns | Ns Sy phy Ns | Ns Sy port Ns | Ns Sy id Ns | Ns Sy lun Ns | Ns Sy bay_lun N…
[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/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 Damlogic,axg-sound-card.txt28 - dai-tdm-slot-rx-mask-{0,1,2,3}: Receive direction slot masks
29 - dai-tdm-slot-tx-mask-{0,1,2,3}: Transmit direction slot masks
31 slots. A valid must have at one slot, so at
33 an enabled slot.
34 - dai-tdm-slot-num : Please refer to tdm-slot.txt.
35 If omitted, slot number is set to accommodate the largest
37 - dai-tdm-slot-width : Please refer to tdm-slot.txt. default to 32 if omitted.
53 - dai-tdm-slot-tx-mask : Please refer to tdm-slot.txt.
54 - dai-tdm-slot-rx-mask : Please refer to tdm-slot.txt.
94 dai-tdm-slot-tx-mask-2 = <1 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/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveStacks.h1 //===- LiveStacks.h - Live Stack Slot Analysis ------------------*- C++ -*-===//
9 // This file implements the live stack slot analysis pass. It is analogous to
42 /// S2IMap - Stack slot indices to live interval mapping.
46 /// S2RCMap - Stack slot indices to register class mapping.
66 LiveInterval &getOrCreateInterval(int Slot, const TargetRegisterClass *RC);
68 LiveInterval &getInterval(int Slot) { in getInterval() argument
69 assert(Slot >= 0 && "Spill slot indice must be >= 0"); in getInterval()
70 SS2IntervalMap::iterator I = S2IMap.find(Slot); in getInterval()
71 assert(I != S2IMap.end() && "Interval does not exist for stack slot"); in getInterval()
75 const LiveInterval &getInterval(int Slot) const { in getInterval() 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/security/mac_lomac/
H A Dmac_lomac.c127 #define SLOT(l) ((struct mac_lomac *)mac_label_get((l), lomac_slot)) macro
629 if (SLOT(label) == NULL) in lomac_init_label_waitcheck()
639 lomac_free(SLOT(label)); in lomac_destroy_label()
717 ml = SLOT(label); in lomac_externalize_label()
861 ml = SLOT(label); in lomac_internalize_label()
871 *SLOT(dest) = *SLOT(src); in lomac_copy_label()
887 a = SLOT(dlabel); in lomac_bpfdesc_check_receive()
888 b = SLOT(ifplabel); in lomac_bpfdesc_check_receive()
901 source = SLOT(cred->cr_label); in lomac_bpfdesc_create()
902 dest = SLOT(dlabel); in lomac_bpfdesc_create()
[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/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/lib/libthr/thread/
H A Dthr_syscalls.c628 #define SLOT(name) \ in __thr_interpose_libc() macro
631 SLOT(system); in __thr_interpose_libc()
632 SLOT(tcdrain); in __thr_interpose_libc()
633 SLOT(spinlock); in __thr_interpose_libc()
634 SLOT(spinunlock); in __thr_interpose_libc()
635 SLOT(map_stacks_exec); in __thr_interpose_libc()
636 #undef SLOT in __thr_interpose_libc()
638 #define SLOT(name) \ in __thr_interpose_libc() macro
641 SLOT(accept); in __thr_interpose_libc()
642 SLOT(accept4); in __thr_interpose_libc()
[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/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
233 enum fsl_sata_slot_states state; /* Slot state */
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cpp152 bool attached = tctx->thr && tctx->thr->slot; in DoResetImpl()
166 // to a new slot and allocate a new trace part. in DoResetImpl()
170 // slot/trace mutexes that we hold here. 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()
232 // error: expecting mutex 'slot.mtx' to be held at start of each loop
[all …]
/freebsd/sys/contrib/openzfs/etc/zfs/
H A Dvdev_id.conf.sas_direct.example18 # Slot Slot Channel
19 slot 1 7 A
20 slot 2 10 A
21 slot 3 3 A
22 slot 4 6 A
25 slot 1 4
26 slot 2 2
27 slot 3 1
28 slot 4 3

12345678910>>...78