| /kernel/linux/linux-6.6/drivers/video/fbdev/ |
| D | macmodes.c | 2 * linux/drivers/video/macmodes.c -- Standard MacOS video modes 6 * 2000 - Removal of OpenFirmware dependencies by: 7 * - Ani Joshi 8 * - Brad Douglas <brad@neruo.com> 10 * 2001 - Documented with DocBook 11 * - Brad Douglas <brad@neruo.com> 26 * MacOS video mode definitions 36 /* 512x384, 60Hz, Non-Interlaced (15.67 MHz dot clock) */ 40 /* 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) */ 44 /* 640x480, 67Hz, Non-Interlaced (30.0 MHz dotclock) */ [all …]
|
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/ |
| D | macmodes.c | 2 * linux/drivers/video/macmodes.c -- Standard MacOS video modes 6 * 2000 - Removal of OpenFirmware dependencies by: 7 * - Ani Joshi 8 * - Brad Douglas <brad@neruo.com> 10 * 2001 - Documented with DocBook 11 * - Brad Douglas <brad@neruo.com> 26 * MacOS video mode definitions 36 /* 512x384, 60Hz, Non-Interlaced (15.67 MHz dot clock) */ 40 /* 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) */ 44 /* 640x480, 67Hz, Non-Interlaced (30.0 MHz dotclock) */ [all …]
|
| 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: 88 int sense; member 127 /* Sets the video mode according to info->var */ 132 volatile struct valkyrie_regs __iomem *valkyrie_regs = p->valkyrie_regs; in valkyriefb_set_par() [all …]
|
| D | platinumfb.c | 2 * platinumfb.c -- frame buffer device for the PowerMac 'platinum' display 7 * drivers/video/controlfb.c -- frame buffer device for 115 return platinum_var_to_par(var, info->par, 1); in platinumfb_check_var() 123 struct fb_info_platinum *pinfo = info->par; in platinumfb_set_par() 127 if((err = platinum_var_to_par(&info->var, pinfo, 0))) { in platinumfb_set_par() 135 init = platinum_reg_init[pinfo->vmode-1]; in platinumfb_set_par() 137 if ((pinfo->vmode == VMODE_832_624_75) && (pinfo->cmode > CMODE_8)) in platinumfb_set_par() 140 info->screen_base = pinfo->frame_buffer + init->fb_offset + offset; in platinumfb_set_par() 141 mutex_lock(&info->mm_lock); in platinumfb_set_par() 142 info->fix.smem_start = (pinfo->frame_buffer_phys) + init->fb_offset + offset; in platinumfb_set_par() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/dac/ |
| D | ad5755.txt | 1 * Analog Devices AD5755 IIO Multi-Channel DAC Linux Driver 4 - compatible: Has to contain one of the following: 6 adi,ad5755-1 11 - reg: spi chip select number for the device 12 - spi-cpha or spi-cpol: is the only modes that is supported 15 - spi-max-frequency: Definition as per 16 Documentation/devicetree/bindings/spi/spi-bus.txt 19 See include/dt-bindings/iio/ad5755.h 20 - adi,ext-dc-dc-compenstation-resistor: boolean set if the hardware have an 23 - adi,dc-dc-phase: [all …]
|
| /kernel/linux/linux-5.10/drivers/ide/ |
| D | ide-cd_verbose.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 1994-1996 Scott Snyder <snyder@fnald0.fnal.gov> 6 * Copyright (C) 1996-1998 Erik Andersen <andersee@debian.org> 7 * Copyright (C) 1998-2000 Jens Axboe <axboe@suse.de> 15 #include "ide-cd.h" 19 struct request_sense *sense) in ide_cd_log_error() argument 23 if (sense->sense_key == UNIT_ATTENTION || in ide_cd_log_error() 24 (sense->sense_key == NOT_READY && (sense->asc == 4 || in ide_cd_log_error() 25 sense->asc == 0x3a))) in ide_cd_log_error() 30 name, sense->error_code, sense->sense_key, in ide_cd_log_error() [all …]
|
| D | ide-cd.c | 2 * ATAPI CD-ROM driver. 4 * Copyright (C) 1994-1996 Scott Snyder <snyder@fnald0.fnal.gov> 5 * Copyright (C) 1996-1998 Erik Andersen <andersee@debian.org> 6 * Copyright (C) 1998-2000 Jens Axboe <axboe@suse.de> 7 * Copyright (C) 2005, 2007-2009 Bartlomiej Zolnierkiewicz 12 * See Documentation/cdrom/ide-cd.rst for usage information. 14 * Suggestions are welcome. Patches that work are more welcome though. ;-) 17 * Mt. Fuji (SFF8090 version 4) and ATAPI (SFF-8020i rev 2.6) standards. 20 * Documentation/ide/ChangeLog.ide-cd.1994-2004 23 #define DRV_NAME "ide-cd" [all …]
|
| /kernel/linux/linux-6.6/drivers/s390/char/ |
| D | tape_34xx.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Tuan Ngo-Anh <ngoanh@de.ibm.com> 53 * Medium sense for 34xx tapes. There is no 'real' medium sense call. 54 * So we just do a normal sense. 58 struct tape_device *device = request->device; in __tape_34xx_medium_sense() 59 unsigned char *sense; in __tape_34xx_medium_sense() local 61 if (request->rc == 0) { in __tape_34xx_medium_sense() 62 sense = request->cpdata; in __tape_34xx_medium_sense() 66 * means that the drive is 'neither ready nor on-line' it is in __tape_34xx_medium_sense() 70 if (sense[0] & SENSE_INTERVENTION_REQUIRED) in __tape_34xx_medium_sense() [all …]
|
| /kernel/linux/linux-5.10/drivers/s390/char/ |
| D | tape_34xx.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Tuan Ngo-Anh <ngoanh@de.ibm.com> 53 * Medium sense for 34xx tapes. There is no 'real' medium sense call. 54 * So we just do a normal sense. 58 struct tape_device *device = request->device; in __tape_34xx_medium_sense() 59 unsigned char *sense; in __tape_34xx_medium_sense() local 61 if (request->rc == 0) { in __tape_34xx_medium_sense() 62 sense = request->cpdata; in __tape_34xx_medium_sense() 66 * means that the drive is 'neither ready nor on-line' it is in __tape_34xx_medium_sense() 70 if (sense[0] & SENSE_INTERVENTION_REQUIRED) in __tape_34xx_medium_sense() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/dac/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv04/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/cdrom/ |
| D | gdrom.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include <linux/dma-mapping.h> 20 #include <linux/blk-mq.h> 80 {UNIT_ATTENTION, "Device needs attention - disk may have been changed"}, 159 * been hit by a serious failure - but we'll in gdrom_identifydevice() 160 * try to return a sense key even so */ in gdrom_identifydevice() 233 return -ENOMEM; in gdrom_preparedisk_cmd() 234 spin_command->cmd[0] = 0x70; in gdrom_preparedisk_cmd() 235 spin_command->cmd[2] = 0x1f; in gdrom_preparedisk_cmd() 236 spin_command->buflen = 0; in gdrom_preparedisk_cmd() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
| 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", "usb-ohci"; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/ |
| 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 …]
|
| /kernel/linux/linux-5.10/block/ |
| D | scsi_ioctl.c | 1 // SPDX-License-Identifier: GPL-2.0 58 return jiffies_to_clock_t(q->sg_timeout); in sg_get_timeout() 66 q->sg_timeout = clock_t_to_jiffies(timeout); in sg_set_timeout() 82 int val = min_t(int, q->sg_reserved_size, max_sectors_bytes(q)); in sg_get_reserved_size() 95 return -EINVAL; in sg_set_reserved_size() 97 q->sg_reserved_size = min(size, max_sectors_bytes(q)); in sg_set_reserved_size() 112 /* Basic read-only commands */ in blk_set_cmd_filter_defaults() 113 __set_bit(TEST_UNIT_READY, filter->read_ok); in blk_set_cmd_filter_defaults() 114 __set_bit(REQUEST_SENSE, filter->read_ok); in blk_set_cmd_filter_defaults() 115 __set_bit(READ_6, filter->read_ok); in blk_set_cmd_filter_defaults() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| 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 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| 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 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
| /kernel/linux/linux-6.6/include/scsi/ |
| D | scsi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 23 * DIX-capable adapters effectively support infinite chaining for the 35 * standard mode-select header prepended to all mode-select commands 40 __u8 medium; /* device-specific medium type */ 43 __u8 density; /* device-specific density code */ 54 * The Well Known LUNS (SAM-3) in our int representation of a LUN 67 * scsi_status_is_check_condition - check the status return. 87 #define EXTENDED_EXTENDED_IDENTIFY 0x02 /* SCSI-I only */ 122 * host_byte = set by low-level driver to indicate status. 127 #define sense_class(sense) (((sense) >> 4) & 0x7) argument [all …]
|
| /kernel/linux/linux-6.6/drivers/s390/block/ |
| D | dasd_3990_erp.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #define KMSG_COMPONENT "dasd-eckd" 34 * 24 and 32 byte sense ERP functions 55 struct dasd_ccw_req *cqr = erp->refers; in dasd_3990_erp_cleanup() 57 dasd_free_erp_request(erp, erp->memdev); in dasd_3990_erp_cleanup() 58 cqr->status = final_status; in dasd_3990_erp_cleanup() 74 struct dasd_device *device = erp->startdev; in dasd_3990_erp_block_queue() 80 spin_lock_irqsave(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue() 82 spin_unlock_irqrestore(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue() 83 erp->status = DASD_CQR_FILLED; in dasd_3990_erp_block_queue() [all …]
|
| /kernel/linux/linux-5.10/drivers/s390/block/ |
| D | dasd_3990_erp.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #define KMSG_COMPONENT "dasd-eckd" 34 * 24 and 32 byte sense ERP functions 55 struct dasd_ccw_req *cqr = erp->refers; in dasd_3990_erp_cleanup() 57 dasd_free_erp_request(erp, erp->memdev); in dasd_3990_erp_cleanup() 58 cqr->status = final_status; in dasd_3990_erp_cleanup() 74 struct dasd_device *device = erp->startdev; in dasd_3990_erp_block_queue() 80 spin_lock_irqsave(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue() 82 spin_unlock_irqrestore(get_ccwdev_lock(device->cdev), flags); in dasd_3990_erp_block_queue() 83 erp->status = DASD_CQR_FILLED; in dasd_3990_erp_block_queue() [all …]
|
| /kernel/linux/linux-6.6/drivers/cdrom/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
| 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 …]
|