/freebsd/sys/contrib/dev/rtw88/ |
H A D | sec.c | 1 // 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 D | sa.4 | 65 .Bl -enum 68 referred to as sub-mode 00 below. 84 .Sh SUB-MODES 85 Bits 0 and 1 of the minor number are interpreted as 86 .Sq sub-modes . 87 The sub-modes differ in the action taken when the device is closed: 88 .Bl -tag -width XXXX 112 block-size modes. 114 .Tn QIC Ns -type 115 devices run in fixed block-size mode, where most nine-track tapes and [all …]
|
H A D | nda.4 | 41 supported by the CAM subsystem. 48 .Bl -tag -width 12 54 device nodes for block storage when set to 0. 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 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 112 .It Va kern.cam.nda.N.rotating [all …]
|
H A D | ctl.4 | 2 .\" Copyright (c) 2015-2017 Alexander Motin <mav@FreeBSD.org> 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 90 .Xr CAM 4 [all …]
|
H A D | ada.4 | 40 supported by the CAM subsystem. 47 concurrently, often re-ordering them to reduce the number and length of 68 The read cache is used to store data from device-initiated read ahead 83 a file system is non-deterministic and can cause corruption. 101 .Bl -tag -width 12 102 .It Va kern.cam.ada.retry_count 112 .It Va kern.cam.ada.default_timeout 119 .It Va kern.cam.ada.spindown_shutdown 121 This variable determines whether to spin-down disks when shutting down. 122 Set to 1 to enable spin-down, 0 to disable. [all …]
|
H A D | da.4 | 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 134 .It Va kern.cam.da.default_timeout [all …]
|
/freebsd/sys/cam/ctl/ |
H A D | ctl_tpc_local.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 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> 50 #include <cam/ctl/ctl_backend.h> [all …]
|
H A D | ctl_backend.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 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> 57 #include <cam/ctl/ctl_ioctl.h> [all …]
|
H A D | ctl_scsi_all.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 31 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_scsi_all.c#2 $ 49 #include <cam/cam.h> 50 #include <cam/cam_cc [all...] |
H A D | ctl_frontend_cam_sim.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 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> 57 #include <cam/cam_periph.h> [all …]
|
H A D | ctl_frontend.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2014-2017 Alexander Motin <mav@FreeBSD.org> 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> 59 #include <cam/ctl/ctl_frontend.h> [all …]
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | cam.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2019-2020 Realtek Corporation 5 #include "cam.h" 27 for (i = 0; i < 4; i++) { in rtw89_cam_get_sec_key_cmd() 29 j += ext_key ? 16 : 0; in rtw89_cam_get_sec_key_cmd() 30 key32[i] = FIELD_PREP(GENMASK(7, 0), sec_ca in rtw89_cam_get_sec_key_cmd() [all...] |
/freebsd/tools/tools/vhba/ |
H A D | vhba.h | 1 /*- 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> 56 #include <cam/scsi/scsi_message.h> [all …]
|
/freebsd/sys/cam/ |
H A D | cam_sim.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 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"); 49 MTX_SYSINIT(cam_sim_free_init, &cam_sim_free_mtx, "CAM SIM free lock", MTX_DEF); [all …]
|
H A D | cam_queue.c | 1 /*- 2 * CAM request queue management functions. 4 * SPDX-License-Identifier: BSD-2-Clause 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"); 44 static MALLOC_DEFINE(M_CAMCCBQ, "CAM ccb queue", "CAM ccb queue buffers"); [all …]
|
/freebsd/usr.bin/iscsictl/ |
H A D | periphs.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 1997-2007 Kenneth D. Merry 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> 56 #include <cam/scsi/scsi_message.h> [all …]
|
/freebsd/sys/cam/nvme/ |
H A D | nvme_all.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 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> 59 #include <cam/cam_xpt_periph.h> [all …]
|
/freebsd/lib/libcam/ |
H A D | cam.3 | 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 204 The user may supply pre-allocated space for the 225 argument is the CAM equivalent of a SCSI bus number. 244 in must be that of a CAM 259 if the user wants the CAM library to allocate space for the [all …]
|
/freebsd/sys/dev/hpt27xx/ |
H A D | os_bsd.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2005-2011 HighPoint Technologies, Inc. 35 #define DBG 0 71 #include <cam/cam.h> 72 #include <cam/cam_ccb.h> 73 #include <cam/cam_sim.h> 74 #include <cam/cam_xpt_sim.h> 75 #include <cam/cam_debug.h> 76 #include <cam/cam_xpt_periph.h> [all …]
|
/freebsd/sys/dev/hptnr/ |
H A D | os_bsd.h | 2 /*- 3 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (C) 2005-2011 HighPoint Technologies, Inc. All Rights Reserved. 37 #define DBG 0 73 #include <cam/cam.h> 74 #include <cam/cam_ccb.h> 75 #include <cam/cam_sim.h> 76 #include <cam/cam_xpt_sim.h> 77 #include <cam/cam_debug.h> 78 #include <cam/cam_xpt_periph.h> [all …]
|
/freebsd/sys/dev/mpt/ |
H A D | mpt_cam.h | 1 /*- 2 * LSI MPT Host Adapter FreeBSD Wrapper Definitions (CAM version) 4 * SPDX-License-Identifier: BSD-2-Clause AND BSD-3-Clause 29 /*- 62 * Support from LSI-Logic has also gone a great deal toward making this a 65 /*- 100 #include <cam/cam.h> 101 #include <cam/cam_debug.h> 102 #include <cam/cam_ccb.h> 103 #include <cam/cam_sim.h> [all …]
|
/freebsd/sys/dev/nvmf/host/ |
H A D | nvmf_sim.c | 1 /*- 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> 23 * used a zero-copy mbuf that isn't harvested until after the NIC 31 return ((u_int *)&ccb->ccb_h.spriv_field0); in ccb_refs() [all …]
|
/freebsd/sys/dev/hptrr/ |
H A D | os_bsd.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 39 #define DBG 0 74 #include <cam/cam.h> 75 #include <cam/cam_ccb.h> 76 #include <cam/cam_sim.h> 77 #include <cam/cam_xpt_sim.h> 78 #include <cam/cam_debug.h> 79 #include <cam/cam_periph.h> 80 #include <cam/scsi/scsi_all.h> [all …]
|
/freebsd/sys/dev/hptmv/ |
H A D | osbsd.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2004-2005 HighPoint Technologies, Inc. 46 #include <cam/cam.h> 47 #include <cam/cam_ccb.h> 48 #include <cam/cam_debug.h> 49 #include <cam/cam_sim.h> 50 #include <cam/cam_xpt_sim.h> 51 #include <cam/cam_periph.h> 53 #include <cam/scsi/scsi_all.h> [all …]
|
/freebsd/sys/cam/mmc/ |
H A D | mmc_sim.c | 1 /*- 2 * Copyright (c) 2020-2021 Emmanuel Vadot <manu@FreeBSD.org> 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() 59 if (mmc_sim->ccb == NULL) in mmc_sim_task() [all …]
|