/openbmc/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 …]
|
/openbmc/qemu/target/xtensa/ |
H A D | xtensa-isa.c | 1 /* Configurable Xtensa ISA support. 26 #include "xtensa-isa.h" 27 #include "xtensa-isa-internal.h" 33 xtensa_isa_status xtensa_isa_errno(xtensa_isa isa __attribute__ ((unused))) in xtensa_isa_errno() argument 39 char *xtensa_isa_error_msg(xtensa_isa isa __attribute__ ((unused))) in xtensa_isa_error_msg() argument 72 int xtensa_insnbuf_size(xtensa_isa isa) in xtensa_insnbuf_size() argument 74 xtensa_isa_internal *intisa = (xtensa_isa_internal *)isa; in xtensa_insnbuf_size() 79 xtensa_insnbuf xtensa_insnbuf_alloc(xtensa_isa isa) in xtensa_insnbuf_alloc() argument 82 malloc(xtensa_insnbuf_size(isa) * sizeof(xtensa_insnbuf_word)); in xtensa_insnbuf_alloc() 89 void xtensa_insnbuf_free(xtensa_isa isa __attribute__ ((unused)), in xtensa_insnbuf_free() argument [all …]
|
/openbmc/u-boot/arch/powerpc/dts/ |
H A D | e6500_power_isa.dtsi | 3 * e6500 Power ISA Device Tree Source (include) 11 power-isa-version = "2.06"; 12 power-isa-b; // Base 13 power-isa-e; // Embedded 14 power-isa-atb; // Alternate Time Base 15 power-isa-cs; // Cache Specification 16 power-isa-ds; // Decorated Storage 17 power-isa-e.ed; // Embedded.Enhanced Debug 18 power-isa-e.pd; // Embedded.External PID 19 power-isa-e.hv; // Embedded.Hypervisor [all …]
|
/openbmc/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 …]
|
/openbmc/qemu/include/hw/xtensa/ |
H A D | xtensa-isa.h | 1 /* Interface definition for configurable Xtensa ISA support. 40 * This file defines the interface to the Xtensa ISA library. This 41 * library contains most of the ISA-specific information for a 49 * . ISA info - information about the ISA as a whole 71 * Most of the Xtensa ISA entities (e.g., opcodes, regfiles, etc.) are 97 * operations. The formats for the core Xtensa ISA have only one slot, 171 xtensa_isa_status xtensa_isa_errno(xtensa_isa isa); 173 char *xtensa_isa_error_msg(xtensa_isa isa); 185 int xtensa_insnbuf_size(xtensa_isa isa); 190 xtensa_insnbuf xtensa_insnbuf_alloc(xtensa_isa isa); [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/qemu/hw/isa/ |
H A D | isa-superio.c | 2 * Generic ISA Super I/O 21 #include "hw/isa/superio.h" 24 #include "hw/char/parallel-isa.h" 25 #include "hw/char/serial-isa.h" 33 ISADevice *isa; in isa_superio_realize() local 56 isa = isa_new(TYPE_ISA_PARALLEL); in isa_superio_realize() 57 d = DEVICE(isa); in isa_superio_realize() 67 object_property_add_child(OBJECT(dev), name, OBJECT(isa)); in isa_superio_realize() 68 isa_realize_and_unref(isa, bus, &error_fatal); in isa_superio_realize() 69 sio->parallel[i] = isa; in isa_superio_realize() [all …]
|
/openbmc/qemu/hw/char/ |
H A D | serial-isa.c | 32 #include "hw/char/serial-isa.h" 33 #include "hw/isa/isa.h" 60 ISASerialState *isa = ISA_SERIAL(dev); in serial_isa_realizefn() local 61 SerialState *s = &isa->state; in serial_isa_realizefn() 63 if (isa->index == -1) { in serial_isa_realizefn() 64 isa->index = index; in serial_isa_realizefn() 66 if (isa->index >= MAX_ISA_SERIAL_PORTS) { in serial_isa_realizefn() 67 error_setg(errp, "Max. supported number of ISA serial ports is %d.", in serial_isa_realizefn() 71 if (isa->iobase == -1) { in serial_isa_realizefn() 72 isa->iobase = isa_serial_io[isa->index]; in serial_isa_realizefn() [all …]
|
/openbmc/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 …]
|
/openbmc/qemu/disas/ |
H A D | xtensa.c | 30 #include "hw/xtensa/xtensa-isa.h" 34 xtensa_isa isa = info->private_data; in print_insn_xtensa() local 35 xtensa_insnbuf insnbuf = xtensa_insnbuf_alloc(isa); in print_insn_xtensa() 36 xtensa_insnbuf slotbuf = xtensa_insnbuf_alloc(isa); in print_insn_xtensa() 48 len = xtensa_isa_length_from_chars(isa, buffer); in print_insn_xtensa() 63 xtensa_insnbuf_from_chars(isa, insnbuf, buffer, len); in print_insn_xtensa() 64 fmt = xtensa_format_decode(isa, insnbuf); in print_insn_xtensa() 74 slots = xtensa_format_num_slots(isa, fmt); in print_insn_xtensa() 87 xtensa_format_get_slot(isa, fmt, slot, insnbuf, slotbuf); in print_insn_xtensa() 88 opc = xtensa_opcode_decode(isa, fmt, slot, slotbuf); in print_insn_xtensa() [all …]
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | cpufeature.c | 37 /* Host ISA bitmap */ 40 /* Per-cpu ISA extensions. */ 49 * @isa_bitmap: ISA bitmap to use 52 * NOTE: If isa_bitmap is NULL then Host ISA bitmap will be used. 66 * @isa_bitmap: ISA bitmap to use 70 * NOTE: If isa_bitmap is NULL then Host ISA bitmap will be used. 88 pr_err("Zicbom detected in ISA string, disabling as no cbom-block-size found\n"); in riscv_isa_extension_check() 97 pr_err("Zicboz detected in ISA string, but no cboz-block-size found\n"); in riscv_isa_extension_check() 116 * The canonical order of ISA extension names in the ISA string is defined in 120 * isa_ext_arr defines the order of the ISA string in /proc/cpuinfo. [all …]
|
/openbmc/qemu/hw/block/ |
H A D | fdc-isa.c | 37 #include "hw/isa/isa.h" 71 FDCtrlISABus *isa = ISA_FDC(d); in fdctrl_external_reset_isa() local 72 FDCtrl *s = &isa->state; in fdctrl_external_reset_isa() 92 FDCtrlISABus *isa = ISA_FDC(dev); in isabus_fdc_realize() local 93 FDCtrl *fdctrl = &isa->state; in isabus_fdc_realize() 96 isa_register_portio_list(isadev, &isa->portio_list, in isabus_fdc_realize() 97 isa->iobase, fdc_portio_list, fdctrl, in isabus_fdc_realize() 100 fdctrl->irq = isa_bus_get_irq(bus, isa->irq); in isabus_fdc_realize() 101 fdctrl->dma_chann = isa->dma; in isabus_fdc_realize() 104 fdctrl->dma = isa_bus_get_dma(bus, isa->dma); in isabus_fdc_realize() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/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 …]
|