Home
last modified time | relevance | path

Searched +full:1 +full:mb (Results 1 – 25 of 1080) sorted by relevance

12345678910>>...44

/Linux-v6.1/drivers/scsi/qla2xxx/
Dqla_mbx.c80 return 1; in is_rom_cmd()
95 * mb[MAX_MAILBOX_REGISTER_COUNT] = returned mailbox data.
99 * 1 : QLA_FUNCTION_FAILED (error encountered)
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()
218 ha->flags.mbox_busy = 1; in qla2x00_mailbox_command()
[all …]
Dqla_isr.c92 rsp_els->entry_count = 1; in qla24xx_process_abts()
121 abts_rsp->entry_count = 1; in qla24xx_process_abts()
127 abts_rsp->d_id[1] = abts->s_id[1]; in qla24xx_process_abts()
131 abts_rsp->s_id[1] = abts->d_id[1]; in qla24xx_process_abts()
138 abts_rsp->f_ctl[1] = fctl >> 8 & 0xff; in qla24xx_process_abts()
333 uint16_t mb[8]; in qla2100_intr_handler() local
377 mb[0] = RD_MAILBOX_REG(ha, reg, 0); in qla2100_intr_handler()
378 if (mb[0] > 0x3fff && mb[0] < 0x8000) { in qla2100_intr_handler()
379 qla2x00_mbx_completion(vha, mb[0]); in qla2100_intr_handler()
381 } else if (mb[0] > 0x7fff && mb[0] < 0xc000) { in qla2100_intr_handler()
[all …]
/Linux-v6.1/drivers/scsi/lpfc/
Dlpfc_mbox.c89 * @locked: value that indicates if the hbalock is held (1) or not (0).
136 MAILBOX_t *mb; in lpfc_dump_static_vport() local
140 mb = &pmb->u.mb; in lpfc_dump_static_vport()
144 mb->mbxCommand = MBX_DUMP_MEMORY; in lpfc_dump_static_vport()
145 mb->un.varDmp.type = DMP_NV_PARAMS; in lpfc_dump_static_vport()
146 mb->un.varDmp.entry_index = offset; in lpfc_dump_static_vport()
147 mb->un.varDmp.region_id = DMP_REGION_VPORT; in lpfc_dump_static_vport()
148 mb->mbxOwner = OWN_HOST; in lpfc_dump_static_vport()
152 mb->un.varDmp.cv = 1; in lpfc_dump_static_vport()
153 mb->un.varDmp.word_cnt = DMP_RSP_SIZE/sizeof(uint32_t); in lpfc_dump_static_vport()
[all …]
/Linux-v6.1/drivers/power/supply/
Dipaq_micro_battery.c51 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()
69 * byte 1: chemistry 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()
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()
86 mb->temperature = msg_sensor.rx_data[1] << 8 | msg_sensor.rx_data[0]; in micro_battery_work()
88 queue_delayed_work(mb->wq, &mb->update, msecs_to_jiffies(BATT_PERIOD)); in micro_battery_work()
[all …]
/Linux-v6.1/drivers/mailbox/
Drockchip-mailbox.c38 struct rockchip_mbox *mb; member
54 struct rockchip_mbox *mb = dev_get_drvdata(chan->mbox->dev); in rockchip_mbox_send_data() local
56 struct rockchip_mbox_chan *chans = mb->chans; in rockchip_mbox_send_data()
61 if (msg->rx_size > mb->buf_size) { in rockchip_mbox_send_data()
62 dev_err(mb->mbox.dev, "Transmit size over buf size(%d)\n", in rockchip_mbox_send_data()
63 mb->buf_size); in rockchip_mbox_send_data()
67 dev_dbg(mb->mbox.dev, "Chan[%d]: A2B message, cmd 0x%08x\n", in rockchip_mbox_send_data()
70 mb->chans[chans->idx].msg = msg; in rockchip_mbox_send_data()
72 writel_relaxed(msg->cmd, mb->mbox_base + MAILBOX_A2B_CMD(chans->idx)); in rockchip_mbox_send_data()
73 writel_relaxed(msg->rx_size, mb->mbox_base + in rockchip_mbox_send_data()
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/include/nvif/
Dpush.h77 __builtin_choose_expr(__builtin_constant_p(a), (a), 1), b \
108 PUSH_DATA_(X, _pp, X##m, i0, i1, *_dd++, 1, "+0x%x", 0); \
110 PUSH_DATA_(X, _pp, X##m, i0, i1, *_dd++, 1, "+0x%x", _i); \
128 PUSH_##f(X, (p), X##mA, 1, o, (dA), ds, ""); \
130 #define PUSH_2(X,f,ds,n,o,p,s,mB,dB,mA,dA,a...) do { \ argument
131 PUSH_ASSERT((mB) - (mA) == (1?PUSH_##o##_INC), "mthd1"); \
132 PUSH_1(X, DATA_, 1, (ds) + (n), o, (p), s, X##mA, (dA), ##a); \
133 PUSH_##f(X, (p), X##mB, 0, o, (dB), ds, ""); \
135 #define PUSH_3(X,f,ds,n,o,p,s,mB,dB,mA,dA,a...) do { \ argument
136 PUSH_ASSERT((mB) - (mA) == (0?PUSH_##o##_INC), "mthd2"); \
[all …]
/Linux-v6.1/tools/testing/selftests/vm/
Dcharge_reserved_hugetlb.sh19 if [[ "$1" == "-cgroup-v2" ]]; then
20 cgroup2=1
28 cgroup_path=$(mount -t cgroup2 | head -1 | awk -e '{print $3}')
32 do_umount=1
40 do_umount=1
71 local expected="$1"
78 exit 1
85 mb=$(($kb / 1024))
86 echo $mb
89 MB=$(get_machine_hugepage_size)
[all …]
Dhugetlb_reparenting_test.sh16 if [[ "$1" == "-cgroup-v2" ]]; then
17 cgroup2=1
23 CGROUP_ROOT=$(mount -t cgroup2 | head -1 | awk -e '{print $3}')
27 do_umount=1
35 do_umount=1
43 mb=$(($kb / 1024))
44 echo $mb
47 MB=$(get_machine_hugepage_size)
63 local expected_a="$1"
78 echo actual a = $((${actual_a%% *} / 1024 / 1024)) MB
[all …]
/Linux-v6.1/Documentation/driver-api/cxl/
Dmemory-devices.rst33 given range only decodes to 1 one Host Bridge, but that Host Bridge may in turn
50 "host":"cxl_host_bridge.1",
54 "host":"cxl_switch_uport.1",
61 "pmem_size":"256.00 MiB (268.44 MB)",
62 "ram_size":"256.00 MiB (268.44 MB)",
64 "numa_node":1,
65 "host":"cxl_mem.1"
73 "pmem_size":"256.00 MiB (268.44 MB)",
74 "ram_size":"256.00 MiB (268.44 MB)",
76 "numa_node":1,
[all …]
/Linux-v6.1/tools/memory-model/
Dlinux-kernel.def17 smp_store_mb(X,V) { __store{once}(X,V); __fence{mb}; }
20 smp_mb() { __fence{mb}; }
30 xchg(X,V) __xchg{mb}(X,V)
34 cmpxchg(X,V,W) __cmpxchg{mb}(X,V,W)
65 atomic_inc(X) { __atomic_op(X,+,1); }
66 atomic_dec(X) { __atomic_op(X,-,1); }
68 atomic_add_return(V,X) __atomic_op_return{mb}(X,+,V)
72 atomic_fetch_add(V,X) __atomic_fetch_op{mb}(X,+,V)
77 atomic_inc_return(X) __atomic_op_return{mb}(X,+,1)
78 atomic_inc_return_relaxed(X) __atomic_op_return{once}(X,+,1)
[all …]
/Linux-v6.1/drivers/media/pci/cx18/
Dcx18-mailbox.c22 #define API_FAST (1 << 2) /* Short timeout */
23 #define API_SLOW (1 << 3) /* Additional 300ms timeout */
91 /* Call with buf of n*11+1 bytes */
105 static void dump_mb(struct cx18 *cx, struct cx18_mailbox *mb, char *name) in dump_mb() argument
107 char argstr[MAX_MB_ARGUMENTS*11+1]; in dump_mb()
113 name, mb->request, mb->ack, mb->cmd, mb->error, in dump_mb()
114 u32arr2hex(mb->args, MAX_MB_ARGUMENTS, argstr)); in dump_mb()
186 dispatch = 1; in cx18_mdl_send_to_videobuf()
233 struct cx18_mailbox *mb; in epu_dma_done() local
239 mb = &order->mb; in epu_dma_done()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/pci/
Dv3-v360epc-pci.txt11 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
35 #interrupt-cells = <1>;
46 0x40000000 0 0x10000000 /* 256 MiB @ LB 40000000 1:1 */
48 0x50000000 0 0x10000000>; /* 256 MiB @ LB 50000000 1:1 */
50 0x20000000 0 0x20000000 /* 512 MB @ LB 20000000 1:1 */
52 0x80000000 0 0x40000000>; /* 1GB @ LB 80000000 */
56 0x4800 0 0 1 &pic 13 /* INT A on slot 9 is irq 13 */
[all …]
/Linux-v6.1/arch/alpha/kernel/
Dcore_apecs.c31 * 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
69 * Type 1:
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
74 * | | | | | | | | | | |B|B|B|B|B|B|B|B|D|D|D|D|D|F|F|F|R|R|R|R|R|R|0|1|
109 DBGC(("mk_conf_addr: device (%d) > 20, returning -1\n", in mk_conf_addr()
111 return -1; in mk_conf_addr()
117 /* type 1 configuration cycle: */ in mk_conf_addr()
[all …]
Dcore_t2.c40 * 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.
44 * have less than 1GB of memory, floppy usage/performance will not
47 #define T2_DIRECTMAP_2G 1
62 * NOTE: Herein lie back-to-back mb instructions. They are magic.
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
117 * Type 1:
119 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1
120 * 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
[all …]
Dcore_mcpcia.c27 * NOTE: Herein lie back-to-back mb instructions. They are magic.
53 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1
54 * 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
63 * Type 1:
65 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1
66 * 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
68 * | | | | | | | | | | |B|B|B|B|B|B|B|B|D|D|D|D|D|F|F|F|R|R|R|R|R|R|0|1|
104 mb(); in conf_read()
108 mb(); in conf_read()
110 mcheck_expected(cpu) = 1; in conf_read()
[all …]
Dcore_cia.c34 * NOTE: Herein lie back-to-back mb instructions. They are magic.
56 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1
57 * 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
66 * Type 1:
68 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1
69 * 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
71 * | | | | | | | | | | |B|B|B|B|B|B|B|B|D|D|D|D|D|F|F|F|R|R|R|R|R|R|0|1|
118 mb(); in conf_read()
124 *(vip)CIA_IOC_CFG = (cia_cfg & ~3) | 1; in conf_read()
125 mb(); in conf_read()
[all …]
/Linux-v6.1/fs/btrfs/tests/
Dfree-space-tests.c41 return -1; in test_extents()
71 return -1; in test_extents()
76 return -1; in test_extents()
81 return -1; in test_extents()
97 ret = test_add_free_space_entry(cache, 0, SZ_4M, 1); in test_bitmaps()
111 return -1; in test_bitmaps()
114 ret = test_add_free_space_entry(cache, 0, SZ_4M, 1); in test_bitmaps()
134 SZ_4M, 1); in test_bitmaps()
149 return -1; in test_bitmaps()
171 ret = test_add_free_space_entry(cache, SZ_4M, SZ_1M, 1); in test_bitmaps_and_extents()
[all …]
/Linux-v6.1/tools/perf/Documentation/
Dperf-iostat.txt1 perf-iostat(1)
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):
54 $ perf iostat -- dd if=/dev/zero of=/dev/nvme0n1 bs=1M oflag=direct
61 … port Inbound Read(MB) Inbound Write(MB) Outbound Read(MB) Outbound Write(MB)
62 0000:00 1 0 2 3
73 $ perf iostat 0000:17,0:3a -- dd if=/dev/zero of=/dev/nvme0n1 bs=1M oflag=direct
[all …]
/Linux-v6.1/arch/x86/kernel/
Dearly-quirks.c42 if (htcfg & (1 << 18)) { in fix_hypertransport_config()
45 if ((htcfg & (1 << 17)) == 0) { in fix_hypertransport_config()
50 htcfg |= (1 << 17); in fix_hypertransport_config()
66 gart_iommu_aperture_disabled = 1; in via_bugs()
103 acpi_skip_timer_override = 1; in nvidia_bugs()
123 b &= ~(1<<5); in ati_ixp4x0_rev()
127 d |= 1<<8; in ati_ixp4x0_rev()
145 acpi_skip_timer_override = 1; in ati_bugs()
150 acpi_skip_timer_override = 1; in ati_bugs()
177 acpi_fix_pin2_polarity = 1; in ati_bugs_contd()
[all …]
/Linux-v6.1/net/can/
Dgw.c10 * 1. Redistributions of source code must retain the above copyright
69 #define CGW_MIN_HOPS 1
71 #define CGW_DEFAULT_HOPS 1
297 * relative to received dlc -1 .. -8 : in cgw_chk_csum_parms()
299 * -1 => index = 7 (data[7]) in cgw_chk_csum_parms()
390 crc = crc8->crctab[crc ^ crc8->profile_data[cf->data[1] & 0xF]]; in cgw_csum_crc8_rel()
417 crc = crc8->crctab[crc ^ crc8->profile_data[cf->data[1] & 0xF]]; in cgw_csum_crc8_pos()
444 crc = crc8->crctab[crc ^ crc8->profile_data[cf->data[1] & 0xF]]; in cgw_csum_crc8_neg()
520 cgw_hops(nskb) = cgw_hops(skb) + 1; in can_can_gw_rcv()
523 if (gwj->limit_hops && cgw_hops(nskb) == 1) in can_can_gw_rcv()
[all …]
/Linux-v6.1/drivers/media/pci/ivtv/
Divtv-mailbox.c22 #define API_CACHE (1 << 0) /* Allow the command to be stored in the cache */
23 #define API_RESULT (1 << 1) /* Allow 1 second for this cmd to end */
24 #define API_FAST_RESULT (3 << 1) /* Allow 0.1 second for this cmd to end */
25 #define API_DMA (1 << 3) /* DMA mailbox, has special handling */
26 #define API_HIGH_VOL (1 << 5) /* High volume command (i.e. called during encoding or decoding) */
27 #define API_NO_WAIT_MB (1 << 4) /* Command may not wait for a free mailbox */
28 #define API_NO_WAIT_RES (1 << 5) /* Command may not wait for the result */
29 #define API_NO_POLL (1 << 6) /* Avoid pointless polling */
131 static int try_mailbox(struct ivtv *itv, struct ivtv_mailbox_data *mbdata, int mb) in try_mailbox() argument
133 u32 flags = readl(&mbdata->mbox[mb].flags); in try_mailbox()
[all …]
/Linux-v6.1/drivers/net/ethernet/apple/
Dmace.c29 static int port_aaui = -1;
33 #define MAX_TX_ACTIVE 1
34 #define NCMDS_TX 1 /* dma commands per element in tx ring */
36 #define TX_TIMEOUT HZ /* 1 second */
168 rev = addr[0] == 0 && addr[1] == 0xA0; in mace_probe()
180 mp->tx_dma = ioremap(macio_resource_start(mdev, 1), 0x1000); in mace_probe()
186 mp->tx_dma_intr = macio_irq(mdev, 1); in mace_probe()
196 mp->tx_cmds = (volatile struct dbdma_cmd *) DBDMA_ALIGN(mp + 1); in mace_probe()
197 mp->rx_cmds = mp->tx_cmds + NCMDS_TX * N_TX_RING + 1; in mace_probe()
210 mp->port_aaui = 1; in mace_probe()
[all …]
/Linux-v6.1/arch/parisc/include/asm/
Dassembly.h52 #define SR_TEMP1 1
62 #define LDREGM ldd,mb
127 ldil L%\value, 1
128 ldo R%\value(1), 1
129 addib,UV,n -1,1,.
130 addib,NUV,n -1,1,.+8
316 fldd,mb -8(\regs), %fr30
317 fldd,mb -8(\regs), %fr29
318 fldd,mb -8(\regs), %fr28
319 fldd,mb -8(\regs), %fr27
[all …]
/Linux-v6.1/arch/microblaze/kernel/
Dhead.S53 .word 1
86 /* Save 1 as word and load byte - 0 - BIG, 1 - LITTLE */
117 ori r3, r0, COMMAND_LINE_SIZE - 1 /* number of loops */
123 addik r11, r11, 1 /* increment counting */
125 addik r3, r3, -1 /* decrement loop */
147 * kernel initialization. This maps the first 16 MBytes of memory 1:1
151 addik r3, r0, MICROBLAZE_TLB_SIZE -1 /* Invalidate all TLB entries */
157 addik r3, r3, -1
184 bgei r11, GT16 /* size is greater than 16MB */
186 bgei r11, GT8 /* size is greater than 8MB */
[all …]
/Linux-v6.1/arch/arm/mach-footbridge/include/mach/
Dhardware.h13 * 0xff800000 0x40000000 1MB X-Bus
14 * 0xff000000 0x7c000000 1MB PCI I/O space
15 * 0xfe000000 0x42000000 1MB CSR
16 * 0xfd000000 0x78000000 1MB Outbound write flush (not supported)
17 * 0xfc000000 0x79000000 1MB PCI IACK/special space
18 * 0xfb000000 0x7a000000 16MB PCI Config type 1
19 * 0xfa000000 0x7b000000 16MB PCI Config type 0
20 * 0xf9000000 0x50000000 1MB Cache flush
21 * 0xf0000000 0x80000000 16MB ISA memory
49 #define XBUS_SWITCH_J17_13 ((*XBUS_SWITCH) & (1 << 4))
[all …]

12345678910>>...44