Home
last modified time | relevance | path

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

12345

/dragonfly/sys/bus/firewire/
HDfirewire.c147 fw_noderesolve_nodeid(struct firewire_comm *fc, int dst) in fw_noderesolve_nodeid() argument
152 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_nodeid()
164 fw_noderesolve_eui64(struct firewire_comm *fc, struct fw_eui64 *eui) in fw_noderesolve_eui64() argument
169 STAILQ_FOREACH(fwdev, &fc->devices, link) in fw_noderesolve_eui64()
183 fw_asyreq(struct firewire_comm *fc, int sub, struct fw_xfer *xfer) in fw_asyreq() argument
200 info = &fc->tcode[tcode]; in fw_asyreq()
206 xferq = fc->atq; in fw_asyreq()
208 xferq = fc->ats; in fw_asyreq()
210 if (xfer->send.pay_len > MAXREC(fc->maxrec)) { in fw_asyreq()
231 device_printf(fc->bdev, "Discard a packet (queued=%d)\n", in fw_asyreq()
[all …]
HDfwdev.c95 fwdev_allocbuf(struct firewire_comm *fc, struct fw_xferq *q, in fwdev_allocbuf() argument
108 q->buf = fwdma_malloc_multiseg(fc, sizeof(u_int32_t), in fwdev_allocbuf()
189 struct firewire_comm *fc; in fw_close() local
200 fc = sc->fc; in fw_close()
210 fc->irx_disable(fc, ir->dmach); in fw_close()
226 STAILQ_REMOVE(&fc->binds, fwb, fw_bind, fclist); in fw_close()
242 fc->itx_disable(fc, it->dmach); in fw_close()
312 if (sc->fc->irx_post != NULL) in fw_read()
313 sc->fc->irx_post(sc->fc, fp->mode.ld); in fw_read()
323 if(sc->fc->irx_post != NULL) in fw_read()
[all …]
HDfwohci.c263 fwohci_set_bus_manager(struct firewire_comm *fc, u_int node) in fwohci_set_bus_manager() argument
265 struct fwohci_softc *sc = (struct fwohci_softc *)fc; in fwohci_set_bus_manager()
283 device_printf(sc->fc.dev, in fwohci_set_bus_manager()
309 device_printf(sc->fc.dev, "phy read failed(1).\n"); in fwphy_rddata()
320 device_printf(sc->fc.dev, "phy read failed(2).\n"); in fwphy_rddata()
327 device_printf(sc->fc.dev, in fwphy_rddata()
338 struct fwohci_softc *fc; in fwohci_ioctl() local
348 fc = (struct fwohci_softc *)sc->fc; in fwohci_ioctl()
357 OWRITE(fc, reg->addr, reg->data); in fwohci_ioctl()
358 reg->data = OREAD(fc, reg->addr); in fwohci_ioctl()
[all …]
HDfwdma.c65 fwdma_malloc(struct firewire_comm *fc, int alignment, bus_size_t size, in fwdma_malloc() argument
72 /*parent*/ fc->dmat, in fwdma_malloc()
109 fwdma_free(struct firewire_comm *fc, struct fwdma_alloc *dma) in fwdma_free() argument
145 fwdma_malloc_multiseg(struct firewire_comm *fc, int alignment, in fwdma_malloc_multiseg() argument
168 /*parent*/ fc->dmat, in fwdma_malloc_multiseg()
/dragonfly/contrib/gcc-8.0/libgcc/
HDunwind-sjlj.c86 struct SjLj_Function_Context *fc; member
120 _Unwind_SjLj_Register (struct SjLj_Function_Context *fc) in _Unwind_SjLj_Register() argument
128 fc->prev = __gthread_getspecific (fc_key); in _Unwind_SjLj_Register()
129 __gthread_setspecific (fc_key, fc); in _Unwind_SjLj_Register()
134 fc->prev = fc_static; in _Unwind_SjLj_Register()
135 fc_static = fc; in _Unwind_SjLj_Register()
153 _Unwind_SjLj_SetContext (struct SjLj_Function_Context *fc) in _Unwind_SjLj_SetContext() argument
160 __gthread_setspecific (fc_key, fc); in _Unwind_SjLj_SetContext()
163 fc_static = fc; in _Unwind_SjLj_SetContext()
167 _Unwind_SjLj_Unregister (struct SjLj_Function_Context *fc) in _Unwind_SjLj_Unregister() argument
[all …]
/dragonfly/contrib/gcc-4.7/libgcc/
HDunwind-sjlj.c87 struct SjLj_Function_Context *fc; member
121 _Unwind_SjLj_Register (struct SjLj_Function_Context *fc) in _Unwind_SjLj_Register() argument
129 fc->prev = __gthread_getspecific (fc_key); in _Unwind_SjLj_Register()
130 __gthread_setspecific (fc_key, fc); in _Unwind_SjLj_Register()
135 fc->prev = fc_static; in _Unwind_SjLj_Register()
136 fc_static = fc; in _Unwind_SjLj_Register()
154 _Unwind_SjLj_SetContext (struct SjLj_Function_Context *fc) in _Unwind_SjLj_SetContext() argument
161 __gthread_setspecific (fc_key, fc); in _Unwind_SjLj_SetContext()
164 fc_static = fc; in _Unwind_SjLj_SetContext()
168 _Unwind_SjLj_Unregister (struct SjLj_Function_Context *fc) in _Unwind_SjLj_Unregister() argument
[all …]
/dragonfly/sys/dev/netif/fwe/
HDif_fwe.c111 struct firewire_comm *fc; in fwe_npoll_compat() local
117 fc = fwe->fd.fc; in fwe_npoll_compat()
123 fc->poll(fc, check_status?0:1, count); in fwe_npoll_compat()
130 struct firewire_comm *fc; in fwe_npoll() local
135 fc = fwe->fd.fc; in fwe_npoll()
146 fc->set_intr(fc, 0); in fwe_npoll()
153 fc->set_intr(fc, 1); in fwe_npoll()
189 fwe->fd.fc = device_get_ivars(dev); in fwe_attach()
191 tx_speed = fwe->fd.fc->speed; in fwe_attach()
205 eui = &fwe->fd.fc->eui; in fwe_attach()
[all …]
/dragonfly/contrib/binutils-2.27/binutils/
HDdwarf.c5298 frame_need_space (Frame_Chunk *fc, unsigned int reg) in frame_need_space() argument
5300 unsigned int prev = fc->ncols; in frame_need_space()
5302 if (reg < (unsigned int) fc->ncols) in frame_need_space()
5309 fc->ncols = reg + 1; in frame_need_space()
5312 if (fc->ncols == 0) in frame_need_space()
5316 if (fc->ncols > 1024) in frame_need_space()
5319 fc->ncols = 0; in frame_need_space()
5325 fc->col_type = (short int *) xcrealloc (fc->col_type, fc->ncols, in frame_need_space()
5327 fc->col_offset = (int *) xcrealloc (fc->col_offset, fc->ncols, sizeof (int)); in frame_need_space()
5329 if (fc->col_type == NULL || fc->col_offset == NULL) in frame_need_space()
[all …]
/dragonfly/contrib/tcpdump/
HDprint-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("mac%1x ", fc & FDDIFC_ZZZZ); in print_fddi_fc()
202 ND_PRINT("smt%1x ", fc & FDDIFC_ZZZZ); in print_fddi_fc()
206 ND_PRINT("async%1x ", fc & FDDIFC_ZZZZ); in print_fddi_fc()
210 ND_PRINT("sync%1x ", fc & FDDIFC_ZZZZ); in print_fddi_fc()
214 ND_PRINT("imp_async%1x ", fc & FDDIFC_ZZZZ); in print_fddi_fc()
218 ND_PRINT("imp_sync%1x ", fc & FDDIFC_ZZZZ); in print_fddi_fc()
222 ND_PRINT("%02x ", fc); in print_fddi_fc()
[all …]
HDprint-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 …]
HDprint-802_15_4.c412 #define FC_FRAME_TYPE(fc) ((fc) & 0x7) argument
413 #define FC_FRAME_VERSION(fc) (((fc) >> 12) & 0x3) argument
1796 uint16_t fc) in ieee802_15_4_std_frames() argument
1837 frame_version = FC_FRAME_VERSION(fc); in ieee802_15_4_std_frames()
1838 frame_type = FC_FRAME_TYPE(fc); in ieee802_15_4_std_frames()
1842 if (CHECK_BIT(fc, 3)) { ND_PRINT("Security Enabled, "); } in ieee802_15_4_std_frames()
1843 if (CHECK_BIT(fc, 4)) { ND_PRINT("Frame Pending, "); } in ieee802_15_4_std_frames()
1844 if (CHECK_BIT(fc, 5)) { ND_PRINT("AR, "); } in ieee802_15_4_std_frames()
1845 if (CHECK_BIT(fc, 6)) { ND_PRINT("PAN ID Compression, "); } in ieee802_15_4_std_frames()
1846 if (CHECK_BIT(fc, 8)) { ND_PRINT("Sequence Number Suppression, "); } in ieee802_15_4_std_frames()
[all …]
/dragonfly/sys/dev/netif/ig_hal/
HDe1000_osdep.c115 e1000_fc2str(enum e1000_fc_mode fc, char *str, int len) in e1000_fc2str() argument
119 switch (fc) { in e1000_fc2str()
159 e1000_fc2ifmedia(enum e1000_fc_mode fc) in e1000_fc2ifmedia() argument
161 switch (fc) { in e1000_fc2ifmedia()
179 enum e1000_fc_mode fc; in e1000_force_flowctrl() local
181 fc = e1000_ifmedia2fc(ifm); in e1000_force_flowctrl()
182 if (hw->fc.current_mode != fc) { in e1000_force_flowctrl()
183 hw->fc.requested_mode = fc; in e1000_force_flowctrl()
184 hw->fc.current_mode = fc; in e1000_force_flowctrl()
HDe1000_mac.c988 hw->fc.requested_mode = e1000_fc_none; in e1000_set_default_fc_generic()
991 hw->fc.requested_mode = e1000_fc_tx_pause; in e1000_set_default_fc_generic()
993 hw->fc.requested_mode = e1000_fc_full; in e1000_set_default_fc_generic()
1023 if (hw->fc.requested_mode == e1000_fc_default) { in e1000_setup_link_generic()
1032 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_generic()
1035 hw->fc.current_mode); in e1000_setup_link_generic()
1052 E1000_WRITE_REG(hw, E1000_FCTTV, hw->fc.pause_time); in e1000_setup_link_generic()
1087 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_generic()
1268 if (hw->fc.current_mode & e1000_fc_tx_pause) { in e1000_set_fc_watermarks_generic()
1273 fcrtl = hw->fc.low_water; in e1000_set_fc_watermarks_generic()
[all …]
/dragonfly/contrib/binutils-2.34/binutils/
HDdwarf.c7145 frame_need_space (Frame_Chunk *fc, unsigned int reg) in frame_need_space() argument
7147 unsigned int prev = fc->ncols; in frame_need_space()
7149 if (reg < (unsigned int) fc->ncols) in frame_need_space()
7156 fc->ncols = reg + 1; in frame_need_space()
7159 if (fc->ncols == 0) in frame_need_space()
7163 if (fc->ncols > 1024 && dwarf_regnames_count == 0) in frame_need_space()
7166 fc->ncols = 0; in frame_need_space()
7172 fc->col_type = (short int *) xcrealloc (fc->col_type, fc->ncols, in frame_need_space()
7174 fc->col_offset = (int *) xcrealloc (fc->col_offset, fc->ncols, sizeof (int)); in frame_need_space()
7176 if (fc->col_type == NULL || fc->col_offset == NULL) in frame_need_space()
[all …]
/dragonfly/sys/dev/sound/pcm/
HDfeeder.c59 struct feeder_class *fc = p; in feeder_register() local
64 KASSERT(fc->desc == NULL, ("first feeder not root: %s", fc->name)); in feeder_register()
70 fc->name); in feeder_register()
74 fte->feederclass = fc; in feeder_register()
131 KASSERT(fc->desc != NULL, ("feeder '%s' has no descriptor", fc->name)); in feeder_register()
135 while ((feedercnt < MAXFEEDERS) && (fc->desc[i].type > 0)) { in feeder_register()
139 …kprintf("can't allocate memory for feeder '%s', %x -> %x\n", fc->name, fc->desc[i].in, fc->desc[i]… in feeder_register()
143 fte->feederclass = fc; in feeder_register()
144 fte->desc = &fc->desc[i]; in feeder_register()
185 feeder_create(struct feeder_class *fc, struct pcm_feederdesc *desc) in feeder_create() argument
[all …]
HDfeeder_chain.c141 struct feeder_class *fc; in feeder_build_format() local
151 fc = feeder_getclass(desc); in feeder_build_format()
152 if (fc == NULL) { in feeder_build_format()
161 ret = chn_addfeeder(c, fc, desc); in feeder_build_format()
209 struct feeder_class *fc; in feeder_build_rate() local
224 fc = feeder_getclass(desc); in feeder_build_rate()
225 if (fc == NULL) { in feeder_build_rate()
234 ret = chn_addfeeder(c, fc, desc); in feeder_build_rate()
287 struct feeder_class *fc; in feeder_build_matrix() local
302 fc = feeder_getclass(desc); in feeder_build_matrix()
[all …]
/dragonfly/contrib/xz/src/liblzma/common/
HDfilter_common.c259 const lzma_filter_coder *const fc in lzma_raw_coder_init() local
261 if (fc == NULL || fc->init == NULL) in lzma_raw_coder_init()
265 filters[j].init = fc->init; in lzma_raw_coder_init()
270 const lzma_filter_coder *const fc in lzma_raw_coder_init() local
272 if (fc == NULL || fc->init == NULL) in lzma_raw_coder_init()
276 filters[i].init = fc->init; in lzma_raw_coder_init()
309 const lzma_filter_coder *const fc in lzma_raw_coder_memusage() local
311 if (fc == NULL) in lzma_raw_coder_memusage()
314 if (fc->memusage == NULL) { in lzma_raw_coder_memusage()
326 = fc->memusage(filters[i].options); in lzma_raw_coder_memusage()
/dragonfly/usr.sbin/lpr/lptest/
HDlptest.c46 int i, j, fc, nc; in main() local
58 fc = ' '; in main()
60 if (++fc == 0177) in main()
61 fc = ' '; in main()
62 nc = fc; in main()
/dragonfly/sys/dev/disk/isp/
HDisp_freebsd.c137 struct isp_fc *fc = ISP_FC_PC(isp, chan); in isp_attach_chan() local
140 fc->sim = sim; in isp_attach_chan()
141 fc->path = path; in isp_attach_chan()
142 fc->isp = isp; in isp_attach_chan()
143 fc->ready = 1; in isp_attach_chan()
145 callout_init(&fc->ldt); in isp_attach_chan()
146 callout_init(&fc->gdt); in isp_attach_chan()
147 TASK_INIT(&fc->ltask, 1, isp_ldt_task, fc); in isp_attach_chan()
148 TASK_INIT(&fc->gtask, 1, isp_gdt_task, fc); in isp_attach_chan()
155 callout_reset(&fc->ldt, isp_quickboot_time * hz, isp_ldt, fc); in isp_attach_chan()
[all …]
/dragonfly/etc/etc.x86_64/
HDdisktab58 :pc#720:oc#0:bc#4096:fc#512:
64 :pc#1440:oc#0:bc#4096:fc#512:
70 :pc#2400:oc#0:bc#4096:fc#512:
76 :pc#2880:oc#0:bc#4096:fc#512:
86 :pc#1600:oc#0:bc#4096:fc#512:
92 :pc#1640:oc#0:bc#4096:fc#512:
98 :pc#2952:oc#0:bc#4096:fc#512:
104 :pc#3444:oc#0:bc#4096:fc#512:
113 :pc#246528:oc#0:bc#4096:fc#512:
210 :pc#2880:oc#0:bc#4096:fc#512:
[all …]
/dragonfly/sys/netbt/
HDrfcomm_upper.c538 struct rfcomm_fc_info *fc; in rfcomm_getopt() local
546 fc = addr; in rfcomm_getopt()
547 memset(fc, 0, sizeof(*fc)); in rfcomm_getopt()
548 fc->lmodem = dlc->rd_lmodem; in rfcomm_getopt()
549 fc->rmodem = dlc->rd_rmodem; in rfcomm_getopt()
550 fc->tx_cred = max(dlc->rd_txcred, 0xff); in rfcomm_getopt()
551 fc->rx_cred = max(dlc->rd_rxcred, 0xff); in rfcomm_getopt()
554 fc->cfc = 1; in rfcomm_getopt()
556 return sizeof(*fc); in rfcomm_getopt()
/dragonfly/contrib/wpa_supplicant/src/drivers/
HDdriver_nl80211_monitor.c29 u16 fc; in handle_tx_callback() local
33 fc = le_to_host16(hdr->frame_control); in handle_tx_callback()
36 event.tx_status.type = WLAN_FC_GET_TYPE(fc); in handle_tx_callback()
37 event.tx_status.stype = WLAN_FC_GET_STYPE(fc); in handle_tx_callback()
50 u16 fc; in from_unknown_sta() local
56 fc = le_to_host16(hdr->frame_control); in from_unknown_sta()
61 event.rx_from_unknown.wds = (fc & (WLAN_FC_FROMDS | WLAN_FC_TODS)) == in from_unknown_sta()
71 u16 fc; in handle_frame() local
75 fc = le_to_host16(hdr->frame_control); in handle_frame()
77 switch (WLAN_FC_GET_TYPE(fc)) { in handle_frame()
/dragonfly/contrib/file/magic/Magdir/
HDsendmail21 # normally only /etc/sendmail.fc or /var/adm/sendmail/sendmail.fc
22 !:ext fc
27 !:ext fc
/dragonfly/tools/regression/include/tgmath/
HDtgmath.c171 float complex fc; variable
343 RUN_TEST(FNC(fc), float complex) && \
353 RUN_TEST(FNC(fc), float) && \
361 RUN_TEST(FNC(ldc, fc), long double complex) && \
373 RUN_TEST(FNC(ld, fc), long double complex) && \
378 RUN_TEST(FNC(dc, fc), double complex) && \
385 RUN_TEST(FNC(fc, d), double complex) && \
388 RUN_TEST(FNC(fc, fc), float complex) && \
389 RUN_TEST(FNC(fc, I), float complex) && \
390 RUN_TEST(FNC(1.f, fc), float complex) && \
[all …]
/dragonfly/sys/dev/netif/ix/
HDixgbe_82598.c422 if (!hw->fc.pause_time) { in ixgbe_fc_enable_82598()
429 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
430 hw->fc.high_water[i]) { in ixgbe_fc_enable_82598()
431 if (!hw->fc.low_water[i] || in ixgbe_fc_enable_82598()
432 hw->fc.low_water[i] >= hw->fc.high_water[i]) { in ixgbe_fc_enable_82598()
447 switch (hw->fc.requested_mode) { in ixgbe_fc_enable_82598()
449 hw->fc.requested_mode = ixgbe_fc_tx_pause; in ixgbe_fc_enable_82598()
452 hw->fc.requested_mode = ixgbe_fc_none; in ixgbe_fc_enable_82598()
480 switch (hw->fc.current_mode) { in ixgbe_fc_enable_82598()
524 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
[all …]

12345