Home
last modified time | relevance | path

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

12345678910>>...18

/arch/powerpc/include/asm/
Ddcr.h28 #define DCR_MAP_OK(host) dcr_map_ok_generic(host) argument
30 #define dcr_unmap(host, dcr_c) dcr_unmap_generic(host, dcr_c) argument
31 #define dcr_read(host, dcr_n) dcr_read_generic(host, dcr_n) argument
32 #define dcr_write(host, dcr_n, value) dcr_write_generic(host, dcr_n, value) argument
38 #define DCR_MAP_OK(host) dcr_map_ok_native(host) argument
40 #define dcr_unmap(host, dcr_c) dcr_unmap_native(host, dcr_c) argument
41 #define dcr_read(host, dcr_n) dcr_read_native(host, dcr_n) argument
42 #define dcr_write(host, dcr_n, value) dcr_write_native(host, dcr_n, value) argument
45 #define DCR_MAP_OK(host) dcr_map_ok_mmio(host) argument
47 #define dcr_unmap(host, dcr_c) dcr_unmap_mmio(host, dcr_c) argument
[all …]
Ddcr-mmio.h19 static inline bool dcr_map_ok_mmio(dcr_host_mmio_t host) in dcr_map_ok_mmio() argument
21 return host.token != NULL; in dcr_map_ok_mmio()
27 extern void dcr_unmap_mmio(dcr_host_mmio_t host, unsigned int dcr_c);
29 static inline u32 dcr_read_mmio(dcr_host_mmio_t host, unsigned int dcr_n) in dcr_read_mmio() argument
31 return in_be32(host.token + ((host.base + dcr_n) * host.stride)); in dcr_read_mmio()
34 static inline void dcr_write_mmio(dcr_host_mmio_t host, in dcr_write_mmio() argument
38 out_be32(host.token + ((host.base + dcr_n) * host.stride), value); in dcr_write_mmio()
Ddcr-generic.h19 } host; member
22 extern bool dcr_map_ok_generic(dcr_host_t host);
26 extern void dcr_unmap_generic(dcr_host_t host, unsigned int dcr_c);
28 extern u32 dcr_read_generic(dcr_host_t host, unsigned int dcr_n);
30 extern void dcr_write_generic(dcr_host_t host, unsigned int dcr_n, u32 value);
Ddcr-native.h21 static inline bool dcr_map_ok_native(dcr_host_native_t host) in dcr_map_ok_native() argument
28 #define dcr_unmap_native(host, dcr_c) do {} while (0) argument
29 #define dcr_read_native(host, dcr_n) mfdcr(dcr_n + host.base) argument
30 #define dcr_write_native(host, dcr_n, value) mtdcr(dcr_n + host.base, value) argument
/arch/powerpc/sysdev/
Ddcr.c37 bool dcr_map_ok_generic(dcr_host_t host) in dcr_map_ok_generic() argument
39 if (host.type == DCR_HOST_NATIVE) in dcr_map_ok_generic()
40 return dcr_map_ok_native(host.host.native); in dcr_map_ok_generic()
41 else if (host.type == DCR_HOST_MMIO) in dcr_map_ok_generic()
42 return dcr_map_ok_mmio(host.host.mmio); in dcr_map_ok_generic()
52 dcr_host_t host; in dcr_map_generic() local
56 host.type = DCR_HOST_INVALID; in dcr_map_generic()
60 return host; in dcr_map_generic()
67 host.type = DCR_HOST_NATIVE; in dcr_map_generic()
68 host.host.native = dcr_map_native(dev, dcr_n, dcr_c); in dcr_map_generic()
[all …]
/arch/powerpc/platforms/powermac/
Dlow_i2c.c182 name, __kw_state_names[host->state], isr); \
194 static inline u8 __kw_read_reg(struct pmac_i2c_host_kw *host, reg_t reg) in __kw_read_reg() argument
196 return readb(host->base + (((unsigned int)reg) << host->bsteps)); in __kw_read_reg()
199 static inline void __kw_write_reg(struct pmac_i2c_host_kw *host, in __kw_write_reg() argument
202 writeb(val, host->base + (((unsigned)reg) << host->bsteps)); in __kw_write_reg()
203 (void)__kw_read_reg(host, reg_subaddr); in __kw_write_reg()
206 #define kw_write_reg(reg, val) __kw_write_reg(host, reg, val)
207 #define kw_read_reg(reg) __kw_read_reg(host, reg)
209 static u8 kw_i2c_wait_interrupt(struct pmac_i2c_host_kw *host) in kw_i2c_wait_interrupt() argument
223 if (host->polled) { in kw_i2c_wait_interrupt()
[all …]
/arch/um/os-Linux/
Dutil.c50 struct utsname host; in setup_machinename() local
52 uname(&host); in setup_machinename()
55 if (!strcmp(host.machine, "x86_64")) { in setup_machinename()
60 if (!strcmp(host.machine, "i686")) { in setup_machinename()
66 strcpy(machine_out, host.machine); in setup_machinename()
71 struct utsname host; in setup_hostinfo() local
73 uname(&host); in setup_hostinfo()
74 snprintf(buf, len, "%s %s %s %s %s", host.sysname, host.nodename, in setup_hostinfo()
75 host.release, host.version, host.machine); in setup_hostinfo()
/arch/powerpc/platforms/82xx/
Dpq2ads-pci-pic.c28 struct irq_domain *host; member
95 int virq = irq_linear_revmap(priv->host, bit); in pq2ads_pci_irq_demux()
118 struct irq_domain *host; in pq2ads_pci_init_irq() local
155 host = irq_domain_add_linear(np, NUM_IRQS, &pci_pic_host_ops, priv); in pq2ads_pci_init_irq()
156 if (!host) { in pq2ads_pci_init_irq()
161 priv->host = host; in pq2ads_pci_init_irq()
/arch/arm64/kvm/
Dpmu.c167 struct kvm_host_data *host; in kvm_vcpu_pmu_restore_guest() local
174 host = container_of(host_ctxt, struct kvm_host_data, host_ctxt); in kvm_vcpu_pmu_restore_guest()
175 events_guest = host->pmu_events.events_guest; in kvm_vcpu_pmu_restore_guest()
176 events_host = host->pmu_events.events_host; in kvm_vcpu_pmu_restore_guest()
188 struct kvm_host_data *host; in kvm_vcpu_pmu_restore_host() local
195 host = container_of(host_ctxt, struct kvm_host_data, host_ctxt); in kvm_vcpu_pmu_restore_host()
196 events_guest = host->pmu_events.events_guest; in kvm_vcpu_pmu_restore_host()
197 events_host = host->pmu_events.events_host; in kvm_vcpu_pmu_restore_host()
/arch/um/drivers/
DKconfig15 lines on the UML that are usually made to show up on the host as
34 lines to host portals. They may be accessed with 'telnet <host>
44 lines to host pseudo-terminals. Access to both traditional
46 with this option. The assignment of UML devices to host devices
54 lines to host terminals. Access to both virtual consoles
112 between the host's dsp and mixer devices and the UML sound system.
127 kernels can talk to each other, the host, and with the host's help,
144 running UML to exchange packets with its host over one of the
145 host's Ethertap devices, such as /dev/tap0. Additional running
149 link with the host.
[all …]
/arch/mips/pci/
Dpci-xtalk-bridge.c433 struct pci_host_bridge *host; in bridge_probe() local
454 host = devm_pci_alloc_host_bridge(dev, sizeof(*bc)); in bridge_probe()
455 if (!host) { in bridge_probe()
460 bc = pci_host_bridge_priv(host); in bridge_probe()
469 pci_add_resource_offset(&host->windows, &bd->mem, bd->mem_offset); in bridge_probe()
470 pci_add_resource_offset(&host->windows, &bd->io, bd->io_offset); in bridge_probe()
471 pci_add_resource(&host->windows, &bc->busn); in bridge_probe()
473 err = devm_request_pci_bus_resources(dev, &host->windows); in bridge_probe()
520 host->dev.parent = dev; in bridge_probe()
521 host->sysdata = bc; in bridge_probe()
[all …]
/arch/powerpc/kvm/
DKconfig11 Say Y here to get to see options for using your Linux host to run
59 in virtual machines on book3s_32 host processors.
75 in virtual machines on book3s_64 host processors.
83 tristate "KVM for POWER7 and later using hypervisor mode in host"
91 hypervisor mode available to the host.
99 different processor from the host processor.
104 tristate "KVM support without using hypervisor mode in host"
109 without using hypervisor mode in the host, by running the
115 and can emulate processors that are different from the host
117 host.
[all …]
/arch/x86/kvm/
Dhyperv.c99 u64 data, bool host) in synic_set_sint() argument
112 if (vector < HV_SYNIC_FIRST_VALID_VECTOR && !host && !masked) in synic_set_sint()
203 u32 msr, u64 data, bool host) in synic_set_msr() argument
208 if (!synic->active && (!host || data)) in synic_set_msr()
211 trace_kvm_hv_synic_set_msr(vcpu->vcpu_id, msr, data, host); in synic_set_msr()
217 if (!host) in synic_set_msr()
221 if (!host) { in synic_set_msr()
228 if ((data & HV_SYNIC_SIEFP_ENABLE) && !host && in synic_set_msr()
236 if (!host) in synic_set_msr()
240 if ((data & HV_SYNIC_SIMP_ENABLE) && !host && in synic_set_msr()
[all …]
Dhyperv.h49 int kvm_hv_set_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 data, bool host);
50 int kvm_hv_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata, bool host);
/arch/arm/mach-pxa/
Dpxa3xx-ulpi.c133 static int pxa310_start_otg_host_transcvr(struct usb_bus *host) in pxa310_start_otg_host_transcvr() argument
151 err = otg_set_host(u2d->otg->otg, host); in pxa310_start_otg_host_transcvr()
158 static int pxa310_start_otg_hc(struct usb_bus *host) in pxa310_start_otg_hc() argument
168 err = pxa310_start_otg_host_transcvr(host); in pxa310_start_otg_hc()
236 static inline int pxa310_start_otg_hc(struct usb_bus *host) in pxa310_start_otg_hc() argument
248 int pxa3xx_u2d_start_hc(struct usb_bus *host) in pxa3xx_u2d_start_hc() argument
260 err = pxa310_start_otg_hc(host); in pxa3xx_u2d_start_hc()
267 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/powerpc/platforms/cell/
Dspider-pic.c52 struct irq_domain *host; member
199 virq = irq_linear_revmap(pic->host, cs); in spider_irq_cascade()
223 of_node = irq_domain_get_of_node(pic->host); in spider_find_cascade_and_node()
289 pic->host = irq_domain_add_linear(of_node, SPIDER_SRC_COUNT, in spider_init_one()
291 if (pic->host == NULL) in spider_init_one()
/arch/arm/mach-footbridge/
DKconfig51 bool "EBSA285 (host mode)"
60 in host ("central function") mode.
86 # Footbridge in host mode
95 # EBSA285 board in either host or addin mode
/arch/arm/boot/dts/
Drk3066a-mk808.dts51 vcc_host: usb-host-regulator {
58 regulator-name = "host-pwr";
137 usb-host {
138 host_drv: host-drv {
Dzynq-cc108.dts67 dr_mode = "host";
73 dr_mode = "host";
Dbcm283x-rpi-usb-host.dtsi2 dr_mode = "host";
/arch/arm64/boot/dts/rockchip/
Drk3368-evb.dtsi83 /* supplies both host and otg */
84 vcc_host: vcc-host-regulator {
209 host_vbus_drv: host-vbus-drv {
234 dr_mode = "host";
Drk3399-ficus.dts110 host_vbus_drv: host-vbus-drv {
156 dr_mode = "host";
160 dr_mode = "host";
/arch/arm64/kernel/
Dpci.c167 struct pci_host_bridge *host; in pci_acpi_scan_root() local
194 host = pci_find_host_bridge(bus); in pci_acpi_scan_root()
195 if (host->preserve_config) in pci_acpi_scan_root()
/arch/arm/kvm/
DKconfig12 Say Y here to get to see options for using your Linux host to run
55 Provides host support for ARM processors.

12345678910>>...18