/freebsd-src/sys/contrib/device-tree/Bindings/mtd/partitions/ |
H A D | fixed-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/fixed-partitions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Fixed partitions 12 on-flash partition table such as RedBoot. 14 The partition table should be a node named "partitions". Partitions are then 18 - Rafał Miłecki <rafal@milecki.pl> 23 - const: fixed-partitions 24 - items: [all …]
|
/freebsd-src/sys/dev/mmc/ |
H A D | mmcsd.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 35 * Group. This Simplified Specification is provided on a non-confidential 38 * Association, SD Group, SD-3C LLC or other third parties. 44 * is provided "AS-IS" without any representations or warranties of any 45 * kind. No responsibility is assumed by the SD Group, SD-3C LLC or the SD 47 * right of the SD Group, SD- 101 struct mmcsd_softc *sc; global() member 230 struct mmcsd_softc *sc; mmcsd_attach() local 478 mmcsd_add_part(struct mmcsd_softc * sc,u_int type,const char * name,u_int cnt,off_t media_size,bool ro) mmcsd_add_part() argument 623 struct mmcsd_softc *sc; mmcsd_slicer() local 650 struct mmcsd_softc *sc = device_get_softc(dev); mmcsd_detach() local 706 struct mmcsd_softc *sc = device_get_softc(dev); mmcsd_shutdown() local 716 struct mmcsd_softc *sc = device_get_softc(dev); mmcsd_suspend() local 753 struct mmcsd_softc *sc = device_get_softc(dev); mmcsd_resume() local 783 struct mmcsd_softc *sc; mmcsd_close() local 878 struct mmcsd_softc *sc; mmcsd_ioctl_cmd() local 1088 mmcsd_set_blockcount(struct mmcsd_softc * sc,u_int count,bool reliable) mmcsd_set_blockcount() argument 1109 struct mmcsd_softc *sc; mmcsd_switch_part() local 1169 struct mmcsd_softc *sc; mmcsd_rw() local 1242 struct mmcsd_softc *sc; mmcsd_delete() local 1377 struct mmcsd_softc *sc; mmcsd_dump() local 1422 struct mmcsd_softc *sc; mmcsd_task() local 1510 mmcsd_flush_cache(struct mmcsd_softc * sc) mmcsd_flush_cache() argument [all...] |
/freebsd-src/sys/cam/mmc/ |
H A D | mmc_da.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2015-2017 Ilya Bakulin <kibab@FreeBSD.org> All rights reserved. 106 struct sdda_softc *sc; 132 char card_sn_string[16];/* Formatted serial # for disk->d_ident */ 141 /* MMC partitions support */ 236 return periph->pat in get_rca() 104 struct sdda_softc *sc; global() member 399 mmc_format_card_id_string(struct sdda_softc * sc,struct mmc_params * mmcp) mmc_format_card_id_string() argument 1507 struct sdda_softc *sc = (struct sdda_softc *)periph->softc; sdda_add_part() local 1623 struct sdda_softc *sc = (struct sdda_softc *)periph->softc; sdda_process_mmc_partitions() local 1759 struct sdda_softc *sc = (struct sdda_softc *)periph->softc; sdda_init_switch_part() local [all...] |
/freebsd-src/sys/powerpc/powernv/ |
H A D | opal_flash.c | 1 /*- 50 * top to present the partitions listed in the fdt. 54 * boundaries, but ERASE is only at flash-block-size block alignments and sizes. 57 * - Reads are on a 512-byte block boundary and size 58 * - Writes and Erases are aligned and sized on flash-block-size bytes. 73 #define OPALFLASH_LOCK(sc) mtx_lock(&(sc)->sc_mtx) argument 74 #define OPALFLASH_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) argument 75 #define OPALFLASH_LOCK_INIT(sc) \ argument 76 mtx_init(&(sc)->sc_mtx, device_get_nameunit((sc)->sc_dev), \ 127 struct opalflash_softc *sc; in opalflash_getattr() local [all …]
|
/freebsd-src/sys/arm64/arm64/ |
H A D | gic_v3_fdt.c | 1 /*- 101 if (!ofw_bus_is_compatible(dev, "arm,gic-v3")) in gic_v3_fdt_probe() 111 struct gic_v3_softc *sc; in gic_v3_fdt_attach() local 118 sc = device_get_softc(dev); in gic_v3_fdt_attach() 119 sc->dev = dev; in gic_v3_fdt_attach() 120 sc->gic_bus = GIC_BUS_FDT; in gic_v3_fdt_attach() 123 * Recover number of the Re-Distributor regions. in gic_v3_fdt_attach() 125 if (OF_getencprop(ofw_bus_get_node(dev), "#redistributor-region in gic_v3_fdt_attach() 225 gic_v3_ofw_fill_ranges(phandle_t parent,struct gic_v3_softc * sc,pcell_t * addr_cellsp,pcell_t * size_cellsp) gic_v3_ofw_fill_ranges() argument 291 struct gic_v3_softc *sc; gic_v3_ofw_bus_attach() local [all...] |
/freebsd-src/sys/powerpc/powermac/ |
H A D | smu.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 253 /* Partitions */ 274 struct smu_softc *sc = xsc; in smu_phys_callback() local 276 sc->sc_cmd_phys = segs[0].ds_addr; in smu_phys_callback() 282 struct smu_softc *sc; in smu_attach() local 416 struct smu_softc *sc; smu_send_cmd() local 445 struct smu_softc *sc; smu_doorbell_intr() local 488 struct smu_softc *sc; smu_run_cmd() local 660 struct smu_softc *sc = device_get_softc(smu); smu_fan_check_old_style() local 861 struct smu_softc *sc; smu_fanrpm_sysctl() local 911 struct smu_softc *sc; smu_fill_fan_prop() local 955 struct smu_softc *sc; smu_count_fans() local 991 struct smu_softc *sc; smu_attach_fans() local 1087 struct smu_softc *sc; smu_sensor_read() local 1152 struct smu_softc *sc; smu_sensor_sysctl() local 1173 struct smu_softc *sc; smu_attach_sensors() local 1470 struct smuiic_softc *sc = device_get_softc(dev); smuiic_attach() local 1487 struct smuiic_softc *sc = device_get_softc(dev); smuiic_transfer() local [all...] |
/freebsd-src/sys/geom/raid/ |
H A D | md_ddf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 134 #define GET8(m, f) ((m)->f) 135 #define GET16(m, f) ((m)->bigendian ? be16dec(&(m)->f) : le16dec(&(m)->f)) 136 #define GET32(m, f) ((m)->bigendian ? be32dec(&(m)->f) : le32dec(&(m)->f)) 137 #define GET64(m, f) ((m)->bigendian ? be64dec(&(m)->f) : le64dec(&(m)->f)) 139 #define GET16D(m, f) ((m)->bigendian ? be16dec(&f) : le16dec(&f)) 140 #define GET32D(m, f) ((m)->bigendian ? be32dec(&f) : le32dec(&f)) 141 #define GET64D(m, f) ((m)->bigendian ? be64dec(&f) : le64dec(&f)) 143 #define GET16P(m, f) ((m)->bigendian ? be16dec(f) : le16dec(f)) [all …]
|
/freebsd-src/share/doc/papers/devfs/ |
H A D | paper.me | 1 .\" format with ditroff -me 19 .ip \0\s-2\(bu\s+2 29 .i "Poul-Henning Kamp" 43 Starting from a high-level view of devices and the semantics that 45 grand tour of the redesigned FreeBSD device-I/O system, 99 disk-pack with a filesystem: selling pre-initialised and ``quality 100 tested'' disk-packs was quite a profitable business. 112 device would be inode number 5, the paper-tape-punch number 6 and so on, 122 in most UNIX-like systems even to this day. 150 In order to support remote login a ``pseudo-tty'' device driver was implemented, [all …]
|
/freebsd-src/contrib/jemalloc/include/jemalloc/internal/ |
H A D | rtree.h | 7 #include "jemalloc/internal/sc.h" 18 #define RTREE_NHIB ((1U << (LG_SIZEOF_PTR+3)) - LG_VADDR) 22 #define RTREE_NSB (LG_VADDR - RTREE_NLIB) 49 * Single pointer-width field containing all three leaf element fields. 50 * For example, on a 64-bit x64 system with 48 significant virtual 91 * Split the bits into one to three partitions depending on number of 106 {RTREE_NSB/3 + RTREE_NSB%3 - RTREE_NSB%3/2, RTREE_NHIB + RTREE_NSB} 134 unsigned cumbits = (rtree_levels[RTREE_HEIGHT-1].cumbits - in rtree_leafkey() 135 rtree_levels[RTREE_HEIGHT-1].bits); in rtree_leafkey() 136 unsigned maskbits = ptrbits - cumbits; in rtree_leafkey() [all …]
|
/freebsd-src/sys/compat/linux/ |
H A D | linux_ioctl.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1994-1995 Søren Schmidt 169 error = fget(td, args->fd, &cap_ioctl_rights, &fp); in linux_ioctl_hdio() 172 switch (args->cmd & 0xffff) { in linux_ioctl_hdio() 176 (caddr_t)&mediasize, td->td_ucred, td); in linux_ioctl_hdio() 179 (caddr_t)§orsize, td->td_ucre in linux_ioctl_hdio() 1501 struct linux_cdrom_subchnl sc; linux_ioctl_cdrom() local [all...] |
/freebsd-src/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 1 //===--- SemaDecl.cpp - Semantic Analysis for Declarations ------ 5416 CheckAnonMemberRedeclaration(Sema & SemaRef,Scope * S,DeclContext * Owner,DeclarationName Name,SourceLocation NameLoc,bool IsUnion,StorageClass SC) CheckAnonMemberRedeclaration() argument 5494 InjectAnonymousStructOrUnionMembers(Sema & SemaRef,Scope * S,DeclContext * Owner,RecordDecl * AnonRecord,AccessSpecifier AS,StorageClass SC,SmallVectorImpl<NamedDecl * > & Chaining) InjectAnonymousStructOrUnionMembers() argument 5805 StorageClass SC = StorageClassSpecToVarDeclStorageClass(DS); BuildAnonymousStructOrUnion() local 7581 StorageClass SC = StorageClassSpecToVarDeclStorageClass(D.getDeclSpec()); ActOnVariableDeclarator() local 9285 CreateNewFunctionDecl(Sema & SemaRef,Declarator & D,DeclContext * DC,QualType & R,TypeSourceInfo * TInfo,StorageClass SC,bool & IsVirtualOkay) CreateNewFunctionDecl() argument 9832 StorageClass SC = getFunctionStorageClass(*this, D); ActOnFunctionDeclarator() local 15110 StorageClass SC = SC_None; ActOnParamDeclarator() local 15302 CheckParameter(DeclContext * DC,SourceLocation StartLoc,SourceLocation NameLoc,IdentifierInfo * Name,QualType T,TypeSourceInfo * TSInfo,StorageClass SC) CheckParameter() argument [all...] |
/freebsd-src/contrib/one-true-awk/testdir/ |
H A D | funstack.in | 2 %%% BibTeX-file{ 23 %%% (incompletely) 1970 -- 1979. 50 %%% covering 1958--1996 became too large (about 65 %%% Algorithms 1--492. For Algorithms 493--686, 72 %%% cross-referenced in both directions, so 75 %%% Corrigenda. Cross-referenced entries are 77 %%% that each is completely self-contained. 83 %%% ftp://netlib.bell-labs.com/netlib/toms. 88 %%% http://ciir.cs.umass.edu/cgi-bin/web_query_form/public/cacm2.1. 90 %%% The initial draft of entries for 1981 -- [all …]
|
/freebsd-src/contrib/llvm-project/clang/lib/AST/ |
H A D | ItaniumMangle.cpp | 1 //===--- ItaniumMangle.cpp - Itanium C++ Name Mangling ------ [all...] |
/freebsd-src/sys/dev/bnxt/bnxt_en/ |
H A D | hsi_struct_def.h | 1 /*- 34 * Copyright(c) 2001-2024, Broadcom. All rights reserved. The 71 * * 0x0-0xFFF8 - The function ID 72 * * 0xFFF8-0xFFFC, 0xFFFE - Reserved for internal processors 73 * * 0xFFFD - Reserved for user-space HWRM interface 74 * * 0xFFFF - HWRM 122 /* Engine CKV - The Alias key EC curve and ECC public key information. */ 124 /* Engine CKV - Initialization vector. */ 126 /* Engine CKV - Authentication tag. */ 128 /* Engine CKV - The encrypted data. */ [all …]
|
/freebsd-src/contrib/sqlite3/ |
H A D | sqlite3.c | 17 ** language. The code for the "sqlite3" command-line shell is also in a 20 ** The content in this amalgamation comes from Fossil check-in 51 ** NO_TEST - The branches on this line are not 56 ** OPTIMIZATION-IF-TRUE - This branch is allowed to always be false 60 ** OPTIMIZATION-IF-FALSE - This branch is allowed to always be true 64 ** PREVENTS-HARMLES [all...] |