Home
last modified time | relevance | path

Searched full:isa (Results 1 – 25 of 686) sorted by relevance

12345678910>>...28

/linux/drivers/media/radio/
H A Dradio-zoltrix.c33 * Converted to the radio-isa framework by Hans Verkuil <hverkuil@kernel.org>
52 #include "radio-isa.h"
75 struct radio_isa_card isa; member
84 return zol ? &zol->isa : NULL; in zoltrix_alloc()
87 static int zoltrix_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in zoltrix_s_mute_volume() argument
89 struct zoltrix *zol = container_of(isa, struct zoltrix, isa); in zoltrix_s_mute_volume()
94 outb(0, isa->io); in zoltrix_s_mute_volume()
95 outb(0, isa->io); in zoltrix_s_mute_volume()
96 inb(isa->io + 3); /* Zoltrix needs to be read to confirm */ in zoltrix_s_mute_volume()
100 outb(vol - 1, isa->io); in zoltrix_s_mute_volume()
[all …]
H A Dradio-rtrack2.c10 * Converted to the radio-isa framework by Hans Verkuil <hverkuil@kernel.org>
26 #include "radio-isa.h"
53 static void zero(struct radio_isa_card *isa) in zero() argument
55 outb_p(1, isa->io); in zero()
56 outb_p(3, isa->io); in zero()
57 outb_p(1, isa->io); in zero()
60 static void one(struct radio_isa_card *isa) in one() argument
62 outb_p(5, isa->io); in one()
63 outb_p(7, isa->io); in one()
64 outb_p(5, isa->io); in one()
[all …]
H A Dradio-trust.c27 #include "radio-isa.h"
52 struct radio_isa_card isa; member
60 return tr ? &tr->isa : NULL; in trust_alloc()
67 #define TR_DELAY do { inb(tr->isa.io); inb(tr->isa.io); inb(tr->isa.io); } while (0)
68 #define TR_SET_SCL outb(tr->ioval |= 2, tr->isa.io)
69 #define TR_CLR_SCL outb(tr->ioval &= 0xfd, tr->isa.io)
70 #define TR_SET_SDA outb(tr->ioval |= 1, tr->isa.io)
71 #define TR_CLR_SDA outb(tr->ioval &= 0xfe, tr->isa.io)
119 static int trust_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in trust_s_mute_volume() argument
121 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_mute_volume()
[all …]
H A Dradio-aimslab.c7 * Converted to the radio-isa framework by Hans Verkuil <hverkuil@kernel.org>
40 #include "radio-isa.h"
64 struct radio_isa_card isa; member
74 return rt ? &rt->isa : NULL; in rtrack_alloc()
88 struct radio_isa_card *isa = handle; in rtrack_set_pins() local
89 struct rtrack *rt = container_of(isa, struct rtrack, isa); in rtrack_set_pins()
92 if (!v4l2_ctrl_g_ctrl(rt->isa.mute)) in rtrack_set_pins()
102 outb_p(bits, rt->isa.io); in rtrack_set_pins()
105 static int rtrack_s_frequency(struct radio_isa_card *isa, u32 freq) in rtrack_s_frequency() argument
107 lm7000_set_freq(freq, isa, rtrack_set_pins); in rtrack_s_frequency()
[all …]
H A Dradio-aztech.c5 * Converted to the radio-isa framework by Hans Verkuil <hverkuil@kernel.org>
29 #include "radio-isa.h"
54 struct radio_isa_card isa; member
69 struct radio_isa_card *isa = handle; in aztech_set_pins() local
70 struct aztech *az = container_of(isa, struct aztech, isa); in aztech_set_pins()
80 outb_p(bits, az->isa.io); in aztech_set_pins()
87 return az ? &az->isa : NULL; in aztech_alloc()
90 static int aztech_s_frequency(struct radio_isa_card *isa, u32 freq) in aztech_s_frequency() argument
92 lm7000_set_freq(freq, isa, aztech_set_pins); in aztech_s_frequency()
97 static u32 aztech_g_rxsubchans(struct radio_isa_card *isa) in aztech_g_rxsubchans() argument
[all …]
H A Dradio-terratec.c2 /* Terratec ActiveRadio ISA Standalone card driver for Linux radio support
20 * Converted to the radio-isa framework by Hans Verkuil <hverkuil@kernel.org>
33 #include "radio-isa.h"
62 static int terratec_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in terratec_s_mute_volume() argument
71 outb(0x80, isa->io + 1); in terratec_s_mute_volume()
73 outb(0x00, isa->io + 1); in terratec_s_mute_volume()
82 static int terratec_s_frequency(struct radio_isa_card *isa, u32 freq) in terratec_s_frequency() argument
109 outb(WRT_EN | DATA, isa->io); in terratec_s_frequency()
110 outb(WRT_EN | DATA | CLK_ON, isa->io); in terratec_s_frequency()
111 outb(WRT_EN | DATA, isa->io); in terratec_s_frequency()
[all …]
H A Dradio-gemtek.c18 * Converted to the radio-isa framework by Hans Verkuil <hverkuil@kernel.org>
37 #include "radio-isa.h"
101 struct radio_isa_card isa; member
152 struct radio_isa_card *isa = &gt->isa; in gemtek_bu2614_transmit() local
157 outb_p(mute | GEMTEK_CE | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit()
162 outb_p(mute | GEMTEK_CE | bit, isa->io); in gemtek_bu2614_transmit()
164 outb_p(mute | GEMTEK_CE | bit | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit()
168 outb_p(mute | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit()
186 return gt ? &gt->isa : NULL; in gemtek_alloc()
192 static int gemtek_s_frequency(struct radio_isa_card *isa, u32 freq) in gemtek_s_frequency() argument
[all …]
H A Dradio-typhoon.c40 #include "radio-isa.h"
72 struct radio_isa_card isa; member
80 return ty ? &ty->isa : NULL; in typhoon_alloc()
83 static int typhoon_s_frequency(struct radio_isa_card *isa, u32 freq) in typhoon_s_frequency() argument
105 outb_p((outval >> 8) & 0x01, isa->io + 4); in typhoon_s_frequency()
106 outb_p(outval >> 9, isa->io + 6); in typhoon_s_frequency()
107 outb_p(outval & 0xff, isa->io + 8); in typhoon_s_frequency()
111 static int typhoon_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in typhoon_s_mute_volume() argument
113 struct typhoon *ty = container_of(isa, struct typhoon, isa); in typhoon_s_mute_volume()
119 outb_p(vol / 2, isa->io); /* Set the volume, high bit. */ in typhoon_s_mute_volume()
[all …]
/linux/arch/powerpc/kernel/
H A Disa-bridge.c3 * Routines for tracking a legacy ISA bridge
29 #include <asm/isa-bridge.h>
31 unsigned long isa_io_base; /* NULL if no ISA bus */
34 /* Cached ISA bridge dev. */
73 pr_err("ISA: Bad CPU mapping: %s\n", __func__); in process_ISA_OF_ranges()
79 pr_warn("ISA: bridge %pOF has non aligned IO range\n", isa_node); in process_ISA_OF_ranges()
97 pr_err("no ISA IO ranges or unexpected isa range, mapping 64k\n"); in process_ISA_OF_ranges()
106 * isa_bridge_find_early - Find and map the ISA IO space early before
109 * access to ISA IO ports
115 /* If we already have an ISA bridge, bail off */ in isa_bridge_find_early()
[all …]
/linux/arch/powerpc/boot/dts/fsl/
H A De6500_power_isa.dtsi2 * e6500 Power ISA Device Tree Source (include)
37 power-isa-version = "2.06";
38 power-isa-b; // Base
39 power-isa-e; // Embedded
40 power-isa-atb; // Alternate Time Base
41 power-isa-cs; // Cache Specification
42 power-isa-ds; // Decorated Storage
43 power-isa-e.ed; // Embedded.Enhanced Debug
44 power-isa-e.pd; // Embedded.External PID
45 power-isa-e.hv; // Embedded.Hypervisor
[all …]
H A De5500_power_isa.dtsi2 * e5500 Power ISA Device Tree Source (include)
37 power-isa-version = "2.06";
38 power-isa-b; // Base
39 power-isa-e; // Embedded
40 power-isa-atb; // Alternate Time Base
41 power-isa-cs; // Cache Specification
42 power-isa-ds; // Decorated Storage
43 power-isa-e.ed; // Embedded.Enhanced Debug
44 power-isa-e.pd; // Embedded.External PID
45 power-isa-e.hv; // Embedded.Hypervisor
[all …]
H A De500mc_power_isa.dtsi2 * e500mc Power ISA Device Tree Source (include)
37 power-isa-version = "2.06";
38 power-isa-b; // Base
39 power-isa-e; // Embedded
40 power-isa-atb; // Alternate Time Base
41 power-isa-cs; // Cache Specification
42 power-isa-ds; // Decorated Storage
43 power-isa-e.ed; // Embedded.Enhanced Debug
44 power-isa-e.pd; // Embedded.External PID
45 power-isa-e.hv; // Embedded.Hypervisor
[all …]
H A De500v2_power_isa.dtsi2 * e500v2 Power ISA Device Tree Source (include)
37 power-isa-version = "2.03";
38 power-isa-b; // Base
39 power-isa-e; // Embedded
40 power-isa-atb; // Alternate Time Base
41 power-isa-cs; // Cache Specification
42 power-isa-e.le; // Embedded.Little-Endian
43 power-isa-e.pm; // Embedded.Performance Monitor
44 power-isa-ecl; // Embedded Cache Locking
45 power-isa-mmc; // Memory Coherence
[all …]
H A De500v1_power_isa.dtsi2 * e500v1 Power ISA Device Tree Source (include)
37 power-isa-version = "2.03";
38 power-isa-b; // Base
39 power-isa-e; // Embedded
40 power-isa-atb; // Alternate Time Base
41 power-isa-cs; // Cache Specification
42 power-isa-e.le; // Embedded.Little-Endian
43 power-isa-e.pm; // Embedded.Performance Monitor
44 power-isa-ecl; // Embedded Cache Locking
45 power-isa-mmc; // Memory Coherence
[all …]
/linux/Documentation/arch/arm/
H A Dnetwinder.rst53 0 ISA 100Hz timer
54 1 ISA Keyboard
55 2 ISA cascade
56 3 ISA Serial ttyS1
57 4 ISA Serial ttyS0
58 5 ISA PS/2 mouse
59 6 ISA IRDA
60 7 ISA Printer
61 8 ISA RTC alarm
62 9 ISA
[all …]
/linux/arch/riscv/kernel/
H A Dsys_hwprobe.c109 EXT_KEY(isainfo->isa, ZAAMO, pair->value, missing); in hwprobe_isa_ext0()
110 EXT_KEY(isainfo->isa, ZABHA, pair->value, missing); in hwprobe_isa_ext0()
111 EXT_KEY(isainfo->isa, ZACAS, pair->value, missing); in hwprobe_isa_ext0()
112 EXT_KEY(isainfo->isa, ZALASR, pair->value, missing); in hwprobe_isa_ext0()
113 EXT_KEY(isainfo->isa, ZALRSC, pair->value, missing); in hwprobe_isa_ext0()
114 EXT_KEY(isainfo->isa, ZAWRS, pair->value, missing); in hwprobe_isa_ext0()
115 EXT_KEY(isainfo->isa, ZBA, pair->value, missing); in hwprobe_isa_ext0()
116 EXT_KEY(isainfo->isa, ZBB, pair->value, missing); in hwprobe_isa_ext0()
117 EXT_KEY(isainfo->isa, ZBC, pair->value, missing); in hwprobe_isa_ext0()
118 EXT_KEY(isainfo->isa, ZBKB, pair->value, missing); in hwprobe_isa_ext0()
[all …]
H A Dcpufeature.c41 /* Host ISA bitmap */
44 /* Per-cpu ISA extensions. */
52 * @isa_bitmap: ISA bitmap to use
55 * NOTE: If isa_bitmap is NULL then Host ISA bitmap will be used.
67 * @isa_bitmap: ISA bitmap to use
71 * NOTE: If isa_bitmap is NULL then Host ISA bitmap will be used.
97 pr_err("Zicbom detected in ISA string, disabling as no cbom-block-size found\n"); in riscv_ext_zicbom_validate()
113 pr_err("Zicboz detected in ISA string, disabling as no cboz-block-size found\n"); in riscv_ext_zicboz_validate()
128 pr_err("Zicbop detected in ISA string, disabling as no cbop-block-size found\n"); in riscv_ext_zicbop_validate()
430 * privileged ISA, the existence of the CSRs is implied by any extension which
[all …]
H A Dcpu.c52 const char *isa; in riscv_early_of_processor_hartid() local
68 if (of_property_read_string(node, "riscv,isa-base", &isa)) in riscv_early_of_processor_hartid()
71 if (IS_ENABLED(CONFIG_32BIT) && strncasecmp(isa, "rv32i", 5)) { in riscv_early_of_processor_hartid()
76 if (IS_ENABLED(CONFIG_64BIT) && strncasecmp(isa, "rv64i", 5)) { in riscv_early_of_processor_hartid()
81 if (!of_property_present(node, "riscv,isa-extensions")) in riscv_early_of_processor_hartid()
84 if (of_property_match_string(node, "riscv,isa-extensions", "i") < 0 || in riscv_early_of_processor_hartid()
85 of_property_match_string(node, "riscv,isa-extensions", "m") < 0 || in riscv_early_of_processor_hartid()
86 of_property_match_string(node, "riscv,isa-extensions", "a") < 0) { in riscv_early_of_processor_hartid()
95 pr_warn("CPU with hartid=%lu is invalid: this kernel does not parse \"riscv,isa\"", in riscv_early_of_processor_hartid()
100 if (of_property_read_string(node, "riscv,isa", &isa)) { in riscv_early_of_processor_hartid()
[all …]
/linux/Documentation/arch/riscv/
H A Dhwprobe.rst62 rv64ima, as defined by version 2.2 of the user ISA and version 1.10 of the
63 privileged ISA, with the following known exceptions (more exceptions may be
76 minimumNumber/maximumNumber, not minNum/maxNum") of the RISC-V ISA manual.
79 by version 2.2 of the RISC-V ISA manual.
85 supported, as defined in version 1.0 of the Bit-Manipulation ISA
89 in version 1.0 of the Bit-Manipulation ISA extensions.
92 in version 1.0 of the Bit-Manipulation ISA extensions.
98 in version 1.0 of the Bit-Manipulation ISA extensions.
101 defined in version 1.0 of the Scalar Crypto ISA extensions.
104 defined in version 1.0 of the Scalar Crypto ISA extensions.
[all …]
/linux/Documentation/devicetree/bindings/riscv/
H A Dextensions.yaml7 title: RISC-V ISA extensions
28 riscv,isa:
32 User-Level ISA document, available from
35 Due to revisions of the ISA specification, some deviations
37 Notably, riscv,isa was defined prior to the creation of the
41 While the isa strings in ISA specification are case
42 insensitive, letters in the riscv,isa string must be all
48 riscv,isa-base:
50 The base ISA implemented by this hart, as described by the 20191213
51 version of the unprivileged ISA specification.
[all …]
/linux/Documentation/arch/powerpc/
H A Disa-versions.rst2 CPU to ISA Version Mapping
5 Mapping of some CPU versions to relevant ISA versions.
12 Power10 Power ISA v3.1
13 Power9 Power ISA v3.0B
14 Power8 Power ISA v2.07
15 e6500 Power ISA v2.06 with some exceptions
16 e5500 Power ISA v2.06 with some exceptions, no Altivec
17 Power7 Power ISA v2.06
18 Power6 Power ISA v2.05
19 PA6T Power ISA v2.04
[all …]
/linux/Documentation/core-api/
H A Ddma-isa-lpc.rst2 DMA with ISA and LPC devices
7 This document describes how to do DMA transfers using the old ISA DMA
8 controller. Even though ISA is more or less dead today the LPC bus
14 To do ISA style DMA you need to include two headers::
22 The second contains the routines specific to ISA DMA transfers. Since
24 Kconfig to be dependent on ISA_DMA_API (not ISA) so that nobody tries
30 The ISA DMA controller has some very strict requirements on which
44 Unfortunately the memory available for ISA DMA is scarce so unless you
57 will require a Kconfig dependency to ISA, not just ISA_DMA_API which
59 has its origins in ISA it is used elsewhere.
[all …]
/linux/arch/mips/include/asm/
H A Dcpu-features.h14 #include <asm/isa-rev.h>
18 #define __isa(isa) (cpu_data[0].isa_level & (isa)) argument
22 * Check if MIPS_ISA_REV is >= isa *and* an option or ASE is detected during
26 * older ISA *cannot* run on a CPU which supports the feature in question. For
28 * built for an older ISA cannot run on a MIPSr6 CPU. This should not be used
32 #define __isa_ge_and_ase(isa, ase) ((MIPS_ISA_REV >= (isa)) && __ase(ase)) argument
33 #define __isa_ge_and_opt(isa, opt) ((MIPS_ISA_REV >= (isa)) && __opt(opt)) argument
36 * Check if MIPS_ISA_REV is >= isa *or* an option or ASE is detected during
39 * These are for use with features that are optional up until a particular ISA
42 #define __isa_ge_or_ase(isa, ase) ((MIPS_ISA_REV >= (isa)) || __ase(ase)) argument
[all …]
/linux/arch/riscv/kvm/
H A Dvcpu_vector.c21 unsigned long *isa = vcpu->arch.isa; in kvm_riscv_vcpu_vector_reset() local
28 if (riscv_isa_extension_available(isa, v)) { in kvm_riscv_vcpu_vector_reset()
44 unsigned long *isa) in kvm_riscv_vcpu_guest_vector_save() argument
47 if (riscv_isa_extension_available(isa, v)) in kvm_riscv_vcpu_guest_vector_save()
54 unsigned long *isa) in kvm_riscv_vcpu_guest_vector_restore() argument
57 if (riscv_isa_extension_available(isa, v)) in kvm_riscv_vcpu_guest_vector_restore()
142 unsigned long *isa = vcpu->arch.isa; in kvm_riscv_vcpu_get_reg_vector() local
152 if (!riscv_isa_extension_available(isa, v)) in kvm_riscv_vcpu_get_reg_vector()
168 unsigned long *isa = vcpu->arch.isa; in kvm_riscv_vcpu_set_reg_vector() local
178 if (!riscv_isa_extension_available(isa, v)) in kvm_riscv_vcpu_set_reg_vector()
/linux/drivers/comedi/drivers/
H A Dcomedi_isadma.c3 * COMEDI ISA DMA support functions
11 #include <linux/isa-dma.h>
16 * comedi_isadma_program - program and enable an ISA DMA transfer
17 * @desc: the ISA DMA cookie to program and enable
34 * comedi_isadma_disable - disable the ISA DMA channel
54 * comedi_isadma_disable_on_sample - disable the ISA DMA channel
94 * @dma: the ISA DMA to poll
129 * comedi_isadma_set_mode - set the ISA DMA transfer direction
130 * @desc: the ISA DMA cookie to set
141 * comedi_isadma_alloc - allocate and initialize the ISA DMA
[all …]

12345678910>>...28