| /f-stack/freebsd/contrib/ncsw/inc/ |
| H A D | enet_ext.h | 159 #define IS_ENET_MODE_VALID(mode) \ argument 160 (((mode) == e_ENET_MODE_MII_10 ) || \ 161 ((mode) == e_ENET_MODE_MII_100 ) || \ 162 ((mode) == e_ENET_MODE_RMII_10 ) || \ 163 ((mode) == e_ENET_MODE_RMII_100 ) || \ 164 ((mode) == e_ENET_MODE_SMII_10 ) || \ 165 ((mode) == e_ENET_MODE_SMII_100 ) || \ 166 ((mode) == e_ENET_MODE_GMII_1000 ) || \ 181 ((mode) == e_ENET_MODE_XFI_10000)) 186 #define ENET_INTERFACE_FROM_MODE(mode) (e_EnetInterface)((mode) & 0x0FFF0000) argument [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/power/reset/ |
| H A D | reboot-mode.txt | 1 Generic reboot mode core map driver 10 as mode-xxx = <magic> (xxx is mode name, magic should be a none-zero value). 13 - mode-normal: Normal reboot mode, system reboot with command "reboot". 14 - mode-recovery: Android Recovery mode, it is a mode to format the device or update a new image. 15 - mode-bootloader: Android fastboot mode, it's a mode to re-flash partitions on the Android based d… 16 - mode-loader: A bootloader mode, it's a mode used to download image on Rockchip platform, 20 reboot-mode { 21 mode-normal = <BOOT_NORMAL>; 22 mode-recovery = <BOOT_RECOVERY>; 23 mode-bootloader = <BOOT_FASTBOOT>; [all …]
|
| H A D | nvmem-reboot-mode.txt | 1 NVMEM reboot mode driver 3 This driver gets reboot mode magic value from reboot-mode driver 9 - compatible: should be "nvmem-reboot-mode". 14 found in reboot-mode.txt 17 reboot-mode { 18 compatible = "nvmem-reboot-mode"; 20 nvmem-cell-names = "reboot-mode"; 22 mode-normal = <0xAAAA5501>; 23 mode-bootloader = <0xBBBB5500>; 24 mode-recovery = <0xCCCC5502>; [all …]
|
| H A D | syscon-reboot-mode.yaml | 7 title: Generic SYSCON reboot mode driver 13 This driver gets reboot mode magic value from reboot-mode driver 22 const: syscon-reboot-mode 33 "^mode-.+": 35 description: Vendor-specific mode value written to the mode register 47 reboot-mode { 48 compatible = "syscon-reboot-mode"; 50 mode-normal = <BOOT_NORMAL>; 51 mode-recovery = <BOOT_RECOVERY>; 52 mode-bootloader = <BOOT_FASTBOOT>; [all …]
|
| /f-stack/freebsd/contrib/zlib/ |
| H A D | gzlib.c | 97 const char *mode; 126 while (*mode) { 127 if (*mode >= '0' && *mode <= '9') 175 mode++; 329 if (state->mode != GZ_READ && state->mode != GZ_WRITE) 382 if (state->mode != GZ_READ && state->mode != GZ_WRITE) 467 if (state->mode != GZ_READ && state->mode != GZ_WRITE) 495 if (state->mode != GZ_READ && state->mode != GZ_WRITE) 527 if (state->mode != GZ_READ && state->mode != GZ_WRITE) 545 if (state->mode != GZ_READ && state->mode != GZ_WRITE) [all …]
|
| H A D | inflate.c | 114 state->mode < HEAD || state->mode > SYNC) 130 state->mode = HEAD; 650 if (state->mode == TYPE) state->mode = TYPEDO; /* skip check */ 656 switch (state->mode) { 732 state->mode = OS; 1043 state->mode = LEN; 1195 state->mode = LEN; 1271 (state->mode == LEN_ || state->mode == COPY_ ? 256 : 0); 1341 state->mode = MEM; 1415 state->mode = SYNC; [all …]
|
| /f-stack/freebsd/mips/ingenic/ |
| H A D | jz4780_lcd.c | 206 hbp = mode->htotal - mode->hsync_end; in jzlcd_set_videomode() 207 hfp = mode->hsync_start - mode->hdisplay; in jzlcd_set_videomode() 208 hsw = mode->hsync_end - mode->hsync_start; in jzlcd_set_videomode() 209 vbp = mode->vtotal - mode->vsync_end; in jzlcd_set_videomode() 210 vfp = mode->vsync_start - mode->vdisplay; in jzlcd_set_videomode() 211 vsw = mode->vsync_end - mode->vsync_start; in jzlcd_set_videomode() 334 mode->htotal), mode->vtotal); in jzlcd_get_bandwidth() 336 return mode->hdisplay * mode->vdisplay * refresh; in jzlcd_get_bandwidth() 343 if (mode->hdisplay > FB_MAX_W || mode->vdisplay > FB_MAX_H) in jzlcd_mode_supported() 399 mode = NULL; in jzlcd_hdmi_event() [all …]
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-spi.h | 80 int (*reset_cb)(int interface, cvmx_spi_mode_t mode); 83 int (*calendar_setup_cb)(int interface, cvmx_spi_mode_t mode, int num_ports); 86 int (*clock_detect_cb)(int interface, cvmx_spi_mode_t mode, int timeout); 89 int (*training_cb)(int interface, cvmx_spi_mode_t mode, int timeout); 92 int (*calendar_sync_cb)(int interface, cvmx_spi_mode_t mode, int timeout); 95 int (*interface_up_cb)(int interface, cvmx_spi_mode_t mode); 141 extern int cvmx_spi_restart_interface(int interface, cvmx_spi_mode_t mode, int timeout); 195 extern int cvmx_spi_reset_cb(int interface, cvmx_spi_mode_t mode); 224 extern int cvmx_spi_clock_detect_cb(int interface, cvmx_spi_mode_t mode, int timeout); 238 extern int cvmx_spi_training_cb(int interface, cvmx_spi_mode_t mode, int timeout); [all …]
|
| /f-stack/freebsd/contrib/zstd/zlibWrapper/ |
| H A D | gzlib.c | 97 const char *mode; 126 while (*mode) { 127 if (*mode >= '0' && *mode <= '9') 175 mode++; 275 const char *mode; 329 if (state.state->mode != GZ_READ && state.state->mode != GZ_WRITE) 382 if (state.state->mode != GZ_READ && state.state->mode != GZ_WRITE) 467 if (state.state->mode != GZ_READ && state.state->mode != GZ_WRITE) 495 if (state.state->mode != GZ_READ && state.state->mode != GZ_WRITE) 527 if (state.state->mode != GZ_READ && state.state->mode != GZ_WRITE) [all …]
|
| /f-stack/freebsd/contrib/xz-embedded/linux/lib/xz/ |
| H A D | xz_private.h | 67 # define DEC_IS_SINGLE(mode) ((mode) == XZ_SINGLE) argument 69 # define DEC_IS_SINGLE(mode) (false) argument 73 # define DEC_IS_PREALLOC(mode) ((mode) == XZ_PREALLOC) argument 75 # define DEC_IS_PREALLOC(mode) (false) argument 79 # define DEC_IS_DYNALLOC(mode) ((mode) == XZ_DYNALLOC) argument 81 # define DEC_IS_DYNALLOC(mode) (false) argument 85 # define DEC_IS_MULTI(mode) (true) argument 87 # define DEC_IS_MULTI(mode) ((mode) != XZ_SINGLE) argument 89 # define DEC_IS_MULTI(mode) (false) argument 109 XZ_EXTERN struct xz_dec_lzma2 *xz_dec_lzma2_create(enum xz_mode mode,
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_flow_ctrl.c | 57 fc_conf->mode = RTE_FC_NONE; in otx2_nix_flow_ctrl_get() 69 fc_conf->mode = RTE_FC_FULL; in otx2_nix_flow_ctrl_get() 71 fc_conf->mode = RTE_FC_RX_PAUSE; in otx2_nix_flow_ctrl_get() 73 fc_conf->mode = RTE_FC_TX_PAUSE; in otx2_nix_flow_ctrl_get() 75 fc_conf->mode = RTE_FC_NONE; in otx2_nix_flow_ctrl_get() 159 if (fc_conf->mode == fc->mode) in otx2_nix_flow_ctrl_set() 194 fc->mode = fc_conf->mode; in otx2_nix_flow_ctrl_set() 210 fc_conf.mode = fc->mode; in otx2_nix_update_flow_ctrl_mode() 215 (fc_conf.mode == RTE_FC_FULL || fc_conf.mode == RTE_FC_RX_PAUSE)) { in otx2_nix_update_flow_ctrl_mode() 216 fc_conf.mode = in otx2_nix_update_flow_ctrl_mode() [all …]
|
| /f-stack/freebsd/arm/allwinner/ |
| H A D | a10_fb.c | 355 hspw = mode->hsync_end - mode->hsync_start; in a10fb_setup_tcon() 356 hbp = mode->htotal - mode->hsync_start; in a10fb_setup_tcon() 357 vspw = mode->vsync_end - mode->vsync_start; in a10fb_setup_tcon() 358 vbp = mode->vtotal - mode->vsync_start; in a10fb_setup_tcon() 359 vbl = VBLANK_LEN(mode->vtotal, mode->vdisplay, interlace); in a10fb_setup_tcon() 410 mode->htotal), mode->vtotal); in a10fb_setup_tcon() 411 clk = mode->htotal * (VTOTAL(mode->vtotal) + 1) * framerate; in a10fb_setup_tcon() 542 mode = NULL; in a10fb_hdmi_event() 560 if (mode == NULL) in a10fb_hdmi_event() 571 mode->hdisplay, mode->vdisplay); in a10fb_hdmi_event() [all …]
|
| /f-stack/freebsd/i386/i386/ |
| H A D | longrun.c | 92 u_int low, high, flags, mode; in tmx86_get_longrun_mode() local 101 for (mode = 0; mode < LONGRUN_MODE_MAX; mode++) { in tmx86_get_longrun_mode() 108 mode = LONGRUN_MODE_UNKNOWN; in tmx86_get_longrun_mode() 111 return (mode); in tmx86_get_longrun_mode() 132 tmx86_set_longrun_mode(u_int mode) in tmx86_set_longrun_mode() argument 146 longrun_modes[mode][0]); in tmx86_set_longrun_mode() 148 longrun_modes[mode][1]); in tmx86_set_longrun_mode() 201 u_int mode; in tmx86_longrun_sysctl() local 205 mode = crusoe_longrun; in tmx86_longrun_sysctl() 214 if (crusoe_longrun != mode) { in tmx86_longrun_sysctl() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/leds/ |
| H A D | leds-netxbig.txt | 37 mode-addr = <0>; 38 mode-val = <NETXBIG_LED_OFF 0 47 mode-addr = <0>; 48 mode-val = <NETXBIG_LED_OFF 0 56 mode-addr = <3>; 57 mode-val = <NETXBIG_LED_OFF 0 66 mode-addr = <3>; 67 mode-val = <NETXBIG_LED_OFF 0 75 mode-addr = <4>; 76 mode-val = <NETXBIG_LED_OFF 0 [all …]
|
| /f-stack/dpdk/drivers/net/nfp/nfpcore/nfp-common/ |
| H A D | nfp_cppat.h | 75 switch (mode) { in _nfp6000_encode_basic() 257 switch (mode) { in _nfp6000_decode_basic() 345 switch (mode) { in _nfp6000_cppat_mu_locality_lsb() 379 switch (mode) { in _nfp6000_encode_mu() 506 switch (mode) { in _nfp6000_decode_mu() 576 int mode, int addr40, int isld1, int isld0) in _nfp6000_cppat_addr_encode() argument 594 if (mode != 1 || addr40 != 0) in _nfp6000_cppat_addr_encode() 628 if (mode != 1 || addr40 != 0) in _nfp6000_cppat_addr_decode() 652 switch (mode) { in _nfp6000_cppat_addr_iid_clear() 676 switch (mode) { in _nfp6000_cppat_addr_iid_clear() [all …]
|
| /f-stack/freebsd/contrib/device-tree/src/arm64/qcom/ |
| H A D | sm8250-mtp.dts | 89 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 96 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 103 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 110 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 117 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 124 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 131 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 138 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 145 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 152 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; [all …]
|
| H A D | sm8150-mtp.dts | 90 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 98 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 104 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 131 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 137 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 143 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 150 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 156 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 162 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 175 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/hsi/ |
| H A D | client-devices.txt | 9 - hsi-rx-mode: Receiver Bit transmission mode ("stream" or "frame") 10 - hsi-tx-mode: Transmitter Bit transmission mode ("stream" or "frame") 11 - hsi-mode: May be used instead hsi-rx-mode and hsi-tx-mode if 12 the transmission mode is the same for receiver and 16 - hsi-arb-mode: Arbitration mode for TX frame ("round-robin", "priority") 37 hsi-mode = "frame"; 39 hsi-arb-mode = "round-robin";
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/checksum/ |
| H A D | skein_test.c | 273 #define SKEIN_ALGO_TEST(_m, mode, diglen, testdigest) \ in main() argument 275 Skein ## mode ## _Ctxt_t ctx; \ in main() 277 (void) Skein ## mode ## _Init(&ctx, diglen); \ in main() 279 (void) Skein ## mode ## _Final(&ctx, digest); \ in main() 280 (void) printf("Skein" #mode "/" #diglen \ in main() 291 #define SKEIN_PERF_TEST(mode, diglen) \ in main() argument 293 Skein ## mode ## _Ctxt_t ctx; \ in main() 302 (void) Skein ## mode ## _Init(&ctx, diglen); \ in main() 304 (void) Skein ## mode ## _Update(&ctx, block, \ in main() 307 (void) Skein ## mode ## _Final(&ctx, digest); \ in main() [all …]
|
| H A D | edonr_test.c | 155 #define EDONR_ALGO_TEST(_m, mode, testdigest) \ in main() argument 158 uint8_t digest[mode / 8]; \ in main() 159 EdonRInit(&ctx, mode); \ in main() 163 "\tResult: ", #mode); \ in main() 164 if (bcmp(digest, testdigest, mode / 8) == 0) { \ in main() 173 #define EDONR_PERF_TEST(mode) \ in main() argument 176 uint8_t digest[mode / 8]; \ in main() 184 EdonRInit(&ctx, mode); \ in main() 195 (void) printf("Edon-R-%-6s%llu us (%.02f CPB)\n", #mode,\ in main()
|
| /f-stack/freebsd/kern/ |
| H A D | subr_acl_posix1e.c | 444 mode_t mode; in acl_posix1e_perms_to_mode() local 446 mode = 0; in acl_posix1e_perms_to_mode() 448 mode |= S_IXUSR; in acl_posix1e_perms_to_mode() 450 mode |= S_IRUSR; in acl_posix1e_perms_to_mode() 452 mode |= S_IWUSR; in acl_posix1e_perms_to_mode() 454 mode |= S_IXGRP; in acl_posix1e_perms_to_mode() 456 mode |= S_IRGRP; in acl_posix1e_perms_to_mode() 466 return (mode); in acl_posix1e_perms_to_mode() 628 mode_t mode; in acl_posix1e_newfilemode() local 630 mode = cmode; in acl_posix1e_newfilemode() [all …]
|
| H A D | subr_acl_nfs4.c | 530 amode = mode >> 3; in acl_nfs4_sync_acl_from_mode_draft() 665 if (mode & S_IRUSR) in acl_nfs4_sync_acl_from_mode_draft() 669 if (mode & S_IWUSR) in acl_nfs4_sync_acl_from_mode_draft() 673 if (mode & S_IXUSR) in acl_nfs4_sync_acl_from_mode_draft() 678 if (mode & S_IRGRP) in acl_nfs4_sync_acl_from_mode_draft() 682 if (mode & S_IWGRP) in acl_nfs4_sync_acl_from_mode_draft() 686 if (mode & S_IXGRP) in acl_nfs4_sync_acl_from_mode_draft() 691 if (mode & S_IROTH) in acl_nfs4_sync_acl_from_mode_draft() 695 if (mode & S_IWOTH) in acl_nfs4_sync_acl_from_mode_draft() 699 if (mode & S_IXOTH) in acl_nfs4_sync_acl_from_mode_draft() [all …]
|
| /f-stack/freebsd/arm/ti/am335x/ |
| H A D | tda19988.c | 437 n_pix = mode->htotal; in tda19988_init_encoder() 440 hs_pix_stop = mode->hsync_end - mode->hdisplay; in tda19988_init_encoder() 441 hs_pix_start = mode->hsync_start - mode->hdisplay; in tda19988_init_encoder() 444 de_start = mode->htotal - mode->hdisplay; in tda19988_init_encoder() 451 ref_line = 1 + mode->vsync_start - mode->vdisplay; in tda19988_init_encoder() 452 vwin1_line_start = mode->vtotal - mode->vdisplay - 1; in tda19988_init_encoder() 456 vs1_line_start = mode->vsync_start - mode->vdisplay; in tda19988_init_encoder() 457 vs1_line_end = vs1_line_start + mode->vsync_end - mode->vsync_start; in tda19988_init_encoder() 463 ref_line = 1 + (mode->vsync_start - mode->vdisplay)/2; in tda19988_init_encoder() 464 vwin1_line_start = (mode->vtotal - mode->vdisplay)/2; in tda19988_init_encoder() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/net/ |
| H A D | micrel.txt | 7 - micrel,led-mode : LED mode value to set for PHYs with configurable LEDs. 9 Configure the LED mode with single value. The list of PHYs and the 20 See the respective PHY datasheet for the mode values. 23 bit selects 25 MHz mode 26 than 50 MHz clock mode. 31 actually select a mode. 39 - micrel,fiber-mode: If present the PHY is configured to operate in fiber mode 41 Some PHYs, such as the KSZ8041FTL variant, support fiber mode, enabled 43 registers whether the PHY is in fiber mode, so this boolean device tree 46 In fiber mode, auto-negotiation is disabled and the PHY can only work in
|
| /f-stack/freebsd/netinet/ |
| H A D | ip_ecn.c | 97 ip_ecn_ingress(int mode, u_int8_t *outer, const u_int8_t *inner) in ip_ecn_ingress() argument 104 switch (mode) { in ip_ecn_ingress() 129 ip_ecn_egress(int mode, const u_int8_t *outer, u_int8_t *inner) in ip_ecn_egress() argument 135 switch (mode) { in ip_ecn_egress() 163 ip6_ecn_ingress(int mode, u_int32_t *outer, const u_int32_t *inner) in ip6_ecn_ingress() argument 171 ip_ecn_ingress(mode, &outer8, &inner8); in ip6_ecn_ingress() 177 ip6_ecn_egress(int mode, const u_int32_t *outer, u_int32_t *inner) in ip6_ecn_egress() argument 186 if (ip_ecn_egress(mode, &outer8, &inner8) == 0) in ip6_ecn_egress()
|