HomeSort by: relevance | last modified time | path
    Searched refs:tuple (Results 1 - 11 of 11) sorted by relevancy

  /src/sys/dev/pcmcia/
pcmcia_cis.c 142 struct pcmcia_tuple tuple; local in function:pcmcia_scan_cis
168 /* initialize state for the primary tuple chain */
170 PCMCIA_CIS_SIZE, &pcmh, &tuple.ptr, &window)) {
178 tuple.memt = pcmh.memt;
179 tuple.memh = pcmh.memh;
181 DPRINTF(("cis mem map %x\n", (unsigned int) tuple.memh));
183 tuple.mult = 2;
192 DPRINTF(("%s: CIS tuple chain:\n", device_xname(sc->dev)));
204 if (tuple.mult * tuple.ptr >= PCMCIA_CIS_SIZE -
    [all...]
pcmciavar.h 246 #define pcmcia_cis_read_1(tuple, idx0) \
247 (bus_space_read_1((tuple)->memt, (tuple)->memh, (tuple)->mult*(idx0)))
249 #define pcmcia_tuple_read_1(tuple, idx1) \
250 (pcmcia_cis_read_1((tuple), ((tuple)->ptr+(2+(idx1)))))
252 #define pcmcia_tuple_read_2(tuple, idx2) \
253 (pcmcia_tuple_read_1((tuple), (idx2)) | \
254 (pcmcia_tuple_read_1((tuple), (idx2)+1)<<8)
    [all...]
xirc.c 280 xirc_manfid_ciscallback(struct pcmcia_tuple *tuple, void *arg)
284 if (tuple->code != PCMCIA_CISTPL_MANFID)
287 if (tuple->length < 5)
290 *id = (pcmcia_tuple_read_1(tuple, 3) << 8) |
291 pcmcia_tuple_read_1(tuple, 4);
661 xi_xirc_lan_nid_ciscallback(struct pcmcia_tuple *tuple, void *arg)
666 if (tuple->length < 2)
669 switch (tuple->code) {
671 switch (pcmcia_tuple_read_1(tuple, 0)) {
673 if (pcmcia_tuple_read_1(tuple, 1) != ETHER_ADDR_LEN
    [all...]
if_ep_pcmcia.c 361 ep_pcmcia_get_enaddr(struct pcmcia_tuple *tuple, void *arg)
367 if (tuple->code == 0x88) {
368 if (tuple->length < ETHER_ADDR_LEN)
372 myla[i] = pcmcia_tuple_read_1(tuple, i + 1);
373 myla[i + 1] = pcmcia_tuple_read_1(tuple, i);
mhzc.c 461 /* Get the station address from CIS tuple 0x81. */
526 mhzc_em3336_lannid_ciscallback(struct pcmcia_tuple *tuple, void *arg)
531 if (tuple->code == 0x81) {
536 if (tuple->length != (ETHER_ADDR_LEN * 2) + 1)
539 for (i = 0; i < tuple->length - 1; i++)
540 addr_str[i] = pcmcia_tuple_read_1(tuple, i);
  /src/sys/dev/cardbus/
cardbus.c 310 parse_tuple(u_int8_t *tuple, int len, void *data)
316 switch (tuple[0]) {
318 if (tuple[1] != 4) {
320 __func__, tuple[1]));
323 cis->manufacturer = tuple[2] | (tuple[3] << 8);
324 cis->product = tuple[4] | (tuple[5] << 8);
328 memcpy(cis->cis1_info_buf, tuple + 2, tuple[1])
608 u_int8_t *tuple = malloc(TUPLESIZE, M_DEVBUF, M_WAITOK); local in function:cardbus_rescan
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/
sanitizer_wrappers.cc 21 #include <tuple>
55 using Type = typename std::tuple_element<i, std::tuple<Args...>>::type;
  /src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
profile_collector_test.cc 73 std::tuple<u32, u32, u64> ParseBlockHeader(XRayBuffer B) {
91 std::tuple<Profile, const char *> ParseProfile(const char *P) {
  /src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_fdr_log_writer.h 19 #include <tuple>
26 template <class Tuple,
29 typename std::remove_reference<Tuple>::type>::value,
31 Tuple &&T) {
36 std::forward<Tuple>(T));
39 template <class Tuple,
42 Tuple>::type>::value,
44 static void serializeTo(char *, Tuple &&) {}
49 template <class Tuple, size_t Index> struct AggregateSizesImpl {
51 sizeof(typename std::tuple_element<Index, Tuple>::type)
    [all...]
xray_utils.cc 26 #include <tuple>
xray_x86_64.cc 26 #include <tuple>

Completed in 19 milliseconds