/titanic_44/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_fcp.c | 128 av1394_fcp_cmd_t *fc; in av1394_fcp_write() local 161 fc = (arq->arq_type == IEC61883_ARQ_FCP_CMD) ? in av1394_fcp_write() 166 while (fc->fc_busy) { in av1394_fcp_write() 167 if (cv_wait_sig(&fc->fc_busy_cv, &ap->a_mutex) == 0) { in av1394_fcp_write() 174 fc->fc_busy = B_TRUE; in av1394_fcp_write() 177 cmd = fc->fc_cmd; in av1394_fcp_write() 188 ret = av1394_fcp_cmd_write_sync(avp, fc); in av1394_fcp_write() 191 fc->fc_busy = B_FALSE; in av1394_fcp_write() 192 cv_broadcast(&fc->fc_busy_cv); in av1394_fcp_write() 243 av1394_fcp_cmd_t *fc = &avp->av_a.a_fcp.fcp_cmd; in av1394_fcp_ctl_alloc_cmd() local [all …]
|
/titanic_44/usr/src/cmd/lp/cmd/lptest/ |
H A D | lptest.c | 27 register int i, j, fc, nc; in main() local 39 fc = ' '; in main() 41 if (++fc == 0177) in main() 42 fc = ' '; in main() 43 nc = fc; in main()
|
/titanic_44/usr/src/lib/libbc/inc/include/vm/ |
H A D | faultcode.h | 48 #define FC_CODE(fc) ((fc) & 0xff) argument 49 #define FC_ERRNO(fc) ((unsigned)(fc) >> 8) argument
|
/titanic_44/usr/src/uts/common/vm/ |
H A D | faultcode.h | 64 #define FC_CODE(fc) ((fc) & 0xff) argument 65 #define FC_ERRNO(fc) ((unsigned)(fc) >> 8) argument
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ether.c | 760 uchar_t fc; member 811 uchar_t fc; in interpret_tr() local 848 fc = mh->fc; in interpret_tr() 918 fc, print_fc(fc), origlen); in interpret_tr() 935 fc, print_fc(fc)); in interpret_tr() 1015 uchar_t fc; in tr_machdr_len() local 1019 fc = mh->fc; in tr_machdr_len() 1029 if ((fc & TR_MAC_MASK) == 0) in tr_machdr_len() 1059 uchar_t fc; member 1102 (void) memcpy(&f->fc, e, sizeof (f->fc)); in interpret_fddi() [all …]
|
/titanic_44/usr/src/lib/efcode/fcdriver/ |
H A D | get_req.c | 55 " attach: %x args: '%s'\n", cdp->fc.config_address, in dot_request() 56 cdp->fc.fcode_size, cdp->fc.unit_address, cdp->attach, in dot_request() 79 if (ioctl(cdp->fcode_fd, FC_GET_PARAMETERS, &cdp->fc) < 0) { in fc_get_request() 141 if (!cdp->fc.fcode_size) { in get_fcode_from_device() 147 fcode_info.fcode_size = cdp->fc.fcode_size; in get_fcode_from_device() 148 fcode_info.fcode_ptr = MALLOC(cdp->fc.fcode_size); in get_fcode_from_device() 155 (int)cdp->fc.fcode_size); in get_fcode_from_device() 157 PUSH(DS, (fstack_t)cdp->fc.fcode_size); in get_fcode_from_device() 353 if (ioctl(cdp->fcode_fd, FC_GET_PARAMETERS, &cdp->fc) < 0) { in get_efdaemon_request() 376 push_a_string(env, cdp->fc.unit_address); in process_request()
|
H A D | fcdebug.c | 67 log_message(MSG_DEBUG, "Params: (%8p)\n", &cdp->fc); in dump_private() 68 log_message(MSG_DEBUG, " size: %d\n", cdp->fc.fcode_size); in dump_private() 69 log_message(MSG_DEBUG, " unit: %s\n", cdp->fc.unit_address); in dump_private()
|
/titanic_44/usr/src/cmd/avs/errgen/ |
H A D | errgen.c | 156 int fc = 0; in do_line() local 181 len = sprintf(pt, "{%d}", fc); in do_line() 184 fc += 1; in do_line() 185 if (fc > SPCS_S_MAXSUPP) { in do_line() 202 if (fc) in do_line() 206 fc += 1; in do_line() 215 c.f.sup_count = fc; in do_line()
|
/titanic_44/usr/src/lib/libast/common/string/ |
H A D | base64.c | 173 unsigned char* fc; in base64decode() local 201 fc = fp; in base64decode() 231 *fn = fc; in base64decode() 240 fc = fp; in base64decode() 263 *fn = fc; in base64decode() 278 *fn = fc; in base64decode() 289 *fn = fc; in base64decode()
|
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_gld.c | 381 uint32_t fc = 0; in oce_m_setprop() local 387 fc = 0; in oce_m_setprop() 391 fc = OCE_FC_RX; in oce_m_setprop() 395 fc = OCE_FC_TX; in oce_m_setprop() 399 fc = OCE_FC_RX | OCE_FC_TX; in oce_m_setprop() 409 if (fc == dev->flow_control) in oce_m_setprop() 413 dev->flow_control = fc; in oce_m_setprop() 417 ret = oce_set_flow_control(dev, fc); in oce_m_setprop() 420 dev->flow_control = fc; in oce_m_setprop() 483 link_flowctrl_t *fc = (link_flowctrl_t *)val; in oce_m_getprop() local [all …]
|
/titanic_44/usr/src/uts/common/io/e1000api/ |
H A D | e1000_mac.c | 982 hw->fc.requested_mode = e1000_fc_none; in e1000_set_default_fc_generic() 985 hw->fc.requested_mode = e1000_fc_tx_pause; in e1000_set_default_fc_generic() 987 hw->fc.requested_mode = e1000_fc_full; in e1000_set_default_fc_generic() 1017 if (hw->fc.requested_mode == e1000_fc_default) { in e1000_setup_link_generic() 1026 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_generic() 1029 hw->fc.current_mode); in e1000_setup_link_generic() 1046 E1000_WRITE_REG(hw, E1000_FCTTV, hw->fc.pause_time); in e1000_setup_link_generic() 1081 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_generic() 1262 if (hw->fc.current_mode & e1000_fc_tx_pause) { in e1000_set_fc_watermarks_generic() 1267 fcrtl = hw->fc.low_water; in e1000_set_fc_watermarks_generic() [all …]
|
/titanic_44/usr/src/cmd/troff/ |
H A D | n9.c | 395 gchtab[fc] &= ~FCBIT; in casefc() 396 fc = IMP; in casefc() 400 fc = i; in casefc() 401 gchtab[fc] |= FCBIT; in casefc() 402 if (skip() || ismot(ch) || (ch = cbits(ch)) == fc) in casefc() 428 savfc = fc; 431 tabch = ldrch = fc = IMP; 435 gchtab[fc] &= ~FCBIT; 544 gchtab[fc] &= ~FCBIT; 547 fc = savfc; [all …]
|
/titanic_44/usr/src/cmd/refer/ |
H A D | hunt1.c | 59 static FILE *fa, *fb, *fc; in main() local 156 fclose(fc); in main() 167 fc = fopen(nmc, "r"); in main() 169 if (fb == NULL || fc == NULL) { in main() 211 nfound = baddrop(master, nfound, fc, in main() 271 result(master, nfound > tags ? tags : nfound, fc); in main()
|
H A D | hunt5.c | 28 result(unsigned *mptr, int nf, FILE *fc) in result() argument 45 fseek(fc, lp, 0); in result() 46 fgets(res, 100, fc); in result()
|
H A D | glue1.c | 63 static FILE *fa, *fb, *fc; in huntmain() local 149 unopen(fc); in huntmain() 157 fc = iopen(indexname, ".ic"); in huntmain() 160 fprintf(stderr, "opened f's as %o %o %o\n", fa, fb, fc); in huntmain() 252 nfound = baddrop(masterp, nfound, fc, nitem, qitem, in huntmain() 259 result(masterp, nfound > tags ? tags : nfound, fc); in huntmain()
|
/titanic_44/usr/src/uts/common/io/chxge/com/ |
H A D | pm3393.c | 91 u8 fc; member 366 if (cmac->instance->fc & PAUSE_RX) in pm3393_enable() 368 if (cmac->instance->fc & PAUSE_TX) in pm3393_enable() 527 int *duplex, int *fc) in pm3393_get_speed_duplex_fc() argument 533 if (fc) in pm3393_get_speed_duplex_fc() 534 *fc = cmac->instance->fc; in pm3393_get_speed_duplex_fc() 539 int fc) in pm3393_set_speed_duplex_fc() argument 545 if (fc & ~(PAUSE_TX | PAUSE_RX)) in pm3393_set_speed_duplex_fc() 548 if (fc != cmac->instance->fc) { in pm3393_set_speed_duplex_fc() 549 cmac->instance->fc = (u8) fc; in pm3393_set_speed_duplex_fc() [all …]
|
H A D | xpak.c | 63 int *duplex, int *fc) in xpak_get_link_status() argument 71 if (fc) in xpak_get_link_status() 72 *fc = PAUSE_RX | PAUSE_TX; in xpak_get_link_status()
|
H A D | ixf1010.c | 311 int fc) in mac_set_speed_duplex_fc() argument 327 if (fc & PAUSE_RX) in mac_set_speed_duplex_fc() 329 if (fc & PAUSE_TX) in mac_set_speed_duplex_fc() 336 int *fc) in mac_get_speed_duplex_fc() argument 347 if (fc) { in mac_get_speed_duplex_fc() 349 *fc = 0; in mac_get_speed_duplex_fc() 351 *fc |= PAUSE_RX; in mac_get_speed_duplex_fc() 353 *fc |= PAUSE_TX; in mac_get_speed_duplex_fc()
|
H A D | ch_subr.c | 162 int link_ok, speed, duplex, fc; in link_changed() local 166 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); in link_changed() 171 fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in link_changed() 177 mac->ops->set_speed_duplex_fc(mac, speed, duplex, fc); in link_changed() 178 lc->fc = (unsigned char)fc; in link_changed() 180 t1_os_link_changed(adapter, port_id, link_ok, speed, duplex, fc); in link_changed() 824 unsigned int fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in t1_link_start() local 828 if (fc) { in t1_link_start() 829 if (fc == ((PAUSE_RX | PAUSE_TX) & !is_T2(mac->adapter))) in t1_link_start() 833 if (fc == PAUSE_RX) in t1_link_start() [all …]
|
/titanic_44/usr/src/uts/common/syscall/ |
H A D | memcntl.c | 65 faultcode_t fc; in memcntl() local 356 fc = as_faulta(as, addr, len); in memcntl() 357 if (fc) { in memcntl() 358 if (FC_CODE(fc) == FC_OBJERR) in memcntl() 359 error = set_errno(FC_ERRNO(fc)); in memcntl() 360 else if (FC_CODE(fc) == FC_NOMAP) in memcntl()
|
/titanic_44/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_82598.c | 422 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 …]
|
H A D | ixgbe_dcb_82598.c | 290 fcrtl = (hw->fc.low_water[i] << 10) | IXGBE_FCRTL_XONE; in ixgbe_dcb_config_pfc_82598() 291 reg = (hw->fc.high_water[i] << 10) | IXGBE_FCRTH_FCEN; in ixgbe_dcb_config_pfc_82598() 297 reg = hw->fc.pause_time | (hw->fc.pause_time << 16); in ixgbe_dcb_config_pfc_82598() 302 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2); in ixgbe_dcb_config_pfc_82598()
|
/titanic_44/usr/src/lib/fm/libfmd_log/common/ |
H A D | fmd_log.c | 609 fmd_log_filter(fmd_log_t *lp, uint_t fc, fmd_log_filter_t *fv, in fmd_log_filter() argument 612 fmd_log_filtvec_t *fav = alloca(fc * sizeof (fmd_log_filtvec_t)); in fmd_log_filter() 619 bzero(fav, fc * sizeof (fmd_log_filtvec_t)); in fmd_log_filter() 620 qsort(fv, fc, sizeof (fmd_log_filter_t), fmd_log_xiter_filtcmp); in fmd_log_filter() 622 for (i = 0; i < fc; i++) { in fmd_log_filter() 632 fmd_log_xiter(fmd_log_t *lp, uint_t flag, uint_t fc, fmd_log_filter_t *fv, in fmd_log_xiter() argument 652 if (fc != 0) { in fmd_log_xiter() 653 if ((fav = calloc(fc, sizeof (fmd_log_filtvec_t))) == NULL) in fmd_log_xiter() 656 qsort(fv, fc, sizeof (fmd_log_filter_t), fmd_log_xiter_filtcmp); in fmd_log_xiter() 658 for (i = 0; i < fc; i++) { in fmd_log_xiter() [all …]
|
/titanic_44/usr/src/uts/intel/ia32/os/ |
H A D | archdep.c | 196 const struct _fpchip_state *fc = &fp->fp_reg_set.fpchip_state; in fpregset_to_fxsave() 198 fnsave_to_fxsave((const struct fnsave_state *)fc, fx); in fpregset_to_fxsave() 199 fx->fx_mxcsr = fc->mxcsr; in fpregset_to_fxsave() 200 bcopy(&fc->xmm[0], &fx->fx_xmm[0], sizeof (fc->xmm)); in fpregset_to_fxsave() 217 struct _fpchip_state *fc = &fp->fp_reg_set.fpchip_state; in fxsave_to_fpregset() 219 fxsave_to_fnsave(fx, (struct fnsave_state *)fc); in fxsave_to_fpregset() 220 fc->mxcsr = fx->fx_mxcsr; in fxsave_to_fpregset() 221 bcopy(&fx->fx_xmm[0], &fc->xmm[0], sizeof (fc->xmm)); in fxsave_to_fpregset() 229 const struct fpchip32_state *fc = &fp->fp_reg_set.fpchip_state; in fpregset32_to_fxsave() local 231 fnsave_to_fxsave((const struct fnsave_state *)fc, fx); in fpregset32_to_fxsave() [all …]
|
/titanic_44/usr/src/lib/efcode/include/fcdriver/ |
H A D | fcdriver.h | 47 struct fc_parameters fc; member 59 struct fc_parameters fc; member
|