| /kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
| D | qla_mbx.c | 95 * mb[MAX_MAILBOX_REGISTER_COUNT] = returned mailbox data. 161 mcp->mb[0] = MBS_LINK_DOWN_ERROR; in qla2x00_mailbox_command() 171 !is_rom_cmd(mcp->mb[0])) || ha->flags.eeh_busy) { in qla2x00_mailbox_command() 174 mcp->mb[0]); in qla2x00_mailbox_command() 188 mcp->mb[0]); in qla2x00_mailbox_command() 198 ha->flags.purge_mbox, ha->flags.eeh_busy, mcp->mb[0]); in qla2x00_mailbox_command() 208 "Prepare to issue mbox cmd=0x%x.\n", mcp->mb[0]); in qla2x00_mailbox_command() 228 iptr = mcp->mb; in qla2x00_mailbox_command() 229 command = mcp->mb[0]; in qla2x00_mailbox_command() 383 mcp->mb[0] = MBS_LINK_DOWN_ERROR; in qla2x00_mailbox_command() [all …]
|
| D | qla_isr.c | 144 abts_rsp->d_id[2] = abts->s_id[2]; in qla24xx_process_abts() 148 abts_rsp->s_id[2] = abts->d_id[2]; in qla24xx_process_abts() 151 fctl = ~(abts->f_ctl[2] | 0x7F) << 16 | in qla24xx_process_abts() 155 abts_rsp->f_ctl[2] = fctl >> 16 & 0xff; in qla24xx_process_abts() 326 be32_to_cpu_array((u32 *)buf, (__be32 *)buf, total_bytes >> 2); in __qla_copy_purex_to_buffer() 349 uint16_t mb[8]; in qla2100_intr_handler() local 393 mb[0] = RD_MAILBOX_REG(ha, reg, 0); in qla2100_intr_handler() 394 if (mb[0] > 0x3fff && mb[0] < 0x8000) { in qla2100_intr_handler() 395 qla2x00_mbx_completion(vha, mb[0]); in qla2100_intr_handler() 397 } else if (mb[0] > 0x7fff && mb[0] < 0xc000) { in qla2100_intr_handler() [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
| D | qla_mbx.c | 95 * mb[MAX_MAILBOX_REGISTER_COUNT] = returned mailbox data. 161 mcp->mb[0] = MBS_LINK_DOWN_ERROR; in qla2x00_mailbox_command() 172 !is_rom_cmd(mcp->mb[0])) { in qla2x00_mailbox_command() 175 mcp->mb[0]); in qla2x00_mailbox_command() 189 mcp->mb[0]); in qla2x00_mailbox_command() 204 "Prepare to issue mbox cmd=0x%x.\n", mcp->mb[0]); in qla2x00_mailbox_command() 224 iptr = mcp->mb; in qla2x00_mailbox_command() 225 command = mcp->mb[0]; in qla2x00_mailbox_command() 372 mcp->mb[0] = MBS_LINK_DOWN_ERROR; in qla2x00_mailbox_command() 388 iptr2 = mcp->mb; in qla2x00_mailbox_command() [all …]
|
| D | qla_isr.c | 127 abts_rsp->d_id[2] = abts->s_id[2]; in qla24xx_process_abts() 131 abts_rsp->s_id[2] = abts->d_id[2]; in qla24xx_process_abts() 134 fctl = ~(abts->f_ctl[2] | 0x7F) << 16 | in qla24xx_process_abts() 138 abts_rsp->f_ctl[2] = fctl >> 16 & 0xff; in qla24xx_process_abts() 189 uint16_t mb[8]; in qla2100_intr_handler() local 233 mb[0] = RD_MAILBOX_REG(ha, reg, 0); in qla2100_intr_handler() 234 if (mb[0] > 0x3fff && mb[0] < 0x8000) { in qla2100_intr_handler() 235 qla2x00_mbx_completion(vha, mb[0]); in qla2100_intr_handler() 237 } else if (mb[0] > 0x7fff && mb[0] < 0xc000) { in qla2100_intr_handler() 238 mb[1] = RD_MAILBOX_REG(ha, reg, 1); in qla2100_intr_handler() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
| D | charge_reserved_hugetlb.sh | 69 local actual="$2" 82 mb=$(($kb / 1024)) 83 echo $mb 86 MB=$(get_machine_hugepage_size) 90 local cgroup_limit="$2" 96 echo "$cgroup_limit" >$cgroup_path/$name/hugetlb.${MB}MB.$fault_limit_file 100 $cgroup_path/$name/hugetlb.${MB}MB.$reservation_limit_file 112 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file" 123 local size="$2" 125 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file" [all …]
|
| D | hugetlb_reparenting_test.sh | 40 mb=$(($kb / 1024)) 41 echo $mb 44 MB=$(get_machine_hugepage_size) 49 rm -rf "$MNT"/* 2>/dev/null 50 umount "$MNT" 2>/dev/null 51 rmdir "$MNT" 2>/dev/null 52 rmdir "$CGROUP_ROOT"/a/b 2>/dev/null 53 rmdir "$CGROUP_ROOT"/a 2>/dev/null 54 rmdir "$CGROUP_ROOT"/test1 2>/dev/null 61 local expected_a_hugetlb="$2" [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
| D | charge_reserved_hugetlb.sh | 72 local actual="$2" 85 mb=$(($kb / 1024)) 86 echo $mb 89 MB=$(get_machine_hugepage_size) 93 local cgroup_limit="$2" 99 echo "$cgroup_limit" >$cgroup_path/$name/hugetlb.${MB}MB.$fault_limit_file 103 $cgroup_path/$name/hugetlb.${MB}MB.$reservation_limit_file 115 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file" 126 local size="$2" 128 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file" [all …]
|
| D | hugetlb_reparenting_test.sh | 43 mb=$(($kb / 1024)) 44 echo $mb 47 MB=$(get_machine_hugepage_size) 52 rm -rf "$MNT"/* 2>/dev/null 53 umount "$MNT" 2>/dev/null 54 rmdir "$MNT" 2>/dev/null 55 rmdir "$CGROUP_ROOT"/a/b 2>/dev/null 56 rmdir "$CGROUP_ROOT"/a 2>/dev/null 57 rmdir "$CGROUP_ROOT"/test1 2>/dev/null 64 local expected_a_hugetlb="$2" [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/cxl/ |
| D | memory-devices.rst | 39 module generates an emulated CXL topology of 2 Host Bridges each with 2 Root 40 Ports. Each of those Root Ports are connected to 2-way switches with endpoints 61 "pmem_size":"256.00 MiB (268.44 MB)", 62 "ram_size":"256.00 MiB (268.44 MB)", 73 "pmem_size":"256.00 MiB (268.44 MB)", 74 "ram_size":"256.00 MiB (268.44 MB)", 91 "pmem_size":"256.00 MiB (268.44 MB)", 92 "ram_size":"256.00 MiB (268.44 MB)", 103 "pmem_size":"256.00 MiB (268.44 MB)", 104 "ram_size":"256.00 MiB (268.44 MB)", [all …]
|
| /kernel/linux/linux-6.6/arch/alpha/kernel/ |
| D | core_apecs.c | 31 * NOTE: Herein lie back-to-back mb instructions. They are magic. 59 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1 60 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0 67 * 7:2 Register number 71 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1 72 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0 81 * 7:2 register number 88 * doesn't get shifted by 2 bits as we want to "drop" the bottom two 140 mb(); in conf_read() 143 /* If Type1 access, must set HAE #2. */ in conf_read() [all …]
|
| D | io.c | 20 mb(); in ioread8() 22 mb(); in ioread8() 29 mb(); in ioread16() 31 mb(); in ioread16() 38 mb(); in ioread32() 40 mb(); in ioread32() 47 mb(); in ioread64() 49 mb(); in ioread64() 55 mb(); in iowrite8() 61 mb(); in iowrite16() [all …]
|
| D | core_t2.c | 37 * By default, we direct-map starting at 2GB, in order to allow the 38 * maximum size direct-map window (2GB) to match the maximum amount of 39 * memory (2GB) that can be present on SABLEs. But that limits the 40 * floppy to DMA only via the scatter/gather window set up for 8MB 41 * ISA DMA, since the maximum ISA DMA address is 2GB-1. 62 * NOTE: Herein lie back-to-back mb instructions. They are magic. 90 } window[2]; 107 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1 108 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0 115 * 7:2 Register number [all …]
|
| /kernel/linux/linux-5.10/arch/alpha/kernel/ |
| D | core_apecs.c | 31 * NOTE: Herein lie back-to-back mb instructions. They are magic. 59 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1 60 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0 67 * 7:2 Register number 71 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1 72 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0 81 * 7:2 register number 88 * doesn't get shifted by 2 bits as we want to "drop" the bottom two 140 mb(); in conf_read() 143 /* If Type1 access, must set HAE #2. */ in conf_read() [all …]
|
| /kernel/linux/linux-6.6/drivers/accel/habanalabs/include/gaudi2/ |
| D | gaudi2.h | 12 #define MSIX_BAR_ID 2 16 #define CFG_BAR_SIZE 0x10000000ull /* 256MB */ 21 #define CFG_SIZE 0x8000000ull /* 96MB CFG + 32MB DBG*/ 22 #define CFG_REGION_SIZE 0xC000000ull /* 192MB */ 24 #define STM_FLASH_BASE_ADDR 0x1000007FF4000000ull /* Not 256MB aligned */ 25 #define STM_FLASH_ALIGNED_OFF 0x4000000ull /* 256 MB alignment */ 26 #define STM_FLASH_SIZE 0x2000000ull /* 32MB */ 29 #define SPI_FLASH_SIZE 0x1000000ull /* 16MB */ 38 #define BAR0_RSRVD_SIZE 0x1000000ull /* 16MB */ 41 #define SRAM_SIZE 0x3000000ull /* 48MB */ [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | ipaq_micro_battery.c | 51 struct micro_battery *mb = container_of(work, in micro_battery_work() local 61 ipaq_micro_tx_msg_sync(mb->micro, &msg_battery); in micro_battery_work() 70 * byte 2: voltage LSB in micro_battery_work() 73 * byte 5-9: same for battery 2 in micro_battery_work() 75 mb->ac = msg_battery.rx_data[0]; in micro_battery_work() 76 mb->chemistry = msg_battery.rx_data[1]; in micro_battery_work() 77 mb->voltage = ((((unsigned short)msg_battery.rx_data[3] << 8) + in micro_battery_work() 78 msg_battery.rx_data[2]) * 5000L) * 1000 / 1024; in micro_battery_work() 79 mb->flag = msg_battery.rx_data[4]; in micro_battery_work() 85 ipaq_micro_tx_msg_sync(mb->micro, &msg_sensor); in micro_battery_work() [all …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | ipaq_micro_battery.c | 51 struct micro_battery *mb = container_of(work, in micro_battery_work() local 61 ipaq_micro_tx_msg_sync(mb->micro, &msg_battery); in micro_battery_work() 70 * byte 2: voltage LSB in micro_battery_work() 73 * byte 5-9: same for battery 2 in micro_battery_work() 75 mb->ac = msg_battery.rx_data[0]; in micro_battery_work() 76 mb->chemistry = msg_battery.rx_data[1]; in micro_battery_work() 77 mb->voltage = ((((unsigned short)msg_battery.rx_data[3] << 8) + in micro_battery_work() 78 msg_battery.rx_data[2]) * 5000L) * 1000 / 1024; in micro_battery_work() 79 mb->flag = msg_battery.rx_data[4]; in micro_battery_work() 85 ipaq_micro_tx_msg_sync(mb->micro, &msg_sensor); in micro_battery_work() [all …]
|
| /kernel/linux/linux-5.10/fs/btrfs/tests/ |
| D | free-space-tests.c | 382 * entry, we could end up with 2 entries representing a contiguous free space. 431 * Extent entry covering free space range [128Mb - 256Kb, 128Mb - 128Kb[ in test_steal_space_from_bitmap_to_extent() 439 /* Bitmap entry covering free space range [128Mb + 512Kb, 256Mb[ */ in test_steal_space_from_bitmap_to_extent() 447 ret = check_num_extents_and_bitmaps(cache, 2, 1); in test_steal_space_from_bitmap_to_extent() 455 * [128Mb - 256Kb, 128Mb - 128Kb[ in test_steal_space_from_bitmap_to_extent() 456 * [128Mb + 512Kb, 128Mb + 768Kb[ in test_steal_space_from_bitmap_to_extent() 466 /* Confirm that only those 2 ranges are marked as free. */ in test_steal_space_from_bitmap_to_extent() 477 * Confirm that the bitmap range [128Mb + 768Kb, 256Mb[ isn't marked in test_steal_space_from_bitmap_to_extent() 487 * Confirm that the region [128Mb + 256Kb, 128Mb + 512Kb[, which is in test_steal_space_from_bitmap_to_extent() 496 * Confirm that the region [128Mb, 128Mb + 256Kb[, which is covered in test_steal_space_from_bitmap_to_extent() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
| D | cx18-mailbox.c | 22 #define API_FAST (1 << 2) /* Short timeout */ 105 static void dump_mb(struct cx18 *cx, struct cx18_mailbox *mb, char *name) in dump_mb() argument 113 name, mb->request, mb->ack, mb->cmd, mb->error, in dump_mb() 114 u32arr2hex(mb->args, MAX_MB_ARGUMENTS, argstr)); in dump_mb() 233 struct cx18_mailbox *mb; in epu_dma_done() local 239 mb = &order->mb; in epu_dma_done() 240 handle = mb->args[0]; in epu_dma_done() 247 "stale" : "good", mb->request); in epu_dma_done() 251 mdl_ack_count = mb->args[2]; in epu_dma_done() 280 mb->request); in epu_dma_done() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
| D | cx18-mailbox.c | 22 #define API_FAST (1 << 2) /* Short timeout */ 105 static void dump_mb(struct cx18 *cx, struct cx18_mailbox *mb, char *name) in dump_mb() argument 113 name, mb->request, mb->ack, mb->cmd, mb->error, in dump_mb() 114 u32arr2hex(mb->args, MAX_MB_ARGUMENTS, argstr)); in dump_mb() 234 struct cx18_mailbox *mb; in epu_dma_done() local 240 mb = &order->mb; in epu_dma_done() 241 handle = mb->args[0]; in epu_dma_done() 248 "stale" : "good", mb->request); in epu_dma_done() 252 mdl_ack_count = mb->args[2]; in epu_dma_done() 281 mb->request); in epu_dma_done() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pci/ |
| 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 36 #size-cells = <2>; 50 0x20000000 0 0x20000000 /* 512 MB @ LB 20000000 1:1 */ 57 0x4800 0 0 2 &pic 14 /* INT B on slot 9 is irq 14 */ 62 0x5000 0 0 2 &pic 15 /* INT B on slot 10 is irq 15 */ 67 0x5800 0 0 2 &pic 16 /* INT B on slot 11 is irq 16 */ 72 0x6000 0 0 2 &pic 13 /* INT B on slot 12 is irq 13 */
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/ |
| 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 36 #size-cells = <2>; 50 0x20000000 0 0x20000000 /* 512 MB @ LB 20000000 1:1 */ 57 0x4800 0 0 2 &pic 14 /* INT B on slot 9 is irq 14 */ 62 0x5000 0 0 2 &pic 15 /* INT B on slot 10 is irq 15 */ 67 0x5800 0 0 2 &pic 16 /* INT B on slot 11 is irq 16 */ 72 0x6000 0 0 2 &pic 13 /* INT B on slot 12 is irq 13 */
|
| /kernel/linux/linux-6.6/Documentation/arch/x86/x86_64/ |
| D | mm.rst | 20 from TB to GB and then MB/KB. 57 fffffc0000000000 | -4 TB | fffffdffffffffff | 2 TB | ... unused hole 59 fffffe0000000000 | -2 TB | fffffe7fffffffff | 0.5 TB | cpu_entry_area mapping 64 ffffffff00000000 | -4 GB | ffffffff7fffffff | 2 GB | ... unused hole 65 …ffffffff80000000 | -2 GB | ffffffff9fffffff | 512 MB | kernel text mapping, mapped to physic… 66 ffffffff80000000 |-2048 MB | | | 67 ffffffffa0000000 |-1536 MB | fffffffffeffffff | 1520 MB | module mapping space 68 ffffffffff000000 | -16 MB | | | 69 …FIXADDR_START | ~-11 MB | ffffffffff5fffff | ~0.5 MB | kernel-internal fixmap range, variable s… 70 ffffffffff600000 | -10 MB | ffffffffff600fff | 4 kB | legacy vsyscall ABI [all …]
|
| /kernel/linux/linux-5.10/Documentation/x86/x86_64/ |
| D | mm.rst | 20 from TB to GB and then MB/KB. 57 fffffc0000000000 | -4 TB | fffffdffffffffff | 2 TB | ... unused hole 59 fffffe0000000000 | -2 TB | fffffe7fffffffff | 0.5 TB | cpu_entry_area mapping 64 ffffffff00000000 | -4 GB | ffffffff7fffffff | 2 GB | ... unused hole 65 …ffffffff80000000 | -2 GB | ffffffff9fffffff | 512 MB | kernel text mapping, mapped to physic… 66 ffffffff80000000 |-2048 MB | | | 67 ffffffffa0000000 |-1536 MB | fffffffffeffffff | 1520 MB | module mapping space 68 ffffffffff000000 | -16 MB | | | 69 …FIXADDR_START | ~-11 MB | ffffffffff5fffff | ~0.5 MB | kernel-internal fixmap range, variable s… 70 ffffffffff600000 | -10 MB | ffffffffff600fff | 4 kB | legacy vsyscall ABI [all …]
|
| /kernel/linux/linux-6.6/fs/btrfs/tests/ |
| D | free-space-tests.c | 382 * entry, we could end up with 2 entries representing a contiguous free space. 430 * Extent entry covering free space range [128Mb - 256Kb, 128Mb - 128Kb[ in test_steal_space_from_bitmap_to_extent() 438 /* Bitmap entry covering free space range [128Mb + 512Kb, 256Mb[ */ in test_steal_space_from_bitmap_to_extent() 446 ret = check_num_extents_and_bitmaps(cache, 2, 1); in test_steal_space_from_bitmap_to_extent() 454 * [128Mb - 256Kb, 128Mb - 128Kb[ in test_steal_space_from_bitmap_to_extent() 455 * [128Mb + 512Kb, 128Mb + 768Kb[ in test_steal_space_from_bitmap_to_extent() 465 /* Confirm that only those 2 ranges are marked as free. */ in test_steal_space_from_bitmap_to_extent() 476 * Confirm that the bitmap range [128Mb + 768Kb, 256Mb[ isn't marked in test_steal_space_from_bitmap_to_extent() 486 * Confirm that the region [128Mb + 256Kb, 128Mb + 512Kb[, which is in test_steal_space_from_bitmap_to_extent() 495 * Confirm that the region [128Mb, 128Mb + 256Kb[, which is covered in test_steal_space_from_bitmap_to_extent() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/Documentation/ |
| D | perf-iostat.txt | 18 - Inbound Read - I/O devices below root port read from the host memory, in MB 20 - Inbound Write - I/O devices below root port write to the host memory, in MB 22 - Outbound Read - CPU reads from I/O devices below root port, in MB 24 - Outbound Write - CPU writes to I/O devices below root port, in MB 40 1. List all PCIe root ports (example for 2-S platform): 52 2. Collect metrics for all PCIe root ports: 61 … port Inbound Read(MB) Inbound Write(MB) Outbound Read(MB) Outbound Write(MB) 62 0000:00 1 0 2 3 80 … port Inbound Read(MB) Inbound Write(MB) Outbound Read(MB) Outbound Write(MB) 82 0000:3a 3 2 0 0
|