Home
last modified time | relevance | path

Searched refs:shmem (Results 1 – 24 of 24) sorted by relevance

/linux-4.4.14/drivers/isdn/icn/
Dicn.h176 icn_shmem __iomem *shmem; /* Pointer to memory-mapped-buffers */ member
205 #define sbfree (((readb(&dev.shmem->data_control.scns) + 1) & 0xf) != \
206 readb(&dev.shmem->data_control.scnr))
209 #define sbnext (writeb((readb(&dev.shmem->data_control.scns) + 1) & 0xf, \
210 &dev.shmem->data_control.scns))
213 #define sbuf_n dev.shmem->data_control.scns
214 #define sbuf_d dev.shmem->data_buffers.send_buf[readb(&sbuf_n)].data
215 #define sbuf_l dev.shmem->data_buffers.send_buf[readb(&sbuf_n)].length
216 #define sbuf_f dev.shmem->data_buffers.send_buf[readb(&sbuf_n)].endflag
219 #define rbavl (readb(&dev.shmem->data_control.ecnr) != \
[all …]
Dicn.c621 c = readb(&dev.shmem->comm_buffers.iopc_buf[i & 0xff]); in icn_polldchan()
755 if (readb(&dev.shmem->data_control.scns) || in icn_check_loader()
756 readb(&dev.shmem->data_control.scnr)) { in icn_check_loader()
840 dev.shmem = ioremap(dev.memaddr, 0x4000); in icn_loadboot()
859 memcpy_toio(dev.shmem, codebuf, ICN_CODE_STAGE1); /* Copy code */ in icn_loadboot()
874 memcpy_toio(dev.shmem, codebuf, ICN_CODE_STAGE1); /* Copy code */ in icn_loadboot()
1062 &dev.shmem->comm_buffers.pcio_buf[pp & 0xff]); in icn_writecmd()
1180 iounmap(dev.shmem); in icn_command()
1686 iounmap(dev.shmem); in icn_exit()
/linux-4.4.14/drivers/net/arcnet/
Dcom90xx.c58 static int com90xx_found(int ioaddr, int airq, u_long shmem, void __iomem *);
88 static int shmem; variable
93 module_param(shmem, int, 0);
107 if (!io && !irq && !shmem && !*device && com90xx_skip_probe) in com90xx_probe()
131 if (shmem) in com90xx_probe()
132 shmems[numshmems++] = shmem; in com90xx_probe()
460 static int __init com90xx_found(int ioaddr, int airq, u_long shmem, in com90xx_found() argument
473 release_mem_region(shmem, MIRROR_SIZE); in com90xx_found()
485 check_mirror(shmem - MIRROR_SIZE, MIRROR_SIZE) == 0 && in com90xx_found()
486 check_mirror(shmem - 2 * MIRROR_SIZE, MIRROR_SIZE) == 1) in com90xx_found()
[all …]
Darc-rimi.c126 unsigned long first_mirror, last_mirror, shmem; in arcrimi_found() local
146 shmem = dev->mem_start; in arcrimi_found()
159 check_mirror(shmem - MIRROR_SIZE, MIRROR_SIZE) == 0 && in arcrimi_found()
160 check_mirror(shmem - 2 * MIRROR_SIZE, MIRROR_SIZE) == 1) in arcrimi_found()
163 first_mirror = shmem - mirror_size; in arcrimi_found()
168 last_mirror = shmem + mirror_size; in arcrimi_found()
194 release_mem_region(shmem, MIRROR_SIZE); in arcrimi_found()
/linux-4.4.14/arch/arm64/boot/dts/arm/
Djuno-base.dtsi67 cpu_scp_lpri: scp-shmem@0 {
68 compatible = "arm,juno-scp-shmem";
72 cpu_scp_hpri: scp-shmem@200 {
73 compatible = "arm,juno-scp-shmem";
81 shmem = <&cpu_scp_hpri>;
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Darm,scpi.txt14 - shmem : List of phandle pointing to the shared memory(SHM) area between the
72 - compatible : should be "arm,juno-scp-shmem" for Non-secure SRAM based
105 cpu_scp_lpri: scp-shmem@0 {
106 compatible = "arm,juno-scp-shmem";
110 cpu_scp_hpri: scp-shmem@200 {
111 compatible = "arm,juno-scp-shmem";
124 shmem = <&cpu_scp_lpri &cpu_scp_hpri>;
/linux-4.4.14/Documentation/cgroups/
Dmemcg_test.txt89 The best way to understand shmem's page state transition is to read
90 mm/shmem.c.
91 But brief explanation of the behavior of memcg around shmem will be
95 - radix-tree of shmem's inode.
101 - A new page is added to shmem's radix-tree.
133 Historically, memcg's shmem handling was poor and we saw some amount
134 of troubles here. This is because shmem is page-cache but can be
135 SwapCache. Test with shmem/tmpfs is always good test.
Dmemory.txt205 When you do swapoff and make swapped-out pages of shmem(tmpfs) to
207 caller of swapoff rather than the users of shmem.
489 mapped_file - # of bytes of mapped file (includes tmpfs/shmem)
536 (Note: file and shmem may be shared among other cgroups. In that case,
/linux-4.4.14/drivers/net/ethernet/8390/
Dmac8390.c752 long shmem = (start_page - WD_START_PG)<<8; in sane_block_output() local
754 memcpy_toio(dev->mem_start + shmem, buf, count); in sane_block_output()
794 long shmem = (start_page - WD_START_PG)<<8; in dayna_block_output() local
796 dayna_memcpy_tocard(dev, shmem, buf, count); in dayna_block_output()
833 long shmem = (start_page - WD_START_PG)<<8; in slow_sane_block_output() local
835 word_memcpy_tocard(dev->mem_start + shmem, buf, count); in slow_sane_block_output()
Dwd.c466 void __iomem *shmem = ei_status.mem + ((start_page - WD_START_PG)<<8); in wd_block_output() local
472 memcpy_toio(shmem, buf, count); in wd_block_output()
475 memcpy_toio(shmem, buf, count); in wd_block_output()
Dsmc-ultra.c487 void __iomem *shmem = ei_status.mem + ((start_page - START_PG)<<8); in ultra_block_output() local
492 memcpy_toio(shmem, buf, count); in ultra_block_output()
Dpcnet_cs.c1392 void __iomem *shmem = ei_status.mem + (start_page << 8); in shmem_block_output() local
1393 shmem -= ei_status.tx_start_page << 8; in shmem_block_output()
1394 copyout(shmem, buf, count); in shmem_block_output()
/linux-4.4.14/drivers/isdn/sc/
DMakefile9 sc-y := shmem.o init.o packet.o command.o event.o \
/linux-4.4.14/drivers/gpu/drm/omapdrm/
DTODO8 . GEM/shmem backed pages can have existing mappings (kernel linear map,
/linux-4.4.14/Documentation/namespaces/
Dcompatibility-list.txt24 or IPC shmem/message. The fact is that this ID is only valid
/linux-4.4.14/mm/
DMakefile19 readahead.o swap.o truncate.o vmscan.o shmem.o \
/linux-4.4.14/Documentation/networking/
Darcnet.txt129 com90xx=[<io>[,<irq>[,<shmem>]]][,<name>] | <name>
132 io=<io> irq=<irq> shmem=<shmem> device=<name>
160 you have so many ARCnet cards in your machine that you run out of shmem slots.
175 arcrimi=<shmem>,<irq>,<node_ID>[,<name>]
178 shmem=<shmem> irq=<irq> node=<node_ID> device=<name>
/linux-4.4.14/drivers/firmware/
Darm_scpi.c681 struct device_node *shmem = of_parse_phandle(np, "shmem", idx); in scpi_probe() local
683 if (of_address_to_resource(shmem, 0, &res)) { in scpi_probe()
/linux-4.4.14/Documentation/vm/
Dnuma_memory_policy.txt115 added to hugetlbfs shmem segments. At the time, hugetlbfs did not
117 shmem segments were never "hooked up" to the shared policy support.
/linux-4.4.14/drivers/isdn/hisax/
DKconfig98 non-standard IRQ/port/shmem settings.
/linux-4.4.14/init/
DKconfig1560 bool "Use full shmem filesystem" if EXPERT
1564 The shmem is an internal filesystem used to manage shared memory.
1567 option replaces shmem and tmpfs with the much simpler ramfs code,
/linux-4.4.14/Documentation/
Ddma-buf-sharing.txt458 shmem file already provided by gem (and set vm_pgoff = 0). Exporters can then
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c9526 u32 shmem; in bnx2x_reset_mcp_prep() local
9536 shmem = REG_RD(bp, MISC_REG_SHARED_MEM_ADDR); in bnx2x_reset_mcp_prep()
9541 if (shmem > 0) in bnx2x_reset_mcp_prep()
9542 REG_WR(bp, shmem + validity_offset, 0); in bnx2x_reset_mcp_prep()
/linux-4.4.14/
DMAINTAINERS10843 F: mm/shmem.c