Searched defs:device (Results 1 - 25 of 68) sorted by relevance

123

/arch/powerpc/include/asm/
H A Dprom.h29 /* Translate a DMA address from device space to CPU space */
53 extern int of_node_to_nid(struct device_node *device);
55 static inline int of_node_to_nid(struct device_node *device) { return 0; } argument
/arch/x86/video/
H A Dfbdev.c15 struct device *device = info->device; local
20 if (device)
21 pci_dev = to_pci_dev(device);
/arch/arm/mach-at91/
H A Dcpuidle.c60 struct cpuidle_device *device; local
62 device = &per_cpu(at91_cpuidle_device, smp_processor_id());
63 device->state_count = AT91_MAX_STATES;
67 if (cpuidle_register_device(device)) {
/arch/arm/mach-kirkwood/
H A Dcpuidle.c60 struct cpuidle_device *device; local
62 device = &per_cpu(kirkwood_cpuidle_device, smp_processor_id());
63 device->state_count = KIRKWOOD_MAX_STATES;
66 if (cpuidle_register_device(device)) {
/arch/x86/kernel/
H A Dreboot_fixups_32.c58 unsigned int device; member in struct:device_fixup
94 dev = pci_get_device(cur->vendor, cur->device, NULL);
H A Damd_nb.c110 bool __init early_is_amd_nb(u32 device) argument
113 u32 vendor = device & 0xffff;
115 device >>= 16;
117 if (vendor == id->vendor && device == id->device)
H A Dearly-quirks.c7 Most PCI device specific workarounds can be done later and should be
200 u32 device; member in struct:chipset
228 * check_dev_quirk - apply early quirks to a given PCI device
233 * Check the vendor & device ID against the early quirks table.
235 * If the device is single function, let early_quirks() know so we don't
236 * poke at this device again.
242 u16 device; local
253 device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID);
258 ((early_qrk[i].device == PCI_ANY_ID) ||
259 (early_qrk[i].device
[all...]
H A Dmmconf-fam10h_64.c24 u32 device; member in struct:pci_hostbridge_probe
77 u16 device; local
85 device = (id>>16) & 0xffff;
87 pci_probes[i].device == device) {
/arch/x86/pci/
H A Dbroadcom_bus.c97 u16 vendor, device; local
110 device = (id >> 16) & 0xffff;
113 device == PCI_DEVICE_ID_SERVERWORKS_LE) {
/arch/um/drivers/
H A Dfd.c22 static void *fd_init(char *str, int device, const struct chan_opts *opts) argument
H A Dnull.c15 static void *null_init(char *str, int device, const struct chan_opts *opts) argument
H A Dtty.c19 static void *tty_chan_init(char *str, int device, const struct chan_opts *opts) argument
25 "a device\n");
H A Dport_user.c24 static void *port_init(char *str, int device, const struct chan_opts *opts) argument
H A Dpty.c26 static void *pty_chan_init(char *str, int device, const struct chan_opts *opts) argument
35 .dev = device,
H A Dxterm.c22 int device; member in struct:xterm_chan
27 static void *xterm_init(char *str, int device, const struct chan_opts *opts) argument
36 .device = device,
136 sprintf(title, data->title, data->device);
/arch/arm/mach-davinci/
H A Dcpuidle.c115 struct cpuidle_device *device; local
118 device = &per_cpu(davinci_cpuidle_device, smp_processor_id());
129 cpuidle_set_statedata(&device->states_usage[1], &davinci_states[1]);
131 device->state_count = DAVINCI_CPUIDLE_MAX_STATES;
139 ret = cpuidle_register_device(device);
141 dev_err(&pdev->dev, "failed to register device\n");
/arch/ia64/sn/pci/pcibr/
H A Dpcibr_reg.c220 u64 pcireg_wrb_flush_get(struct pcibus_info *pcibus_info, int device) argument
229 __sn_readq_relaxed(&ptr->tio.cp_wr_req_buf[device]);
233 __sn_readq_relaxed(&ptr->pic.p_wr_req_buf[device]);
H A Dpcibr_provider.c26 sal_pcibr_slot_enable(struct pcibus_info *soft, int device, void *resp, argument
39 busnum, (u64) device, (u64) resp, (u64)ia64_tpa(ssdt),
46 sal_pcibr_slot_disable(struct pcibus_info *soft, int device, int action, argument
59 segment, busnum, (u64) device, (u64) action,
228 /* Disable the device's IRQ */
231 /* Change the device's IRQ */
234 /* Re-enable the device's IRQ */
/arch/mips/pci/
H A Dops-bonito64.c46 int device = PCI_SLOT(devfn); local
52 if (device > MAX_DEV_NUM)
55 addr = (1 << (device + ID_SEL_BEGIN)) | (function << 8) | reg;
59 addr = (busnum << 16) | (device << 11) | (function << 8) | reg;
H A Dops-loongson2.c44 int device = PCI_SLOT(devfn); local
60 if ((PCI_IDSEL_CS5536 == device) && (reg < PCI_MSR_CTRL)) {
73 if (device > MAX_DEV_NUM)
76 addr = (1 << (device + ID_SEL_BEGIN)) | (function << 8) | reg;
80 addr = (busnum << 16) | (device << 11) | (function << 8) | reg;
/arch/alpha/kernel/
H A Dcore_apecs.c50 * Given a bus, device, and function number, compute resulting
83 * The function number selects which function of a multi-function device
103 int device = device_fn >> 3; local
107 if (device > 20) {
108 DBGC(("mk_conf_addr: device (%d) > 20, returning -1\n",
109 device));
/arch/arm/mach-exynos/
H A Dcpuidle.c203 struct cpuidle_device *device; local
218 device = &per_cpu(exynos4_cpuidle_device, cpu_id);
219 device->cpu = cpu_id;
222 device->state_count = (sizeof(exynos4_cpuidle_set) /
225 device->state_count = 1; /* Support IDLE only */
227 if (cpuidle_register_device(device)) {
228 printk(KERN_ERR "CPUidle register device failed\n,");
/arch/ia64/hp/common/
H A Daml_nfw.c36 MODULE_PARM_DESC(force, "Install opregion handler even without HPQ5001 device");
183 static int aml_nfw_add(struct acpi_device *device) argument
187 * the address space handler for the specific device we found.
194 static int aml_nfw_remove(struct acpi_device *device, int type) argument
/arch/sparc/kernel/
H A Dprom_32.c2 * Procedures for creating, accessing and interpreting the device tree.
135 /* "name:vendor:device@irq,addrlo" */
139 unsigned int *intr, *device, *vendor, reg0; local
143 /* In order to get a unique ID in the device tree (multiple AMBA devices
165 prop = of_find_property(dp, "device", NULL);
168 device = prop->value;
171 dp->name, *vendor, *device,
216 char *msg = "OF stdout device is: %s\n";
/arch/x86/kernel/cpu/
H A Dcyrix.c258 u32 vendor, device; local
279 device = read_pci_config_16(0, 0, 0x12, PCI_DEVICE_ID);
285 (device == PCI_DEVICE_ID_CYRIX_5510 ||
286 device == PCI_DEVICE_ID_CYRIX_5520))

Completed in 485 milliseconds

123