Home
last modified time | relevance | path

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

12345678910>>...34

/Linux-v6.1/drivers/media/radio/
Dradio-isa.c3 * Framework for ISA radio drivers.
4 * This takes care of all the V4L2 scaffolding, allowing the ISA drivers
23 #include "radio-isa.h"
26 MODULE_DESCRIPTION("A framework for ISA radio drivers.");
35 struct radio_isa_card *isa = video_drvdata(file); in radio_isa_querycap() local
37 strscpy(v->driver, isa->drv->driver.driver.name, sizeof(v->driver)); in radio_isa_querycap()
38 strscpy(v->card, isa->drv->card, sizeof(v->card)); in radio_isa_querycap()
39 snprintf(v->bus_info, sizeof(v->bus_info), "ISA:%s", isa->v4l2_dev.name); in radio_isa_querycap()
46 struct radio_isa_card *isa = video_drvdata(file); in radio_isa_g_tuner() local
47 const struct radio_isa_ops *ops = isa->drv->ops; in radio_isa_g_tuner()
[all …]
Dradio-zoltrix.c33 * Converted to the radio-isa framework by Hans Verkuil <hans.verkuil@cisco.com>
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 …]
Dradio-rtrack2.c10 * Converted to the radio-isa framework by Hans Verkuil <hans.verkuil@cisco.com>
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 …]
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 …]
Dradio-aimslab.c7 * Converted to the radio-isa framework by Hans Verkuil <hans.verkuil@cisco.com>
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 …]
Dradio-aztech.c5 * Converted to the radio-isa framework by Hans Verkuil <hans.verkuil@xs4all.nl>
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 …]
Dradio-terratec.c2 /* Terratec ActiveRadio ISA Standalone card driver for Linux radio support
20 * Converted to the radio-isa framework by Hans Verkuil <hans.verkuil@cisco.com>
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
112 outb(WRT_EN | DATA, isa->io); in terratec_s_frequency()
113 outb(WRT_EN | DATA | CLK_ON, isa->io); in terratec_s_frequency()
114 outb(WRT_EN | DATA, isa->io); in terratec_s_frequency()
[all …]
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 …]
Dradio-gemtek.c18 * Converted to the radio-isa framework by Hans Verkuil <hans.verkuil@cisco.com>
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 …]
Dradio-isa.h3 * Framework for ISA radio drivers.
4 * This takes care of all the V4L2 scaffolding, allowing the ISA drivers
13 #include <linux/isa.h>
22 /* Core structure for radio ISA cards */
47 bool (*probe)(struct radio_isa_card *isa, int io);
51 int (*init)(struct radio_isa_card *isa);
53 int (*s_mute_volume)(struct radio_isa_card *isa, bool mute, int volume);
55 int (*s_frequency)(struct radio_isa_card *isa, u32 freq);
57 int (*s_stereo)(struct radio_isa_card *isa, bool stereo);
59 u32 (*g_rxsubchans)(struct radio_isa_card *isa);
[all …]
/Linux-v6.1/arch/powerpc/kernel/
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. */
89 /* From "ISA Binding to 1275" in pci_process_ISA_OF_ranges()
92 * cells 0 - 1: an ISA address in pci_process_ISA_OF_ranges()
112 * now as nobody uses fancy mappings for ISA bridges in pci_process_ISA_OF_ranges()
115 printk(KERN_ERR "unexpected isa to pci mapping: %s\n", in pci_process_ISA_OF_ranges()
129 printk(KERN_ERR "no ISA IO ranges or unexpected isa range, " in pci_process_ISA_OF_ranges()
136 * isa_bridge_find_early - Find and map the ISA IO space early before
[all …]
/Linux-v6.1/arch/powerpc/boot/dts/fsl/
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 …]
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 …]
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 …]
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 …]
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-v6.1/Documentation/arm/
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-v6.1/arch/riscv/kernel/
Dcpufeature.c28 /* Host ISA bitmap */
37 * @isa_bitmap: ISA bitmap to use
40 * NOTE: If isa_bitmap is NULL then Host ISA bitmap will be used.
54 * @isa_bitmap: ISA bitmap to use
58 * NOTE: If isa_bitmap is NULL then Host ISA bitmap will be used.
74 const char *isa; in riscv_fill_hwcap() local
100 if (of_property_read_string(node, "riscv,isa", &isa)) { in riscv_fill_hwcap()
101 pr_warn("Unable to find \"riscv,isa\" devicetree entry\n"); in riscv_fill_hwcap()
105 temp = isa; in riscv_fill_hwcap()
107 if (!strncmp(isa, "rv32", 4)) in riscv_fill_hwcap()
[all …]
Dcpu.c22 const char *isa; in riscv_of_processor_hartid() local
40 if (of_property_read_string(node, "riscv,isa", &isa)) { in riscv_of_processor_hartid()
41 pr_warn("CPU with hartid=%lu has no \"riscv,isa\" property\n", *hart); in riscv_of_processor_hartid()
44 if (isa[0] != 'r' || isa[1] != 'v') { in riscv_of_processor_hartid()
45 pr_warn("CPU with hartid=%lu has an invalid ISA of \"%s\"\n", *hart, isa); in riscv_of_processor_hartid()
170 * These are the only valid base (single letter) ISA extensions as per the spec.
177 static void print_isa(struct seq_file *f, const char *isa) in print_isa() argument
181 seq_puts(f, "isa\t\t: "); in print_isa()
183 seq_write(f, isa, 4); in print_isa()
186 /* Print only enabled the base ISA extensions */ in print_isa()
[all …]
/Linux-v6.1/Documentation/powerpc/
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-v6.1/arch/sh/
DMakefile20 isa-y := any
21 isa-$(CONFIG_SH_DSP) := sh
22 isa-$(CONFIG_CPU_SH2) := sh2
23 isa-$(CONFIG_CPU_SH2A) := sh2a
24 isa-$(CONFIG_CPU_SH3) := sh3
25 isa-$(CONFIG_CPU_SH4) := sh4
26 isa-$(CONFIG_CPU_SH4A) := sh4a
27 isa-$(CONFIG_CPU_SH4AL_DSP) := sh4al
29 isa-$(CONFIG_SH_DSP) := $(isa-y)-dsp
30 isa-y := $(isa-y)-up
[all …]
/Linux-v6.1/Documentation/core-api/
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-v6.1/arch/mips/include/asm/
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-v6.1/drivers/comedi/
DKconfig91 bool "Comedi ISA and PC/104 drivers"
93 Enable comedi ISA and PC/104 drivers to be built
97 the questions about ISA and PC/104 comedi drivers.
102 tristate "Advantech PCL-711/711b and ADlink ACL-8112 ISA card support"
114 Enable support for ISA and PC/104 based 8255 digital i/o boards. This
132 tristate "Advantech PCL-726 and compatible ISA card support"
134 Enable support for Advantech PCL-726 and compatible ISA cards.
142 Enable support for various simple ISA or PC/104 Digital I/O boards.
169 A-822PGH/PGL, A-823PGH/PGL, A-826PG and ICP DAS ISO-813 ISA cards
175 tristate "Advantech PCL-814 and PCL-816 ISA card support"
[all …]
/Linux-v6.1/drivers/comedi/drivers/
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>>...34