Home
last modified time | relevance | path

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

12345678910>>...17

/freebsd-13-stable/sys/dev/firewire/
HDfirewire.c146 fw_noderesolve_nodeid(struct firewire_comm *fc, int dst) in fw_noderesolve_nodeid() argument
150 FW_GLOCK(fc); in fw_noderesolve_nodeid()
151 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_nodeid()
154 FW_GUNLOCK(fc); in fw_noderesolve_nodeid()
163 fw_noderesolve_eui64(struct firewire_comm *fc, struct fw_eui64 *eui) in fw_noderesolve_eui64() argument
167 FW_GLOCK(fc); in fw_noderesolve_eui64()
168 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_eui64()
171 FW_GUNLOCK(fc); in fw_noderesolve_eui64()
184 fw_asyreq(struct firewire_comm *fc, int sub, struct fw_xfer *xfer) in fw_asyreq() argument
202 info = &fc->tcode[tcode]; in fw_asyreq()
[all …]
HDfwdev.c86 struct firewire_comm *fc; member
95 fwdev_allocbuf(struct firewire_comm *fc, struct fw_xferq *q, in fwdev_allocbuf() argument
107 q->buf = fwdma_malloc_multiseg(fc, sizeof(uint32_t), in fwdev_allocbuf()
170 FW_GLOCK(sc->fc); in fw_open()
172 FW_GUNLOCK(sc->fc); in fw_open()
177 FW_GUNLOCK(sc->fc); in fw_open()
190 d->fc = sc->fc; in fw_open()
200 struct firewire_comm *fc; in fw_close() local
210 fc = d->fc; in fw_close()
215 fw_bindremove(fc, fwb); in fw_close()
[all …]
HDfwohci.c279 fwohci_set_bus_manager(struct firewire_comm *fc, u_int node) in fwohci_set_bus_manager() argument
281 struct fwohci_softc *sc = (struct fwohci_softc *)fc; in fwohci_set_bus_manager()
299 device_printf(sc->fc.dev, "%s: %d->%d (loop=%d)\n", in fwohci_set_bus_manager()
324 device_printf(sc->fc.dev, "%s: failed(1).\n", __func__); in fwphy_rddata()
335 device_printf(sc->fc.dev, "%s: failed(2).\n", __func__); in fwphy_rddata()
342 device_printf(sc->fc.dev, in fwphy_rddata()
354 struct fwohci_softc *fc; in fwohci_ioctl() local
364 fc = (struct fwohci_softc *)sc->fc; in fwohci_ioctl()
373 OWRITE(fc, reg->addr, reg->data); in fwohci_ioctl()
374 reg->data = OREAD(fc, reg->addr); in fwohci_ioctl()
[all …]
HDif_fwip.c113 struct firewire_comm *fc; in fwip_poll() local
119 fc = fwip->fd.fc; in fwip_poll()
120 fc->poll(fc, (cmd == POLL_AND_CHECK_STATUS)?0:1, count); in fwip_poll()
161 fwip->fd.fc = device_get_ivars(dev); in fwip_attach()
163 tx_speed = fwip->fd.fc->speed; in fwip_attach()
175 hwaddr->sender_unique_ID_hi = htonl(fwip->fd.fc->eui.hi); in fwip_attach()
176 hwaddr->sender_unique_ID_lo = htonl(fwip->fd.fc->eui.lo); in fwip_attach()
177 hwaddr->sender_max_rec = fwip->fd.fc->maxrec; in fwip_attach()
178 hwaddr->sspd = fwip->fd.fc->speed; in fwip_attach()
206 struct firewire_comm *fc; in fwip_stop() local
[all …]
HDif_fwe.c102 struct firewire_comm *fc; in fwe_poll() local
108 fc = fwe->fd.fc; in fwe_poll()
109 fc->poll(fc, (cmd == POLL_AND_CHECK_STATUS)?0:1, count); in fwe_poll()
152 fwe->fd.fc = device_get_ivars(dev); in fwe_attach()
154 tx_speed = fwe->fd.fc->speed; in fwe_attach()
168 eui = &fwe->fd.fc->eui; in fwe_attach()
205 struct firewire_comm *fc; in fwe_stop() local
211 fc = fwe->fd.fc; in fwe_stop()
214 xferq = fc->ir[fwe->dma_ch]; in fwe_stop()
217 fc->irx_disable(fc, fwe->dma_ch); in fwe_stop()
[all …]
HDfirewirereg.h61 struct firewire_comm *fc; member
71 struct firewire_comm *fc; member
80 struct firewire_comm *fc; member
166 #define FW_GMTX(fc) (&(fc)->mtx) argument
167 #define FW_GLOCK(fc) mtx_lock(FW_GMTX(fc)) argument
168 #define FW_GUNLOCK(fc) mtx_unlock(FW_GMTX(fc)) argument
169 #define FW_GLOCK_ASSERT(fc) mtx_assert(FW_GMTX(fc), MA_OWNED) argument
224 struct firewire_comm *fc; member
253 struct firewire_comm *fc; member
/freebsd-13-stable/sys/compat/cloudabi/
HDcloudabi_futex.c250 futex_condvar_assert(const struct futex_condvar *fc) in futex_condvar_assert() argument
253 KASSERT(fc->fc_waitcount >= futex_queue_count(&fc->fc_waiters), in futex_condvar_assert()
255 futex_lock_assert(fc->fc_lock); in futex_condvar_assert()
263 struct futex_condvar *fc; in futex_condvar_lookup() local
271 LIST_FOREACH(fc, &futex_condvar_list, fc_next) { in futex_condvar_lookup()
272 if (futex_address_match(&fc->fc_address, &fa_condvar)) { in futex_condvar_lookup()
275 futex_condvar_assert(fc); in futex_condvar_lookup()
276 *fcret = fc; in futex_condvar_lookup()
292 struct futex_condvar *fc; in futex_condvar_lookup_or_create() local
306 LIST_FOREACH(fc, &futex_condvar_list, fc_next) { in futex_condvar_lookup_or_create()
[all …]
/freebsd-13-stable/sys/dev/hid/
HDhconf.c139 struct feature_control *fc; in hconf_set_feature_control() local
146 fc = &sc->feature_controls[ctrl_id]; in hconf_set_feature_control()
147 if (fc->rlen <= 1) in hconf_set_feature_control()
150 fbuf = malloc(fc->rlen, M_TEMP, M_WAITOK | M_ZERO); in hconf_set_feature_control()
157 bzero(fbuf + 1, fc->rlen - 1); in hconf_set_feature_control()
162 if (ofc->rid != fc->rid) in hconf_set_feature_control()
164 KASSERT(fc->rlen == ofc->rlen, in hconf_set_feature_control()
166 fc->rid, fc->rlen, ofc->rlen)); in hconf_set_feature_control()
171 fbuf[0] = fc->rid; in hconf_set_feature_control()
173 error = hid_set_report(sc->dev, fbuf, fc->rlen, in hconf_set_feature_control()
[all …]
/freebsd-13-stable/contrib/processor-trace/libipt/src/
HDpt_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()
179 uint64_t fc; in pt_time_update_tma() local
197 fc = packet->fc; in pt_time_update_tma()
208 time->base -= fc; in pt_time_update_tma()
209 time->fc += fc; in pt_time_update_tma()
266 if (time->fc || time->lost_cyc || !have_mtc) in pt_time_update_mtc()
271 time->fc = 0ull; in pt_time_update_mtc()
[all …]
/freebsd-13-stable/contrib/tcpdump/
HDprint-fddi.c160 print_fddi_fc(netdissect_options *ndo, u_char fc) in print_fddi_fc() argument
162 switch (fc) { in print_fddi_fc()
193 switch (fc & FDDIFC_CLFF) { in print_fddi_fc()
196 ND_PRINT("mac%1x ", fc & FDDIFC_ZZZZ); in print_fddi_fc()
200 ND_PRINT("smt%1x ", fc & FDDIFC_ZZZZ); in print_fddi_fc()
204 ND_PRINT("async%1x ", fc & FDDIFC_ZZZZ); in print_fddi_fc()
208 ND_PRINT("sync%1x ", fc & FDDIFC_ZZZZ); in print_fddi_fc()
212 ND_PRINT("imp_async%1x ", fc & FDDIFC_ZZZZ); in print_fddi_fc()
216 ND_PRINT("imp_sync%1x ", fc & FDDIFC_ZZZZ); in print_fddi_fc()
220 ND_PRINT("%02x ", fc); in print_fddi_fc()
[all …]
HDprint-802_11.c162 #define FC_VERSION(fc) ((fc) & 0x3) argument
163 #define FC_TYPE(fc) (((fc) >> 2) & 0x3) argument
164 #define FC_SUBTYPE(fc) (((fc) >> 4) & 0xF) argument
165 #define FC_TO_DS(fc) ((fc) & 0x0100) argument
166 #define FC_FROM_DS(fc) ((fc) & 0x0200) argument
167 #define FC_MORE_FLAG(fc) ((fc) & 0x0400) argument
168 #define FC_RETRY(fc) ((fc) & 0x0800) argument
169 #define FC_POWER_MGMT(fc) ((fc) & 0x1000) argument
170 #define FC_MORE_DATA(fc) ((fc) & 0x2000) argument
171 #define FC_PROTECTED(fc) ((fc) & 0x4000) argument
[all …]
HDprint-802_15_4.c410 #define FC_FRAME_TYPE(fc) ((fc) & 0x7) argument
411 #define FC_FRAME_VERSION(fc) (((fc) >> 12) & 0x3) argument
1794 uint16_t fc) in ieee802_15_4_std_frames() argument
1836 frame_version = FC_FRAME_VERSION(fc); in ieee802_15_4_std_frames()
1837 frame_type = FC_FRAME_TYPE(fc); in ieee802_15_4_std_frames()
1841 if (CHECK_BIT(fc, 3)) { ND_PRINT("Security Enabled, "); } in ieee802_15_4_std_frames()
1842 if (CHECK_BIT(fc, 4)) { ND_PRINT("Frame Pending, "); } in ieee802_15_4_std_frames()
1843 if (CHECK_BIT(fc, 5)) { ND_PRINT("AR, "); } in ieee802_15_4_std_frames()
1844 if (CHECK_BIT(fc, 6)) { ND_PRINT("PAN ID Compression, "); } in ieee802_15_4_std_frames()
1845 if (CHECK_BIT(fc, 8)) { ND_PRINT("Sequence Number Suppression, "); } in ieee802_15_4_std_frames()
[all …]
/freebsd-13-stable/sys/dev/isp/
HDisp_freebsd.c111 struct isp_fc *fc = ISP_FC_PC(isp, chan); in isp_attach_chan() local
138 fc->sim = sim; in isp_attach_chan()
139 fc->path = path; in isp_attach_chan()
140 fc->isp = isp; in isp_attach_chan()
141 fc->ready = 1; in isp_attach_chan()
145 callout_init_mtx(&fc->gdt, &isp->isp_lock, 0); in isp_attach_chan()
146 TASK_INIT(&fc->gtask, 1, isp_gdt_task, fc); in isp_attach_chan()
148 TAILQ_INIT(&fc->waitq); in isp_attach_chan()
149 STAILQ_INIT(&fc->ntfree); in isp_attach_chan()
151 STAILQ_INSERT_TAIL(&fc->ntfree, &fc->ntpool[i], next); in isp_attach_chan()
[all …]
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
HDieee80211.h705 ieee80211_is_ctl(__le16 fc) in ieee80211_is_ctl() argument
709 fc &= htole16(IEEE80211_FC0_TYPE_MASK); in ieee80211_is_ctl()
712 return (fc == v); in ieee80211_is_ctl()
717 ieee80211_is_data(__le16 fc) in ieee80211_is_data() argument
721 fc &= htole16(IEEE80211_FC0_TYPE_MASK); in ieee80211_is_data()
724 return (fc == v); in ieee80211_is_data()
729 ieee80211_is_data_qos(__le16 fc) in ieee80211_is_data_qos() argument
733 fc &= htole16(IEEE80211_FC0_SUBTYPE_QOS_DATA | IEEE80211_FC0_TYPE_MASK); in ieee80211_is_data_qos()
736 return (fc == v); in ieee80211_is_data_qos()
741 ieee80211_is_mgmt(__le16 fc) in ieee80211_is_mgmt() argument
[all …]
/freebsd-13-stable/sys/compat/linuxkpi/common/include/net/
HDmac80211.h1264 ieee80211_is_action(__le16 fc) in ieee80211_is_action() argument
1268 fc &= htole16(IEEE80211_FC0_SUBTYPE_MASK | IEEE80211_FC0_TYPE_MASK); in ieee80211_is_action()
1271 return (fc == v); in ieee80211_is_action()
1275 ieee80211_is_probe_resp(__le16 fc) in ieee80211_is_probe_resp() argument
1279 fc &= htole16(IEEE80211_FC0_SUBTYPE_MASK | IEEE80211_FC0_TYPE_MASK); in ieee80211_is_probe_resp()
1282 return (fc == v); in ieee80211_is_probe_resp()
1286 ieee80211_is_auth(__le16 fc) in ieee80211_is_auth() argument
1290 fc &= htole16(IEEE80211_FC0_SUBTYPE_MASK | IEEE80211_FC0_TYPE_MASK); in ieee80211_is_auth()
1293 return (fc == v); in ieee80211_is_auth()
1297 ieee80211_is_assoc_req(__le16 fc) in ieee80211_is_assoc_req() argument
[all …]
/freebsd-13-stable/sys/dev/sound/pcm/
HDfeeder.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 …]
HDfeeder_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-13-stable/crypto/openssl/crypto/
HDs390xcpuid.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 …]
HDs390x_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-13-stable/lib/libdpv/
HDdpv.c101 char *fc; in dpv() local
443 fc = pprompt; in dpv()
444 while (fc != NULL && *fc != '\0') { in dpv()
445 if (*fc == '\n') /* leading literal newline OK */ in dpv()
447 if (!isspace(*fc) && *fc != '\\' && backslash == 0) in dpv()
449 else if (backslash > 0 && *fc != 'n') in dpv()
451 else if (*fc == '\\') { in dpv()
456 fc++; in dpv()
459 if (fc != NULL && *fc >= '0' && *fc <= '9') in dpv()
462 else if (fc > pprompt) in dpv()
[all …]
/freebsd-13-stable/usr.sbin/lpr/lptest/
HDlptest.c57 register int i, j, fc, nc; in main() local
69 fc = ' '; in main()
71 if (++fc == 0177) in main()
72 fc = ' '; in main()
73 nc = fc; in main()
/freebsd-13-stable/contrib/xz/src/liblzma/common/
HDfilter_common.c315 const lzma_filter_coder *const fc in lzma_raw_coder_init() local
317 if (fc == NULL || fc->init == NULL) in lzma_raw_coder_init()
321 filters[j].init = fc->init; in lzma_raw_coder_init()
326 const lzma_filter_coder *const fc in lzma_raw_coder_init() local
328 if (fc == NULL || fc->init == NULL) in lzma_raw_coder_init()
332 filters[i].init = fc->init; in lzma_raw_coder_init()
365 const lzma_filter_coder *const fc in lzma_raw_coder_memusage() local
367 if (fc == NULL) in lzma_raw_coder_memusage()
370 if (fc->memusage == NULL) { in lzma_raw_coder_memusage()
382 = fc->memusage(filters[i].options); in lzma_raw_coder_memusage()
/freebsd-13-stable/sys/dev/igc/
HDigc_mac.c542 if (hw->fc.requested_mode == igc_fc_default) { in igc_setup_link_generic()
543 hw->fc.requested_mode = igc_fc_full; in igc_setup_link_generic()
549 hw->fc.current_mode = hw->fc.requested_mode; in igc_setup_link_generic()
552 hw->fc.current_mode); in igc_setup_link_generic()
569 IGC_WRITE_REG(hw, IGC_FCTTV, hw->fc.pause_time); in igc_setup_link_generic()
616 if (hw->fc.current_mode & igc_fc_tx_pause) { in igc_set_fc_watermarks_generic()
621 fcrtl = hw->fc.low_water; in igc_set_fc_watermarks_generic()
622 if (hw->fc.send_xon) in igc_set_fc_watermarks_generic()
625 fcrth = hw->fc.high_water; in igc_set_fc_watermarks_generic()
668 DEBUGOUT1("hw->fc.current_mode = %u\n", hw->fc.current_mode); in igc_force_mac_fc_generic()
[all …]
/freebsd-13-stable/sbin/bsdlabel/
HDdisktab27 :pc#720:oc#0:bc#4096:fc#512:
32 :pc#1440:oc#0:bc#4096:fc#512:
37 :pc#2400:oc#0:bc#4096:fc#512:
42 :pc#2880:oc#0:bc#4096:fc#512:
57 :pc#1600:oc#0:bc#4096:fc#512:
62 :pc#1640:oc#0:bc#4096:fc#512:
67 :pc#2952:oc#0:bc#4096:fc#512:
72 :pc#3444:oc#0:bc#4096:fc#512:
80 :pc#246528:oc#0:bc#4096:fc#512:
177 :pc#2880:oc#0:bc#4096:fc#512:
[all …]
/freebsd-13-stable/sys/net/
HDif_fwsubr.c82 struct fw_com *fc = IFP2FWC(ifp); in firewire_output() local
196 error = nd6_resolve(fc->fc_ifp, LLE_SF(af, is_gw), m, in firewire_output()
219 bcopy(&fc->fc_hwaddr, h.firewire_shost, 8); in firewire_output()
241 speed = min(fc->fc_speed, destfw->sspd); in firewire_output()
351 firewire_input_fragment(struct fw_com *fc, struct mbuf *m, int src) in firewire_input_fragment() argument
365 STAILQ_FOREACH(r, &fc->fc_frags, fr_link) in firewire_input_fragment()
376 STAILQ_INSERT_HEAD(&fc->fc_frags, r, fr_link); in firewire_input_fragment()
466 STAILQ_REMOVE(&fc->fc_frags, r, fw_reass, fr_link); in firewire_input_fragment()
518 struct fw_com *fc = IFP2FWC(ifp); in firewire_input() local
550 m = firewire_input_fragment(fc, m, src); in firewire_input()
[all …]

12345678910>>...17