/arch/powerpc/include/asm/ |
D | dcr.h | 28 #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 …]
|
D | dcr-mmio.h | 19 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()
|
D | dcr-generic.h | 19 } 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);
|
D | dcr-native.h | 21 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/ |
D | dcr.c | 37 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/ |
D | low_i2c.c | 182 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/ |
D | util.c | 50 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/arm64/kvm/ |
D | pmu.c | 172 struct kvm_host_data *host; in kvm_vcpu_pmu_restore_guest() local 179 host = this_cpu_ptr_hyp_sym(kvm_host_data); in kvm_vcpu_pmu_restore_guest() 180 events_guest = host->pmu_events.events_guest; in kvm_vcpu_pmu_restore_guest() 181 events_host = host->pmu_events.events_host; in kvm_vcpu_pmu_restore_guest() 193 struct kvm_host_data *host; in kvm_vcpu_pmu_restore_host() local 199 host = this_cpu_ptr_hyp_sym(kvm_host_data); in kvm_vcpu_pmu_restore_host() 200 events_guest = host->pmu_events.events_guest; in kvm_vcpu_pmu_restore_host() 201 events_host = host->pmu_events.events_host; in kvm_vcpu_pmu_restore_host()
|
/arch/powerpc/platforms/82xx/ |
D | pq2ads-pci-pic.c | 28 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/um/drivers/ |
D | Kconfig | 15 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/powerpc/kvm/ |
D | Kconfig | 11 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/ |
D | hyperv.c | 101 u64 data, bool host) in synic_set_sint() argument 114 if (vector < HV_SYNIC_FIRST_VALID_VECTOR && !host && !masked) in synic_set_sint() 205 u32 msr, u64 data, bool host) in synic_set_msr() argument 210 if (!synic->active && (!host || data)) in synic_set_msr() 213 trace_kvm_hv_synic_set_msr(vcpu->vcpu_id, msr, data, host); in synic_set_msr() 219 if (!host) in synic_set_msr() 223 if (!host) { in synic_set_msr() 230 if ((data & HV_SYNIC_SIEFP_ENABLE) && !host && in synic_set_msr() 238 if (!host) in synic_set_msr() 242 if ((data & HV_SYNIC_SIMP_ENABLE) && !host && in synic_set_msr() [all …]
|
/arch/arm64/kvm/hyp/nvhe/ |
D | switch.c | 136 struct kvm_host_data *host; in __pmu_switch_to_guest() local 139 host = container_of(host_ctxt, struct kvm_host_data, host_ctxt); in __pmu_switch_to_guest() 140 pmu = &host->pmu_events; in __pmu_switch_to_guest() 156 struct kvm_host_data *host; in __pmu_switch_to_host() local 159 host = container_of(host_ctxt, struct kvm_host_data, host_ctxt); in __pmu_switch_to_host() 160 pmu = &host->pmu_events; in __pmu_switch_to_host()
|
/arch/arm/mach-pxa/ |
D | pxa3xx-ulpi.c | 133 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/mips/pci/ |
D | pci-xtalk-bridge.c | 611 struct pci_host_bridge *host; in bridge_probe() local 637 host = devm_pci_alloc_host_bridge(dev, sizeof(*bc)); in bridge_probe() 638 if (!host) { in bridge_probe() 643 bc = pci_host_bridge_priv(host); in bridge_probe() 652 pci_add_resource_offset(&host->windows, &bd->mem, bd->mem_offset); in bridge_probe() 653 pci_add_resource_offset(&host->windows, &bd->io, bd->io_offset); in bridge_probe() 654 pci_add_resource(&host->windows, &bc->busn); in bridge_probe() 656 err = devm_request_pci_bus_resources(dev, &host->windows); in bridge_probe() 709 host->dev.parent = dev; in bridge_probe() 710 host->sysdata = bc; in bridge_probe() [all …]
|
/arch/powerpc/platforms/embedded6xx/ |
D | hlwd-pic.c | 203 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/ |
D | spider-pic.c | 52 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/ |
D | Kconfig | 51 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/ |
D | rk3066a-mk808.dts | 51 vcc_host: usb-host-regulator { 58 regulator-name = "host-pwr"; 137 usb-host { 138 host_drv: host-drv {
|
D | zynq-cc108.dts | 67 dr_mode = "host"; 73 dr_mode = "host";
|
D | bcm283x-rpi-usb-host.dtsi | 2 dr_mode = "host";
|
/arch/arm64/boot/dts/rockchip/ |
D | rk3399-rock-pi-4b.dts | 23 interrupt-names = "host-wake"; 37 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
|
D | rk3399-rock-pi-4c.dts | 24 interrupt-names = "host-wake"; 38 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
|
D | rk3368-evb.dtsi | 83 /* supplies both host and otg */ 84 vcc_host: vcc-host-regulator { 209 host_vbus_drv: host-vbus-drv { 234 dr_mode = "host";
|
/arch/arm64/kernel/ |
D | pci.c | 167 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()
|