| /linux/drivers/s390/char/ | 
| H A D | tape_34xx.c | 1 // SPDX-License-Identifier: GPL-2.0 7  *		 Tuan Ngo-Anh <ngoanh@de.ibm.com> 54  * Medium sense for 34xx tapes. There is no 'real' medium sense call. 55  * So we just do a normal sense. 59 	struct tape_device *device = request->device;  in __tape_34xx_medium_sense() 60 	unsigned char *sense;  in __tape_34xx_medium_sense()  local 62 	if (request->rc == 0) {  in __tape_34xx_medium_sense() 63 		sense = request->cpdata;  in __tape_34xx_medium_sense() 67 		 * means that the drive is 'neither ready nor on-line' it is  in __tape_34xx_medium_sense() 71 		if (sense[0] & SENSE_INTERVENTION_REQUIRED)  in __tape_34xx_medium_sense() [all …] 
 | 
| /linux/drivers/video/fbdev/ | 
| H A D | valkyriefb.c | 2  *  valkyriefb.c -- frame buffer device for the PowerMac 'valkyrie' display 7  *  Vmode-switching changes and vmode 15/17 modifications created 29 August 10  *  Ported to m68k Macintosh by David Huggins-Daines <dhd@debian.org> 14  *   controlfb.c -- frame buffer device for the PowerMac 'control' display 17  *   pmc-valkyrie.c -- Console support for PowerMac "valkyrie" display adaptor. 23  *    drivers/video/chipsfb.c -- frame buffer device for 30  *    And from the frame buffer device for Open Firmware-initialized devices: 87 	int			sense;  member 120 /* Sets the video mode according to info->var */ 125 	volatile struct valkyrie_regs __iomem *valkyrie_regs = p->valkyrie_regs;  in valkyriefb_set_par() [all …] 
 | 
| H A D | platinumfb.c | 2  *  platinumfb.c -- frame buffer device for the PowerMac 'platinum' display 7  *    drivers/video/controlfb.c -- frame buffer device for 113 	return platinum_var_to_par(var, info->par, 1);  in platinumfb_check_var() 121 	struct fb_info_platinum *pinfo = info->par;  in platinumfb_set_par() 125 	if((err = platinum_var_to_par(&info->var, pinfo, 0))) {  in platinumfb_set_par() 133 	init = platinum_reg_init[pinfo->vmode-1];  in platinumfb_set_par() 135  	if ((pinfo->vmode == VMODE_832_624_75) && (pinfo->cmode > CMODE_8))  in platinumfb_set_par() 138 	info->screen_base = pinfo->frame_buffer + init->fb_offset + offset;  in platinumfb_set_par() 139 	mutex_lock(&info->mm_lock);  in platinumfb_set_par() 140 	info->fix.smem_start = (pinfo->frame_buffer_phys) + init->fb_offset + offset;  in platinumfb_set_par() [all …] 
 | 
| H A D | controlfb.c | 2  *  controlfb.c -- frame buffer device for the PowerMac 'control' display 11  *    drivers/video/chipsfb.c -- frame buffer device for 18  *    And from the frame buffer device for Open Firmware-initialized devices: 93 #define DIRTY(z) ((x)->z != (y)->z) 94 #define DIRTY_CMAP(z) (memcmp(&((x)->z), &((y)->z), sizeof((y)->z))) 135 #define CNTRL_REG(INFO,REG) (&(((INFO)->control_regs->REG).r)) 160 	out_8(&p->cmap_regs->addr, regno);	/* tell clut what addr to fill	*/  in controlfb_setcolreg() 161 	out_8(&p->cmap_regs->lut, r);		/* send one color channel at	*/  in controlfb_setcolreg() 162 	out_8(&p->cmap_regs->lut, g);		/* a time...			*/  in controlfb_setcolreg() 163 	out_8(&p->cmap_regs->lut, b);  in controlfb_setcolreg() [all …] 
 | 
| /linux/Documentation/devicetree/bindings/iio/dac/ | 
| H A D | adi,ad5755.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD5755 Multi-Channel DAC 10   - Sean Nyekjaer <sean.nyekjaer@prevas.dk> 15       - adi,ad5755 16       - adi,ad5755-1 17       - adi,ad5757 18       - adi,ad5735 19       - adi,ad5737 [all …] 
 | 
| /linux/drivers/gpu/drm/nouveau/dispnv04/ | 
| H A D | dac.c | 5  * Copyright 2007-2009 Stuart Bennett 43 	struct dcb_output *dcb = nouveau_encoder(encoder)->dcb;  in nv04_dac_output_offset() 46 	if (dcb->or & (8 | DCB_OUTPUT_C))  in nv04_dac_output_offset() 48 	if (dcb->or & (8 | DCB_OUTPUT_B))  in nv04_dac_output_offset() 55  * arbitrary limit to number of sense oscillations tolerated in one sample 66 static int sample_load_twice(struct drm_device *dev, bool sense[2])  in sample_load_twice() 69 	struct nvif_object *device = &drm->client.device.object;  in sample_load_twice() 77 		 * wait for bit 0 clear -- out of hblank -- (say reg value 0x4),  in sample_load_twice() 78 		 * then wait for transition 0x4->0x5->0x4: enter hblank, leave  in sample_load_twice() 83 		if (nvif_msec(&drm->client.device, 10,  in sample_load_twice() [all …] 
 | 
| /linux/drivers/s390/block/ | 
| H A D | dasd_3990_erp.c | 1 // SPDX-License-Identifier: GPL-2.0 30  * 24 and 32 byte sense ERP functions 51 	struct dasd_ccw_req *cqr = erp->refers;  in dasd_3990_erp_cleanup() 53 	dasd_free_erp_request(erp, erp->memdev);  in dasd_3990_erp_cleanup() 54 	cqr->status = final_status;  in dasd_3990_erp_cleanup() 70 	struct dasd_device *device = erp->startdev;  in dasd_3990_erp_block_queue() 76 	spin_lock_irqsave(get_ccwdev_lock(device->cdev), flags);  in dasd_3990_erp_block_queue() 78 	spin_unlock_irqrestore(get_ccwdev_lock(device->cdev), flags);  in dasd_3990_erp_block_queue() 79 	erp->status = DASD_CQR_FILLED;  in dasd_3990_erp_block_queue() 80 	if (erp->block)  in dasd_3990_erp_block_queue() [all …] 
 | 
| /linux/Documentation/devicetree/bindings/usb/ | 
| H A D | pxa-usb.txt | 6  - compatible: Should be "marvell,pxa-ohci" for USB controllers 7    used in host mode. 10  - "marvell,enable-port1", "marvell,enable-port2", "marvell,enable-port3" 12  - "marvell,port-mode" selects the mode of the ports: 16  - "marvell,power-sense-low" - power sense pin is low-active. 17  - "marvell,power-control-low" - power control pin is low-active. 18  - "marvell,no-oc-protection" - disable over-current protection. 19  - "marvell,oc-mode-perport" - enable per-port over-current protection. 20  - "marvell,power_on_delay" Power On to Power Good time - in ms. 25 		compatible = "marvell,pxa-ohci"; [all …] 
 | 
| /linux/drivers/cdrom/ | 
| H A D | gdrom.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include <linux/dma-mapping.h> 19 #include <linux/blk-mq.h> 79 	{UNIT_ATTENTION, "Device needs attention - disk may have been changed"}, 158 	* been hit by a serious failure - but we'll  in gdrom_identifydevice() 159 	* try to return a sense key even so */  in gdrom_identifydevice() 232 		return -ENOMEM;  in gdrom_preparedisk_cmd() 233 	spin_command->cmd[0] = 0x70;  in gdrom_preparedisk_cmd() 234 	spin_command->cmd[2] = 0x1f;  in gdrom_preparedisk_cmd() 235 	spin_command->buflen = 0;  in gdrom_preparedisk_cmd() [all …] 
 | 
| /linux/include/scsi/ | 
| H A D | scsi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24  * DIX-capable adapters effectively support infinite chaining for the 36  * standard mode-select header prepended to all mode-select commands 41 	__u8 medium;		/* device-specific medium type */ 44 	__u8 density;		/* device-specific density code */ 55  * The Well Known LUNS (SAM-3) in our int representation of a LUN 68  * scsi_status_is_check_condition - check the status return. 88 #define     EXTENDED_EXTENDED_IDENTIFY      0x02    /* SCSI-I only */ 123  *      host_byte   = set by low-level driver to indicate status. 128 #define sense_class(sense)  (((sense) >> 4) & 0x7)  argument [all …] 
 | 
| H A D | scsi_device.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #include <linux/blk-mq.h> 49 				 * originate in the mid-layer) */ 86 	/* put union of data structures, for non-simple event types, 92  * struct scsi_vpd - SCSI Vital Product Data 107 	/* the next two are protected by the host->host_lock */ 130 					 * vendor-specific cmd's */ 133 	void *hostdata;		/* available to low-level driver */ 163 	 * If true, let the high-level device driver (sd) manage the device 170 	 * If true, let the high-level device driver (sd) manage the device [all …] 
 | 
| /linux/Documentation/devicetree/bindings/hwmon/ | 
| H A D | adi,ltc4282.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10   - Nuno Sa <nuno.sa@analog.com> 15   https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4282.pdf 20       - adi,ltc4282 25   vdd-supply: true 30   '#clock-cells': 33   adi,rsense-nano-ohms: 34     description: Value of the sense resistor. [all …] 
 | 
| /linux/drivers/media/dvb-frontends/ | 
| H A D | drxk_hard.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 #define SCU_RESULT_SIZE   -4 25 #define SCU_RESULT_INVPAR -3 26 #define SCU_RESULT_UNKSTD -2 27 #define SCU_RESULT_UNKCMD -1 81 /* Intermediate power mode for DRXK, power down OFDM clock domain */ 86 /* Intermediate power mode for DRXK, power down core (sysclk) */ 91 /* Intermediate power mode for DRXK, power down pll (only osc runs) */ 189 	u16            top;             /* rf-agc take over point */ 190 	u16            cut_off_current;   /* rf-agc is accelerated if output current [all …] 
 | 
| /linux/Documentation/devicetree/bindings/iio/addac/ | 
| H A D | adi,ad74115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10   - Cosmin Tanislav <cosmin.tanislav@analog.com> 13   The AD74115H is a single-channel software configurable input/output 17   chip solution with an SPI interface. The device features a 16-bit ADC and a 18   14-bit DAC. 25       - adi,ad74115h 30   spi-max-frequency: 33   spi-cpol: true [all …] 
 | 
| /linux/Documentation/devicetree/bindings/input/ | 
| H A D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10   - Jeff LaBundy <jeff@labundy.com> 13   - $ref: input.yaml# 16   The Azoteq IQS269A is an 8-channel capacitive touch controller that features 17   additional Hall-effect and inductive sensing capabilities. 24       - azoteq,iqs269a 25       - azoteq,iqs269a-00 26       - azoteq,iqs269a-d0 [all …] 
 | 
| /linux/drivers/scsi/ | 
| H A D | st.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 /* Descriptor for analyzed sense data */ 29 	unsigned char sense[SCSI_SENSE_BUFFERSIZE];  member 58 /* The tape mode definition */ 67 	short default_density;	/* Forced density, -1 = no value */ 68 	int default_blksize;	/* Forced blocksize, -1 = no value */ 70 	struct device *devs[2];  /* Auto-rewind and non-rewind devices */ 71 	struct cdev *cdevs[2];  /* Auto-rewind and non-rewind devices */ 78 #define ST_MODE_SHIFT (7 - ST_NBR_MODE_BITS) 79 #define ST_MODE_MASK ((ST_NBR_MODES - 1) << ST_MODE_SHIFT) [all …] 
 | 
| H A D | constants.c | 1 // SPDX-License-Identifier: GPL-2.0 6  * Additions for SCSI 3+ (SPC-3 T10/1416-D Rev 07 3 May 2002) 8  * Updated to SPC-4 T10/1713-D Rev 36g, D. Gilbert 20130701 38 /* 00-03 */ "Test Unit Ready", "Rezero Unit/Rewind", NULL, "Request Sense", 39 /* 04-07 */ "Format Unit/Medium", "Read Block Limits", NULL, 41 /* 08-0d */ "Read(6)", NULL, "Write(6)", "Seek(6)", NULL, NULL, 42 /* 0e-12 */ NULL, "Read Reverse", "Write Filemarks", "Space", "Inquiry", 43 /* 13-16 */ "Verify(6)", "Recover Buffered Data", "Mode Select(6)", 45 /* 17-1a */ "Release(6)", "Copy", "Erase", "Mode Sense(6)", 46 /* 1b-1d */ "Start/Stop Unit", "Receive Diagnostic", "Send Diagnostic", [all …] 
 | 
| /linux/include/linux/ | 
| H A D | via-core.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3  * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved. 4  * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. 5  * Copyright 2009-2010 Jonathan Corbet <corbet@lwn.net> 42 	enum via_port_mode	mode;  member 106 #define   VDE_I_DVISENSE  0x00000001  /* DVI sense int status */ 122 #define   VDE_I_DVISNSEN  0x00010000  /* DVI sense enable */ 133 #define   VDE_I_LVDSSI    0x08000000  /* LVDS sense interrupt */ 136 #define   VDE_I_LVDSSIEN  0x40000000  /* LVDS Sense enable */ 152 #define   VDMA_MR_CHAIN   0x01		/* Chaining mode */ [all …] 
 | 
| /linux/include/linux/usb/ | 
| H A D | r8a66597.h | 1 // SPDX-License-Identifier: GPL-2.0 124 #define	XTAL		0xC000	/* b15-14: Crystal selection */ 132 #define	LPSME		0x0100	/* b8: Low power sleep mode */ 133 #define	HSE		0x0080	/* b7: Hi-speed enable */ 135 #define	DRPD		0x0020	/* b5: D+/- pull down control */ 140 #define	OVCBIT		0x8000	/* b15-14: Over-current bit */ 141 #define	OVCMON		0xC000	/* b15-14: Over-current monitor */ 143 #define	IDMON		0x0004	/* b3: ID-pin monitor */ 144 #define	LNST		0x0003	/* b1-0: D+, D- line status */ 146 #define	  FS_KSTS	 0x0002	  /* Full-Speed K State */ [all …] 
 | 
| /linux/sound/soc/codecs/ | 
| H A D | max98927.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3  * max98927.c  --  MAX98927 ALSA Soc Audio driver 5  * Copyright (C) 2016-2017 Maxim Integrated Products 140 	struct snd_soc_component *component = codec_dai->component;  in max98927_dai_set_fmt() 142 	unsigned int mode = 0;  in max98927_dai_set_fmt()  local 147 	dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt);  in max98927_dai_set_fmt() 151 		max98927->provider = false;  in max98927_dai_set_fmt() 152 		mode = MAX98927_PCM_MASTER_MODE_SLAVE;  in max98927_dai_set_fmt() 155 		max98927->provider = true;  in max98927_dai_set_fmt() 156 		mode = MAX98927_PCM_MASTER_MODE_MASTER;  in max98927_dai_set_fmt() [all …] 
 | 
| H A D | max98373.c | 1 // SPDX-License-Identifier: GPL-2.0 23 	struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm);  in max98373_dac_event() 28 		regmap_update_bits(max98373->regmap,  in max98373_dac_event() 34 		regmap_update_bits(max98373->regmap,  in max98373_dac_event() 38 		max98373->tdm_mode = false;  in max98373_dac_event() 70 SND_SOC_DAPM_AIF_OUT("Voltage Sense", "HiFi Capture", 0, 72 SND_SOC_DAPM_AIF_OUT("Current Sense", "HiFi Capture", 0, 74 SND_SOC_DAPM_AIF_OUT("Speaker FB Sense", "HiFi Capture", 0, 76 SND_SOC_DAPM_SWITCH("VI Sense", SND_SOC_NOPM, 0, 0, 78 SND_SOC_DAPM_SWITCH("SpkFB Sense", SND_SOC_NOPM, 0, 0, [all …] 
 | 
| /linux/drivers/scsi/device_handler/ | 
| H A D | scsi_dh_rdac.c | 2  * LSI/Engenio/NetApp E-Series RDAC SCSI Device Handler 19  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 33  * LSI mode page stuff 36  * mode page were taken from the LSI RDAC 2.4 GPL'd 194 	unsigned char		mode;  member 216 static const char *mode[] = {  variable 247 		"Default is 1 - failover logging enabled, " 256 	((rdac_logging >> (SHIFT)) & ((1 << (RDAC_LOG_BITS)) - 1)) 273 	if (ctlr->use_ms10) {  in rdac_failover_get() 277 		rdac_pg = &ctlr->mode_select.expanded;  in rdac_failover_get() [all …] 
 | 
| /linux/Documentation/devicetree/bindings/powerpc/fsl/ | 
| H A D | mpc5121-psc.txt | 3 PSC in UART mode 4 ---------------- 6 For PSC in UART mode the needed PSC serial devices 7 are specified by fsl,mpc5121-psc-uart nodes in the 8 fsl,mpc5121-immr SoC node. Additionally the PSC FIFO 9 Controller node fsl,mpc5121-psc-fifo is required there: 11 fsl,mpc512x-psc-uart nodes 12 -------------------------- 15  - compatible : Should contain "fsl,<soc>-psc-uart" and "fsl,<soc>-psc" 17  - reg : Offset and length of the register set for the PSC device [all …] 
 | 
| /linux/drivers/scsi/pcmcia/ | 
| H A D | nsp_debug.c | 17 /* 00-03 */ "Test Unit Ready", "Rezero Unit", unknown, "Request Sense", 18 /* 04-07 */ "Format Unit", "Read Block Limits", unknown, "Reassign Blocks", 19 /* 08-0d */ "Read (6)", unknown, "Write (6)", "Seek (6)", unknown, unknown, 20 /* 0e-12 */ unknown, "Read Reverse", "Write Filemarks", "Space", "Inquiry",   21 /* 13-16 */ unknown, "Recover Buffered Data", "Mode Select", "Reserve", 22 /* 17-1b */ "Release", "Copy", "Erase", "Mode Sense", "Start/Stop Unit", 23 /* 1c-1d */ "Receive Diagnostic", "Send Diagnostic",  24 /* 1e-1f */ "Prevent/Allow Medium Removal", unknown, 29 /* 20-22 */  unknown, unknown, unknown, 30 /* 23-28 */ unknown, unknown, "Read Capacity", unknown, unknown, "Read (10)", [all …] 
 | 
| /linux/Documentation/hwmon/ | 
| H A D | ltc2990.rst | 11     Addresses scanned: - 19 	- Mike Looijmans <mike.looijmans@topic.nl> 20 	- Tom Levens <tom.levens@cern.ch> 24 ----------- 34 ----------- 41 ---------------- 49 mode of the chip. 52 in[1-4]_input Voltage at V[1-4] pin in millivolt 55 curr1_input   Current in mA across V1-V2 assuming a 1mOhm sense resistor 56 curr2_input   Current in mA across V3-V4 assuming a 1mOhm sense resistor [all …] 
 |