Home
last modified time | relevance | path

Searched +full:int +full:- +full:property (Results 1 – 25 of 1136) sorted by relevance

12345678910>>...46

/openbmc/linux/include/linux/
H A Dof.h1 /* SPDX-License-Identifier: GPL-2.0+ */
8 * Copyright (C) 1996-2005 Paul Mackerras.
20 #include <linux/property.h>
28 struct property { struct
30 int length;
32 struct property *next; argument
37 unsigned int unique_id;
54 struct property *properties; argument
55 struct property *deadprops; /* removed properties */
65 unsigned int unique_id;
[all …]
H A Dextcon.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * - linux/include/linux/extcon.h for extcon consumer device driver.
73 #define EXTCON_DISP_HDMI 40 /* High-Definition Multimedia Interface */
74 #define EXTCON_DISP_MHL 41 /* Mobile High-Definition Link */
78 #define EXTCON_DISP_HMD 45 /* Head-Mounted Display */
92 * When adding the new extcon property, they *must* have
98 * The naming style of property
99 * : EXTCON_PROP_[type]_[property name]
101 * EXTCON_PROP_USB_[property name] : USB property
102 * EXTCON_PROP_CHG_[property name] : Charger property
[all …]
/openbmc/linux/scripts/dtc/libfdt/
H A Dlibfdt.h1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */
5 * libfdt - Flat Device Tree manipulation
22 /* FDT_ERR_NOTFOUND: The requested node or property does not exist */
24 /* FDT_ERR_EXISTS: Attempted to create a node or property which
35 * offset which is out-of-bounds, or which points to an
43 * This can be caused either by an invalid phandle property
44 * length, or the phandle value was either 0 or -1, which are
48 * tree created by the sequential-write functions, which is
53 /* FDT_ERR_TRUNCATED: FDT or a sub-block is improperly
58 * device tree at all - it is missing the flattened device
[all …]
/openbmc/u-boot/include/dm/
H A Dread.h1 /* SPDX-License-Identifier: GPL-2.0+ */
21 return ofnode_to_np(dev->node); in dev_np()
31 * dev_ofnode() - get the DT node reference associated with a udevice
38 return dev->node; in dev_ofnode()
48 * dev_read_u32() - read a 32-bit integer from a device's DT property
50 * @dev: device to read DT property from
51 * @propname: name of the property to read from
53 * @return 0 if OK, -ve on error
55 int dev_read_u32(struct udevice *dev, const char *propname, u32 *outp);
58 * dev_read_u32_default() - read a 32-bit integer from a device's DT property
[all …]
H A Dof_access.h1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Copyright (C) 1996-2005 Paul Mackerras.
13 * Modified for U-Boot
23 * of_find_all_nodes - Get next node in global list
36 /* Dummy functions to mirror Linux. These are not used in U-Boot */
41 * of_n_addr_cells() - Get the number of address cells for a node
43 * This walks back up the tree to find the closest #address-cells property
49 int of_n_addr_cells(const struct device_node *np);
52 * of_n_size_cells() - Get the number of size cells for a node
54 * This walks back up the tree to find the closest #size-cells property
[all …]
H A Dofnode.h1 /* SPDX-License-Identifier: GPL-2.0+ */
20 * ofnode - reference to a device tree node
32 * NULL, or an offset of -1.
57 int args_count;
62 * _ofnode_to_np() - convert an ofnode to a live DT node pointer
79 * ofnode_to_offset() - convert an ofnode to a flat DT offset
84 * @return DT offset (can be -1)
86 static inline int ofnode_to_offset(ofnode node) in ofnode_to_offset()
90 return -1; in ofnode_to_offset()
96 * ofnode_valid() - check if an ofnode is valid
[all …]
/openbmc/u-boot/scripts/dtc/libfdt/
H A Dlibfdt.h4 * libfdt - Flat Device Tree manipulation
23 * MA 02110-1301 USA
62 /* FDT_ERR_NOTFOUND: The requested node or property does not exist */
64 /* FDT_ERR_EXISTS: Attempted to create a node or property which
75 * offset which is out-of-bounds, or which points to an
83 * This can be caused either by an invalid phandle property
84 * length, or the phandle value was either 0 or -1, which are
88 * tree created by the sequential-write functions, which is
97 * device tree at all - it is missing the flattened device
102 * read-write functions, this may mean that fdt_open_into() is
[all …]
/openbmc/qemu/include/sysemu/
H A Ddevice_tree.h17 void *create_device_tree(int *sizep);
18 void *load_device_tree(const char *filename_path, int *sizep);
22 * /proc/device-tree directory and return the corresponding binary blob
36 * returns a newly allocated NULL-terminated array of node paths.
51 * node-name, ie. node-name and node-name@unit-address
56 * returns a newly allocated NULL-terminated array of node paths.
65 int qemu_fdt_setprop(void *fdt, const char *node_path,
66 const char *property, const void *val, int size);
67 int qemu_fdt_setprop_cell(void *fdt, const char *node_path,
68 const char *property, uint32_t val);
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_property.c40 * configuration from userspace to the kernel. Properties have a well-defined
43 * property types and ranges.
49 * Property values are only 64bit. To support bigger piles of data (like gamma
50 * tables, color correction matrices or large structures) a property can instead
54 * per-object mapping from those names to the property ID used in the atomic
55 * IOCTL and in the get/set property IOCTL.
82 * drm_property_create - create a new property type
84 * @flags: flags specifying the property type
85 * @name: name of the property
86 * @num_values: number of pre-defined values
[all …]
H A Ddrm_atomic_uapi.c38 #include <linux/dma-fence.h>
56 * drm_atomic_set_mode_for_crtc - set mode for CRTC
58 * @mode: kernel-internal mode to use for the CRTC, or NULL to disable
61 * the enable property.
64 * Zero on success, error code on failure. Cannot return -EDEADLK.
66 int drm_atomic_set_mode_for_crtc(struct drm_crtc_state *state, in drm_atomic_set_mode_for_crtc()
69 struct drm_crtc *crtc = state->crtc; in drm_atomic_set_mode_for_crtc()
73 if (mode && memcmp(&state->mode, mode, sizeof(*mode)) == 0) in drm_atomic_set_mode_for_crtc()
76 drm_property_blob_put(state->mode_blob); in drm_atomic_set_mode_for_crtc()
77 state->mode_blob = NULL; in drm_atomic_set_mode_for_crtc()
[all …]
H A Ddrm_mode_object.c39 int __drm_mode_object_add(struct drm_device *dev, struct drm_mode_object *obj, in __drm_mode_object_add()
43 int ret; in __drm_mode_object_add()
45 WARN_ON(!dev->driver->load && dev->registered && !obj_free_cb); in __drm_mode_object_add()
47 mutex_lock(&dev->mode_config.idr_mutex); in __drm_mode_object_add()
48 ret = idr_alloc(&dev->mode_config.object_idr, register_obj ? obj : NULL, in __drm_mode_object_add()
55 obj->id = ret; in __drm_mode_object_add()
56 obj->type = obj_type; in __drm_mode_object_add()
58 obj->free_cb = obj_free_cb; in __drm_mode_object_add()
59 kref_init(&obj->refcount); in __drm_mode_object_add()
62 mutex_unlock(&dev->mode_config.idr_mutex); in __drm_mode_object_add()
[all …]
H A Ddrm_blend.c43 * sub-pixel accuracy, which is scaled up to a pixel-aligned destination
96 * plane-wide opacity, from transparent (0) to opaque (0xffff). It can be
99 * pre-multiplied by the global alpha associated to the plane.
104 * Without this property the rectangle is only scaled, but not rotated or
109 * "rotate-<degrees>":
113 * "reflect-<axis>":
117 * reflect-x::
120 * | | -> | |
123 * reflect-y::
126 * | | -> | |
[all …]
/openbmc/linux/drivers/of/
H A Dof_private.h1 /* SPDX-License-Identifier: GPL-2.0+ */
8 * Copyright (C) 1996-2005 Paul Mackerras.
14 * struct alias_prop - Alias property in 'aliases' node
16 * @alias: Alias property name
21 * The structure represents one alias property of 'aliases' node as
28 int id;
46 extern int of_property_notify(int action, struct device_node *np,
47 struct property *prop, struct property *old_prop);
49 extern int __of_changeset_apply_entries(struct of_changeset *ocs,
50 int *ret_revert);
[all …]
H A Dproperty.c1 // SPDX-License-Identifier: GPL-2.0+
3 * drivers/of/property.c - Procedures for accessing and interpreting
7 * file contains the OF property as well as the OF graph interface
11 * Copyright (C) 1996-2005 Paul Mackerras.
35 * of_graph_is_present() - check graph's presence
38 * Return: True if @node has a port or ports (with a port) sub-node,
58 * of_property_count_elems_of_size - Count the number of elements in a property
60 * @np: device node from which the property value is to be read.
61 * @propname: name of the property to be searched.
64 * Search for a property in a device node and count the number of elements of
[all …]
/openbmc/linux/drivers/base/
H A Dproperty.c1 // SPDX-License-Identifier: GPL-2.0
3 * property.c - Unified device property interface.
17 #include <linux/property.h>
22 return IS_ENABLED(CONFIG_OF) && dev->of_node ? in __dev_fwnode()
23 of_fwnode_handle(dev->of_node) : dev->fwnode; in __dev_fwnode()
29 return IS_ENABLED(CONFIG_OF) && dev->of_node ? in __dev_fwnode_const()
30 of_fwnode_handle(dev->of_node) : dev->fwnode; in __dev_fwnode_const()
35 * device_property_present - check if a property of a device is present
36 * @dev: Device whose property is being checked
37 * @propname: Name of the property
[all …]
/openbmc/u-boot/include/
H A Dfdtdec.h1 /* SPDX-License-Identifier: GPL-2.0+ */
12 * drivers and board-specific code within U-Boot. It aims to reduce the
13 * amount of FDT munging required within U-Boot itself, so that driver code
27 #define FDT_ADDR_T_NONE (-1U)
32 #define FDT_ADDR_T_NONE (-1U)
59 * be equal to: end - start + 1.
93 * t: is 1 if the address is aliased (for non-relocatable I/O) below 1MB
96 * bbbbbbbb: is the 8-bit Bus Number
97 * ddddd: is the 5-bit Device Number
98 * fff: is the 3-bit Function Number
[all …]
/openbmc/linux/drivers/thunderbolt/
H A Dproperty.c1 // SPDX-License-Identifier: GPL-2.0
3 * Thunderbolt XDomain property support
39 size_t block_len, unsigned int dir_offset, size_t dir_len,
55 switch (entry->type) { in tb_property_entry_valid()
59 if (entry->length > block_len) in tb_property_entry_valid()
61 if (entry->value + entry->length > block_len) in tb_property_entry_valid()
66 if (entry->length != 1) in tb_property_entry_valid()
82 struct tb_property *property; in tb_property_alloc() local
84 property = kzalloc(sizeof(*property), GFP_KERNEL); in tb_property_alloc()
85 if (!property) in tb_property_alloc()
[all …]
/openbmc/linux/drivers/mfd/
H A Dsi476x-prop.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/mfd/si476x-prop.c -- Subroutines to access
13 #include <linux/mfd/si476x-core.h>
23 int i; in si476x_core_element_is_in_array()
36 int i; in si476x_core_element_is_in_range()
46 u16 property) in si476x_core_is_valid_property_a10() argument
80 return si476x_core_element_is_in_range(property, valid_ranges, in si476x_core_is_valid_property_a10()
82 si476x_core_element_is_in_array(property, valid_properties, in si476x_core_is_valid_property_a10()
87 u16 property) in si476x_core_is_valid_property_a20() argument
100 return si476x_core_is_valid_property_a10(core, property) || in si476x_core_is_valid_property_a20()
[all …]
/openbmc/libbej/include/libbej/
H A Dbej_decoder_core.h27 * non-recursively.
33 // Indicate whether we have property names for properties.
35 // Offset to the parent property in schema dictionary.
37 // Offset to the parent property in annotation dictionary.
66 int (*callbackSetStart)(const char* propertyName, void* dataPtr);
71 int (*callbackSetEnd)(void* dataPtr);
76 int (*callbackArrayStart)(const char* propertyName, void* dataPtr);
81 int (*callbackArrayEnd)(void* dataPtr);
84 * @brief Calls after a property is finished unless this is the last
85 * property in a Set or an array. In that case appropriate
[all …]
/openbmc/linux/arch/sparc/include/asm/
H A Doplib_32.h1 /* SPDX-License-Identifier: GPL-2.0 */
29 extern unsigned int prom_rev, prom_prev;
37 * and usage utility functions. Only prom-lib should use these,
65 /* Enter the prom, with no chance of continuation for the stand-alone
74 * XXX The arguments are different on V0 vs. V2->higher proms, grrr! XXX
83 unsigned char prom_get_idprom(char *idp_buffer, int idpbuf_size);
86 int prom_version(void);
89 int prom_getrev(void);
92 int prom_getprev(void);
95 void prom_console_write_buf(const char *buf, int len);
[all …]
H A Doplib_64.h1 /* SPDX-License-Identifier: GPL-2.0 */
23 extern int prom_stdout;
44 extern int prom_mmu_ihandle_cache;
45 extern unsigned int prom_boot_mapped_pc;
46 extern unsigned int prom_boot_mapping_mode;
85 /* Enter the prom, with no chance of continuation for the stand-alone
90 /* Halt and power-off the machine. */
97 unsigned char prom_get_idprom(char *idp_buffer, int idpbuf_size);
100 void prom_console_write_buf(const char *buf, int len);
104 void prom_write(const char *buf, unsigned int len);
[all …]
/openbmc/linux/arch/m68k/include/asm/
H A Doplib.h1 /* SPDX-License-Identifier: GPL-2.0 */
27 extern unsigned int prom_rev, prom_prev;
32 extern int prom_root_node;
35 * and usage utility functions. Only prom-lib should use these,
59 extern char *prom_mapio(char *virt_hint, int io_space, unsigned int phys_addr, unsigned int num_byt…
60 extern void prom_unmapio(char *virt_addr, unsigned int num_bytes);
65 * of the string is different on V0 vs. V2->higher proms. The caller must
66 * know what he/she is doing! Returns the device descriptor, an int.
68 extern int prom_devopen(char *device_string);
73 extern int prom_devclose(int device_handle);
[all …]
/openbmc/u-boot/scripts/dtc/
H A Ddtc.h20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
52 extern int quiet; /* Level of quietness */
53 extern int reservenum; /* Number of memory reservation slots */
54 extern int minsize; /* Minimum blob size */
55 extern int padsize; /* Additional padding to blob */
56 extern int alignsize; /* Additional padding to blob accroding to the alignsize */
57 extern int phandle_format; /* Use linux,phandle or phandle properties */
58 extern int generate_symbols; /* generate symbols for nodes with labels */
59 extern int generate_fixups; /* generate fixups */
60 extern int auto_label_aliases; /* auto generate labels -> aliases */
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dpower_interface.hpp3 #include <systemd/sd-bus.h>
16 * This class provides the org.openbmc.control.Power D-Bus interface.
30 * @param bus D-Bus bus object
31 * @param path D-Bus object path
46 * Emit the property changed signal
47 * @param property the property that changed
49 void emitPropertyChangedSignal(const char* property);
55 virtual int getPgood() const = 0;
61 virtual int getPgoodTimeout() const = 0;
67 virtual int getState() const = 0;
[all …]
/openbmc/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_of.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2019-2022 Bootlin
14 { "lvds-4bits", LOGICVC_DISPLAY_INTERFACE_LVDS_4BITS },
15 { "lvds-3bits", LOGICVC_DISPLAY_INTERFACE_LVDS_3BITS },
40 .name = "xylon,display-interface",
48 .name = "xylon,display-colorspace",
56 .name = "xylon,display-depth",
60 .name = "xylon,row-stride",
67 .name = "xylon,background-layer",
71 .name = "xylon,layers-configurable",
[all …]

12345678910>>...46