Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ubifs/
Dsb.c77 struct ubifs_sb_node *sup; in create_default_filesystem() local
163 sup = kzalloc(ALIGN(UBIFS_SB_NODE_SZ, c->min_io_size), GFP_KERNEL); in create_default_filesystem()
170 if (!sup || !mst || !idx || !ino || !cs) { in create_default_filesystem()
185 sup->hash_algo = cpu_to_le16(c->auth_hash_algo); in create_default_filesystem()
186 err = ubifs_hmac_wkm(c, sup->hmac_wkm); in create_default_filesystem()
190 sup->hash_algo = cpu_to_le16(0xffff); in create_default_filesystem()
193 sup->ch.node_type = UBIFS_SB_NODE; in create_default_filesystem()
194 sup->key_hash = UBIFS_KEY_HASH_R5; in create_default_filesystem()
195 sup->flags = cpu_to_le32(sup_flags); in create_default_filesystem()
196 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.c192 const struct ubifs_sb_node *sup) in ubifs_sb_verify_signature() argument
234 err = verify_pkcs7_signature(sup, sizeof(struct ubifs_sb_node), in ubifs_sb_verify_signature()
Dubifs.h1715 const struct ubifs_sb_node *sup);
1933 int ubifs_write_sb_node(struct ubifs_info *c, struct ubifs_sb_node *sup);
Dsuper.c1762 struct ubifs_sb_node *sup = c->sup_node; in ubifs_remount_rw() local
1764 err = ubifs_write_sb_node(c, sup); in ubifs_remount_rw()
/linux-6.1.9/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()
/linux-6.1.9/drivers/tty/serial/
Dsunplus-uart.c537 struct sunplus_uart_port *sup; in sunplus_console_setup() local
546 sup = sunplus_console_ports[co->index]; in sunplus_console_setup()
547 if (!sup) in sunplus_console_setup()
553 return uart_set_options(&sup->port, co, baud, parity, bits, flow); in sunplus_console_setup()
594 struct sunplus_uart_port *sup; in sunplus_uart_probe() local
604 sup = devm_kzalloc(&pdev->dev, sizeof(*sup), GFP_KERNEL); in sunplus_uart_probe()
605 if (!sup) in sunplus_uart_probe()
608 sup->clk = devm_clk_get_optional(&pdev->dev, NULL); in sunplus_uart_probe()
609 if (IS_ERR(sup->clk)) in sunplus_uart_probe()
610 return dev_err_probe(&pdev->dev, PTR_ERR(sup->clk), "clk not found\n"); in sunplus_uart_probe()
[all …]
Dsprd_serial.c907 struct sprd_uart_port *sup = in sprd_pm() local
912 clk_prepare_enable(sup->clk); in sprd_pm()
915 clk_disable_unprepare(sup->clk); in sprd_pm()
1106 struct sprd_uart_port *sup = platform_get_drvdata(dev); in sprd_remove() local
1108 if (sup) { in sprd_remove()
1109 uart_remove_one_port(&sprd_uart_driver, &sup->port); in sprd_remove()
1110 sprd_port[sup->port.line] = NULL; in sprd_remove()
1111 sprd_rx_free_buf(sup); in sprd_remove()
1249 struct sprd_uart_port *sup = dev_get_drvdata(dev); in sprd_suspend() local
1251 uart_suspend_port(&sprd_uart_driver, &sup->port); in sprd_suspend()
[all …]
/linux-6.1.9/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));\
/linux-6.1.9/fs/nilfs2/
Dsufile.c900 struct nilfs_suinfo_update *sup, *supend = buf + supsz * nsup; in nilfs_sufile_set_suinfo() local
911 for (sup = buf; sup < supend; sup = (void *)sup + supsz) { in nilfs_sufile_set_suinfo()
912 if (sup->sup_segnum >= nilfs->ns_nsegments in nilfs_sufile_set_suinfo()
913 || (sup->sup_flags & in nilfs_sufile_set_suinfo()
915 || (nilfs_suinfo_update_nblocks(sup) && in nilfs_sufile_set_suinfo()
916 sup->sup_sui.sui_nblocks > in nilfs_sufile_set_suinfo()
927 sup = buf; in nilfs_sufile_set_suinfo()
928 blkoff = nilfs_sufile_get_blkoff(sufile, sup->sup_segnum); in nilfs_sufile_set_suinfo()
936 sufile, sup->sup_segnum, bh, kaddr); in nilfs_sufile_set_suinfo()
938 if (nilfs_suinfo_update_lastmod(sup)) in nilfs_sufile_set_suinfo()
[all …]
/linux-6.1.9/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.c759 scc_uart_t __iomem *sup; in cpm_uart_init_scc() local
764 sup = pinfo->sccup; in cpm_uart_init_scc()
776 cpm_set_scc_fcr(sup); in cpm_uart_init_scc()
778 out_be16(&sup->scc_genscc.scc_mrblr, pinfo->rx_fifosize); in cpm_uart_init_scc()
779 out_be16(&sup->scc_maxidl, 0x10); in cpm_uart_init_scc()
780 out_be16(&sup->scc_brkcr, 1); in cpm_uart_init_scc()
781 out_be16(&sup->scc_parec, 0); in cpm_uart_init_scc()
782 out_be16(&sup->scc_frmec, 0); in cpm_uart_init_scc()
783 out_be16(&sup->scc_nosec, 0); in cpm_uart_init_scc()
784 out_be16(&sup->scc_brkec, 0); in cpm_uart_init_scc()
[all …]
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dext-ctrls-colorimetry.rst40 samples for the pictures of a video sequence, cd/m\ :sup:`2`.
46 cd/m\ :sup:`2`. When equal to 0 no such upper bound is present.
89 display in units of 0.0001 cd/m\ :sup:`2`.
93 display in units of 0.0001 cd/m\ :sup:`2`.
Dcolorspaces-details.rst759 L' = ((c1 + c2 * L\ :sup:`m1`) / (1 + c3 * L\ :sup:`m1`))\ :sup:`m2`
762 L = (max(L':sup:`1/m2` - c1, 0) / (c2 - c3 *
763 L'\ :sup:`1/m2`))\ :sup:`1/m1`
767 of 0 to 10000 cd/m\ :sup:`2` whereas the linear RGB values of non-HDR (aka
768 Standard Dynamic Range or SDR) map to a luminance range of 0 to 100 cd/m\ :sup:`2`.
772 luminance values over 100 cd/m\ :sup:`2` to 100 cd/m\ :sup:`2`.
/linux-6.1.9/drivers/base/
Dcore.c76 int fwnode_link_add(struct fwnode_handle *con, struct fwnode_handle *sup) in fwnode_link_add() argument
83 list_for_each_entry(link, &sup->consumers, s_hook) in fwnode_link_add()
93 link->supplier = sup; in fwnode_link_add()
98 list_add(&link->s_hook, &sup->consumers); in fwnode_link_add()
101 con, sup); in fwnode_link_add()
535 struct device *sup = link->supplier; in devlink_add_symlinks() local
539 len = max(strlen(dev_bus_name(sup)) + strlen(dev_name(sup)), in devlink_add_symlinks()
547 ret = sysfs_create_link(&link->link_dev.kobj, &sup->kobj, "supplier"); in devlink_add_symlinks()
556 ret = sysfs_create_link(&sup->kobj, &link->link_dev.kobj, buf); in devlink_add_symlinks()
560 snprintf(buf, len, "supplier:%s:%s", dev_bus_name(sup), dev_name(sup)); in devlink_add_symlinks()
[all …]
/linux-6.1.9/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
/linux-6.1.9/include/linux/
Dfwnode.h203 int fwnode_link_add(struct fwnode_handle *con, struct fwnode_handle *sup);
/linux-6.1.9/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()
/linux-6.1.9/Documentation/w1/slaves/
Dw1_therm.rst136 compatible with DS18B20. Added are lowest 2\ :sup:`-5`, 2\ :sup:`-6` temperature
/linux-6.1.9/arch/nios2/boot/dts/
D10m50_devboard.dts103 altr,enable-sup-addr = <1>;
/linux-6.1.9/Documentation/RCU/Design/Data-Structures/
DData-Structures.rst249 The zero\ :sup:`th` element of the array references the root
/linux-6.1.9/Documentation/RCU/Design/Requirements/
DRequirements.rst1028 this counter requires 2\ :sup:`54` half-interrupts on a given CPU