Home
last modified time | relevance | path

Searched refs:sup (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/fs/ubifs/
Dsb.c74 struct ubifs_sb_node *sup; in create_default_filesystem() local
160 sup = kzalloc(ALIGN(UBIFS_SB_NODE_SZ, c->min_io_size), GFP_KERNEL); in create_default_filesystem()
167 if (!sup || !mst || !idx || !ino || !cs) { in create_default_filesystem()
182 sup->hash_algo = cpu_to_le16(c->auth_hash_algo); in create_default_filesystem()
183 err = ubifs_hmac_wkm(c, sup->hmac_wkm); in create_default_filesystem()
187 sup->hash_algo = cpu_to_le16(0xffff); in create_default_filesystem()
190 sup->ch.node_type = UBIFS_SB_NODE; in create_default_filesystem()
191 sup->key_hash = UBIFS_KEY_HASH_R5; in create_default_filesystem()
192 sup->flags = cpu_to_le32(sup_flags); in create_default_filesystem()
193 sup->min_io_size = cpu_to_le32(c->min_io_size); in create_default_filesystem()
[all …]
Ddebug.c352 const struct ubifs_sb_node *sup = node; in ubifs_dump_node() local
353 unsigned int sup_flags = le32_to_cpu(sup->flags); in ubifs_dump_node()
356 (int)sup->key_hash, get_key_hash(sup->key_hash)); in ubifs_dump_node()
358 (int)sup->key_fmt, get_key_fmt(sup->key_fmt)); in ubifs_dump_node()
364 pr_err("\tmin_io_size %u\n", le32_to_cpu(sup->min_io_size)); in ubifs_dump_node()
365 pr_err("\tleb_size %u\n", le32_to_cpu(sup->leb_size)); in ubifs_dump_node()
366 pr_err("\tleb_cnt %u\n", le32_to_cpu(sup->leb_cnt)); in ubifs_dump_node()
367 pr_err("\tmax_leb_cnt %u\n", le32_to_cpu(sup->max_leb_cnt)); in ubifs_dump_node()
369 (unsigned long long)le64_to_cpu(sup->max_bud_bytes)); in ubifs_dump_node()
370 pr_err("\tlog_lebs %u\n", le32_to_cpu(sup->log_lebs)); in ubifs_dump_node()
[all …]
Dauth.c193 const struct ubifs_sb_node *sup) in ubifs_sb_verify_signature() argument
235 err = verify_pkcs7_signature(sup, sizeof(struct ubifs_sb_node), in ubifs_sb_verify_signature()
Dubifs.h1691 const struct ubifs_sb_node *sup);
1909 int ubifs_write_sb_node(struct ubifs_info *c, struct ubifs_sb_node *sup);
Dsuper.c1765 struct ubifs_sb_node *sup = c->sup_node; in ubifs_remount_rw() local
1767 err = ubifs_write_sb_node(c, sup); in ubifs_remount_rw()
/kernel/linux/linux-5.10/fs/befs/
Ddebug.c156 befs_dump_super_block(const struct super_block *sb, befs_super_block *sup) in befs_dump_super_block() argument
164 befs_debug(sb, " name %s", sup->name); in befs_dump_super_block()
165 befs_debug(sb, " magic1 %08x", fs32_to_cpu(sb, sup->magic1)); in befs_dump_super_block()
167 fs32_to_cpu(sb, sup->fs_byte_order)); in befs_dump_super_block()
169 befs_debug(sb, " block_size %u", fs32_to_cpu(sb, sup->block_size)); in befs_dump_super_block()
170 befs_debug(sb, " block_shift %u", fs32_to_cpu(sb, sup->block_shift)); in befs_dump_super_block()
172 befs_debug(sb, " num_blocks %llu", fs64_to_cpu(sb, sup->num_blocks)); in befs_dump_super_block()
173 befs_debug(sb, " used_blocks %llu", fs64_to_cpu(sb, sup->used_blocks)); in befs_dump_super_block()
174 befs_debug(sb, " inode_size %u", fs32_to_cpu(sb, sup->inode_size)); in befs_dump_super_block()
176 befs_debug(sb, " magic2 %08x", fs32_to_cpu(sb, sup->magic2)); in befs_dump_super_block()
[all …]
Dbtree.c97 befs_btree_super * sup);
135 befs_btree_super * sup) in befs_bt_read_super() argument
151 sup->magic = fs32_to_cpu(sb, od_sup->magic); in befs_bt_read_super()
152 sup->node_size = fs32_to_cpu(sb, od_sup->node_size); in befs_bt_read_super()
153 sup->max_depth = fs32_to_cpu(sb, od_sup->max_depth); in befs_bt_read_super()
154 sup->data_type = fs32_to_cpu(sb, od_sup->data_type); in befs_bt_read_super()
155 sup->root_node_ptr = fs64_to_cpu(sb, od_sup->root_node_ptr); in befs_bt_read_super()
158 if (sup->magic != BEFS_BTREE_MAGIC) { in befs_bt_read_super()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dnilfs2_api.h67 …S(flag,name) static inline void nilfs_suinfo_update_set_ ##name(struct nilfs_suinfo_update * sup) \
68 { sup->sup_flags |= 1UL << NILFS_SUINFO_UPDATE_ ##flag; \
69 } static inline void nilfs_suinfo_update_clear_ ##name(struct nilfs_suinfo_update * sup) \
70 { sup->sup_flags &= ~(1UL << NILFS_SUINFO_UPDATE_ ##flag); \
71 } static inline int nilfs_suinfo_update_ ##name(const struct nilfs_suinfo_update * sup) \
72 { return ! ! (sup->sup_flags & (1UL << NILFS_SUINFO_UPDATE_ ##flag)); \
/kernel/linux/linux-5.10/include/uapi/linux/
Dnilfs2_api.h118 nilfs_suinfo_update_set_##name(struct nilfs_suinfo_update *sup) \
120 sup->sup_flags |= 1UL << NILFS_SUINFO_UPDATE_##flag; \
123 nilfs_suinfo_update_clear_##name(struct nilfs_suinfo_update *sup) \
125 sup->sup_flags &= ~(1UL << NILFS_SUINFO_UPDATE_##flag); \
128 nilfs_suinfo_update_##name(const struct nilfs_suinfo_update *sup) \
130 return !!(sup->sup_flags & (1UL << NILFS_SUINFO_UPDATE_##flag));\
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dnilfs2_api.h72 nilfs_suinfo_update_set_##name(struct nilfs_suinfo_update *sup) \
74 sup->sup_flags |= 1UL << NILFS_SUINFO_UPDATE_##flag; \
77 nilfs_suinfo_update_clear_##name(struct nilfs_suinfo_update *sup) \
79 sup->sup_flags &= ~(1UL << NILFS_SUINFO_UPDATE_##flag); \
82 nilfs_suinfo_update_##name(const struct nilfs_suinfo_update *sup) \
84 return !!(sup->sup_flags & (1UL << NILFS_SUINFO_UPDATE_##flag));\
/kernel/linux/linux-5.10/fs/nilfs2/
Dsufile.c909 struct nilfs_suinfo_update *sup, *supend = buf + supsz * nsup; in nilfs_sufile_set_suinfo() local
920 for (sup = buf; sup < supend; sup = (void *)sup + supsz) { in nilfs_sufile_set_suinfo()
921 if (sup->sup_segnum >= nilfs->ns_nsegments in nilfs_sufile_set_suinfo()
922 || (sup->sup_flags & in nilfs_sufile_set_suinfo()
924 || (nilfs_suinfo_update_nblocks(sup) && in nilfs_sufile_set_suinfo()
925 sup->sup_sui.sui_nblocks > in nilfs_sufile_set_suinfo()
936 sup = buf; in nilfs_sufile_set_suinfo()
937 blkoff = nilfs_sufile_get_blkoff(sufile, sup->sup_segnum); in nilfs_sufile_set_suinfo()
945 sufile, sup->sup_segnum, bh, kaddr); in nilfs_sufile_set_suinfo()
947 if (nilfs_suinfo_update_lastmod(sup)) in nilfs_sufile_set_suinfo()
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/cpm_uart/
Dcpm_uart_cpm1.h19 static inline void cpm_set_scc_fcr(scc_uart_t __iomem * sup) in cpm_set_scc_fcr() argument
21 out_8(&sup->scc_genscc.scc_rfcr, SMC_EB); in cpm_set_scc_fcr()
22 out_8(&sup->scc_genscc.scc_tfcr, SMC_EB); in cpm_set_scc_fcr()
Dcpm_uart_cpm2.h19 static inline void cpm_set_scc_fcr(scc_uart_t __iomem *sup) in cpm_set_scc_fcr() argument
21 out_8(&sup->scc_genscc.scc_rfcr, CPMFCR_GBL | CPMFCR_EB); in cpm_set_scc_fcr()
22 out_8(&sup->scc_genscc.scc_tfcr, CPMFCR_GBL | CPMFCR_EB); in cpm_set_scc_fcr()
Dcpm_uart_core.c788 scc_uart_t __iomem *sup; in cpm_uart_init_scc() local
793 sup = pinfo->sccup; in cpm_uart_init_scc()
805 cpm_set_scc_fcr(sup); in cpm_uart_init_scc()
807 out_be16(&sup->scc_genscc.scc_mrblr, pinfo->rx_fifosize); in cpm_uart_init_scc()
808 out_be16(&sup->scc_maxidl, 0x10); in cpm_uart_init_scc()
809 out_be16(&sup->scc_brkcr, 1); in cpm_uart_init_scc()
810 out_be16(&sup->scc_parec, 0); in cpm_uart_init_scc()
811 out_be16(&sup->scc_frmec, 0); in cpm_uart_init_scc()
812 out_be16(&sup->scc_nosec, 0); in cpm_uart_init_scc()
813 out_be16(&sup->scc_brkec, 0); in cpm_uart_init_scc()
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/
Dsprd_serial.c908 struct sprd_uart_port *sup = in sprd_pm() local
913 clk_prepare_enable(sup->clk); in sprd_pm()
916 clk_disable_unprepare(sup->clk); in sprd_pm()
1107 struct sprd_uart_port *sup = platform_get_drvdata(dev); in sprd_remove() local
1109 if (sup) { in sprd_remove()
1110 uart_remove_one_port(&sprd_uart_driver, &sup->port); in sprd_remove()
1111 sprd_port[sup->port.line] = NULL; in sprd_remove()
1112 sprd_rx_free_buf(sup); in sprd_remove()
1260 struct sprd_uart_port *sup = dev_get_drvdata(dev); in sprd_suspend() local
1262 uart_suspend_port(&sprd_uart_driver, &sup->port); in sprd_suspend()
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dcolorspaces-details.rst789 L' = ((c1 + c2 * L\ :sup:`m1`) / (1 + c3 * L\ :sup:`m1`))\ :sup:`m2`
792 L = (max(L':sup:`1/m2` - c1, 0) / (c2 - c3 *
793 L'\ :sup:`1/m2`))\ :sup:`1/m1`
797 of 0 to 10000 cd/m\ :sup:`2` whereas the linear RGB values of non-HDR (aka
798 Standard Dynamic Range or SDR) map to a luminance range of 0 to 100 cd/m\ :sup:`2`.
802 luminance values over 100 cd/m\ :sup:`2` to 100 cd/m\ :sup:`2`.
/kernel/linux/linux-5.10/Documentation/driver-api/
Di2c.rst1 I\ :sup:`2`\ C and SMBus Subsystem
4 I\ :sup:`2`\ C (or without fancy typography, "I2C") is an acronym for
Ddevice_link.rst190 are implemented in terms of I\ :sup:`2`\ C accesses and require a specific
191 I\ :sup:`2`\ C controller to be present and functional for the power
/kernel/linux/linux-5.10/drivers/base/
Dcore.c386 struct device *sup = link->supplier; in devlink_add_symlinks() local
390 len = max(strlen(dev_bus_name(sup)) + strlen(dev_name(sup)), in devlink_add_symlinks()
398 ret = sysfs_create_link(&link->link_dev.kobj, &sup->kobj, "supplier"); in devlink_add_symlinks()
407 ret = sysfs_create_link(&sup->kobj, &link->link_dev.kobj, buf); in devlink_add_symlinks()
411 snprintf(buf, len, "supplier:%s:%s", dev_bus_name(sup), dev_name(sup)); in devlink_add_symlinks()
420 sysfs_remove_link(&sup->kobj, buf); in devlink_add_symlinks()
435 struct device *sup = link->supplier; in devlink_remove_symlinks() local
442 len = max(strlen(dev_bus_name(sup)) + strlen(dev_name(sup)), in devlink_remove_symlinks()
453 snprintf(buf, len, "supplier:%s:%s", dev_bus_name(sup), dev_name(sup)); in devlink_remove_symlinks()
457 sysfs_remove_link(&sup->kobj, buf); in devlink_remove_symlinks()
[all …]
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_proc.c526 int sup = param_read(codec, nid, AC_PAR_POWER_STATE); in print_power_state() local
529 if (sup != -1) { in print_power_state()
534 if (sup & (1U << i)) in print_power_state()
/kernel/linux/linux-5.10/Documentation/w1/slaves/
Dw1_therm.rst135 compatible with DS18B20. Added are lowest 2\ :sup:`-5`, 2\ :sup:`-6` temperature
/kernel/linux/linux-5.10/arch/nios2/boot/dts/
D10m50_devboard.dts103 altr,enable-sup-addr = <1>;
/kernel/linux/linux-5.10/Documentation/RCU/Design/Data-Structures/
DData-Structures.rst249 The zero\ :sup:`th` element of the array references the root
/kernel/linux/linux-5.10/Documentation/RCU/Design/Requirements/
DRequirements.rst1027 this counter requires 2\ :sup:`54` half-interrupts on a given CPU