/freebsd/sys/dev/ath/ath_rate/sample/ |
H A D | tx_schedules.h | 45 (((_r) == 18) ? 3 : (((_r) == 24) ? 4 : (((_r) == 36) ? 5 : \ 48 { 3,A( 6), 3,A( 6), 0,A( 6), 0,A( 6) }, /* 6Mb/s */ 49 { 4,A( 9), 3,A( 6), 4,A( 6), 0,A( 6) }, /* 9Mb/s */ 50 { 4,A(12), 3,A( 6), 4,A( 6), 0,A( 6) }, /* 12Mb/s */ 51 { 4,A(18), 3,A( 12), 4,A( 6), 2,A( 6) }, /* 18Mb/s */ 52 { 4,A(24), 3,A( 18), 4,A( 12), 2,A( 6) }, /* 24Mb/s */ 53 { 4,A(36), 3,A( 24), 4,A( 18), 2,A( 6) }, /* 36Mb/s */ 54 { 4,A(48), 3,A( 36), 4,A( 24), 2,A(12) }, /* 48Mb/s */ 55 { 4,A(54), 3,A( 48), 4,A( 36), 2,A(24) } /* 54Mb/s */ 71 { 3,A( 6), 3,A( 6), 0,A( 6), 0,A( 6) }, /* 6Mb/s */ [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_phy.c | 37 /* 1 Mb */ { AH_TRUE, CCK, 1000, 0x1b, 0x00, (0x80| 2), 0 }, 38 /* 2 Mb */ { AH_TRUE, CCK, 2000, 0x1a, 0x04, (0x80| 4), 1 }, 39 /* 5.5 Mb */ { AH_TRUE, CCK, 5500, 0x19, 0x04, (0x80|11), 2 }, 40 /* 11 Mb */ { AH_TRUE, CCK, 11000, 0x18, 0x04, (0x80|22), 3 }, 42 /* 6 Mb */ { AH_FALSE, OFDM, 6000, 0x0b, 0x00, 12, 4 }, 43 /* 9 Mb */ { AH_FALSE, OFDM, 9000, 0x0f, 0x00, 18, 4 }, 44 /* 12 Mb */ { AH_TRUE, OFDM, 12000, 0x0a, 0x00, 24, 6 }, 45 /* 18 Mb */ { AH_TRUE, OFDM, 18000, 0x0e, 0x00, 36, 6 }, 46 /* 24 Mb */ { AH_TRUE, OFDM, 24000, 0x09, 0x00, 48, 8 }, 47 /* 36 Mb */ { AH_TRUE, OFDM, 36000, 0x0d, 0x00, 72, 8 }, [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_phy.c | 39 /* 6 Mb */ { AH_TRUE, OFDM, 6000, 0x0b, 0x00, (0x80|12), 0 }, 40 /* 9 Mb */ { AH_TRUE, OFDM, 9000, 0x0f, 0x00, 18, 0 }, 41 /* 12 Mb */ { AH_TRUE, OFDM, 12000, 0x0a, 0x00, (0x80|24), 2 }, 42 /* 18 Mb */ { AH_TRUE, OFDM, 18000, 0x0e, 0x00, 36, 2 }, 43 /* 24 Mb */ { AH_TRUE, OFDM, 24000, 0x09, 0x00, (0x80|48), 4 }, 44 /* 36 Mb */ { AH_TRUE, OFDM, 36000, 0x0d, 0x00, 72, 4 }, 45 /* 48 Mb */ { AH_TRUE, OFDM, 48000, 0x08, 0x00, 96, 4 }, 46 /* 54 Mb */ { AH_TRUE, OFDM, 54000, 0x0c, 0x00, 108, 4 } 56 /* 3 Mb */ { AH_TRUE, HALF, 3000, 0x0b, 0x00, (0x80|6), 0 }, 57 /* 4.5 Mb */ { AH_TRUE, HALF, 4500, 0x0f, 0x00, 9, 0 }, [all …]
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_phy.c | 72 /* 6 Mb */ { AH_TRUE, OFDM, 6000, 0x0b, 0x00, (0x80 | 12), 0 }, 73 /* 9 Mb */ { AH_TRUE, OFDM, 9000, 0x0f, 0x00, 18, 0 }, 74 /* 12 Mb */ { AH_TRUE, OFDM, 12000, 0x0a, 0x00, (0x80 | 24), 2 }, 75 /* 18 Mb */ { AH_TRUE, OFDM, 18000, 0x0e, 0x00, 36, 2 }, 76 /* 24 Mb */ { AH_TRUE, OFDM, 24000, 0x09, 0x00, (0x80 | 48), 4 }, 77 /* 36 Mb */ { AH_TRUE, OFDM, 36000, 0x0d, 0x00, 72, 4 }, 78 /* 48 Mb */ { AH_TRUE, OFDM, 48000, 0x08, 0x00, 96, 4 }, 79 /* 54 Mb */ { AH_TRUE, OFDM, 54000, 0x0c, 0x00, 108, 4 }, 89 /* 6 Mb */ { AH_TRUE, OFDM, 3000, 0x0b, 0x00, (0x80 | 6), 0 }, 90 /* 9 Mb */ { AH_TRUE, OFDM, 4500, 0x0f, 0x00, 9, 0 }, [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_phy.c | 37 /* 6 Mb */ { AH_TRUE, OFDM, 6000, 0x0b, 0x00, (0x80|12), 0 }, 38 /* 9 Mb */ { AH_TRUE, OFDM, 9000, 0x0f, 0x00, 18, 0 }, 39 /* 12 Mb */ { AH_TRUE, OFDM, 12000, 0x0a, 0x00, (0x80|24), 2 }, 40 /* 18 Mb */ { AH_TRUE, OFDM, 18000, 0x0e, 0x00, 36, 2 }, 41 /* 24 Mb */ { AH_TRUE, OFDM, 24000, 0x09, 0x00, (0x80|48), 4 }, 42 /* 36 Mb */ { AH_TRUE, OFDM, 36000, 0x0d, 0x00, 72, 4 }, 43 /* 48 Mb */ { AH_TRUE, OFDM, 48000, 0x08, 0x00, 96, 4 }, 44 /* 54 Mb */ { AH_TRUE, OFDM, 54000, 0x0c, 0x00, 108, 4 } 54 /* 6 Mb */ { AH_TRUE, TURBO, 12000, 0x0b, 0x00, (0x80|12), 0 }, 55 /* 9 Mb */ { AH_TRUE, TURBO, 18000, 0x0f, 0x00, 18, 0 }, [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_phy.c | 36 /* 6 Mb */ { AH_TRUE, OFDM, 6000, 0x0b, 0x00, (0x80|12), 0 }, 37 /* 9 Mb */ { AH_TRUE, OFDM, 9000, 0x0f, 0x00, 18, 0 }, 38 /* 12 Mb */ { AH_TRUE, OFDM, 12000, 0x0a, 0x00, (0x80|24), 2 }, 39 /* 18 Mb */ { AH_TRUE, OFDM, 18000, 0x0e, 0x00, 36, 2 }, 40 /* 24 Mb */ { AH_TRUE, OFDM, 24000, 0x09, 0x00, (0x80|48), 4 }, 41 /* 36 Mb */ { AH_TRUE, OFDM, 36000, 0x0d, 0x00, 72, 4 }, 42 /* 48 Mb */ { AH_TRUE, OFDM, 48000, 0x08, 0x00, 96, 4 }, 43 /* 54 Mb */ { AH_TRUE, OFDM, 54000, 0x0c, 0x00, 108, 4 } 53 /* 6 Mb */ { AH_TRUE, TURBO, 12000, 0x0b, 0x00, (0x80|12), 0 }, 54 /* 9 Mb */ { AH_TRUE, TURBO, 18000, 0x0f, 0x00, 18, 0 }, [all …]
|
/freebsd/usr.bin/localedef/ |
H A D | wide.c | 104 * EUC-TW uses 2 bytes most of the time, but 4 bytes if the 105 * high order byte is 0x8E. However, with 4 byte encodings, 126 * high order bit is always set for 4 byte values, and the 127 * at least one of the other bits in that 4 byte value will 141 show_mb(const char *mb) in show_mb() argument 146 if (isascii(*mb) && isgraph(*mb)) { in show_mb() 147 buf[0] = *mb; in show_mb() 152 while (*mb != 0) { in show_mb() 154 (void) snprintf(scr, sizeof (scr), "\\x%02x", *mb); in show_mb() 156 mb++; in show_mb() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pci/ |
H A D | v3-v360epc-pci.txt | 11 second the configuration area register space, 16MB 18 each be exactly 256MB (0x10000000) in size. 22 be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 23 64MB, 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked 50 0x20000000 0 0x20000000 /* 512 MB @ LB 20000000 1:1 */ 59 0x4800 0 0 4 &pic 16 /* INT D on slot 9 is irq 16 */ 64 0x5000 0 0 4 &pic 13 /* INT D on slot 10 is irq 13 */ 69 0x5800 0 0 4 &pic 14 /* INT D on slot 11 is irq 14 */ 74 0x6000 0 0 4 &pic 15 /* INT D on slot 12 is irq 15 */
|
H A D | faraday,ftpci100.txt | 29 be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB, 30 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked as 69 <0x4800 0 0 4 &pci_intc 3>, 73 <0x5000 0 0 4 &pci_intc 0>, 77 <0x5800 0 0 4 &pci_intc 1>, 81 <0x6000 0 0 4 &pci_intc 2>; 116 <0x4800 0 0 4 &pci_intc 3>, 120 <0x5000 0 0 4 &pci_intc 0>, 124 <0x5800 0 0 4 &pci_intc 1>, 128 <0x6000 0 0 4 &pci_intc 0>;
|
H A D | faraday,ftpci100.yaml | 39 <0x4800 0 0 4 &pci_intc 3>, 43 <0x5000 0 0 4 &pci_intc 0>, 47 <0x5800 0 0 4 &pci_intc 1>, 51 <0x6000 0 0 4 &pci_intc 2>; 84 be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB, 85 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked as 154 <0x4800 0 0 4 &pci_intc 3>, 158 <0x5000 0 0 4 &pci_intc 0>, 162 <0x5800 0 0 4 &pci_intc 1>, 166 <0x6000 0 0 4 &pci_intc 0>;
|
/freebsd/tools/tools/nanobsd/ |
H A D | FlashDevice.sub | 45 256|256mb) 59 256|256mb) 73 64|64mb) 75 NANO_HEADS=4 87 512|512mb) 110 32|32mb) 112 NANO_HEADS=4 115 64|64mb) 120 128|128mb) 125 256|256mb) [all …]
|
/freebsd/sys/netsmb/ |
H A D | smb_crypt.c | 2 * SPDX-License-Identifier: BSD-4-Clause 21 * 4. Neither the name of the author nor the names of any co-contributors 77 kk[4] = key[3] << 4 | (key[4] >> 4 & 0xfe); in smb_E() 78 kk[5] = key[4] << 3 | (key[5] >> 5 & 0xfe); in smb_E() 204 struct mbuf *mb; in smb_rq_sign() local 242 le32enc(rqp->sr_rqsig + 4, 0); in smb_rq_sign() 251 for (mb = mbp->mb_top; mb != NULL; mb = mb->m_next) in smb_rq_sign() 252 MD5Update(&md5, mtod(mb, void *), mb->m_len); in smb_rq_sign() 270 struct mbuf *mb; in smb_rq_verify() local 286 mb = mdp->md_top; in smb_rq_verify() [all …]
|
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_tx.c | 254 struct mbuf *mb, int len, __be32 owner_bit) in mlx4_en_store_inline_lso_data() argument 259 m_copydata(mb, 0, len, inl + 4); in mlx4_en_store_inline_lso_data() 260 dseg += DIV_ROUND_UP(4 + len, DS_SIZE_ALIGNMENT); in mlx4_en_store_inline_lso_data() 294 struct mbuf *mb; in mlx4_en_free_tx_desc() local 297 mb = tx_info->mb; in mlx4_en_free_tx_desc() 299 if (mb == NULL) in mlx4_en_free_tx_desc() 306 m_freem(mb); in mlx4_en_free_tx_desc() 485 mlx4_en_get_inline_hdr_size(struct mlx4_en_tx_ring *ring, struct mbuf *mb) in mlx4_en_get_inline_hdr_size() argument 490 retval = MIN(ring->inline_thold, mb->m_len); in mlx4_en_get_inline_hdr_size() 494 retval = MIN(ring->inline_thold, mb->m_pkthdr.len); in mlx4_en_get_inline_hdr_size() [all …]
|
/freebsd/sys/dev/smartpqi/ |
H A D | smartpqi_sis.c | 166 pqisrc_send_sis_cmd(pqisrc_softstate_t *softs, uint32_t *mb) in pqisrc_send_sis_cmd() argument 179 PCI_MEM_PUT32(softs, &softs->ioa_reg->mb[i], in pqisrc_send_sis_cmd() 180 LEGACY_SIS_SRCV_MAILBOX+i*4, LE_32(mb[i])); in pqisrc_send_sis_cmd() 202 DBG_ERR("Sync command %x, timedout\n", mb[0]); in pqisrc_send_sis_cmd() 207 mb[0] = LE_32(PCI_MEM_GET32(softs, &softs->ioa_reg->mb[0], LEGACY_SIS_SRCV_MAILBOX)); in pqisrc_send_sis_cmd() 209 if (mb[0] != SIS_CMD_STATUS_SUCCESS) { in pqisrc_send_sis_cmd() 211 mb[0]); in pqisrc_send_sis_cmd() 218 mb[i] = LE_32(PCI_MEM_GET32(softs, &softs->ioa_reg->mb[i], LEGACY_SIS_SRCV_MAILBOX+i*4)); in pqisrc_send_sis_cmd() 234 uint32_t mb[6] = {0}; in pqisrc_get_adapter_properties() local 238 mb[0] = SIS_CMD_GET_ADAPTER_PROPERTIES; in pqisrc_get_adapter_properties() [all …]
|
/freebsd/sys/dev/agp/ |
H A D | agp_amd64.c | 168 devid = pci_cfgregread(0, 0, i, 3, 0, 4); in agp_amd64_attach() 232 4); in agp_amd64_attach() 234 (pci_cfgregread(0, 0, sc->mctrl[i], 3, AGP_AMD64_APCTRL, 4) | in agp_amd64_attach() 237 4); in agp_amd64_attach() 253 pci_cfgregread(0, 0, sc->mctrl[i], 3, AGP_AMD64_APCTRL, 4) & in agp_amd64_detach() 254 ~AGP_AMD64_APCTRL_GARTEN, 4); in agp_amd64_detach() 264 0x02000000, /* 32 MB */ 265 0x04000000, /* 64 MB */ 266 0x08000000, /* 128 MB */ 267 0x10000000, /* 256 MB */ [all …]
|
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/ |
H A D | p1024rdb.dtsi | 59 /* 3.5 MB for Linux Kernel Image */ 65 /* 11MB for JFFS2 based Root file System */ 89 /* 1MB for u-boot Bootloader Image */ 96 /* 1MB for DTB Image */ 102 /* 4MB for Linux Kernel Image */ 108 /* 4MB for Compressed Root file System Image */ 114 /* 15MB for JFFS2 based Root file System */ 120 /* 7MB for User Writable Area */ 150 /* 4MB for Linux Kernel Image */ 156 /* 4MB for Compressed RFS Image */ [all …]
|
H A D | p1020rdb-pc.dtsi | 59 /* 3.5 MB for Linux Kernel Image */ 65 /* 11MB for JFFS2 based Root file System */ 89 /* 1MB for u-boot Bootloader Image */ 96 /* 1MB for DTB Image */ 102 /* 4MB for Linux Kernel Image */ 108 /* 4MB for Compressed Root file System Image */ 114 /* 7MB for JFFS2 based Root file System */ 120 /* 15MB for JFFS2 based Root file System */ 172 /* 4MB for Linux Kernel Image */ 178 /* 4MB for Compressed RFS Image */ [all …]
|
H A D | p1020rdb.dtsi | 60 /* 3.5 MB for Linux Kernel Image */ 67 /* 11MB for JFFS2 based Root file System */ 91 /* 1MB for u-boot Bootloader Image */ 98 /* 1MB for DTB Image */ 105 /* 4MB for Linux Kernel Image */ 112 /* 4MB for Compressed Root file System Image */ 119 /* 7MB for JFFS2 based Root file System */ 125 /* 15MB for JFFS2 based Root file System */ 170 /* 4MB for Linux Kernel Image */ 177 /* 4MB for Compressed RFS Image */ [all …]
|
H A D | p2020rdb-pc.dtsi | 59 /* 3.5 MB for Linux Kernel Image */ 65 /* 11MB for JFFS2 based Root file System */ 89 /* 1MB for u-boot Bootloader Image */ 96 /* 1MB for DTB Image */ 102 /* 4MB for Linux Kernel Image */ 108 /* 4MB for Compressed Root file System Image */ 114 /* 7MB for JFFS2 based Root file System */ 120 /* 15MB for JFFS2 based Root file System */ 172 /* 4MB for Linux Kernel Image */ 178 /* 4MB for Compressed RFS Image */ [all …]
|
H A D | p1021rdb-pc.dtsi | 59 /* 3.5 MB for Linux Kernel Image */ 65 /* 10.75MB for JFFS2 based Root file System */ 96 /* 1MB for u-boot Bootloader Image */ 103 /* 1MB for DTB Image */ 109 /* 4MB for Linux Kernel Image */ 115 /* 4MB for Compressed Root file System Image */ 121 /* 7MB for JFFS2 based Root file System */ 127 /* 15MB for User Writable Area */ 171 /* 4MB for Linux Kernel Image */ 177 /* 4MB for Compressed RFS Image */ [all …]
|
H A D | p2020rdb.dts | 60 /* 3.5 MB for Linux Kernel Image */ 67 /* 11MB for JFFS2 based Root file System */ 91 /* 1MB for u-boot Bootloader Image */ 98 /* 1MB for DTB Image */ 105 /* 4MB for Linux Kernel Image */ 112 /* 4MB for Compressed Root file System Image */ 119 /* 7MB for JFFS2 based Root file System */ 125 /* 15MB for JFFS2 based Root file System */ 173 /* 4MB for Linux Kernel Image */ 180 /* 4MB for Compressed RFS Image */ [all …]
|
H A D | p1010rdb-pa.dtsi | 38 /* 1MB for u-boot Bootloader Image */ 45 /* 1MB for DTB Image */ 51 /* 4MB for Linux Kernel Image */ 57 /* 4MB for Compressed Root file System Image */ 63 /* 15MB for JFFS2 based Root file System */ 69 /* 7MB for User Area */ 84 interrupts = <4 1 0 0>;
|
/freebsd/sys/x86/pci/ |
H A D | pci_early_quirks.c | 75 ctrl = pci_cfgregread(domain, bus, slot, func, INTEL_BSM, 4); in intel_stolen_base_gen3() 86 ctrl = pci_cfgregread(domain, bus, slot, func, INTEL_GEN11_BSM_DW0, 4); in intel_stolen_base_gen11() 89 domain, bus, slot, func, INTEL_GEN11_BSM_DW1, 4) << 32; in intel_stolen_base_gen11() 106 return (MiB(4)); in intel_stolen_size_gen3() 165 * 0x0 to 0x10: 32MB increments starting at 0MB in intel_stolen_size_chv() 166 * 0x11 to 0x16: 4MB increments starting at 8MB in intel_stolen_size_chv() 167 * 0x17 to 0x1d: 4M in intel_stolen_size_chv() [all...] |
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp.h | 92 #define SDP_FMR_DIRTY_SIZE ( SDP_FMR_POOL_SIZE / 4 ) 96 /* mb inlined data len - rest will be rx'ed into frags */ 108 #define SDP_NUM_WC 4 123 #define AUTO_MOD_DELAY (HZ / 4) 136 #define BZCOPY_STATE(mb) (SDP_SKB_CB(mb)->bz) argument 137 #define RX_SRCAVAIL_STATE(mb) (SDP_SKB_CB(mb)->rx_sa) argument 138 #define TX_SRCAVAIL_STATE(mb) (SDP_SKB_CB(mb)->tx_sa) argument 186 SDP_ERR_ERROR = -4, 203 struct mbuf *mb; member 507 struct mbuf *mb; in sdp_alloc_mb() local [all …]
|
/freebsd/sys/arm/ti/ |
H A D | ti_machdep.c | 2 * SPDX-License-Identifier: BSD-4-Clause 21 * 4. The name of the company nor the name of the author may be used to 79 * peripherals using 1mb section mappings. 86 devmap_add_entry(0x44C00000, 0x00400000); /* 4mb L4_WKUP devices*/ in ti_am335x_devmap_init() 87 devmap_add_entry(0x47400000, 0x00100000); /* 1mb USB */ in ti_am335x_devmap_init() 88 devmap_add_entry(0x47800000, 0x00100000); /* 1mb mmchs2 */ in ti_am335x_devmap_init() 89 devmap_add_entry(0x48000000, 0x01000000); /*16mb L4_PER devices */ in ti_am335x_devmap_init() 90 devmap_add_entry(0x49000000, 0x00100000); /* 1mb edma3 */ in ti_am335x_devmap_init() 91 devmap_add_entry(0x49800000, 0x00300000); /* 3mb edma3 */ in ti_am335x_devmap_init() 92 devmap_add_entry(0x4A000000, 0x01000000); /*16mb L4_FAST devices*/ in ti_am335x_devmap_init()
|