Home
last modified time | relevance | path

Searched refs:isa (Results 1 – 25 of 101) sorted by relevance

12345

/linux-6.1.9/drivers/media/radio/
Dradio-isa.c35 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()
57 if (isa->drv->has_stereo) in radio_isa_g_tuner()
61 v->rxsubchans = ops->g_rxsubchans(isa); in radio_isa_g_tuner()
64 v->audmode = isa->stereo ? V4L2_TUNER_MODE_STEREO : V4L2_TUNER_MODE_MONO; in radio_isa_g_tuner()
66 v->signal = ops->g_signal(isa); in radio_isa_g_tuner()
[all …]
Dradio-zoltrix.c75 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()
102 inb(isa->io + 2); in zoltrix_s_mute_volume()
107 static int zoltrix_s_frequency(struct radio_isa_card *isa, u32 freq) in zoltrix_s_frequency() argument
[all …]
Dradio-rtrack2.c53 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()
67 static int rtrack2_s_frequency(struct radio_isa_card *isa, u32 freq) in rtrack2_s_frequency() argument
73 outb_p(0xc8, isa->io); in rtrack2_s_frequency()
[all …]
Dradio-trust.c52 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()
124 outb(tr->ioval, isa->io); in trust_s_mute_volume()
[all …]
Dradio-aimslab.c64 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()
112 static u32 rtrack_g_signal(struct radio_isa_card *isa) in rtrack_g_signal() argument
115 return 0xffff * !(inb(isa->io) & 2); in rtrack_g_signal()
[all …]
Dradio-aztech.c54 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
99 if (inb(isa->io) & AZTECH_BIT_MONO) in aztech_g_rxsubchans()
104 static u32 aztech_g_signal(struct radio_isa_card *isa) in aztech_g_signal() argument
[all …]
Dradio-typhoon.c72 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()
120 outb_p(vol % 2, isa->io + 2); /* Set the volume, low bit. */ in typhoon_s_mute_volume()
[all …]
Dradio-gemtek.c101 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
194 struct gemtek *gt = container_of(isa, struct gemtek, isa); in gemtek_s_frequency()
214 static int gemtek_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in gemtek_s_mute_volume() argument
[all …]
Dradio-terratec.c62 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()
116 outb(WRT_EN | 0x00, isa->io); in terratec_s_frequency()
117 outb(WRT_EN | 0x00 | CLK_ON, isa->io); in terratec_s_frequency()
120 outb(0x00, isa->io); in terratec_s_frequency()
[all …]
Dradio-isa.h47 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);
61 u32 (*g_signal)(struct radio_isa_card *isa);
/linux-6.1.9/arch/riscv/kernel/
Dcpufeature.c74 const char *isa; in riscv_fill_hwcap() local
100 if (of_property_read_string(node, "riscv,isa", &isa)) { in riscv_fill_hwcap()
105 temp = isa; in riscv_fill_hwcap()
107 if (!strncmp(isa, "rv32", 4)) in riscv_fill_hwcap()
108 isa += 4; in riscv_fill_hwcap()
110 if (!strncmp(isa, "rv64", 4)) in riscv_fill_hwcap()
111 isa += 4; in riscv_fill_hwcap()
114 if (temp == isa) in riscv_fill_hwcap()
117 for (; *isa; ++isa) { in riscv_fill_hwcap()
118 const char *ext = isa++; 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()
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()
177 static void print_isa(struct seq_file *f, const char *isa) in print_isa() argument
183 seq_write(f, isa, 4); in print_isa()
240 const char *compat, *isa; in c_show() local
244 if (!of_property_read_string(node, "riscv,isa", &isa)) in c_show()
245 print_isa(m, isa); in c_show()
/linux-6.1.9/arch/powerpc/boot/dts/fsl/
De6500_power_isa.dtsi37 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
46 power-isa-e.le; // Embedded.Little-Endian
[all …]
De5500_power_isa.dtsi37 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
46 power-isa-e.le; // Embedded.Little-Endian
[all …]
De500mc_power_isa.dtsi37 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
46 power-isa-e.le; // Embedded.Little-Endian
[all …]
De500v2_power_isa.dtsi37 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
46 power-isa-sp; // Signal Processing Engine
[all …]
De500v1_power_isa.dtsi37 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
46 power-isa-sp; // Signal Processing Engine
[all …]
/linux-6.1.9/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-6.1.9/arch/riscv/kvm/
Dvcpu_fp.c22 if (riscv_isa_extension_available(vcpu->arch.isa, f) || in kvm_riscv_vcpu_fp_reset()
23 riscv_isa_extension_available(vcpu->arch.isa, d)) in kvm_riscv_vcpu_fp_reset()
36 const unsigned long *isa) in kvm_riscv_vcpu_guest_fp_save() argument
39 if (riscv_isa_extension_available(isa, d)) in kvm_riscv_vcpu_guest_fp_save()
41 else if (riscv_isa_extension_available(isa, f)) in kvm_riscv_vcpu_guest_fp_save()
48 const unsigned long *isa) in kvm_riscv_vcpu_guest_fp_restore() argument
51 if (riscv_isa_extension_available(isa, d)) in kvm_riscv_vcpu_guest_fp_restore()
53 else if (riscv_isa_extension_available(isa, f)) in kvm_riscv_vcpu_guest_fp_restore()
90 riscv_isa_extension_available(vcpu->arch.isa, f)) { in kvm_riscv_vcpu_get_reg_fp()
101 riscv_isa_extension_available(vcpu->arch.isa, d)) { in kvm_riscv_vcpu_get_reg_fp()
[all …]
Dvcpu.c164 bitmap_zero(vcpu->arch.isa, RISCV_ISA_EXT_MAX); in kvm_arch_vcpu_create()
171 set_bit(host_isa, vcpu->arch.isa); in kvm_arch_vcpu_create()
265 case KVM_REG_RISCV_CONFIG_REG(isa): in kvm_riscv_vcpu_get_reg_config()
266 reg_val = vcpu->arch.isa[0] & KVM_RISCV_BASE_ISA_MASK; in kvm_riscv_vcpu_get_reg_config()
269 if (!riscv_isa_extension_available(vcpu->arch.isa, ZICBOM)) in kvm_riscv_vcpu_get_reg_config()
300 case KVM_REG_RISCV_CONFIG_REG(isa): in kvm_riscv_vcpu_set_reg_config()
325 reg_val = (vcpu->arch.isa[0] & ~KVM_RISCV_BASE_ISA_MASK) | in kvm_riscv_vcpu_set_reg_config()
327 vcpu->arch.isa[0] = reg_val; in kvm_riscv_vcpu_set_reg_config()
489 if (__riscv_isa_extension_available(vcpu->arch.isa, host_isa_ext)) in kvm_riscv_vcpu_get_reg_isa_ext()
530 set_bit(host_isa_ext, vcpu->arch.isa); in kvm_riscv_vcpu_set_reg_isa_ext()
[all …]
/linux-6.1.9/arch/arm/mach-footbridge/
DMakefile8 obj-y := common.o isa-irq.o isa.o isa-rtc.o dma-isa.o
15 obj-$(CONFIG_ARCH_CATS) += cats-hw.o isa-timer.o
17 obj-$(CONFIG_ARCH_NETWINDER) += netwinder-hw.o isa-timer.o
/linux-6.1.9/arch/mips/include/asm/
Dcpu-features.h18 #define __isa(isa) (cpu_data[0].isa_level & (isa)) argument
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
42 #define __isa_ge_or_ase(isa, ase) ((MIPS_ISA_REV >= (isa)) || __ase(ase)) argument
43 #define __isa_ge_or_opt(isa, opt) ((MIPS_ISA_REV >= (isa)) || __opt(opt)) argument
53 #define __isa_lt_and_ase(isa, ase) ((MIPS_ISA_REV < (isa)) && __ase(ase)) argument
54 #define __isa_lt_and_opt(isa, opt) ((MIPS_ISA_REV < (isa)) && __opt(opt)) argument
60 #define __isa_ge_and_flag(isa, flag) ((MIPS_ISA_REV >= (isa)) && __isa(flag)) argument
61 #define __isa_ge_or_flag(isa, flag) ((MIPS_ISA_REV >= (isa)) || __isa(flag)) argument
62 #define __isa_lt_and_flag(isa, flag) ((MIPS_ISA_REV < (isa)) && __isa(flag)) argument
/linux-6.1.9/arch/riscv/include/asm/
Dkvm_vcpu_fp.h25 const unsigned long *isa);
27 const unsigned long *isa);
35 const unsigned long *isa) in kvm_riscv_vcpu_guest_fp_save() argument
40 const unsigned long *isa) in kvm_riscv_vcpu_guest_fp_restore() argument
/linux-6.1.9/arch/powerpc/boot/dts/
Dmicrowatt.dts30 isa = <3000>;
35 isa = <3000>;
40 isa = <2050>;
46 isa = <2040>;
51 isa = <3000>;
56 isa = <2010>;
62 isa = <0>;
/linux-6.1.9/arch/arc/kernel/
Dsetup.c169 struct bcr_isa_arcv2 isa; in read_arc_build_cfg_regs() local
244 READ_BCR(ARC_REG_ISA_CFG_BCR, isa); in read_arc_build_cfg_regs()
248 if (!isa.ver) /* ISA BCR absent, use Kconfig info */ in read_arc_build_cfg_regs()
249 cpu->isa.atomic = IS_ENABLED(CONFIG_ARC_HAS_LLSC); in read_arc_build_cfg_regs()
252 struct bcr_generic bcr = *(struct bcr_generic *)&isa; in read_arc_build_cfg_regs()
253 cpu->isa.atomic = bcr.info & 1; in read_arc_build_cfg_regs()
256 cpu->isa.be = IS_ENABLED(CONFIG_CPU_BIG_ENDIAN); in read_arc_build_cfg_regs()
262 cpu->isa = isa; in read_arc_build_cfg_regs()
282 IS_AVAIL1(cpu->isa.be, "[Big-Endian]"), in arc_cpu_mumbojumbo()
306 IS_AVAIL2(cpu->isa.atomic, "atomic ", CONFIG_ARC_HAS_LLSC), in arc_cpu_mumbojumbo()
[all …]

12345