Home
last modified time | relevance | path

Searched refs:fc (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/freebsd-12-stable/sys/dev/firewire/
Dfirewire.c148 fw_noderesolve_nodeid(struct firewire_comm *fc, int dst) in fw_noderesolve_nodeid() argument
152 FW_GLOCK(fc); in fw_noderesolve_nodeid()
153 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_nodeid()
156 FW_GUNLOCK(fc); in fw_noderesolve_nodeid()
165 fw_noderesolve_eui64(struct firewire_comm *fc, struct fw_eui64 *eui) in fw_noderesolve_eui64() argument
169 FW_GLOCK(fc); in fw_noderesolve_eui64()
170 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_eui64()
173 FW_GUNLOCK(fc); in fw_noderesolve_eui64()
186 fw_asyreq(struct firewire_comm *fc, int sub, struct fw_xfer *xfer) in fw_asyreq() argument
204 info = &fc->tcode[tcode]; in fw_asyreq()
[all …]
Dfwdev.c88 struct firewire_comm *fc; member
97 fwdev_allocbuf(struct firewire_comm *fc, struct fw_xferq *q, in fwdev_allocbuf() argument
109 q->buf = fwdma_malloc_multiseg(fc, sizeof(uint32_t), in fwdev_allocbuf()
172 FW_GLOCK(sc->fc); in fw_open()
174 FW_GUNLOCK(sc->fc); in fw_open()
179 FW_GUNLOCK(sc->fc); in fw_open()
192 d->fc = sc->fc; in fw_open()
202 struct firewire_comm *fc; in fw_close() local
212 fc = d->fc; in fw_close()
217 fw_bindremove(fc, fwb); in fw_close()
[all …]
Dfwohci.c280 fwohci_set_bus_manager(struct firewire_comm *fc, u_int node) in fwohci_set_bus_manager() argument
282 struct fwohci_softc *sc = (struct fwohci_softc *)fc; in fwohci_set_bus_manager()
300 device_printf(sc->fc.dev, "%s: %d->%d (loop=%d)\n", in fwohci_set_bus_manager()
325 device_printf(sc->fc.dev, "%s: failed(1).\n", __func__); in fwphy_rddata()
336 device_printf(sc->fc.dev, "%s: failed(2).\n", __func__); in fwphy_rddata()
343 device_printf(sc->fc.dev, in fwphy_rddata()
355 struct fwohci_softc *fc; in fwohci_ioctl() local
365 fc = (struct fwohci_softc *)sc->fc; in fwohci_ioctl()
374 OWRITE(fc, reg->addr, reg->data); in fwohci_ioctl()
375 reg->data = OREAD(fc, reg->addr); in fwohci_ioctl()
[all …]
Dif_fwip.c114 struct firewire_comm *fc; in fwip_poll() local
120 fc = fwip->fd.fc; in fwip_poll()
121 fc->poll(fc, (cmd == POLL_AND_CHECK_STATUS)?0:1, count); in fwip_poll()
164 fwip->fd.fc = device_get_ivars(dev); in fwip_attach()
166 tx_speed = fwip->fd.fc->speed; in fwip_attach()
178 hwaddr->sender_unique_ID_hi = htonl(fwip->fd.fc->eui.hi); in fwip_attach()
179 hwaddr->sender_unique_ID_lo = htonl(fwip->fd.fc->eui.lo); in fwip_attach()
180 hwaddr->sender_max_rec = fwip->fd.fc->maxrec; in fwip_attach()
181 hwaddr->sspd = fwip->fd.fc->speed; in fwip_attach()
209 struct firewire_comm *fc; in fwip_stop() local
[all …]
Dif_fwe.c104 struct firewire_comm *fc; in fwe_poll() local
110 fc = fwe->fd.fc; in fwe_poll()
111 fc->poll(fc, (cmd == POLL_AND_CHECK_STATUS)?0:1, count); in fwe_poll()
154 fwe->fd.fc = device_get_ivars(dev); in fwe_attach()
156 tx_speed = fwe->fd.fc->speed; in fwe_attach()
170 eui = &fwe->fd.fc->eui; in fwe_attach()
212 struct firewire_comm *fc; in fwe_stop() local
218 fc = fwe->fd.fc; in fwe_stop()
221 xferq = fc->ir[fwe->dma_ch]; in fwe_stop()
224 fc->irx_disable(fc, fwe->dma_ch); in fwe_stop()
[all …]
Dfirewirereg.h63 struct firewire_comm *fc; member
73 struct firewire_comm *fc; member
82 struct firewire_comm *fc; member
168 #define FW_GMTX(fc) (&(fc)->mtx) argument
169 #define FW_GLOCK(fc) mtx_lock(FW_GMTX(fc)) argument
170 #define FW_GUNLOCK(fc) mtx_unlock(FW_GMTX(fc)) argument
171 #define FW_GLOCK_ASSERT(fc) mtx_assert(FW_GMTX(fc), MA_OWNED) argument
226 struct firewire_comm *fc; member
255 struct firewire_comm *fc; member
/freebsd-12-stable/contrib/gcc/
Dunwind-sjlj.c91 struct SjLj_Function_Context *fc; member
125 _Unwind_SjLj_Register (struct SjLj_Function_Context *fc) in _Unwind_SjLj_Register() argument
133 fc->prev = __gthread_getspecific (fc_key); in _Unwind_SjLj_Register()
134 __gthread_setspecific (fc_key, fc); in _Unwind_SjLj_Register()
139 fc->prev = fc_static; in _Unwind_SjLj_Register()
140 fc_static = fc; in _Unwind_SjLj_Register()
158 _Unwind_SjLj_SetContext (struct SjLj_Function_Context *fc) in _Unwind_SjLj_SetContext() argument
165 __gthread_setspecific (fc_key, fc); in _Unwind_SjLj_SetContext()
168 fc_static = fc; in _Unwind_SjLj_SetContext()
172 _Unwind_SjLj_Unregister (struct SjLj_Function_Context *fc) in _Unwind_SjLj_Unregister() argument
[all …]
/freebsd-12-stable/contrib/binutils/binutils/
Ddwarf.c2837 frame_need_space (Frame_Chunk *fc, int reg) in frame_need_space() argument
2839 int prev = fc->ncols; in frame_need_space()
2841 if (reg < fc->ncols) in frame_need_space()
2844 fc->ncols = reg + 1; in frame_need_space()
2845 fc->col_type = xcrealloc (fc->col_type, fc->ncols, sizeof (short int)); in frame_need_space()
2846 fc->col_offset = xcrealloc (fc->col_offset, fc->ncols, sizeof (int)); in frame_need_space()
2848 while (prev < fc->ncols) in frame_need_space()
2850 fc->col_type[prev] = DW_CFA_unreferenced; in frame_need_space()
2851 fc->col_offset[prev] = 0; in frame_need_space()
2857 frame_display_row (Frame_Chunk *fc, int *need_col_headers, int *max_regs) in frame_display_row() argument
[all …]
/freebsd-12-stable/contrib/tcpdump/
Dprint-802_15_4.c50 #define FC_FRAME_TYPE(fc) ((fc) & 0x7) argument
55 #define FC_DEST_ADDRESSING_MODE(fc) (((fc) >> 10) & 0x3) argument
56 #define FC_FRAME_VERSION(fc) (((fc) >> 12) & 0x3) argument
57 #define FC_SRC_ADDRESSING_MODE(fc) (((fc) >> 14) & 0x3) argument
70 uint16_t fc; in ieee802_15_4_if_print() local
80 fc = EXTRACT_LE_16BITS(p); in ieee802_15_4_if_print()
86 ND_PRINT((ndo,"IEEE 802.15.4 %s packet ", ftypes[FC_FRAME_TYPE(fc)])); in ieee802_15_4_if_print()
93 switch (FC_DEST_ADDRESSING_MODE(fc)) { in ieee802_15_4_if_print()
95 if (fc & FC_PAN_ID_COMPRESSION) { in ieee802_15_4_if_print()
156 switch (FC_SRC_ADDRESSING_MODE(fc)) { in ieee802_15_4_if_print()
[all …]
Dprint-802_11.c164 #define FC_VERSION(fc) ((fc) & 0x3) argument
165 #define FC_TYPE(fc) (((fc) >> 2) & 0x3) argument
166 #define FC_SUBTYPE(fc) (((fc) >> 4) & 0xF) argument
167 #define FC_TO_DS(fc) ((fc) & 0x0100) argument
168 #define FC_FROM_DS(fc) ((fc) & 0x0200) argument
169 #define FC_MORE_FLAG(fc) ((fc) & 0x0400) argument
170 #define FC_RETRY(fc) ((fc) & 0x0800) argument
171 #define FC_POWER_MGMT(fc) ((fc) & 0x1000) argument
172 #define FC_MORE_DATA(fc) ((fc) & 0x2000) argument
173 #define FC_PROTECTED(fc) ((fc) & 0x4000) argument
[all …]
Dprint-fddi.c162 print_fddi_fc(netdissect_options *ndo, u_char fc) in print_fddi_fc() argument
164 switch (fc) { in print_fddi_fc()
195 switch (fc & FDDIFC_CLFF) { in print_fddi_fc()
198 ND_PRINT((ndo, "mac%1x ", fc & FDDIFC_ZZZZ)); in print_fddi_fc()
202 ND_PRINT((ndo, "smt%1x ", fc & FDDIFC_ZZZZ)); in print_fddi_fc()
206 ND_PRINT((ndo, "async%1x ", fc & FDDIFC_ZZZZ)); in print_fddi_fc()
210 ND_PRINT((ndo, "sync%1x ", fc & FDDIFC_ZZZZ)); in print_fddi_fc()
214 ND_PRINT((ndo, "imp_async%1x ", fc & FDDIFC_ZZZZ)); in print_fddi_fc()
218 ND_PRINT((ndo, "imp_sync%1x ", fc & FDDIFC_ZZZZ)); in print_fddi_fc()
222 ND_PRINT((ndo, "%02x ", fc)); in print_fddi_fc()
/freebsd-12-stable/sys/compat/cloudabi/
Dcloudabi_futex.c252 futex_condvar_assert(const struct futex_condvar *fc) in futex_condvar_assert() argument
255 KASSERT(fc->fc_waitcount >= futex_queue_count(&fc->fc_waiters), in futex_condvar_assert()
257 futex_lock_assert(fc->fc_lock); in futex_condvar_assert()
265 struct futex_condvar *fc; in futex_condvar_lookup() local
273 LIST_FOREACH(fc, &futex_condvar_list, fc_next) { in futex_condvar_lookup()
274 if (futex_address_match(&fc->fc_address, &fa_condvar)) { in futex_condvar_lookup()
277 futex_condvar_assert(fc); in futex_condvar_lookup()
278 *fcret = fc; in futex_condvar_lookup()
294 struct futex_condvar *fc; in futex_condvar_lookup_or_create() local
308 LIST_FOREACH(fc, &futex_condvar_list, fc_next) { in futex_condvar_lookup_or_create()
[all …]
/freebsd-12-stable/contrib/processor-trace/libipt/src/
Dpt_time.c111 static int pt_time_ctc_fc(uint64_t *fc, uint64_t ctc, in pt_time_ctc_fc() argument
116 if (!fc || !config) in pt_time_ctc_fc()
126 *fc = (ctc * ebx) / eax; in pt_time_ctc_fc()
144 time->fc = 0ull; in pt_time_update_tsc()
173 uint64_t fc; in pt_time_update_tma() local
191 fc = packet->fc; in pt_time_update_tma()
202 time->base -= fc; in pt_time_update_tma()
203 time->fc += fc; in pt_time_update_tma()
260 if (time->fc || time->lost_cyc || !have_mtc) in pt_time_update_mtc()
265 time->fc = 0ull; in pt_time_update_mtc()
[all …]
/freebsd-12-stable/sys/dev/sound/pcm/
Dfeeder.c61 struct feeder_class *fc = p; in feeder_register() local
66 KASSERT(fc->desc == NULL, ("first feeder not root: %s", fc->name)); in feeder_register()
72 fc->name); in feeder_register()
76 fte->feederclass = fc; in feeder_register()
133 KASSERT(fc->desc != NULL, ("feeder '%s' has no descriptor", fc->name)); in feeder_register()
137 while ((feedercnt < MAXFEEDERS) && (fc->desc[i].type > 0)) { in feeder_register()
141 …printf("can't allocate memory for feeder '%s', %x -> %x\n", fc->name, fc->desc[i].in, fc->desc[i].… in feeder_register()
145 fte->feederclass = fc; in feeder_register()
146 fte->desc = &fc->desc[i]; in feeder_register()
187 feeder_create(struct feeder_class *fc, struct pcm_feederdesc *desc) in feeder_create() argument
[all …]
Dfeeder_chain.c142 struct feeder_class *fc; in feeder_build_format() local
152 fc = feeder_getclass(desc); in feeder_build_format()
153 if (fc == NULL) { in feeder_build_format()
162 ret = chn_addfeeder(c, fc, desc); in feeder_build_format()
210 struct feeder_class *fc; in feeder_build_rate() local
225 fc = feeder_getclass(desc); in feeder_build_rate()
226 if (fc == NULL) { in feeder_build_rate()
235 ret = chn_addfeeder(c, fc, desc); in feeder_build_rate()
288 struct feeder_class *fc; in feeder_build_matrix() local
303 fc = feeder_getclass(desc); in feeder_build_matrix()
[all …]
/freebsd-12-stable/crypto/openssl/crypto/
Ds390xcpuid.pl269 my ($in,$len,$fc,$param) = map("%r$_",(2..5));
275 llgfr %r0,$fc
290 my ($in,$inlen,$out,$outlen,$fc) = map("%r$_",(2..6));
296 llgfr %r0,$fc
311 my ($in,$len,$out,$fc,$param) = map("%r$_",(2..6));
317 lr %r0,$fc
332 my ($in,$len,$fc,$param) = map("%r$_",(2..5));
338 lr %r0,$fc
353 my ($in,$len,$out,$fc,$param) = map("%r$_",(2..6));
359 lr %r0,$fc
[all …]
Ds390x_arch.h15 void s390x_kimd(const unsigned char *in, size_t len, unsigned int fc,
18 size_t outlen, unsigned int fc, void *param);
20 unsigned int fc, void *param);
21 void s390x_kmac(const unsigned char *in, size_t len, unsigned int fc,
24 unsigned int fc, void *param);
26 unsigned int fc, void *param);
28 size_t len, unsigned char *out, unsigned int fc, void *param);
/freebsd-12-stable/lib/libdpv/
Ddpv.c103 char *fc; in dpv() local
445 fc = pprompt; in dpv()
446 while (fc != NULL && *fc != '\0') { in dpv()
447 if (*fc == '\n') /* leading literal newline OK */ in dpv()
449 if (!isspace(*fc) && *fc != '\\' && backslash == 0) in dpv()
451 else if (backslash > 0 && *fc != 'n') in dpv()
453 else if (*fc == '\\') { in dpv()
458 fc++; in dpv()
461 if (fc != NULL && *fc >= '0' && *fc <= '9') in dpv()
464 else if (fc > pprompt) in dpv()
[all …]
/freebsd-12-stable/contrib/xz/src/liblzma/common/
Dfilter_common.c265 const lzma_filter_coder *const fc in lzma_raw_coder_init() local
267 if (fc == NULL || fc->init == NULL) in lzma_raw_coder_init()
271 filters[j].init = fc->init; in lzma_raw_coder_init()
276 const lzma_filter_coder *const fc in lzma_raw_coder_init() local
278 if (fc == NULL || fc->init == NULL) in lzma_raw_coder_init()
282 filters[i].init = fc->init; in lzma_raw_coder_init()
315 const lzma_filter_coder *const fc in lzma_raw_coder_memusage() local
317 if (fc == NULL) in lzma_raw_coder_memusage()
320 if (fc->memusage == NULL) { in lzma_raw_coder_memusage()
332 = fc->memusage(filters[i].options); in lzma_raw_coder_memusage()
/freebsd-12-stable/sys/net/
Dif_fwsubr.c84 struct fw_com *fc = IFP2FWC(ifp); in firewire_output() local
179 error = nd6_resolve(fc->fc_ifp, is_gw, m, dst, in firewire_output()
203 bcopy(&fc->fc_hwaddr, h.firewire_shost, 8); in firewire_output()
225 speed = min(fc->fc_speed, destfw->sspd); in firewire_output()
335 firewire_input_fragment(struct fw_com *fc, struct mbuf *m, int src) in firewire_input_fragment() argument
349 STAILQ_FOREACH(r, &fc->fc_frags, fr_link) in firewire_input_fragment()
360 STAILQ_INSERT_HEAD(&fc->fc_frags, r, fr_link); in firewire_input_fragment()
450 STAILQ_REMOVE(&fc->fc_frags, r, fw_reass, fr_link); in firewire_input_fragment()
502 struct fw_com *fc = IFP2FWC(ifp); in firewire_input() local
534 m = firewire_input_fragment(fc, m, src); in firewire_input()
[all …]
/freebsd-12-stable/sys/dev/igc/
Digc_mac.c544 if (hw->fc.requested_mode == igc_fc_default) { in igc_setup_link_generic()
545 hw->fc.requested_mode = igc_fc_full; in igc_setup_link_generic()
551 hw->fc.current_mode = hw->fc.requested_mode; in igc_setup_link_generic()
554 hw->fc.current_mode); in igc_setup_link_generic()
571 IGC_WRITE_REG(hw, IGC_FCTTV, hw->fc.pause_time); in igc_setup_link_generic()
618 if (hw->fc.current_mode & igc_fc_tx_pause) { in igc_set_fc_watermarks_generic()
623 fcrtl = hw->fc.low_water; in igc_set_fc_watermarks_generic()
624 if (hw->fc.send_xon) in igc_set_fc_watermarks_generic()
627 fcrth = hw->fc.high_water; in igc_set_fc_watermarks_generic()
670 DEBUGOUT1("hw->fc.current_mode = %u\n", hw->fc.current_mode); in igc_force_mac_fc_generic()
[all …]
/freebsd-12-stable/usr.sbin/lpr/lptest/
Dlptest.c59 register int i, j, fc, nc; in main() local
71 fc = ' '; in main()
73 if (++fc == 0177) in main()
74 fc = ' '; in main()
75 nc = fc; in main()
/freebsd-12-stable/sbin/bsdlabel/
Ddisktab28 :pc#720:oc#0:bc#4096:fc#512:
33 :pc#1440:oc#0:bc#4096:fc#512:
38 :pc#2400:oc#0:bc#4096:fc#512:
43 :pc#2880:oc#0:bc#4096:fc#512:
58 :pc#1600:oc#0:bc#4096:fc#512:
63 :pc#1640:oc#0:bc#4096:fc#512:
68 :pc#2952:oc#0:bc#4096:fc#512:
73 :pc#3444:oc#0:bc#4096:fc#512:
81 :pc#246528:oc#0:bc#4096:fc#512:
178 :pc#2880:oc#0:bc#4096:fc#512:
[all …]
/freebsd-12-stable/sys/dev/isp/
Disp_freebsd.c160 struct isp_fc *fc = ISP_FC_PC(isp, chan); in isp_attach_chan() local
165 fc->sim = sim; in isp_attach_chan()
166 fc->path = path; in isp_attach_chan()
167 fc->isp = isp; in isp_attach_chan()
168 fc->ready = 1; in isp_attach_chan()
172 callout_init_mtx(&fc->gdt, &isp->isp_lock, 0); in isp_attach_chan()
173 TASK_INIT(&fc->gtask, 1, isp_gdt_task, fc); in isp_attach_chan()
175 TAILQ_INIT(&fc->waitq); in isp_attach_chan()
176 STAILQ_INIT(&fc->ntfree); in isp_attach_chan()
178 STAILQ_INSERT_TAIL(&fc->ntfree, &fc->ntpool[i], next); in isp_attach_chan()
[all …]
/freebsd-12-stable/contrib/libxo/xo/
Dxo.c131 char fc = *cp; in formatter() local
139 if (fc == 'D' || fc == 'O' || fc == 'U') in formatter()
142 if (strchr("diD", fc) != NULL) { in formatter()
151 } else if (strchr("ouxXOUp", fc) != NULL) { in formatter()
160 } else if (strchr("eEfFgGaA", fc) != NULL) { in formatter()
169 } else if (fc == 'C' || fc == 'c' || fc == 'S' || fc == 's') { in formatter()

12345678910>>...17