Home
last modified time | relevance | path

Searched +full:reset +full:- +full:n +full:- +full:io (Results 1 – 25 of 515) sorted by relevance

12345678910>>...21

/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DObjectYAML.cpp1 //===- ObjectYAML.cpp - YAML utilities for object files --------
22 mapping(IO & IO,YamlObjectFile & ObjectFile) mapping() argument
72 } else if (const Node *N = In.getCurrentNode()) { mapping() local
[all...]
H A DELFYAML.cpp1 //===- ELFYAML.cpp - ELF YAMLIO implementation ----------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
47 IO &IO, ELFYAML::ELF_ET &Value) { in enumeration() argument
48 #define ECase(X) IO.enumCase(Value, #X, ELF::X) in enumeration()
55 IO.enumFallback<Hex16>(Value); in enumeration()
59 IO &IO, ELFYAML::ELF_PT &Value) { in enumeration() argument
60 #define ECase(X) IO.enumCase(Value, #X, ELF::X) in enumeration()
74 IO.enumFallback<Hex32>(Value); in enumeration()
[all …]
/freebsd/sys/dev/isci/scil/
H A Dscif_sas_controller_state_handlers.c1 /*-
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.
80 * @brief This method simply executes the reset operation by entering
81 * the reset state and allowing the state to perform it's work.
84 * controller for execute the reset.
86 * @return Indicate the status of the reset operation. Was it successful?
87 * @retval SCI_SUCCESS This value is returned if it was successfully reset.
[all …]
H A Dscif_sas_domain_state_handlers.c1 /*-
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.
63 * - The discover method must be synchronized with the
81 //* S T A R T I N G H A N D L E R S
92 "scif_sas_domain_starting_port_ready_handler(0x%x) enter\n", in scif_sas_domain_starting_port_ready_handler()
99 &domain->state_machine, SCI_BASE_DOMAIN_STATE_READY in scif_sas_domain_starting_port_ready_handler()
106 //* R E A D Y H A N D L E R S
[all …]
H A Dscif_sas_remote_device_state_handlers.c1 /*-
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.
72 //* S T O P P E D H A N D L E R S
97 &fw_device->parent.state_machine, SCI_BASE_REMOTE_DEVICE_STATE_STARTING in scif_sas_remote_device_stopped_start_handler()
101 if (sci_base_state_machine_get_state(&fw_device->parent.state_machine) in scif_sas_remote_device_stopped_start_handler()
107 "Domain:0x%x Device:0x%x Status:0x%x failed to start\n", in scif_sas_remote_device_stopped_start_handler()
108 fw_device->domain, fw_device, fw_device->operation_status in scif_sas_remote_device_stopped_start_handler()
[all …]
H A Dscic_sds_remote_device.c1 /*-
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.
92 // ---------------------------------------------------------------------------
109 "scic_remote_device_construct(0x%x, 0x%x, 0x%x) enter\n", in scic_remote_device_construct()
116 this_device->owning_port = the_port; in scic_remote_device_construct()
117 this_device->started_request_count = 0; in scic_remote_device_construct()
118 this_device->rnc = (SCIC_SDS_REMOTE_NODE_CONTEXT_T *) in scic_remote_device_construct()
[all …]
H A Dscic_sds_controller.c1 /*-
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.
133 (((U32)(SMU_CQGR_CYCLE_BIT & (x))) << (31 - SMU_COMPLETION_QUEUE_GET_CYCLE_BIT_SHIFT))
154 (controller)->completion_queue_entries, \
167 (controller)->completion_event_entries, \
171 //****************************************************************************-
173 //****************************************************************************-
[all …]
H A Dscif_sas_smp_remote_device.c1 /*-
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.
87 //reset all fields in smp_device, indicate that the smp device is not in scif_sas_smp_remote_device_clear()
89 fw_device->protocol_device.smp_device.current_activity = in scif_sas_smp_remote_device_clear()
92 fw_device->protocol_device.smp_device.current_smp_request = in scif_sas_smp_remote_device_clear()
95 fw_device->protocol_device.smp_device.current_activity_phy_index = 0; in scif_sas_smp_remote_device_clear()
97 fw_device->protocol_device.smp_device.curr_config_route_index = 0; in scif_sas_smp_remote_device_clear()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/nfc/
H A Dnfcmrvl.txt4 - compatible: Should be:
5 - "marvell,nfc-uart" or "mrvl,nfc-uart" for UART devices
6 - "marvell,nfc-i2c" for I2C devices
7 - "marvell,nfc-spi" for SPI devices
10 - pinctrl-names: Contains only one value - "default".
11 - pintctrl-0: Specifies the pin control groups used for this controller.
12 - reset-n-io: Output GPIO pin used to reset the chip (active low).
13 - hci-muxed: Specifies that the chip is muxing NCI over HCI frames.
15 Optional UART-based chip specific properties:
16 - flow-control: Specifies that the chip is using RTS/CTS.
[all …]
H A Dmarvell,nci.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schema
[all...]
/freebsd/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-ampere-mtmitchell.dts1 // SPDX-License-Identifier: GPL-2.0-only
4 /dts-v1/;
6 #include "aspeed-g6.dtsi"
7 #include <dt-bindings/i2c/i2c.h>
8 #include <dt-bindings/gpio/aspeed-gpio.h>
12 compatible = "ampere,mtmitchell-bmc", "aspeed,ast2600";
27 * i2c bus 30-31 assigned to OCP slot 0-1
33 * i2c bus 32-33 assigned to Riser slot 0-1
39 * i2c bus 38-39 assigned to FRU on Riser slot 0-1
82 stdout-path = &uart5;
[all …]
H A Daspeed-bmc-ampere-mtjade.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
8 compatible = "ampere,mtjade-bmc", "aspeed,ast2500";
12 * i2c bus 50-57 assigned to NVMe slot 0-7
24 * i2c bus 60-67 assigned to NVMe slot 8-15
36 * i2c bus 70-77 assigned to NVMe slot 16-23
48 * i2c bus 80-81 assigned to NVMe M2 slot 0-1
60 stdout-path = &uart5;
[all …]
/freebsd/sys/dev/isci/
H A Disci_task_request.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
50 * the IO request operation. SCI_TASK_SUCCESS indicates
88 * a hard device reset. in scif_cb_task_request_get_lun()
118 * @brief This method returns the task management IO tag to be managed.
126 * @return This method returns an unsigned 16-bit word depicting the IO
138 * address of the response data buffer for the supplied IO request.
145 * associated with this IO request.
153 return (&task_request->sense_data); in scif_cb_task_request_get_response_data_address()
[all …]
/freebsd/sys/dev/ocs_fc/
H A Docs_hw.c1 /*-
36 * the details of the underlying SLI-4 implementation.
44 * @defgroup io IO Functions
65 /* max command and response buffer lengths -- arbitrary at the moment */
88 static void ocs_hw_io_quarantine(ocs_hw_t *hw, hw_wq_t *wq, ocs_hw_io_t *io);
153 ocs_hw_set_io_wqe_timeout(ocs_hw_io_t *io, uint32_t timeout) in ocs_hw_set_io_wqe_timeout() argument
156 io->wqe_timeout = timeout; in ocs_hw_set_io_wqe_timeout()
164 ocs_hw_add_io_timed_wqe(ocs_hw_t *hw, ocs_hw_io_t *io) in ocs_hw_add_io_timed_wqe() argument
166 if (hw->config.emulate_wqe_timeout && io->wqe_timeout) { in ocs_hw_add_io_timed_wqe()
171 ocs_lock(&hw->io_lock); in ocs_hw_add_io_timed_wqe()
[all …]
/freebsd/sys/cam/ctl/
H A Dctl_util.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
32 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_util.c#2 $
87 {CTL_TASK_I_T_NEXUS_RESET, "I_T Nexus Reset"},
88 {CTL_TASK_LUN_RESET, "LUN Reset"},
89 {CTL_TASK_TARGET_RESET, "Target Reset"},
90 {CTL_TASK_BUS_RESET, "Bus Reset"},
98 ctl_scsi_tur(union ctl_io * io,ctl_tag_type tag_type,uint8_t control) ctl_scsi_tur() argument
122 ctl_scsi_inquiry(union ctl_io * io,uint8_t * data_ptr,int32_t data_len,uint8_t byte2,uint8_t page_code,ctl_tag_type tag_type,uint8_t control) ctl_scsi_inquiry() argument
152 ctl_scsi_request_sense(union ctl_io * io,uint8_t * data_ptr,int32_t data_len,uint8_t byte2,ctl_tag_type tag_type,uint8_t control) ctl_scsi_request_sense() argument
181 ctl_scsi_report_luns(union ctl_io * io,uint8_t * data_ptr,uint32_t data_len,uint8_t select_report,ctl_tag_type tag_type,uint8_t control) ctl_scsi_report_luns() argument
210 ctl_scsi_read_write_buffer(union ctl_io * io,uint8_t * data_ptr,uint32_t data_len,int read_buffer,uint8_t mode,uint8_t buffer_id,uint32_t buffer_offset,ctl_tag_type tag_type,uint8_t control) ctl_scsi_read_write_buffer() argument
249 ctl_scsi_read_write(union ctl_io * io,uint8_t * data_ptr,uint32_t data_len,int read_op,uint8_t byte2,int minimum_cdb_size,uint64_t lba,uint32_t num_blocks,ctl_tag_type tag_type,uint8_t control) ctl_scsi_read_write() argument
350 ctl_scsi_write_same(union ctl_io * io,uint8_t * data_ptr,uint32_t data_len,uint8_t byte2,uint64_t lba,uint32_t num_blocks,ctl_tag_type tag_type,uint8_t control) ctl_scsi_write_same() argument
381 ctl_scsi_read_capacity(union ctl_io * io,uint8_t * data_ptr,uint32_t data_len,uint32_t addr,int reladr,int pmi,ctl_tag_type tag_type,uint8_t control) ctl_scsi_read_capacity() argument
410 ctl_scsi_read_capacity_16(union ctl_io * io,uint8_t * data_ptr,uint32_t data_len,uint64_t addr,int reladr,int pmi,ctl_tag_type tag_type,uint8_t control) ctl_scsi_read_capacity_16() argument
442 ctl_scsi_mode_sense(union ctl_io * io,uint8_t * data_ptr,uint32_t data_len,int dbd,int llbaa,uint8_t page_code,uint8_t pc,uint8_t subpage,int minimum_cdb_size,ctl_tag_type tag_type,uint8_t control) ctl_scsi_mode_sense() argument
490 ctl_scsi_start_stop(union ctl_io * io,int start,int load_eject,int immediate,int power_conditions,ctl_tag_type tag_type,uint8_t control) ctl_scsi_start_stop() argument
519 ctl_scsi_sync_cache(union ctl_io * io,int immed,int reladr,int minimum_cdb_size,uint64_t starting_lba,uint32_t block_count,ctl_tag_type tag_type,uint8_t control) ctl_scsi_sync_cache() argument
570 ctl_scsi_persistent_res_in(union ctl_io * io,uint8_t * data_ptr,uint32_t data_len,int action,ctl_tag_type tag_type,uint8_t control) ctl_scsi_persistent_res_in() argument
596 ctl_scsi_persistent_res_out(union ctl_io * io,uint8_t * data_ptr,uint32_t data_len,int action,int type,uint64_t key,uint64_t sa_key,ctl_tag_type tag_type,uint8_t control) ctl_scsi_persistent_res_out() argument
654 ctl_scsi_maintenance_in(union ctl_io * io,uint8_t * data_ptr,uint32_t data_len,uint8_t action,ctl_tag_type tag_type,uint8_t control) ctl_scsi_maintenance_in() argument
681 union ctl_io *io; ctl_scsi_alloc_io() local
694 ctl_scsi_free_io(union ctl_io * io) ctl_scsi_free_io() argument
700 ctl_scsi_zero_io(union ctl_io * io) ctl_scsi_zero_io() argument
729 ctl_io_sbuf(union ctl_io * io,struct sbuf * sb) ctl_io_sbuf() argument
768 ctl_io_error_sbuf(union ctl_io * io,struct scsi_inquiry_data * inq_data,struct sbuf * sb) ctl_io_error_sbuf() argument
809 ctl_io_string(union ctl_io * io,char * str,int str_len) ctl_io_string() argument
820 ctl_io_error_string(union ctl_io * io,struct scsi_inquiry_data * inq_data,char * str,int str_len) ctl_io_error_string() argument
834 ctl_io_print(union ctl_io * io) ctl_io_print() argument
842 ctl_io_error_print(union ctl_io * io,struct scsi_inquiry_data * inq_data) ctl_io_error_print() argument
851 ctl_data_print(union ctl_io * io) ctl_data_print() argument
884 ctl_io_error_print(union ctl_io * io,struct scsi_inquiry_data * inq_data,FILE * ofile) ctl_io_error_print() argument
[all...]
/freebsd/sys/dev/pms/RefTisa/tisa/sassata/common/
H A Dtdmisc.c2 *Copyright (c) 2014 PMC-Sierra, Inc. All rights reserved.
101 tdsaRoot_t *tdsaRoot = (tdsaRoot_t *) tiRoot->tdData; in tiINIIOAbort()
102 tdsaContext_t *tdsaAllShared = (tdsaContext_t *)&tdsaRoot->tdsaAllShared; in tiINIIOAbort()
121 TI_DBG2(("tiINIIOAbort: start\n")); in tiINIIOAbort()
125 TI_DBG1(("tiINIIOAbort: taskTag is NULL\n")); in tiINIIOAbort()
129 agRoot = &(tdsaAllShared->agRootNonInt); in tiINIIOAbort()
130 tdIORequestBody = (tdIORequestBody_t *)taskTag->tdData; in tiINIIOAbort()
131 agIORequest = &(tdIORequestBody->agIORequest); in tiINIIOAbort()
132 oneDeviceData = tdIORequestBody->tiDevHandle->tdData; in tiINIIOAbort()
136 TI_DBG1(("tiINIIOAbort: DeviceData is NULL\n")); in tiINIIOAbort()
[all …]
/freebsd/sys/dev/sound/pci/
H A Dcsamidi.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2015-2018 Tai-hwa Liang <avatar@FreeBSD.org>
70 int io_rid; /* io rid */
71 struct resource *io; /* io */
72 struct resource *io; /* io */ global() member
[all...]
/freebsd/sys/dev/mfi/
H A Dmfi_tbolt.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
8 * Copyright 1994-2009 The FreeBSD Project.
88 0, "Force a firmware reset condition");
145 * mfi_tbolt_adp_reset - For controller reset
168 device_printf(sc->mfi_dev, "ADP_RESET_TBOLT: retry time=%d, " in mfi_tbolt_adp_reset()
169 "hostdiag=%#x\n", retry, HostDiag); in mfi_tbolt_adp_reset()
175 device_printf(sc->mfi_dev, "ADP_RESET_TBOLT: HostDiag=%#x\n", HostDiag); in mfi_tbolt_adp_reset()
187 device_printf(sc->mfi_dev, "ADP_RESET_TBOLT: retry time=%d, " in mfi_tbolt_adp_reset()
188 "hostdiag=%#x\n", retry, HostDiag); in mfi_tbolt_adp_reset()
[all …]
/freebsd/usr.sbin/bhyve/
H A Dpci_virtio_block.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright 2020-2021 Joyent, Inc.
74 #define VTBLK_F_RO (1 << 5) /* Disk is read-only */
77 #define VTBLK_F_FLUSH (1 << 9) /* Writeback mode enabled after reset */
81 #define VTBLK_F_MQ (1 << 12) /* Multi-Queue */
139 * Fixed-size block header
182 * Per-device softc
227 DPRINTF(("vtblk: device reset requested !")); in pci_vtblk_reset()
228 vi_reset_dev(&sc->vbsc_vs); in pci_vtblk_reset()
[all …]
/freebsd/sys/dev/pms/freebsd/driver/ini/src/
H A Dosapi.c2 *Copyright (c) 2014 PMC-Sierra, Inc. All rights reserved.
24 PMC-Sierra TISA Initiator Device Driver for Linux 2.x.x.
63 AGTIAPI_PRINTK("Initiator Event:\n"); in ostiInitiatorEvent()
64 AGTIAPI_PRINTK("DevHandle %p, eventType 0x%x, eventStatus 0x%x\n", in ostiInitiatorEvent()
66 AGTIAPI_PRINTK("Parameter: %s\n", (char *)parm); in ostiInitiatorEvent()
69 AGTIAPI_PRINTK("ostiInitiatorEvent: eventType 0x%x eventStatus 0x%x\n", eventType, eventStatus); in ostiInitiatorEvent()
76 AGTIAPI_PRINTK("tiIntrEventTypeCnxError - tiCnxUp!\n"); in ostiInitiatorEvent()
80 AGTIAPI_PRINTK("tiIntrEventTypeCnxError - tiCnxDown!\n"); in ostiInitiatorEvent()
85 pCard->flags |= AGTIAPI_CB_DONE; in ostiInitiatorEvent()
88 AGTIAPI_PRINTK("eventStatus - tiDiscOK\n"); in ostiInitiatorEvent()
[all …]
/freebsd/sys/dev/exca/
H A Dexca.c1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause AND BSD-2-Clause
4 * Copyright (c) 2002-2005 M. Warner Losh <imp@FreeBSD.org>
91 "Intel i82365SL-A/B or clone",
92 "Intel i82365sl-D
457 struct pccard_io_handle *io; exca_do_io_map() local
[all...]
/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_init.c1 /*-
2 * Copyright 2016-2023 Microchip Technology, Inc. and/or its subsidiaries.
37 DBG_FUNC("IN\n"); in pqisrc_report_pqi_capability()
48 DBG_ERR("Failed to allocate memory for capability\n"); in pqisrc_report_pqi_capability()
62 DBG_ERR("Failed to allocate capability DMA buffer : %d\n", ret); in pqisrc_report_pqi_capability()
78 DBG_ERR("Failed to send admin req report pqi device capability\n"); in pqisrc_report_pqi_capability()
83 softs->pqi_dev_cap.max_iqs = capability->max_iqs; in pqisrc_report_pqi_capability()
84 softs->pqi_dev_cap.max_iq_elements = capability->max_iq_elements; in pqisrc_report_pqi_capability()
85 softs->pqi_dev_cap.max_iq_elem_len = capability->max_iq_elem_len; in pqisrc_report_pqi_capability()
86 softs->pqi_dev_cap.min_iq_elem_len = capability->min_iq_elem_len; in pqisrc_report_pqi_capability()
[all …]
/freebsd/sbin/nvmecontrol/tests/
H A Dbasic.sh1 # SPDX-License-Identifier: BSD-2-Clause
35 TEST_DEV=$(cd /dev/; ls -1 nvme[0-9]* 2> /dev/null | grep -E 'nvme[0-9][0-9]*$' | head -n 1)
36 TEST_DEV=${TEST_DEV:-nvme0}
38 INV_OPT="-z"
39 INV_OPT_MSG="invalid option -- z"
52 if [ -d ${libdir} ] ; then
54 atf_check -s not-exit:0 -o ignore -e match:"Can't load ${fakelib}" nvmecontrol
55 rm -f ${fakelib}
62 rm -f /lib/nvmecontrol/fake.so
75 if [ -d ${libdir} ] ; then
[all …]
/freebsd/sys/dev/usb/storage/
H A Dcfumass.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
32 * USB Mass Storage Class Bulk-Only (BBB) Transport target.
106 #define UR_RESET 0xff /* Bulk-Only Mass Storage Reset */
279 static void cfumass_datamove(union ctl_io *io);
280 static void cfumass_done(union ctl_io *io);
292 device_printf(S->sc_dev, "%s: " X "\n", \
300 device_printf(S->sc_dev, "WARNING: %s: " X "\n",\
305 #define CFUMASS_LOCK(X) mtx_lock(&X->sc_mtx)
306 #define CFUMASS_UNLOCK(X) mtx_unlock(&X->sc_mtx)
[all …]
/freebsd/sys/fs/tarfs/
H A Dtarfs_io.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2022-2023 Klara, Inc.
79 if (req->newptr != NULL) { in tarfs_sysctl_handle_zio_reset()
89 SYSCTL_PROC(_vfs_tarfs_zio, OID_AUTO, reset,
92 "Reset compression counters.");
120 off_t off = uiop->uio_offset; in tarfs_io_read()
121 size_t len = uiop->uio_resid; in tarfs_io_read()
124 if (raw || tmp->znode == NULL) { in tarfs_io_read()
125 rl = vn_rangelock_rlock(tmp->vp, off, off + len); in tarfs_io_read()
[all …]

12345678910>>...21