Home
last modified time | relevance | path

Searched +full:cam +full:- +full:if (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/freebsd/sys/contrib/dev/rtw88/
H A Dsec.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2018-2019 Realtek Corporation
11 /* if default key search is enabled, the first 4 cam entries in rtw_sec_get_free_cam()
12 * are used to direct map to group key with its key->key_idx, so in rtw_sec_get_free_cam()
13 * driver should use cam entries after 4 to install pairwise key in rtw_sec_get_free_cam()
15 if (sec->default_key_search) in rtw_sec_get_free_cam()
16 return find_next_zero_bit(sec->cam_map, RTW_MAX_SEC_CAM_NUM, in rtw_sec_get_free_cam()
19 return find_first_zero_bit(sec->cam_map, RTW_MAX_SEC_CAM_NUM); in rtw_sec_get_free_cam()
28 struct rtw_cam_entry *cam = &sec->cam_table[hw_key_idx]; in rtw_sec_write_cam() local
35 set_bit(hw_key_idx, sec->cam_map); in rtw_sec_write_cam()
[all …]
/freebsd/share/man/man4/
H A Dsa.423 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
65 .Bl -enum
68 referred to as sub-mode 00 below.
84 .Sh SUB-MODES
86 .Sq sub-modes .
87 The sub-modes differ in the action taken when the device is closed:
88 .Bl -tag -width XXXX
90 A close will rewind the device; if the tape has been
112 block-size modes.
114 .Tn QIC Ns -type
[all …]
H A Dnda.423 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
41 supported by the CAM subsystem.
48 .Bl -tag -width 12
61 .It Va kern.cam.nda.nvd_compat
73 .It Va kern.cam.nda.sort_io_queue
78 .It Va kern.cam.nda.enable_biospeedup
79 This variable determines if the
97 .It Va kern.cam.nda.max_trim
106 The following report per-device settings, and are read-only unless
111 .Bl -tag -width 12
[all …]
H A Dpass.425 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 .Nd CAM application passthrough driver
39 driver provides a way for userland applications to issue CAM CCBs to the
44 driver allows direct access to the CAM subsystem, system administrators
74 .Bl -tag -width 5n
76 This ioctl takes most kinds of CAM CCBs and passes them through to the CAM
82 Some examples of xpt-only CCBs are XPT_SCAN_BUS,
97 the device in question is a passthrough device if they are issuing this
113 This ioctl takes most CAM CCBs, but some CCB types are not allowed through
117 Some examples of xpt-only CCBs are XPT_SCAN_BUS,
[all …]
H A Dda.423 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
43 The direct access class includes disk, magneto-optical,
44 and solid-state devices.
61 The read cache is used to store data from device-initiated read ahead
79 a file system is non-deterministic and can cause corruption.
82 recently reported as complete, but it is none-the-less recommended that
100 concurrently, often re-ordering them to reduce the number and length of
110 the Read-Write Error Recovery mode page.
114 respectively, of the Read-Write Error Recovery page.
133 .Bl -tag -width 12
[all …]
H A Dctl.42 .\" Copyright (c) 2015-2017 Alexander Motin <mav@FreeBSD.org>
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .Nd CAM Target Layer
35 .Bd -ragged -offset indent
42 .Bd -literal -offset indent
51 .Bl -bullet -compact
53 Disk, CD-ROM and processor device emulation
76 All I/O handled in-kernel, no userland context switch overhead
83 .Bl -tag -width cfumass
86 .Xr CAM 4
[all …]
H A Dxpt.425 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 .Nd CAM transport layer interface
39 driver provides a way for userland applications to issue certain CAM CCBs
44 driver allows direct access to the CAM subsystem, system administrators
57 per CAM transport layer instance.
58 Since there is currently only one CAM
61 .Bl -tag -width 01234567890123
63 This ioctl takes certain kinds of CAM CCBs and passes them through to the
68 .Bl -tag -width XPT_DEV_MATCH -compact
89 .Bl -tag -width /dev/xpt0 -compact
[all …]
/freebsd/sys/cam/ctl/
H A Dctl_tpc_local.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43 #include <cam/cam.h>
44 #include <cam/scsi/scsi_all.h>
45 #include <cam/scsi/scsi_da.h>
46 #include <cam/ctl/ctl_io.h>
47 #include <cam/ctl/ctl.h>
48 #include <cam/ctl/ctl_frontend.h>
49 #include <cam/ctl/ctl_util.h>
[all …]
H A Dctl_backend.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
29 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_backend.c#3 $
51 #include <cam/scsi/scsi_all.h>
52 #include <cam/scsi/scsi_da.h>
53 #include <cam/ctl/ctl_io.h>
54 #include <cam/ctl/ctl.h>
55 #include <cam/ctl/ctl_frontend.h>
56 #include <cam/ctl/ctl_backend.h>
[all …]
H A Dctl_frontend_cam_sim.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
29 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_frontend_cam_sim.c#4 $
35 * CTL frontend to CAM SIM interface. This allows access to CTL LUNs via
52 #include <cam/cam.h>
53 #include <cam/cam_ccb.h>
54 #include <cam/cam_sim.h>
55 #include <cam/cam_xpt_sim.h>
56 #include <cam/cam_xpt.h>
[all …]
H A Dctl_scsi_all.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_scsi_all.c#2 $
49 #include <cam/cam
[all...]
H A Dctl_frontend.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2014-2017 Alexander Motin <mav@FreeBSD.org>
30 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_frontend.c#4 $
36 * CAM Target Layer front end interface code
55 #include <cam/scsi/scsi_all.h>
56 #include <cam/scsi/scsi_da.h>
57 #include <cam/ctl/ctl_io.h>
58 #include <cam/ctl/ctl.h>
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Dcam.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2020 Realtek Corporation
5 #include "cam.h"
22 if (!skb) in rtw89_cam_get_sec_key_cmd()
30 key32[i] = FIELD_PREP(GENMASK(7, 0), sec_cam->key[j + 0]) | in rtw89_cam_get_sec_key_cmd()
31 FIELD_PREP(GENMASK(15, 8), sec_cam->ke in rtw89_cam_get_sec_key_cmd()
[all...]
/freebsd/sys/cam/
H A Dcam_sim.c1 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38 #include <cam/cam.h>
39 #include <cam/cam_ccb.h>
40 #include <cam/cam_queue.h>
41 #include <cam/cam_sim.h>
42 #include <cam/cam_xpt.h>
44 #define CAM_PATH_ANY (uint32_t)-1
46 static MALLOC_DEFINE(M_CAMSIM, "CAM SIM", "CAM SIM buffers");
[all …]
H A Dcam_queue.c1 /*-
2 * CAM request queue management functions.
4 * SPDX-License-Identifier: BSD-2-Clause
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 #include <cam/cam.h>
38 #include <cam/cam_ccb.h>
39 #include <cam/cam_queue.h>
40 #include <cam/cam_debug.h>
42 static MALLOC_DEFINE(M_CAMQ, "CAM queue", "CAM queue buffers");
43 static MALLOC_DEFINE(M_CAMDEVQ, "CAM dev queue", "CAM dev queue buffers");
[all …]
H A DREADME.quirks4 Nate Lawson - njl at freebsd org
17 involving CAM and UMASS but is applicable to other areas.
19 CAM provides a generic transport for SCSI-like devices. Many different
23 and RBC. SCSI hard drives are usually SBC-compliant and smaller
24 devices like flash drives are usually RBC-compliant. Multimedia
25 devices including CDROMs and DVD-RW are usually MMC-compliant.
28 as possible. If you are a committer, please do NOT commit quirks
33 The first step is to determine what's wrong. If the device should
37 * cam/cam_xpt.c quirks
39 o CAM_QUIRK_NOLUNS - do not probe luns other than 0 since device
[all …]
/freebsd/usr.bin/iscsictl/
H A Dperiphs.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 1997-2007 Kenneth D. Merry
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
50 #include <cam/cam.h>
51 #include <cam/cam_debug.h>
52 #include <cam/cam_ccb.h>
53 #include <cam/scsi/scsi_all.h>
54 #include <cam/scsi/scsi_da.h>
55 #include <cam/scsi/scsi_pass.h>
[all …]
/freebsd/lib/libcam/
H A Dcam.325 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
45 .Nd CAM user library
121 The CAM library consists of a number of functions designed to aid in
122 programming with the CAM subsystem described in
123 .Xr cam 4 .
129 Many of the CAM library functions use the
132 .Bd -literal
138 * null if the user
204 The user may supply pre-allocated space for the
225 argument is the CAM equivalent of a SCSI bus number.
[all …]
/freebsd/sys/cam/nvme/
H A Dnvme_all.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
48 #include <cam/cam.h>
49 #include <cam/cam_ccb.h>
50 #include <cam/cam_queue.h>
51 #include <cam/cam_xpt.h>
52 #include <cam/nvme/nvme_all.h>
57 #include <cam/cam_periph.h>
58 #include <cam/cam_xpt_sim.h>
[all …]
/freebsd/sys/dev/mpt/
H A Dmpt_cam.h1 /*-
2 * LSI MPT Host Adapter FreeBSD Wrapper Definitions (CAM version)
4 * SPDX-License-Identifier: BSD-2-Clause AND BSD-3-Clause
29 /*-
56 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF THE COPYRIGHT
62 * Support from LSI-Logic has also gone a great deal toward making this a
65 /*-
94 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF THE COPYRIGHT
100 #include <cam/cam.h>
101 #include <cam/cam_debug.h>
[all …]
/freebsd/sys/dev/nvmf/host/
H A Dnvmf_sim.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2023-2024 Chelsio Communications, Inc.
13 #include <cam/cam.h>
14 #include <cam/cam_ccb.h>
15 #include <cam/cam_sim.h>
16 #include <cam/cam_xpt_sim.h>
17 #include <cam/cam_debug.h>
22 * The I/O completion may trigger after the received CQE if the I/O
23 * used a zero-copy mbuf that isn't harvested until after the NIC
[all …]
/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_includes.h1 /*-
2 * Copyright 2016-2023 Microchip Technology, Inc. and/or its subsidiaries.
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
58 #include <cam/cam.h>
59 #include <cam/cam_ccb.h>
60 #include <cam/cam_debug.h>
61 #include <cam/cam_periph.h>
62 #include <cam/cam_sim.h>
63 #include <cam/cam_xpt_sim.h>
64 #include <cam/scsi/scsi_all.h>
[all …]
/freebsd/tools/tools/vhba/
H A Dvhba.h1 /*-
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
48 #include <cam/cam.h>
49 #include <cam/cam_debug.h>
50 #include <cam/cam_ccb.h>
51 #include <cam/cam_sim.h>
52 #include <cam/cam_xpt.h>
53 #include <cam/cam_xpt_sim.h>
54 #include <cam/cam_debug.h>
55 #include <cam/scsi/scsi_all.h>
[all …]
/freebsd/sys/cam/mmc/
H A Dmmc_sim_if.m1 #-
2 # SPDX-License-Identifier: BSD-2-Clause
24 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 #include <cam/cam.h>
32 #include <cam/cam_ccb.h>
33 #include <cam/cam_debug.h>
34 #include <cam/cam_sim.h>
35 #include <cam/cam_xpt_sim.h>
36 #include <cam/mmc/mmc_sim.h>
H A Dmmc_sim.c1 /*-
2 * Copyright (c) 2020-2021 Emmanuel Vadot <manu@FreeBSD.org>
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 #include <cam/cam.h>
33 #include <cam/cam_ccb.h>
34 #include <cam/cam_debug.h>
35 #include <cam/cam_sim.h>
36 #include <cam/cam_xpt_sim.h>
37 #include <cam/mmc/mmc_sim.h>
47 MMC_SIM_CAM_POLL(mmc_sim->dev); in mmc_cam_default_poll()
[all …]

12345678910>>...20