/linux/drivers/media/radio/ |
H A D | radio-isa.c | 3 * 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", dev_name(isa->v4l2_dev.dev)); 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 …]
|
H A D | radio-zoltrix.c | 33 * 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 …]
|
H A D | radio-rtrack2.c | 10 * 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 …]
|
H A D | radio-trust.c | 27 #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 D | radio-aimslab.c | 7 * 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 …]
|
H A D | radio-aztech.c | 5 * 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 …]
|
H A D | radio-terratec.c | 2 /* 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 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 D | radio-typhoon.c | 40 #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 …]
|
H A D | radio-gemtek.c | 18 * 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 = >->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 ? >->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 D | radio-isa.h | 3 * 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/arch/powerpc/kernel/ |
H A D | isa-bridge.c | 3 * 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 D | e6500_power_isa.dtsi | 2 * 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 D | e5500_power_isa.dtsi | 2 * 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 D | e500mc_power_isa.dtsi | 2 * 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 D | e500v2_power_isa.dtsi | 2 * 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 D | e500v1_power_isa.dtsi | 2 * 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 D | netwinder.rst | 53 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/boot/dts/sophgo/ |
H A D | sg2042-cpus.dtsi | 259 riscv,isa = "rv64imafdc"; 260 riscv,isa-base = "rv64i"; 261 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", 284 riscv,isa = "rv64imafdc"; 285 riscv,isa-base = "rv64i"; 286 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", 309 riscv,isa = "rv64imafdc"; 310 riscv,isa-base = "rv64i"; 311 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", 334 riscv,isa = "rv64imafdc"; [all …]
|
/linux/arch/riscv/kernel/ |
H A D | cpufeature.c | 33 /* Host ISA bitmap */ 36 /* Per-cpu ISA extensions. */ 42 * @isa_bitmap: ISA bitmap to use 45 * NOTE: If isa_bitmap is NULL then Host ISA bitmap will be used. 59 * @isa_bitmap: ISA bitmap to use 63 * NOTE: If isa_bitmap is NULL then Host ISA bitmap will be used. 80 pr_err("Zicbom detected in ISA string, disabling as no cbom-block-size found\n"); in riscv_ext_zicbom_validate() 94 pr_err("Zicboz detected in ISA string, disabling as no cboz-block-size found\n"); in riscv_ext_zicboz_validate() 241 * privileged ISA, the existence of the CSRs is implied by any extension which 242 * specifies [ms]envcfg bit(s). Hence, we define a custom ISA extension for the [all …]
|
H A D | cpu.c | 52 const char *isa; in riscv_early_of_processor_hartid() local 70 if (of_property_read_string(node, "riscv,isa-base", &isa)) in riscv_early_of_processor_hartid() 73 if (IS_ENABLED(CONFIG_32BIT) && strncasecmp(isa, "rv32i", 5)) { in riscv_early_of_processor_hartid() 78 if (IS_ENABLED(CONFIG_64BIT) && strncasecmp(isa, "rv64i", 5)) { in riscv_early_of_processor_hartid() 83 if (!of_property_present(node, "riscv,isa-extensions")) in riscv_early_of_processor_hartid() 86 if (of_property_match_string(node, "riscv,isa-extensions", "i") < 0 || in riscv_early_of_processor_hartid() 87 of_property_match_string(node, "riscv,isa-extensions", "m") < 0 || in riscv_early_of_processor_hartid() 88 of_property_match_string(node, "riscv,isa-extensions", "a") < 0) { in riscv_early_of_processor_hartid() 97 pr_warn("CPU with hartid=%lu is invalid: this kernel does not parse \"riscv,isa\"", in riscv_early_of_processor_hartid() 102 if (of_property_read_string(node, "riscv,isa", &isa)) { in riscv_early_of_processor_hartid() [all …]
|
/linux/Documentation/devicetree/bindings/riscv/ |
H A D | extensions.yaml | 7 title: RISC-V ISA extensions 34 riscv,isa: 38 User-Level ISA document, available from 41 Due to revisions of the ISA specification, some deviations 43 Notably, riscv,isa was defined prior to the creation of the 47 While the isa strings in ISA specification are case 48 insensitive, letters in the riscv,isa string must be all 54 riscv,isa-base: 56 The base ISA implemented by this hart, as described by the 20191213 57 version of the unprivileged ISA specification. [all …]
|
/linux/arch/sh/ |
H A D | Makefile | 20 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/Documentation/arch/riscv/ |
H A D | hwprobe.rst | 62 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/arch/powerpc/ |
H A D | isa-versions.rst | 2 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 D | dma-isa-lpc.rst | 2 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 …]
|