Searched refs:phys (Results 1 - 25 of 496) sorted by relevance

1234567891011>>

/drivers/gpu/drm/nouveau/core/subdev/vm/
H A Dnv50.c41 u64 phys = 0xdeadcafe00000000ULL; local
45 phys = 0x00000003 | pgt[0]->addr; /* present, 4KiB pages */
49 phys = 0x00000001 | pgt[1]->addr; /* present */
53 if (phys & 1) {
55 phys |= 0x60;
57 phys |= 0x40;
59 phys |= 0x20;
62 nv_wo32(pgd, (pde * 8) + 0, lower_32_bits(phys));
63 nv_wo32(pgd, (pde * 8) + 4, upper_32_bits(phys));
67 vm_addr(struct nouveau_vma *vma, u64 phys, u3 argument
80 nv50_vm_map(struct nouveau_vma *vma, struct nouveau_gpuobj *pgt, struct nouveau_mem *mem, u32 pte, u32 cnt, u64 phys, u64 delta) argument
133 u64 phys = vm_addr(vma, (u64)*list++, mem->memtype, target); local
[all...]
H A Dnvc0.c95 nvc0_vm_addr(struct nouveau_vma *vma, u64 phys, u32 memtype, u32 target) argument
97 phys >>= 8;
99 phys |= 0x00000001; /* present */
101 phys |= 0x00000002;
103 phys |= ((u64)target << 32);
104 phys |= ((u64)memtype << 36);
106 return phys;
111 struct nouveau_mem *mem, u32 pte, u32 cnt, u64 phys, u64 delta)
115 phys = nvc0_vm_addr(vma, phys, me
110 nvc0_vm_map(struct nouveau_vma *vma, struct nouveau_gpuobj *pgt, struct nouveau_mem *mem, u32 pte, u32 cnt, u64 phys, u64 delta) argument
145 u64 phys = nvc0_vm_addr(vma, *list++, memtype, target); local
[all...]
/drivers/mtd/maps/
H A Dichxrom.c37 unsigned long phys; member in struct:ichxrom_window
80 window->phys = 0;
110 window->phys = 0;
113 window->phys = 0xffc00000;
116 window->phys = 0xff400000;
119 window->phys = 0xff500000;
122 window->phys = 0xff600000;
125 window->phys = 0xff700000;
129 window->phys = 0xffc80000;
132 window->phys
[all...]
H A Duclinux.c59 size_t *retlen, void **virt, resource_size_t *phys)
63 if (phys)
64 *phys = map->phys + from;
79 mapp->phys = (resource_size_t)__bss_stop;
81 mapp->phys = physaddr;
84 mapp->size = PAGE_ALIGN(ntohl(*((unsigned long *)(mapp->phys + 8))));
88 (int) mapp->phys, (int) mapp->size);
96 mapp->virt = phys_to_virt(mapp->phys);
58 uclinux_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, void **virt, resource_size_t *phys) argument
H A Dsolutionengine.c39 soleng_flash_map.phys = 0;
41 soleng_eprom_map.phys = 0x01000000;
51 soleng_flash_map.phys = 0x01000000;
53 soleng_eprom_map.phys = 0;
63 soleng_flash_map.phys & 0x1fffffff,
64 soleng_eprom_map.phys & 0x1fffffff);
H A Desb2rom.c98 unsigned long phys; member in struct:esb2rom_window
141 window->phys = 0;
186 window->phys = 0;
191 window->phys = 0xff400000;
193 window->phys = 0xff500000;
195 window->phys = 0xff600000;
197 window->phys = 0xFF700000;
199 window->phys = 0xffc00000;
201 window->phys = 0xffc80000;
203 window->phys
[all...]
H A Dck804xrom.c36 unsigned long phys; member in struct:ck804xrom_window
108 window->phys = 0;
144 window->phys = 0xffb00000; /* 5MiB */
146 window->phys = 0xffc00000; /* 4MiB */
148 window->phys = 0xffff0000; /* 64KiB */
161 window->phys = 0xff000000; /* 16MiB, hardcoded for now */
165 window->size = 0xffffffffUL - window->phys + 1UL;
175 window->rsrc.start = window->phys;
176 window->rsrc.end = window->phys + window->size - 1;
193 window->virt = ioremap_nocache(window->phys, windo
[all...]
H A Damd76xrom.c32 unsigned long phys; member in struct:amd76xrom_window
96 window->phys = 0;
128 window->phys = 0xffb00000; /* 5MiB */
131 window->phys = 0xffc00000; /* 4MiB */
134 window->phys = 0xffff0000; /* 64KiB */
136 window->size = 0xffffffffUL - window->phys + 1UL;
146 window->rsrc.start = window->phys;
147 window->rsrc.end = window->phys + window->size - 1;
165 window->virt = ioremap_nocache(window->phys, window->size);
168 window->phys, windo
[all...]
H A Dsa1100-flash.c63 release_mem_region(subdev->map.phys, subdev->map.size);
68 unsigned long phys; local
72 phys = res->start;
73 size = res->end - phys + 1;
79 switch (phys) {
82 "0x%08lx, assuming CS0\n", phys);
93 if (!request_mem_region(phys, size, subdev->name)) {
101 subdev->map.phys = phys;
103 subdev->map.virt = ioremap(phys, siz
[all...]
H A Dsc520cdp.c91 .phys = WINDOW_ADDR_0
97 .phys = WINDOW_ADDR_1
103 .phys = WINDOW_ADDR_2
195 sc520cdp_map[i].phys = par_table[i].default_address;
220 sc520cdp_map[i].phys = par_table[i].default_address;
240 (unsigned long long)sc520cdp_map[i].phys);
242 sc520cdp_map[i].virt = ioremap_nocache(sc520cdp_map[i].phys, sc520cdp_map[i].size);
/drivers/infiniband/hw/ipath/
H A Dipath_user_pages.c109 dma_addr_t phys; local
111 phys = pci_map_page(hwdev, page, offset, size, direction);
113 if (phys == 0) {
114 pci_unmap_page(hwdev, phys, size, direction);
115 phys = pci_map_page(hwdev, page, offset, size, direction);
122 return phys;
133 dma_addr_t phys; local
135 phys = pci_map_single(hwdev, ptr, size, direction);
137 if (phys == 0) {
138 pci_unmap_single(hwdev, phys, siz
[all...]
/drivers/infiniband/hw/qib/
H A Dqib_user_pages.c104 dma_addr_t phys; local
106 phys = pci_map_page(hwdev, page, offset, size, direction);
108 if (phys == 0) {
109 pci_unmap_page(hwdev, phys, size, direction);
110 phys = pci_map_page(hwdev, page, offset, size, direction);
117 return phys;
/drivers/iommu/
H A Dshmobile-ipmmu.h24 void ipmmu_tlb_set(struct shmobile_ipmmu *ipmmu, unsigned long phys, int size,
/drivers/scsi/
H A Dsd_dif.c102 * avoid virt->phys remapping during write. However, at read time we
115 u32 phys, virt; local
122 phys = scsi_prot_ref_tag(scmd);
142 pi->ref_tag = cpu_to_be32(phys);
145 phys++;
166 u32 phys, virt; local
174 phys = scsi_prot_ref_tag(scmd);
193 if (be32_to_cpu(pi->ref_tag) == phys)
197 phys++;
/drivers/ata/
H A Dlibahci_platform.c45 * This function enables all the PHYs found in hpriv->phys, if any.
57 if (!hpriv->phys[i])
60 rc = phy_init(hpriv->phys[i]);
64 rc = phy_power_on(hpriv->phys[i]);
66 phy_exit(hpriv->phys[i]);
75 phy_power_off(hpriv->phys[i]);
76 phy_exit(hpriv->phys[i]);
85 * This function disables all PHYs found in hpriv->phys.
92 if (!hpriv->phys[i])
95 phy_power_off(hpriv->phys[
[all...]
/drivers/media/common/siano/
H A Dsmsir.c74 strlcpy(coredev->ir.phys, coredev->devpath, sizeof(coredev->ir.phys));
75 strlcat(coredev->ir.phys, "/ir0", sizeof(coredev->ir.phys));
78 dev->input_phys = coredev->ir.phys;
/drivers/input/keyboard/
H A Dnewtonkbd.c63 char phys[32]; member in struct:nkbd
78 printk(KERN_INFO "input: %s on %s\n", nkbd->dev->name, serio->phys);
97 snprintf(nkbd->phys, sizeof(nkbd->phys), "%s/input0", serio->phys);
101 input_dev->phys = nkbd->phys;
H A Dstowaway.c69 char phys[32]; member in struct:skbd
101 snprintf(skbd->phys, sizeof(skbd->phys), "%s/input0", serio->phys);
105 input_dev->phys = skbd->phys;
H A Dxtkbd.c60 char phys[32]; member in struct:xtkbd
99 snprintf(xtkbd->phys, sizeof(xtkbd->phys), "%s/input0", serio->phys);
103 input_dev->phys = xtkbd->phys;
/drivers/input/joystick/
H A Dmagellan.c58 char phys[32]; member in struct:magellan
160 snprintf(magellan->phys, sizeof(magellan->phys), "%s/input0", serio->phys);
163 input_dev->phys = magellan->phys;
H A Dstinger.c56 char phys[32]; member in struct:stinger
146 snprintf(stinger->phys, sizeof(stinger->phys), "%s/serio0", serio->phys);
149 input_dev->phys = stinger->phys;
H A Dtwidjoy.c94 char phys[32]; member in struct:twidjoy
195 snprintf(twidjoy->phys, sizeof(twidjoy->phys), "%s/input0", serio->phys);
198 input_dev->phys = twidjoy->phys;
H A Dwarrior.c56 char phys[32]; member in struct:warrior
152 snprintf(warrior->phys, sizeof(warrior->phys), "%s/input0", serio->phys);
155 input_dev->phys = warrior->phys;
H A Dzhenhua.c72 char phys[32]; member in struct:zhenhua
165 snprintf(zhenhua->phys, sizeof(zhenhua->phys), "%s/input0", serio->phys);
168 input_dev->phys = zhenhua->phys;
/drivers/input/touchscreen/
H A Ddynapro.c60 char phys[32]; member in struct:dynapro
127 snprintf(pdynapro->phys, sizeof(pdynapro->phys),
128 "%s/input0", serio->phys);
131 input_dev->phys = pdynapro->phys;

Completed in 450 milliseconds

1234567891011>>