Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 258) sorted by relevance

1234567891011

/arch/powerpc/include/asm/
Ddcr.h41 #define DCR_MAP_OK(host) dcr_map_ok_generic(host) argument
43 #define dcr_unmap(host, dcr_c) dcr_unmap_generic(host, dcr_c) argument
44 #define dcr_read(host, dcr_n) dcr_read_generic(host, dcr_n) argument
45 #define dcr_write(host, dcr_n, value) dcr_write_generic(host, dcr_n, value) argument
51 #define DCR_MAP_OK(host) dcr_map_ok_native(host) argument
53 #define dcr_unmap(host, dcr_c) dcr_unmap_native(host, dcr_c) argument
54 #define dcr_read(host, dcr_n) dcr_read_native(host, dcr_n) argument
55 #define dcr_write(host, dcr_n, value) dcr_write_native(host, dcr_n, value) argument
58 #define DCR_MAP_OK(host) dcr_map_ok_mmio(host) argument
60 #define dcr_unmap(host, dcr_c) dcr_unmap_mmio(host, dcr_c) argument
[all …]
Ddcr-mmio.h32 static inline bool dcr_map_ok_mmio(dcr_host_mmio_t host) in dcr_map_ok_mmio() argument
34 return host.token != NULL; in dcr_map_ok_mmio()
40 extern void dcr_unmap_mmio(dcr_host_mmio_t host, unsigned int dcr_c);
42 static inline u32 dcr_read_mmio(dcr_host_mmio_t host, unsigned int dcr_n) in dcr_read_mmio() argument
44 return in_be32(host.token + ((host.base + dcr_n) * host.stride)); in dcr_read_mmio()
47 static inline void dcr_write_mmio(dcr_host_mmio_t host, in dcr_write_mmio() argument
51 out_be32(host.token + ((host.base + dcr_n) * host.stride), value); in dcr_write_mmio()
Ddcr-generic.h32 } host; member
35 extern bool dcr_map_ok_generic(dcr_host_t host);
39 extern void dcr_unmap_generic(dcr_host_t host, unsigned int dcr_c);
41 extern u32 dcr_read_generic(dcr_host_t host, unsigned int dcr_n);
43 extern void dcr_write_generic(dcr_host_t host, unsigned int dcr_n, u32 value);
Ddcr-native.h33 static inline bool dcr_map_ok_native(dcr_host_native_t host) in dcr_map_ok_native() argument
40 #define dcr_unmap_native(host, dcr_c) do {} while (0) argument
41 #define dcr_read_native(host, dcr_n) mfdcr(dcr_n + host.base) argument
42 #define dcr_write_native(host, dcr_n, value) mtdcr(dcr_n + host.base, value) argument
/arch/powerpc/sysdev/
Ddcr.c50 bool dcr_map_ok_generic(dcr_host_t host) in dcr_map_ok_generic() argument
52 if (host.type == DCR_HOST_NATIVE) in dcr_map_ok_generic()
53 return dcr_map_ok_native(host.host.native); in dcr_map_ok_generic()
54 else if (host.type == DCR_HOST_MMIO) in dcr_map_ok_generic()
55 return dcr_map_ok_mmio(host.host.mmio); in dcr_map_ok_generic()
65 dcr_host_t host; in dcr_map_generic() local
69 host.type = DCR_HOST_INVALID; in dcr_map_generic()
73 return host; in dcr_map_generic()
80 host.type = DCR_HOST_NATIVE; in dcr_map_generic()
81 host.host.native = dcr_map_native(dev, dcr_n, dcr_c); in dcr_map_generic()
[all …]
/arch/powerpc/platforms/powermac/
Dlow_i2c.c185 name, __kw_state_names[host->state], isr); \
197 static inline u8 __kw_read_reg(struct pmac_i2c_host_kw *host, reg_t reg) in __kw_read_reg() argument
199 return readb(host->base + (((unsigned int)reg) << host->bsteps)); in __kw_read_reg()
202 static inline void __kw_write_reg(struct pmac_i2c_host_kw *host, in __kw_write_reg() argument
205 writeb(val, host->base + (((unsigned)reg) << host->bsteps)); in __kw_write_reg()
206 (void)__kw_read_reg(host, reg_subaddr); in __kw_write_reg()
209 #define kw_write_reg(reg, val) __kw_write_reg(host, reg, val)
210 #define kw_read_reg(reg) __kw_read_reg(host, reg)
212 static u8 kw_i2c_wait_interrupt(struct pmac_i2c_host_kw *host) in kw_i2c_wait_interrupt() argument
226 if (host->polled) { in kw_i2c_wait_interrupt()
[all …]
/arch/um/os-Linux/
Dutil.c49 struct utsname host; in setup_machinename() local
51 uname(&host); in setup_machinename()
54 if (!strcmp(host.machine, "x86_64")) { in setup_machinename()
59 if (!strcmp(host.machine, "i686")) { in setup_machinename()
65 strcpy(machine_out, host.machine); in setup_machinename()
70 struct utsname host; in setup_hostinfo() local
72 uname(&host); in setup_hostinfo()
73 snprintf(buf, len, "%s %s %s %s %s", host.sysname, host.nodename, in setup_hostinfo()
74 host.release, host.version, host.machine); in setup_hostinfo()
/arch/um/
DKconfig.net12 kernels can talk to each other, the host, and with the host's help,
29 running UML to exchange packets with its host over one of the
30 host's Ethertap devices, such as /dev/tap0. Additional running
34 link with the host.
36 To use this, your host kernel must have support for Ethertap
37 devices. Also, if your host kernel is 2.4.x, it must have
45 If you'd like to set up an IP network with the host and/or the
56 packets with the host over a TUN/TAP device. This option will only
57 work with a 2.4 host, unless you've applied the TUN/TAP patch to
58 your 2.2 host kernel.
[all …]
DKconfig.char13 lines on the UML that are usually made to show up on the host as
32 lines to host portals. They may be accessed with 'telnet <host>
42 lines to host pseudo-terminals. Access to both traditional
44 with this option. The assignment of UML devices to host devices
52 lines to host terminals. Access to both virtual consoles
108 between the host's dsp and mixer devices and the UML sound system.
/arch/powerpc/platforms/82xx/
Dpq2ads-pci-pic.c31 struct irq_domain *host; member
98 int virq = irq_linear_revmap(priv->host, bit); in pq2ads_pci_irq_demux()
121 struct irq_domain *host; in pq2ads_pci_init_irq() local
158 host = irq_domain_add_linear(np, NUM_IRQS, &pci_pic_host_ops, priv); in pq2ads_pci_init_irq()
159 if (!host) { in pq2ads_pci_init_irq()
164 priv->host = host; in pq2ads_pci_init_irq()
/arch/powerpc/kvm/
DKconfig10 Say Y here to get to see options for using your Linux host to run
57 in virtual machines on book3s_32 host processors.
72 in virtual machines on book3s_64 host processors.
80 tristate "KVM for POWER7 and later using hypervisor mode in host"
88 hypervisor mode available to the host.
96 different processor from the host processor.
101 tristate "KVM support without using hypervisor mode in host"
106 without using hypervisor mode in the host, by running the
112 and can emulate processors that are different from the host
114 host.
[all …]
/arch/arm/mach-pxa/
Dpxa3xx-ulpi.c136 static int pxa310_start_otg_host_transcvr(struct usb_bus *host) in pxa310_start_otg_host_transcvr() argument
154 err = otg_set_host(u2d->otg->otg, host); in pxa310_start_otg_host_transcvr()
161 static int pxa310_start_otg_hc(struct usb_bus *host) in pxa310_start_otg_hc() argument
171 err = pxa310_start_otg_host_transcvr(host); in pxa310_start_otg_hc()
239 static inline int pxa310_start_otg_hc(struct usb_bus *host) in pxa310_start_otg_hc() argument
251 int pxa3xx_u2d_start_hc(struct usb_bus *host) in pxa3xx_u2d_start_hc() argument
263 err = pxa310_start_otg_hc(host); in pxa3xx_u2d_start_hc()
270 void pxa3xx_u2d_stop_hc(struct usb_bus *host) in pxa3xx_u2d_stop_hc() argument
/arch/powerpc/platforms/embedded6xx/
Dhlwd-pic.c203 struct irq_domain *host; in hlwd_pic_probe() local
211 host = hlwd_pic_init(np); in hlwd_pic_probe()
212 BUG_ON(!host); in hlwd_pic_probe()
214 irq_set_handler_data(cascade_virq, host); in hlwd_pic_probe()
217 hlwd_irq_host = host; in hlwd_pic_probe()
/arch/x86/kvm/
Dhyperv.c76 u64 data, bool host) in synic_set_sint() argument
81 if (vector < 16 && !host) in synic_set_sint()
197 u32 msr, u64 data, bool host) in synic_set_msr() argument
205 trace_kvm_hv_synic_set_msr(vcpu->vcpu_id, msr, data, host); in synic_set_msr()
211 if (!host) in synic_set_msr()
215 if (!host) { in synic_set_msr()
229 if (!host) in synic_set_msr()
240 if (!host) in synic_set_msr()
251 ret = synic_set_sint(synic, msr - HV_X64_MSR_SINT0, data, host); in synic_set_msr()
504 bool host) in stimer_set_config() argument
[all …]
Dtrace.h1103 TP_PROTO(int vcpu_id, u32 msr, u64 data, bool host),
1104 TP_ARGS(vcpu_id, msr, data, host),
1110 __field(bool, host)
1117 __entry->host = host
1121 __entry->vcpu_id, __entry->msr, __entry->data, __entry->host)
1128 TP_PROTO(int vcpu_id, int timer_index, u64 config, bool host),
1129 TP_ARGS(vcpu_id, timer_index, config, host),
1135 __field(bool, host)
1142 __entry->host = host;
1147 __entry->host)
[all …]
/arch/ia64/hp/sim/
Dsimscsi.c48 static struct Scsi_Host *host; variable
357 host = scsi_host_alloc(&driver_template, 0); in simscsi_init()
358 if (!host) in simscsi_init()
361 error = scsi_add_host(host, NULL); in simscsi_init()
364 scsi_scan_host(host); in simscsi_init()
368 scsi_host_put(host); in simscsi_init()
/arch/powerpc/platforms/cell/
Dspider-pic.c65 struct irq_domain *host; member
212 virq = irq_linear_revmap(pic->host, cs); in spider_irq_cascade()
236 of_node = irq_domain_get_of_node(pic->host); in spider_find_cascade_and_node()
302 pic->host = irq_domain_add_linear(of_node, SPIDER_SRC_COUNT, in spider_init_one()
304 if (pic->host == NULL) in spider_init_one()
/arch/arm/mach-footbridge/
DKconfig50 bool "EBSA285 (host mode)"
59 in host ("central function") mode.
85 # Footbridge in host mode
94 # EBSA285 board in either host or addin mode
/arch/arm/boot/dts/
Dbcm283x-rpi-usb-host.dtsi2 dr_mode = "host";
Dbcm2835-rpi-b.dts5 #include "bcm283x-rpi-usb-host.dtsi"
Dbcm2835-rpi-a.dts4 #include "bcm283x-rpi-usb-host.dtsi"
Dbcm2835-rpi-b-rev2.dts5 #include "bcm283x-rpi-usb-host.dtsi"
Ddm8148-t410.dts100 dr_mode = "host";
106 dr_mode = "host";
/arch/arm/kvm/
DKconfig10 Say Y here to get to see options for using your Linux host to run
49 Provides host support for ARM processors.
/arch/arm64/kvm/
DKconfig10 Say Y here to get to see options for using your Linux host to run
52 Provides host support for ARM processors.

1234567891011