| /freebsd/sys/dev/qcom_qup/ |
| H A D | qcom_spi_hw.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 78 sc->config.input_block_size = 4; in qcom_spi_hw_read_controller_transfer_sizes() 80 sc->config.input_block_size = val * 16; in qcom_spi_hw_read_controller_transfer_sizes() 86 sc->config.output_block_size = 4; in qcom_spi_hw_read_controller_transfer_sizes() 88 sc->config.output_block_size = val * 16; in qcom_spi_hw_read_controller_transfer_sizes() 93 sc->config.input_fifo_size = in qcom_spi_hw_read_controller_transfer_sizes() 94 sc->config.input_block_size * (2 << val); in qcom_spi_hw_read_controller_transfer_sizes() 99 sc->config.output_fifo_size = in qcom_spi_hw_read_controller_transfer_sizes() 100 sc->config.output_block_size * (2 << val); in qcom_spi_hw_read_controller_transfer_sizes() [all …]
|
| H A D | qcom_spi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 69 { "qcom,spi-qup-v1.1.1", QCOM_SPI_HW_QPI_V1_1 }, 70 { "qcom,spi-qup-v2.1.1", QCOM_SPI_HW_QPI_V2_1 }, 71 { "qcom,spi-qup-v2.2.1", QCOM_SPI_HW_QPI_V2_2 }, 88 if (sc->cs_pins[cs] == NULL) { in qcom_spi_set_chipsel() 89 device_printf(sc->sc_dev, in qcom_spi_set_chipsel() 112 gpio_pin_set_active(sc->cs_pins[cs], pinactive); in qcom_spi_set_chipsel() 113 gpio_pin_is_active(sc->cs_pins[cs], &pinactive); in qcom_spi_set_chipsel() 128 device_printf(sc->sc_dev, in qcom_spi_intr() [all …]
|
| H A D | qcom_spi_reg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 59 * Ie, if you have a PIO/DMA transaction larger than 61 * sub-transactions in the transfer loop. 63 #define SPI_MAX_XFER (65536 - 64)
|
| /freebsd/sys/dev/isci/scil/ |
| H A D | scic_sds_stp_request.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 69 * required to handle SATA PIO requests. 86 * Total transfer for the entire PIO request recorded at request construction 102 * The number of bytes requested in the in the PIO setup. 107 * PIO Setup ending status value to tell us if we need to wait for another FIS 108 * or if the transfer is complete. On the receipt of a D2H FIS this will be [all …]
|
| H A D | scic_sds_stp_request.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 98 (((POINTER_UINT)(address)) + (sizeof(U32) - 1)) \ 99 & ~(sizeof(U32)- 1) \ 103 * This macro returns the DWORD-aligned stp command buffer 127 (((POINTER_UINT)(address)) + (sizeof(U32) - 1)) \ 128 & ~(sizeof(U32)- 1) \ [all …]
|
| H A D | sati_atapi.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 60 * that can be utilized by a user to perform SCSI-to-ATA PACKET IO 112 * ATAPI IO request (e.g. register FIS, PIO Setup etc.) from which 141 * ATAPI IO request (e.g. register FIS, PIO Setup etc.) from which 166 * ATAPI IO request (e.g. register FIS, PIO Setup etc.) from which 170 * @return Actual data transfer length.
|
| H A D | scic_sds_stp_packet_request.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 79 * construct the request STARTED sub-state machine for Packet Protocol 98 h2d_fis->features = h2d_fis->features | ATA_PACKET_FEATURE_DMA; in scic_sds_stp_packet_request_construct() 105 this_request->task_context_buffer in scic_sds_stp_packet_request_construct() 109 &this_request->started_substate_machine, in scic_sds_stp_packet_request_construct() 110 &this_request->parent.parent, in scic_sds_stp_packet_request_construct() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/ata/ |
| H A D | ata-generic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ata/ata-generic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 13 Generic Parallel ATA controllers supporting PIO modes only. 18 - enum: 19 - arm,vexpress-cf 20 - fsl,mpc8349emitx-pata 21 - const: ata-generic [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/sound/ |
| H A D | renesas,rsnd.txt | 1 Renesas R-Car sound 7 Renesas R-Car and RZ/G sound is constructed from below modules 11 - SRC : Sampling Rate Converter 12 - CMD 13 - CTU : Channel Transfer Unit 14 - MIX : Mixer 15 - DVC : Digital Volume and Mute Function 25 Multi channel is supported by Multi-SSI, or TDM-SS [all...] |
| H A D | renesas,rsnd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car Sound Driver 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 17 - items: 18 - enum: 19 - renesas,rcar_sound-r8a7778 # R-Car M1A 20 - renesas,rcar_sound-r8a7779 # R-Car H1 21 - const: renesas,rcar_sound-gen1 [all …]
|
| /freebsd/sys/arm/include/ |
| H A D | blockio.h | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 33 * blockio.h - low level functions for bulk PIO data transfer
|
| /freebsd/sys/dev/ata/ |
| H A D | ata-lowlevel.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1998 - 2008 Søren Schmidt <sos@FreeBSD.org> 43 #include <dev/ata/ata-all.h> 44 #include <dev/ata/ata-pci.h> 69 ch->hw.begin_transaction = ata_begin_transaction; in ata_generic_hw() 70 ch->hw.end_transaction = ata_end_transaction; in ata_generic_hw() 71 ch->hw.status = ata_generic_status; in ata_generic_hw() 72 ch->hw.softreset = NULL; in ata_generic_hw() 73 ch->hw.command = ata_generic_command; in ata_generic_hw() [all …]
|
| /freebsd/sys/dev/aic7xxx/ |
| H A D | aic7xxx.seq | 1 /*- 4 * Copyright (c) 1994-2001 Justin T. Gibbs. 5 * Copyright (c) 2000-2001 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 58 * use byte 27 of the SCB as a pseudo-next pointer and to thread a list 59 * of SCBs that are awaiting selection. Since 0-0xfe are valid SCB indexes, 61 * this list every time a request sense occurs or after completing a non-tagged 76 if ((ahc->features & AHC_ULTRA2) != 0) { 80 if ((ahc->features & AHC_TWIN) != 0) { 88 if ((ahc->features & AHC_TWIN) != 0) { [all …]
|
| H A D | aic7xxx.reg | 1 /*- 4 * Copyright (c) 1994-2001 Justin T. Gibbs. 5 * Copyright (c) 2000-2001 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 47 * All page numbers refer to the Adaptec AIC-7770 Data Book available from 48 * Adaptec's Technical Documents Department 1-800-934-2766 52 * SCSI Sequence Control (p. 3-11). 69 * SCSI Transfer Control 0 Register (pp. 3-13). 85 * SCSI Transfer Control 1 Register (pp. 3-14,15). 101 * SCSI Control Signal Read Register (p. 3-15). [all …]
|
| H A D | aic79xx.seq | 1 /*- 4 * Copyright (c) 1994-2001, 2004 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 49 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { 56 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { 98 cmp SCB_NEXT_COMPLETE[1], SCB_LIST_NULL jne . - 1; 122 if ((ahd->bugs & AHD_FAINT_LED_BUG) != 0) { 126 * and re-selections. Make the LED status 157 * pending select-outs. [all …]
|
| /freebsd/share/man/man4/ |
| H A D | ata.4 | 34 .Bd -ragged -offset indent 42 .Bd -literal -offset indent 73 The next three lines are generic bus-specific drivers. 74 The rest are vendor-specific PCI drivers. 78 .Bl -ohang 93 .Bl -tag -width 4n -offset indent -compact 117 Most of the bus-management details are handled by the ATA/SATA-specific 129 Device hot-plug and SATA interface power management is supported only on 134 driver can change the transfer mode when the system is up and running. 142 driver sets the maximum transfer mode supported by the hardware as default. [all …]
|
| /freebsd/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_sdhci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 78 ((((NUM_DMA_SEGS * BCM_SDHCI_BUFFER_SIZE) - 1) / PAGE_SIZE) + 1) 83 ((slot)->curcmd->data->len - (slot)->offset) 121 .clock_src = -1, 131 .clock_src = -1, 138 {"broadcom,bcm2835-sdhci", (uintptr_t)&bcm2835_sdhci_conf}, 139 {"brcm,bcm2835-sdhci", (uintptr_t)&bcm2835_sdhci_conf}, 140 {"brcm,bcm2835-mmc", (uintptr_t)&bcm2835_sdhci_conf}, 141 {"brcm,bcm2711-emmc2", (uintptr_t)&bcm2838_emmc2_conf}, [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/mfd/ |
| H A D | atmel-usart.txt | 4 - compatible: Should be one of the following: 5 - "atmel,at91rm9200-usart" 6 - "atmel,at91sam9260-usart" 7 - "microchip,sam9x60-usart" 8 - "atmel,at91rm9200-dbgu", "atmel,at91rm9200-usart" 9 - "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart" 10 - "microchip,sam9x60-dbgu", "microchip,sam9x60-usart" 11 - reg: Should contain registers location and length 12 - interrupts: Should contain interrupt 13 - clock-names: tuple listing input clock names. [all …]
|
| /freebsd/sys/dev/hptmv/ |
| H A D | global.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2004-2005 HighPoint Technologies, Inc. 36 #define COPYRIGHT "(c) 2000-2007. HighPoint Technologies, Inc." 89 UCHAR bDeModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */ 90 UCHAR bDeUsable_Mode; /* actual maximum data transfer mode */ 125 #define _vbus_(x) (_vbus_p->x)
|
| /freebsd/sys/sys/ |
| H A D | ata.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2000 - 2008 Søren Schmidt <sos@FreeBSD.org> 46 #define ATA_ATAPI_TYPE_CDROM 0x0500 /* CD-ROM device */ 79 /*051*/ u_int16_t retired_piomode; /* PIO modes 0-2 */ 86 #define ATA_FLAG_54_58 0x0001 /* words 54-58 valid */ 87 #define ATA_FLAG_64_70 0x0002 /* words 64-70 valid */ 108 /*064*/ u_int16_t apiomodes; /* advanced PIO modes */ 112 /*067*/ u_int16_t pioblind; /* min. PIO cycle w/o flow */ 113 /*068*/ u_int16_t pioiordy; /* min. PIO cycle IORDY flow */ [all …]
|
| /freebsd/sys/cam/ |
| H A D | cam_ccb.h | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 129 /* Non-immediate function code */ 135 /* Common function commands: 0x00->0x0F */ 168 /* SCSI Control Functions: 0x10->0x1F */ 182 * Get default/user transfer settings 187 * Set transfer rate/width 227 /* HBA engine commands 0x20->0x2F */ 233 /* Target mode commands: 0x30->0x3F */ 256 /* Vendor Unique codes: 0x80->0x8F */ [all …]
|
| /freebsd/sys/dev/mvs/ |
| H A D | mvs.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 42 #define IC_HC0 0x000001ff /* bits 0-8 = HC0 */ 44 #define IC_HC1 (IC_HC0 << IC_HC_SHIFT) /* 9-17 = HC1 */ 58 #define IC_MAIN_RSVD (0xfe000000) /* bits 31-25 */ 59 #define IC_MAIN_RSVD_5 (0xfff10000) /* bits 31-19 */ 60 #define IC_MAIN_RSVD_SOC (0xfffffec0) /* bits 31-9, 7-6 */ 65 #define CHIP_SOC_HC0_MASK(num) (0xff >> ((4 - (num)) * 2)) 87 #define HC_RQOP 0x4 /* Request Queue Out-Pointer */ 88 #define HC_RQIP 0x8 /* Response Queue In-Pointer */ [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/usb/ |
| H A D | mediatek,mtu3.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Chunfeng Yun <chunfeng.yun@mediatek.com> 14 - $ref: usb-drd.yaml 23 - enum: 24 - mediatek,mt2712-mtu3 25 - mediatek,mt8173-mtu3 26 - mediatek,mt8183-mtu3 27 - mediatek,mt8186-mtu3 [all …]
|
| /freebsd/sys/powerpc/powermac/ |
| H A D | ata_kauai.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 48 #include <dev/ata/ata-all.h> 64 * Offset to alt-control register from base 74 * PIO and DMA access registers 136 { 0x0069106b, "Intrepid-2 Kauai ATA Controller" }, 141 * IDE transfer timings 221 bus_write_4(sc->sc_memr, DMA_IRQ_REG, 0x80000000); in ata_kauai_dma_interrupt() 241 if (compatstring != NULL && strcmp(compatstring,"shasta-ata") == 0) in ata_kauai_attach() 242 sc->shasta = 1; in ata_kauai_attach() [all …]
|
| /freebsd/sys/dev/hptrr/ |
| H A D | hptintf.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 69 * Logical device --- a device that can be accessed by OS. 70 * Physical device --- device attached to the controller. 93 * GUI will treat all array as 1-level RAID. No RAID0/1 or RAID1/0. 153 #define ARRAY_FLAG_NEED_AUTOREBUILD 0x00000080 /* auto-rebuild should start */ 208 #define HPT_CTL_CODE_LINUX_TO_IOP(x) ((x)-0xff00) 216 #define HPT_CTL_CODE_WIN32_TO_IOP(x) ((((x) & 0xffff)>>2)-0x900) 344 HPT_U8 SupportCrossControllerRAID; /* 1-support, 0-not support */ 453 typedef char check_CONTROLLER_INFO_V3[sizeof(CONTROLLER_INFO_V3)==256? 1:-1]; [all …]
|