/linux-4.1.27/drivers/of/ |
H A D | of_private.h | 16 * struct alias_prop - Alias property in 'aliases' node 18 * @alias: Alias property name 23 * The structure represents one alias property of 'aliases' node as 46 struct property *prop, struct property *old_prop); 50 struct property *prop, struct property *old_prop) of_property_notify() 63 struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags); 68 extern int __of_add_property(struct device_node *np, struct property *prop); 70 struct property *prop); 71 extern int __of_remove_property(struct device_node *np, struct property *prop); 73 struct property *prop); 75 struct property *newprop, struct property **oldprop); 77 struct property *newprop, struct property *oldprop);
|
H A D | base.c | 68 /* No #address-cells property for the root node */ of_n_addr_cells() 84 /* No #size-cells property for the root node */ of_n_size_cells() 111 struct property *pp = container_of(bin_attr, struct property, attr); of_node_property_read() 135 int __of_add_property_sysfs(struct device_node *np, struct property *pp) __of_add_property_sysfs() 162 struct property *pp; __of_attach_node_sysfs() 213 static struct property *__of_find_property(const struct device_node *np, __of_find_property() 216 struct property *pp; __of_find_property() 232 struct property *of_find_property(const struct device_node *np, of_find_property() 236 struct property *pp; of_find_property() 287 * Find a property with a given name for a given node 293 struct property *pp = __of_find_property(np, name, lenp); __of_get_property() 299 * Find a property with a given name for a given node 305 struct property *pp = of_find_property(np, name, lenp); of_get_property() 331 * Checks if the given "prop_name" property holds the physical id of the 368 /* Check for non-standard "ibm,ppc-interrupt-server#s" property arch_find_n_match_cpu_physical_id() 370 * standard "reg" property. arch_find_n_match_cpu_physical_id() 447 struct property *prop; __of_device_is_compatible() 483 * the device's "compatible" property 500 * @compat: compatible string to look for in root node's compatible property. 503 * compatible property. 524 * Returns true if the status property is absent or set to "okay" or "ok", 552 * Returns true if the status property is absent or set to "okay" or "ok", 573 * Returns true if the device has a "big-endian" property, or if the kernel 574 * was compiled for BE *and* the device has a "native-endian" property. 759 * start with '/', the name of a property of the /aliases 777 struct property *pp; of_find_node_opts_by_path() 828 * of_find_node_by_name - Find a node by its "name" property 856 * of_find_node_by_type - Find a node by its "device_type" property 886 * tokens in its "compatible" property 916 * of_find_node_with_property - Find a node which has a property with 922 * @prop_name: The name of the property to look for. 931 struct property *pp; of_find_node_with_property() 1037 * Based on the value of the compatible property, this routine will attempt 1040 * from the first entry in the compatible list property. 1084 * of_property_count_elems_of_size - Count the number of elements in a property 1086 * @np: device node from which the property value is to be read. 1087 * @propname: name of the property to be searched. 1090 * Search for a property in a device node and count the number of elements of 1092 * property does not exist or its length does not match a multiple of elem_size 1093 * and -ENODATA if the property does not have a value. 1098 struct property *prop = of_find_property(np, propname, NULL); of_property_count_elems_of_size() 1118 * @np: device node from which the property value is to be read. 1119 * @propname: name of the property to be searched. 1120 * @len: requested length of property value 1122 * Search for a property in a device node and valid the requested size. 1123 * Returns the property value on success, -EINVAL if the property does not 1124 * exist, -ENODATA if property does not have a value, and -EOVERFLOW if the 1125 * property data isn't large enough. 1131 struct property *prop = of_find_property(np, propname, NULL); of_find_property_value_of_size() 1144 * of_property_read_u32_index - Find and read a u32 from a multi-value property. 1146 * @np: device node from which the property value is to be read. 1147 * @propname: name of the property to be searched. 1151 * Search for a property in a device node and read nth 32-bit value from 1152 * it. Returns 0 on success, -EINVAL if the property does not exist, 1153 * -ENODATA if property does not have a value, and -EOVERFLOW if the 1154 * property data isn't large enough. 1174 * of_property_read_u8_array - Find and read an array of u8 from a property. 1176 * @np: device node from which the property value is to be read. 1177 * @propname: name of the property to be searched. 1181 * Search for a property in a device node and read 8-bit value(s) from 1182 * it. Returns 0 on success, -EINVAL if the property does not exist, 1183 * -ENODATA if property does not have a value, and -EOVERFLOW if the 1184 * property data isn't large enough. 1187 * property = /bits/ 8 <0x50 0x60 0x70>; 1207 * of_property_read_u16_array - Find and read an array of u16 from a property. 1209 * @np: device node from which the property value is to be read. 1210 * @propname: name of the property to be searched. 1214 * Search for a property in a device node and read 16-bit value(s) from 1215 * it. Returns 0 on success, -EINVAL if the property does not exist, 1216 * -ENODATA if property does not have a value, and -EOVERFLOW if the 1217 * property data isn't large enough. 1220 * property = /bits/ 16 <0x5000 0x6000 0x7000>; 1241 * from a property. 1243 * @np: device node from which the property value is to be read. 1244 * @propname: name of the property to be searched. 1248 * Search for a property in a device node and read 32-bit value(s) from 1249 * it. Returns 0 on success, -EINVAL if the property does not exist, 1250 * -ENODATA if property does not have a value, and -EOVERFLOW if the 1251 * property data isn't large enough. 1272 * of_property_read_u64 - Find and read a 64 bit integer from a property 1273 * @np: device node from which the property value is to be read. 1274 * @propname: name of the property to be searched. 1277 * Search for a property in a device node and read a 64-bit value from 1278 * it. Returns 0 on success, -EINVAL if the property does not exist, 1279 * -ENODATA if property does not have a value, and -EOVERFLOW if the 1280 * property data isn't large enough. 1300 * from a property. 1302 * @np: device node from which the property value is to be read. 1303 * @propname: name of the property to be searched. 1307 * Search for a property in a device node and read 64-bit value(s) from 1308 * it. Returns 0 on success, -EINVAL if the property does not exist, 1309 * -ENODATA if property does not have a value, and -EOVERFLOW if the 1310 * property data isn't large enough. 1333 * of_property_read_string - Find and read a string from a property 1334 * @np: device node from which the property value is to be read. 1335 * @propname: name of the property to be searched. 1339 * Search for a property in a device tree node and retrieve a null 1341 * success, -EINVAL if the property does not exist, -ENODATA if property 1343 * within the length of the property data. 1350 struct property *prop = of_find_property(np, propname, NULL); of_property_read_string() 1364 * @np: pointer to node containing string list property 1365 * @propname: string list property name 1368 * This function searches a string list property and returns the index 1374 struct property *prop = of_find_property(np, propname, NULL); of_property_match_string() 1401 * @np: device node from which the property value is to be read. 1402 * @propname: name of the property to be searched. 1413 struct property *prop = of_find_property(np, propname, NULL); of_property_read_string_helper() 1457 /* Retrieve the phandle list property */ __of_parse_phandle_with_args() 1476 * property to determine the argument length. __of_parse_phandle_with_args() 1506 * remaining property data length __of_parse_phandle_with_args() 1509 pr_err("%s: arguments longer than property\n", __of_parse_phandle_with_args() 1562 * of_parse_phandle - Resolve a phandle property to a device_node pointer 1563 * @np: Pointer to device node holding phandle property 1564 * @phandle_name: Name of property holding a phandle value 1590 * @list_name: property name that contains a list 1591 * @cells_name: property name that specifies phandles' arguments count 1633 * @list_name: property name that contains a list 1672 * of_count_phandle_with_args() - Find the number of phandles references in a property 1674 * @list_name: property name that contains a list 1675 * @cells_name: property name that specifies phandles' arguments count 1677 * Returns the number of phandle + argument tuples within a property. It 1679 * arguments into a single property. The number of arguments is encoded 1680 * by a property in the phandle-target node. For example, a gpios 1681 * property would contain a list of GPIO specifies consisting of a 1683 * determined by the #gpio-cells property in the node pointed to by the 1695 * __of_add_property - Add a property to a node without lock operations 1697 int __of_add_property(struct device_node *np, struct property *prop) __of_add_property() 1699 struct property **next; __of_add_property() 1716 * of_add_property - Add a property to a node 1718 int of_add_property(struct device_node *np, struct property *prop) of_add_property() 1740 int __of_remove_property(struct device_node *np, struct property *prop) __of_remove_property() 1742 struct property **next; __of_remove_property() 1759 void __of_remove_property_sysfs(struct device_node *np, struct property *prop) __of_remove_property_sysfs() 1770 * of_remove_property - Remove a property from a node. 1773 * who-knows-how-many pointers to the data using get-property. 1774 * Instead we just move the property to the "dead properties" 1777 int of_remove_property(struct device_node *np, struct property *prop) of_remove_property() 1799 int __of_update_property(struct device_node *np, struct property *newprop, __of_update_property() 1800 struct property **oldpropp) __of_update_property() 1802 struct property **next, *oldprop; __of_update_property() 1825 void __of_update_property_sysfs(struct device_node *np, struct property *newprop, __of_update_property_sysfs() 1826 struct property *oldprop) __of_update_property_sysfs() 1841 * of_update_property - Update a property in a node, if the property does 1845 * who-knows-how-many pointers to the data using get-property. 1846 * Instead we just move the property to the "dead properties" list, 1847 * and add the new property to the property list 1849 int of_update_property(struct device_node *np, struct property *newprop) of_update_property() 1851 struct property *oldprop; of_update_property() 1899 struct property *pp; of_alias_scan() 2011 const __be32 *of_prop_next_u32(struct property *prop, const __be32 *cur, of_prop_next_u32() 2034 const char *of_prop_next_string(struct property *prop, const char *cur) of_prop_next_string() 2058 * Check if the given device node matches the stdout-path property in the
|
H A D | dynamic.c | 46 struct property *pp; __of_detach_node_sysfs() 126 struct property *prop, *old_prop = NULL; of_reconfig_get_state_change() 175 /* no status property -> enabled (legacy) */ of_reconfig_get_state_change() 183 /* no status property -> enabled (legacy) */ of_reconfig_get_state_change() 203 struct property *prop, struct property *oldprop) of_property_notify() 324 struct property *prop = node->properties; of_node_release() 337 struct property *next = prop->next; of_node_release() 354 * __of_prop_dup - Copy a property dynamically. 358 * Copy a property by dynamically allocating the memory of both the 359 * property structure and the property name & contents. The property's 362 * Returns the newly allocated property or NULL on out of memory error. 364 struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags) __of_prop_dup() 366 struct property *new; __of_prop_dup() 374 * In case of a boolean property, this will allocate a value __of_prop_dup() 384 /* mark the property as dynamic */ __of_prop_dup() 428 struct property *pp, *new_pp; for_each_property_of_node() 539 struct property *old_prop, **propp; __of_changeset_entry_apply() 554 /* If the property is in deadprops then it must be removed */ __of_changeset_entry_apply() 582 /* If the property is in deadprops then it must be removed */ __of_changeset_entry_apply() 750 * @prop: Pointer to property 761 struct device_node *np, struct property *prop) of_changeset_action()
|
H A D | pdt.c | 90 static struct property * __init of_pdt_build_one_prop(phandle node, char *prev, of_pdt_build_one_prop() 95 static struct property *tmp = NULL; of_pdt_build_one_prop() 96 struct property *p; of_pdt_build_one_prop() 104 p = prom_early_alloc(sizeof(struct property) + 32); of_pdt_build_one_prop() 137 static struct property * __init of_pdt_build_prop_list(phandle node) of_pdt_build_prop_list() 139 struct property *head, *tail; of_pdt_build_prop_list()
|
H A D | of_net.c | 18 * The function gets phy interface string from property 'phy-mode' or 43 struct property *pp = of_find_property(np, name, NULL); of_get_mac_addr() 57 * Note that the 'address' property is supposed to contain a virtual address of 58 * the register set, but some DTS files have redefined that property to be the
|
H A D | resolver.c | 81 struct property *prop; __of_adjust_tree_phandles() 115 struct property *rprop, int value) __of_adjust_phandle_ref() 119 struct property *sprop; __of_adjust_phandle_ref() 172 /* now find the property */ for_each_property_of_node() 179 pr_err("%s: Could not find property '%s'\n", 215 struct property *rprop, *sprop; __of_adjust_tree_phandle_references() 232 pr_err("%s: Illegal property (size) '%s' @%s\n", for_each_property_of_node() 238 /* now find the target property */ for_each_property_of_node() 245 pr_err("%s: Could not find target property '%s' @%s\n", 255 pr_err("%s: Illegal property '%s' @%s\n", 308 struct property *rprop; of_resolve_phandles()
|
H A D | of_pci.c | 71 * of_pci_parse_bus_range() - parse the bus-range property of a PCI device 97 * finding a property called "linux,pci-domain" of the given device node. 102 * a negative value if the required property is not found. 143 * @dev: device node of the host bridge having the range property 153 * This function will parse the "ranges" property of a PCI host bridge device 155 * that the property conforms with the Power ePAPR document. 194 /* Check for ranges property */ of_pci_get_host_bridge_resources() 199 pr_debug("Parsing ranges property...\n"); of_pci_get_host_bridge_resources()
|
H A D | unittest.c | 141 struct property *prop; of_unittest_dynamic() 156 /* Add a new property - should pass*/ of_unittest_dynamic() 157 prop->name = "new-property"; of_unittest_dynamic() 158 prop->value = "new-property-data"; of_unittest_dynamic() 160 unittest(of_add_property(np, prop) == 0, "Adding a new property failed\n"); of_unittest_dynamic() 162 /* Try to add an existing property - should fail */ of_unittest_dynamic() 164 prop->name = "new-property"; of_unittest_dynamic() 165 prop->value = "new-property-data-should-fail"; of_unittest_dynamic() 168 "Adding an existing property should have failed\n"); of_unittest_dynamic() 170 /* Try to modify an existing property - should pass */ of_unittest_dynamic() 171 prop->value = "modify-property-data-should-pass"; of_unittest_dynamic() 174 "Updating an existing property should have passed\n"); of_unittest_dynamic() 176 /* Try to modify non-existent property - should pass*/ of_unittest_dynamic() 178 prop->name = "modify-property"; of_unittest_dynamic() 179 prop->value = "modify-missing-property-data-should-pass"; of_unittest_dynamic() 182 "Updating a missing property should have passed\n"); of_unittest_dynamic() 184 /* Remove property - should pass */ of_unittest_dynamic() 186 "Removing a property should have passed\n"); of_unittest_dynamic() 188 /* Adding very large property - should pass */ of_unittest_dynamic() 190 prop->name = "large-property-PAGE_SIZEx8"; of_unittest_dynamic() 196 "Adding a large property should have passed\n"); of_unittest_dynamic() 353 /* Check for missing list property */ of_unittest_parse_phandle_with_args() 361 /* Check for missing cells property */ of_unittest_parse_phandle_with_args() 406 rc = of_property_match_string(np, "missing-property", "blah"); of_unittest_property_string() 407 unittest(rc == -EINVAL, "missing property; rc=%i\n", rc); of_unittest_property_string() 408 rc = of_property_match_string(np, "empty-property", "blah"); of_unittest_property_string() 409 unittest(rc == -ENODATA, "empty property; rc=%i\n", rc); of_unittest_property_string() 414 rc = of_property_count_strings(np, "string-property"); of_unittest_property_string() 424 rc = of_property_read_string_index(np, "string-property", 0, strings); of_unittest_property_string() 427 rc = of_property_read_string_index(np, "string-property", 1, strings); of_unittest_property_string() 449 rc = of_property_read_string_array(np, "string-property", strings, 4); of_unittest_property_string() 474 struct property p1 = { .name = "p1", .length = 0, .value = "" }; of_unittest_property_copy() 475 struct property p2 = { .name = "p2", .length = 5, .value = "abcd" }; of_unittest_property_copy() 476 struct property *new; of_unittest_property_copy() 479 unittest(new && propcmp(&p1, new), "empty property didn't copy correctly\n"); of_unittest_property_copy() 485 unittest(new && propcmp(&p2, new), "non-empty property didn't copy correctly\n"); of_unittest_property_copy() 495 struct property *ppadd, padd = { .name = "prop-add", .length = 0, .value = "" }; of_unittest_changeset() 496 struct property *ppupdate, pupdate = { .name = "prop-update", .length = 5, .value = "abcd" }; of_unittest_changeset() 497 struct property *ppremove; of_unittest_changeset() 830 struct property *prop; update_node_properties()
|
H A D | of_mdio.c | 30 struct property *prop; of_get_phy_id() 102 /* A PHY must have a reg property in the range [0-31] */ of_mdio_parse_addr() 160 /* auto scan for PHYs with empty reg property */ for_each_available_child_of_node() 162 /* Skip PHYs with reg property set */ for_each_available_child_of_node() 172 /* be noisy to encourage people to set reg property */ for_each_available_child_of_node() 258 * - the old DT binding, where 'fixed-link' was a property with 5
|
H A D | of_reserved_mem.c | 110 pr_err("Reserved memory: invalid size property in '%s' node.\n", __reserved_mem_alloc_size() 121 pr_err("Reserved memory: invalid alignment property in '%s' node.\n", __reserved_mem_alloc_size() 132 pr_err("Reserved memory: invalid alloc-ranges property in '%s', skipping node.\n", __reserved_mem_alloc_size() 246 * property to the given device.
|
H A D | overlay.c | 60 struct device_node *target, struct property *prop) of_overlay_apply_single_property() 62 struct property *propn, *tprop; of_overlay_apply_single_property() 134 struct property *prop; of_overlay_apply_one() 191 * "target" property containing the phandle of the target 192 * "target-path" property containing the path of the target 223 * from a device node. This device node must have a target property 458 * The topmost check is done by exploiting this property. For each
|
H A D | fdt.c | 116 * Returns true if the node has a "big-endian" property, or if the kernel 117 * was compiled for BE *and* the node has a "native-endian" property. 181 struct property *pp, **prev_pp = NULL; unflatten_dt_node() 265 pr_info("Can't find property name in list !\n"); unflatten_dt_node() 270 pp = unflatten_dt_alloc(&mem, sizeof(struct property), unflatten_dt_node() 271 __alignof__(struct property)); unflatten_dt_node() 283 /* And we process the "ibm,phandle" property unflatten_dt_node() 295 /* with version 0x10 we may not have the name property, recreate unflatten_dt_node() 312 pp = unflatten_dt_alloc(&mem, sizeof(struct property) + sz, unflatten_dt_node() 313 __alignof__(struct property)); unflatten_dt_node() 462 * res_mem_reserve_reg() - reserve all memory described in 'reg' property 478 pr_err("Reserved memory: invalid reg property in '%s', skipping node.\n", __reserved_mem_reserve_reg() 509 * also check if ranges property has been provided 647 * of_get_flat_dt_prop - Given a node in the flat blob, return the property ptr
|
/linux-4.1.27/drivers/base/ |
H A D | property.c | 2 * property.c - Unified device property interface. 17 #include <linux/property.h> 112 * device_property_present - check if a property of a device is present 113 * @dev: Device whose property is being checked 114 * @propname: Name of the property 116 * Check if property @propname is present in the device firmware description. 125 * fwnode_property_present - check if a property of a firmware node is present 126 * @fwnode: Firmware node whose property to check 127 * @propname: Name of the property 141 * device_property_read_u8_array - return a u8 array property of a device 142 * @dev: Device to get the property of 143 * @propname: Name of the property 151 * %0 if the property was found (success), 153 * %-ENODATA if the property does not have a value, 154 * %-EPROTO if the property is not an array of numbers, 155 * %-EOVERFLOW if the size of the property is not as expected. 165 * device_property_read_u16_array - return a u16 array property of a device 166 * @dev: Device to get the property of 167 * @propname: Name of the property 175 * %0 if the property was found (success), 177 * %-ENODATA if the property does not have a value, 178 * %-EPROTO if the property is not an array of numbers, 179 * %-EOVERFLOW if the size of the property is not as expected. 189 * device_property_read_u32_array - return a u32 array property of a device 190 * @dev: Device to get the property of 191 * @propname: Name of the property 199 * %0 if the property was found (success), 201 * %-ENODATA if the property does not have a value, 202 * %-EPROTO if the property is not an array of numbers, 203 * %-EOVERFLOW if the size of the property is not as expected. 213 * device_property_read_u64_array - return a u64 array property of a device 214 * @dev: Device to get the property of 215 * @propname: Name of the property 223 * %0 if the property was found (success), 225 * %-ENODATA if the property does not have a value, 226 * %-EPROTO if the property is not an array of numbers, 227 * %-EOVERFLOW if the size of the property is not as expected. 237 * device_property_read_string_array - return a string array property of device 238 * @dev: Device to get the property of 239 * @propname: Name of the property 247 * %0 if the property was found (success), 249 * %-ENODATA if the property does not have a value, 250 * %-EPROTO or %-EILSEQ if the property is not an array of strings, 251 * %-EOVERFLOW if the size of the property is not as expected. 261 * device_property_read_string - return a string property of a device 262 * @dev: Device to get the property of 263 * @propname: Name of the property 266 * Function reads property @propname from the device firmware description and 269 * Return: %0 if the property was found (success), 271 * %-ENODATA if the property does not have a value, 272 * %-EPROTO or %-EILSEQ if the property type is not a string. 301 * fwnode_property_read_u8_array - return a u8 array property of firmware node 302 * @fwnode: Firmware node to get the property of 303 * @propname: Name of the property 311 * %0 if the property was found (success), 313 * %-ENODATA if the property does not have a value, 314 * %-EPROTO if the property is not an array of numbers, 315 * %-EOVERFLOW if the size of the property is not as expected, 327 * fwnode_property_read_u16_array - return a u16 array property of firmware node 328 * @fwnode: Firmware node to get the property of 329 * @propname: Name of the property 337 * %0 if the property was found (success), 339 * %-ENODATA if the property does not have a value, 340 * %-EPROTO if the property is not an array of numbers, 341 * %-EOVERFLOW if the size of the property is not as expected, 353 * fwnode_property_read_u32_array - return a u32 array property of firmware node 354 * @fwnode: Firmware node to get the property of 355 * @propname: Name of the property 363 * %0 if the property was found (success), 365 * %-ENODATA if the property does not have a value, 366 * %-EPROTO if the property is not an array of numbers, 367 * %-EOVERFLOW if the size of the property is not as expected, 379 * fwnode_property_read_u64_array - return a u64 array property firmware node 380 * @fwnode: Firmware node to get the property of 381 * @propname: Name of the property 389 * %0 if the property was found (success), 391 * %-ENODATA if the property does not have a value, 392 * %-EPROTO if the property is not an array of numbers, 393 * %-EOVERFLOW if the size of the property is not as expected, 405 * fwnode_property_read_string_array - return string array property of a node 406 * @fwnode: Firmware node to get the property of 407 * @propname: Name of the property 411 * Read an string list property @propname from the given firmware node and store 415 * %0 if the property was found (success), 417 * %-ENODATA if the property does not have a value, 418 * %-EPROTO if the property is not an array of strings, 419 * %-EOVERFLOW if the size of the property is not as expected, 441 * fwnode_property_read_string - return a string property of a firmware node 442 * @fwnode: Firmware node to get the property of 443 * @propname: Name of the property 446 * Read property @propname from the given firmware node and store the value into 449 * Return: %0 if the property was found (success), 451 * %-ENODATA if the property does not have a value, 452 * %-EPROTO or %-EILSEQ if the property is not a string,
|
H A D | Makefile | 7 topology.o container.o property.o cacheinfo.o
|
/linux-4.1.27/drivers/mfd/ |
H A D | si476x-prop.c | 54 u16 property) si476x_core_is_valid_property_a10() 88 return si476x_core_element_is_in_range(property, valid_ranges, si476x_core_is_valid_property_a10() 90 si476x_core_element_is_in_array(property, valid_properties, si476x_core_is_valid_property_a10() 95 u16 property) si476x_core_is_valid_property_a20() 108 return si476x_core_is_valid_property_a10(core, property) || si476x_core_is_valid_property_a20() 109 si476x_core_element_is_in_range(property, valid_ranges, si476x_core_is_valid_property_a20() 111 si476x_core_element_is_in_array(property, valid_properties, si476x_core_is_valid_property_a20() 116 u16 property) si476x_core_is_valid_property_a30() 134 return si476x_core_is_valid_property_a20(core, property) || si476x_core_is_valid_property_a30() 135 si476x_core_element_is_in_range(property, valid_ranges, si476x_core_is_valid_property_a30() 137 si476x_core_element_is_in_array(property, valid_properties, si476x_core_is_valid_property_a30() 144 u16 property) si476x_core_is_valid_property() 154 return is_valid_property[core->revision](core, property); si476x_core_is_valid_property() 159 u16 property) si476x_core_is_readonly_property() 166 return (property == 0x3200); si476x_core_is_readonly_property() 168 return (property == 0x1006 || si476x_core_is_readonly_property() 169 property == 0x2210 || si476x_core_is_readonly_property() 170 property == 0x3200); si476x_core_is_readonly_property() 53 si476x_core_is_valid_property_a10(struct si476x_core *core, u16 property) si476x_core_is_valid_property_a10() argument 94 si476x_core_is_valid_property_a20(struct si476x_core *core, u16 property) si476x_core_is_valid_property_a20() argument 115 si476x_core_is_valid_property_a30(struct si476x_core *core, u16 property) si476x_core_is_valid_property_a30() argument 143 si476x_core_is_valid_property(struct si476x_core *core, u16 property) si476x_core_is_valid_property() argument 158 si476x_core_is_readonly_property(struct si476x_core *core, u16 property) si476x_core_is_readonly_property() argument
|
H A D | syscon.c | 157 const char *property) syscon_regmap_lookup_by_phandle() 162 if (property) syscon_regmap_lookup_by_phandle() 163 syscon_np = of_parse_phandle(np, property, 0); syscon_regmap_lookup_by_phandle() 156 syscon_regmap_lookup_by_phandle(struct device_node *np, const char *property) syscon_regmap_lookup_by_phandle() argument
|
/linux-4.1.27/arch/arm/boot/dts/ |
H A D | mxs-pinfunc.h | 17 /* fsl,drive-strength property */ 23 /* fsl,voltage property */ 27 /* fsl,pull-up property */
|
/linux-4.1.27/scripts/dtc/libfdt/ |
H A D | libfdt.h | 62 /* FDT_ERR_NOTFOUND: The requested node or property does not exist */ 64 /* FDT_ERR_EXISTS: Attemped to create a node or property which 346 * fdt_first_property_offset - find the offset of a node's first property 350 * fdt_first_property_offset() finds the first property of the node at 354 * structure block offset of the property (>=0), on success 368 * @offset: structure block offset of a property 370 * fdt_next_property_offset() finds the property immediately after the 371 * one at the given structure block offset. This will be a property 372 * of the same node as the given property. 375 * structure block offset of the next property (>=0), on success 376 * -FDT_ERR_NOTFOUND, if the given property is the last in its node 387 * fdt_get_property_by_offset - retrieve the property at a given offset 389 * @offset: offset of the property to retrieve 394 * offset. If lenp is non-NULL, the length of the property value is 398 * pointer to the structure representing the property 399 * if lenp is non-NULL, *lenp contains the length of the property 415 * fdt_get_property_namelen - find a property based on substring 417 * @nodeoffset: offset of the node whose property to find 418 * @name: name of the property to find 423 * namelen characters of name for matching the property name. 431 * fdt_get_property - find a given property in a given node 433 * @nodeoffset: offset of the node whose property to find 434 * @name: name of the property to find 438 * structure within the device tree blob corresponding to the property 440 * non-NULL, the length of the property value is also returned, in the 444 * pointer to the structure representing the property 445 * if lenp is non-NULL, *lenp contains the length of the property 449 * -FDT_ERR_NOTFOUND, node does not have named property 468 * fdt_getprop_by_offset - retrieve the value of a property at a given offset 470 * @ffset: offset of the property to read 475 * property at structure block offset 'offset' (this will be a pointer 477 * lenp is non-NULL, the length of the property value is also 479 * the property's namne will also be returned in the char * pointed to 484 * pointer to the property's value 485 * if lenp is non-NULL, *lenp contains the length of the property 487 * if namep is non-NULL *namep contiains a pointer to the property 502 * fdt_getprop_namelen - get property value based on substring 504 * @nodeoffset: offset of the node whose property to find 505 * @name: name of the property to find 510 * characters of name for matching the property name. 516 * fdt_getprop - retrieve the value of a given property 518 * @nodeoffset: offset of the node whose property to find 519 * @name: name of the property to find 522 * fdt_getprop() retrieves a pointer to the value of the property 525 * If lenp is non-NULL, the length of the property value is also 529 * pointer to the property's value 530 * if lenp is non-NULL, *lenp contains the length of the property 534 * -FDT_ERR_NOTFOUND, node does not have named property 582 * value of the property named 'name' in the node /aliases. 695 * fdt_node_offset_by_prop_value - find nodes with a given property value 698 * @propname: property name to check 699 * @propval: property value to search for 703 * node after startoffset, which has a property named propname whose 758 * fdt_node_check_compatible: check a node's compatible property 765 * 'compatible' property with the given string as one of its elements, 769 * 0, if the node has a 'compatible' property listing the given string 770 * 1, if the node has a 'compatible' property, but it does not list 772 * -FDT_ERR_NOTFOUND, if the given node has no 'compatible' property 789 * node after startoffset, which has a 'compatible' property which 824 * fdt_setprop_inplace - change a property's value, but not its size 826 * @nodeoffset: offset of the node whose property to change 827 * @name: name of the property to change 828 * @val: pointer to data to replace the property value with 829 * @len: length of the property value 831 * fdt_setprop_inplace() replaces the value of a given property with 833 * size of a property, and so will only work if len is equal to the 834 * current length of the property. 837 * the given property value, and will not alter or move any other part 842 * -FDT_ERR_NOSPACE, if len is not equal to the property's current length 843 * -FDT_ERR_NOTFOUND, node does not have the named property 855 * fdt_setprop_inplace_u32 - change the value of a 32-bit integer property 857 * @nodeoffset: offset of the node whose property to change 858 * @name: name of the property to change 859 * @val: 32-bit integer value to replace the property with 861 * fdt_setprop_inplace_u32() replaces the value of a given property 863 * if necessary. This function cannot change the size of a property, 864 * and so will only work if the property already exists and has length 868 * the given property value, and will not alter or move any other part 873 * -FDT_ERR_NOSPACE, if the property's length is not equal to 4 874 * -FDT_ERR_NOTFOUND, node does not have the named property 890 * fdt_setprop_inplace_u64 - change the value of a 64-bit integer property 892 * @nodeoffset: offset of the node whose property to change 893 * @name: name of the property to change 894 * @val: 64-bit integer value to replace the property with 896 * fdt_setprop_inplace_u64() replaces the value of a given property 898 * if necessary. This function cannot change the size of a property, 899 * and so will only work if the property already exists and has length 903 * the given property value, and will not alter or move any other part 908 * -FDT_ERR_NOSPACE, if the property's length is not equal to 8 909 * -FDT_ERR_NOTFOUND, node does not have the named property 925 * fdt_setprop_inplace_cell - change the value of a single-cell property 936 * fdt_nop_property - replace a property with nop tags 938 * @nodeoffset: offset of the node whose property to nop 939 * @name: name of the property to nop 941 * fdt_nop_property() will replace a given property's representation 946 * the property, and will not alter or move any other part of the 951 * -FDT_ERR_NOTFOUND, node does not have the named property 1096 * fdt_setprop - create or change a property 1098 * @nodeoffset: offset of the node whose property to change 1099 * @name: name of the property to change 1100 * @val: pointer to data to set the property value to 1101 * @len: length of the property value 1103 * fdt_setprop() sets the value of the named property in the given 1104 * node to the given value and length, creating the property if it 1113 * contain the new property value 1127 * fdt_setprop_u32 - set a property to a 32-bit integer 1129 * @nodeoffset: offset of the node whose property to change 1130 * @name: name of the property to change 1131 * @val: 32-bit integer value for the property (native endian) 1133 * fdt_setprop_u32() sets the value of the named property in the given 1135 * necessary), or creates a new property with that value if it does 1144 * contain the new property value 1162 * fdt_setprop_u64 - set a property to a 64-bit integer 1164 * @nodeoffset: offset of the node whose property to change 1165 * @name: name of the property to change 1166 * @val: 64-bit integer value for the property (native endian) 1168 * fdt_setprop_u64() sets the value of the named property in the given 1170 * necessary), or creates a new property with that value if it does 1179 * contain the new property value 1197 * fdt_setprop_cell - set a property to a single cell value 1208 * fdt_setprop_string - set a property to a string value 1210 * @nodeoffset: offset of the node whose property to change 1211 * @name: name of the property to change 1212 * @str: string value for the property 1214 * fdt_setprop_string() sets the value of the named property in the 1216 * string to determine the new length of the property), or creates a 1217 * new property with that value if it does not already exist. 1225 * contain the new property value 1239 * fdt_appendprop - append to or create a property 1241 * @nodeoffset: offset of the node whose property to change 1242 * @name: name of the property to append to 1243 * @val: pointer to data to append to the property value 1244 * @len: length of the data to append to the property value 1246 * fdt_appendprop() appends the value to the named property in the 1247 * given node, creating the property if it does not already exist. 1255 * contain the new property value 1269 * fdt_appendprop_u32 - append a 32-bit integer value to a property 1271 * @nodeoffset: offset of the node whose property to change 1272 * @name: name of the property to change 1273 * @val: 32-bit integer value to append to the property (native endian) 1277 * property in the given node, or creates a new property with that 1286 * contain the new property value 1304 * fdt_appendprop_u64 - append a 64-bit integer value to a property 1306 * @nodeoffset: offset of the node whose property to change 1307 * @name: name of the property to change 1308 * @val: 64-bit integer value to append to the property (native endian) 1312 * property in the given node, or creates a new property with that 1321 * contain the new property value 1339 * fdt_appendprop_cell - append a single cell value to a property 1350 * fdt_appendprop_string - append a string to a property 1352 * @nodeoffset: offset of the node whose property to change 1353 * @name: name of the property to change 1354 * @str: string value to append to the property 1357 * the named property in the given node, or creates a new property 1366 * contain the new property value 1380 * fdt_delprop - delete a property 1382 * @nodeoffset: offset of the node whose property to nop 1383 * @name: name of the property to nop 1385 * fdt_del_property() will delete the given property. 1392 * -FDT_ERR_NOTFOUND, node does not have the named property
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | intel_atomic_plane.c | 122 * property while the plane is disabled. We don't actually have intel_plane_atomic_check() 190 * intel_plane_atomic_get_property - fetch plane property value 191 * @plane: plane to fetch property for 192 * @state: state containing the property value 193 * @property: property to look up 194 * @val: pointer to write property value into 198 * the current value of a driver-specific plane property. 203 struct drm_property *property, intel_plane_atomic_get_property() 206 DRM_DEBUG_KMS("Unknown plane property '%s'\n", property->name); intel_plane_atomic_get_property() 211 * intel_plane_atomic_set_property - set plane property value 212 * @plane: plane to set property for 213 * @state: state to update property value in 214 * @property: property to set 215 * @val: value to set property to 217 * Writes the specified property value for a plane into the provided atomic 225 struct drm_property *property, intel_plane_atomic_set_property() 228 DRM_DEBUG_KMS("Unknown plane property '%s'\n", property->name); intel_plane_atomic_set_property() 201 intel_plane_atomic_get_property(struct drm_plane *plane, const struct drm_plane_state *state, struct drm_property *property, uint64_t *val) intel_plane_atomic_get_property() argument 223 intel_plane_atomic_set_property(struct drm_plane *plane, struct drm_plane_state *state, struct drm_property *property, uint64_t val) intel_plane_atomic_set_property() argument
|
H A D | intel_atomic.c | 167 * intel_connector_atomic_get_property - fetch connector property value 168 * @connector: connector to fetch property for 169 * @state: state containing the property value 170 * @property: property to look up 171 * @val: pointer to write property value into 175 * the current value of a driver-specific connector property. 180 struct drm_property *property, intel_connector_atomic_get_property() 188 * continue to look up all property values in the DRM's shadow copy intel_connector_atomic_get_property() 195 if (connector->base.properties->properties[i] == property) { intel_connector_atomic_get_property() 178 intel_connector_atomic_get_property(struct drm_connector *connector, const struct drm_connector_state *state, struct drm_property *property, uint64_t *val) intel_connector_atomic_get_property() argument
|
/linux-4.1.27/include/linux/ |
H A D | of.h | 26 #include <linux/property.h> 35 struct property { struct 39 struct property *next; 56 struct property *properties; 57 struct property *deadprops; /* removed properties */ 80 struct property *prop; 81 struct property *old_prop; 167 static inline int of_property_check_flag(struct property *p, unsigned long flag) of_property_check_flag() 172 static inline void of_property_set_flag(struct property *p, unsigned long flag) of_property_set_flag() 177 static inline void of_property_clear_flag(struct property *p, unsigned long flag) of_property_clear_flag() 275 extern struct property *of_find_property(const struct device_node *np, 342 extern int of_add_property(struct device_node *np, struct property *prop); 343 extern int of_remove_property(struct device_node *np, struct property *prop); 344 extern int of_update_property(struct device_node *np, struct property *newprop); 359 * struct property *prop; 366 const __be32 *of_prop_next_u32(struct property *prop, const __be32 *cur, 369 * struct property *prop; 375 const char *of_prop_next_string(struct property *prop, const char *cur); 482 static inline struct property *of_find_property(const struct device_node *np, of_find_property() 625 static inline const __be32 *of_prop_next_u32(struct property *prop, of_prop_next_u32() 631 static inline const char *of_prop_next_string(struct property *prop, of_prop_next_string() 656 static inline int of_property_check_flag(struct property *p, unsigned long flag) of_property_check_flag() 661 static inline void of_property_set_flag(struct property *p, unsigned long flag) of_property_set_flag() 665 static inline void of_property_clear_flag(struct property *p, unsigned long flag) of_property_clear_flag() 690 * of_property_count_u8_elems - Count the number of u8 elements in a property 692 * @np: device node from which the property value is to be read. 693 * @propname: name of the property to be searched. 695 * Search for a property in a device node and count the number of u8 elements 696 * in it. Returns number of elements on sucess, -EINVAL if the property does 698 * property does not have a value. 707 * of_property_count_u16_elems - Count the number of u16 elements in a property 709 * @np: device node from which the property value is to be read. 710 * @propname: name of the property to be searched. 712 * Search for a property in a device node and count the number of u16 elements 713 * in it. Returns number of elements on sucess, -EINVAL if the property does 715 * property does not have a value. 724 * of_property_count_u32_elems - Count the number of u32 elements in a property 726 * @np: device node from which the property value is to be read. 727 * @propname: name of the property to be searched. 729 * Search for a property in a device node and count the number of u32 elements 730 * in it. Returns number of elements on sucess, -EINVAL if the property does 732 * property does not have a value. 741 * of_property_count_u64_elems - Count the number of u64 elements in a property 743 * @np: device node from which the property value is to be read. 744 * @propname: name of the property to be searched. 746 * Search for a property in a device node and count the number of u64 elements 747 * in it. Returns number of elements on sucess, -EINVAL if the property does 749 * property does not have a value. 759 * strings property. 760 * @np: device node from which the property value is to be read. 761 * @propname: name of the property to be searched. 765 * Search for a property in a device tree node and retrieve a list of 766 * terminated string values (pointer to data, not a copy) in that property. 768 * If @out_strs is NULL, the number of strings in the property is returned. 779 * multiple strings property. 780 * @np: device node from which the property value is to be read. 781 * @propname: name of the property to be searched. 783 * Search for a property in a device tree node and retrieve the number of null 785 * success, -EINVAL if the property does not exist, -ENODATA if property 787 * within the length of the property data. 797 * strings property. 798 * @np: device node from which the property value is to be read. 799 * @propname: name of the property to be searched. 804 * Search for a property in a device tree node and retrieve a null 806 * contained in that property. 807 * Returns 0 on success, -EINVAL if the property does not exist, -ENODATA if 808 * property does not have a value, and -EILSEQ if the string is not 809 * null-terminated within the length of the property data. 822 * of_property_read_bool - Findfrom a property 823 * @np: device node from which the property value is to be read. 824 * @propname: name of the property to be searched. 826 * Search for a property in a device node. 827 * Returns true if the property exist false otherwise. 832 struct property *prop = of_find_property(np, propname, NULL); of_property_read_bool() 954 * @prop: pointer to the property affected 955 * @old_prop: hold a pointer to the original property 966 struct property *prop; 967 struct property *old_prop; 1003 struct property *prop); 1018 struct device_node *np, struct property *prop) of_changeset_add_property() 1024 struct device_node *np, struct property *prop) of_changeset_remove_property() 1030 struct device_node *np, struct property *prop) of_changeset_update_property()
|
H A D | of_gpio.h | 87 * @propname: property name containing gpio specifier(s) of_gpiochip_remove() 91 * Number of gpios defined in property, of_gpiochip_remove() 92 * -EINVAL for an incorrectly formed gpios property, or of_gpiochip_remove() 93 * -ENOENT for a missing gpios property of_gpiochip_remove() 113 * Same as of_gpio_named_count, but hard coded to use the 'gpios' property 129 * @propname: Name of property containing gpio specifier(s)
|
H A D | property.h | 2 * property.h - Unified device property interface. 135 * struct property_entry - "Built-in" device property representation. 136 * @name: Name of the property. 137 * @type: Type of the property. 139 * @value: Value of the property (an array of @nval items of type @type).
|
H A D | of_graph.h | 21 * @port: identifier (value of reg property) of a port this endpoint belongs to 22 * @id: identifier (value of reg property) of this endpoint
|
H A D | of_pdt.h | 20 * If prev is NULL, the first property will be returned.
|
/linux-4.1.27/scripts/dtc/ |
H A D | livetree.c | 53 struct property *build_property(char *name, struct data val) build_property() 55 struct property *new = xmalloc(sizeof(*new)); build_property() 65 struct property *build_property_delete(char *name) build_property_delete() 67 struct property *new = xmalloc(sizeof(*new)); build_property_delete() 77 struct property *chain_property(struct property *first, struct property *list) chain_property() 85 struct property *reverse_properties(struct property *first) reverse_properties() 87 struct property *p = first; reverse_properties() 88 struct property *head = NULL; reverse_properties() 89 struct property *next; reverse_properties() 100 struct node *build_node(struct property *proplist, struct node *children) build_node() 139 struct property *new_prop, *old_prop; merge_nodes() 152 /* Pop the property off the list */ merge_nodes() 166 /* Add new labels to old property */ for_each_property_withdel() 178 /* if no collision occurred, add property to the old node. */ 227 void add_property(struct node *node, struct property *prop) add_property() 229 struct property **p; add_property() 242 struct property *prop = node->proplist; delete_property_by_name() 253 void delete_property(struct property *prop) delete_property() 288 struct property *prop; delete_node() 363 struct property *get_property(struct node *node, const char *propname) get_property() 365 struct property *prop; get_property() 374 cell_t propval_cell(struct property *prop) propval_cell() 380 struct property *get_property_by_label(struct node *tree, const char *label, get_property_by_label() 383 struct property *prop; get_property_by_label() 407 struct node **node, struct property **prop) get_marker_label() 410 struct property *p; get_marker_label() 544 /* If the node *does* have a phandle property, we must get_node_phandle() 554 struct property *reg; guess_boot_cpuid() 625 const struct property *a, *b; cmp_prop() 627 a = *((const struct property * const *)ax); cmp_prop() 628 b = *((const struct property * const *)bx); cmp_prop() 636 struct property *prop, **tbl; sort_properties()
|
H A D | dtc.h | 135 struct property { struct 140 struct property *next; 148 struct property *proplist; 187 struct property *build_property(char *name, struct data val); 188 struct property *build_property_delete(char *name); 189 struct property *chain_property(struct property *first, struct property *list); 190 struct property *reverse_properties(struct property *first); 192 struct node *build_node(struct property *proplist, struct node *children); 198 void add_property(struct node *node, struct property *prop); 200 void delete_property(struct property *prop); 206 struct property *get_property(struct node *node, const char *propname); 207 cell_t propval_cell(struct property *prop); 208 struct property *get_property_by_label(struct node *tree, const char *label, 211 struct node **node, struct property **prop);
|
H A D | checks.c | 46 struct node *node, struct property *prop); 128 struct property *prop; check_nodes_props() 200 struct property *prop; check_is_string() 208 FAIL(c, "\"%s\" property in %s is not a string", check_is_string() 219 struct property *prop; check_is_cell() 227 FAIL(c, "\"%s\" property in %s is not a single cell", check_is_cell() 257 struct property *prop, *prop2; check_duplicate_property_names() 264 FAIL(c, "Duplicate property name %s in %s", for_each_property() 297 struct node *node, struct property *prop) check_property_name_chars() 302 FAIL(c, "Bad character '%c' in property name \"%s\", node %s", check_property_name_chars() 316 struct property *prop, struct marker *mark) check_duplicate_label() 319 struct property *otherprop = NULL; check_duplicate_label() 349 struct node *node, struct property *prop) check_duplicate_label_prop() 364 struct node *node, struct property *prop) check_explicit_phandles() 375 FAIL(c, "%s has bad length (%d) %s property", check_explicit_phandles() 402 FAIL(c, "%s has bad value (0x%x) in %s property", 408 FAIL(c, "%s has %s property which replaces existing phandle information", 425 struct property **pp, *prop = NULL; check_name_properties() 434 return; /* No name property, that's fine */ check_name_properties() 438 FAIL(c, "\"name\" property in %s is incorrect (\"%s\" instead" check_name_properties() 441 /* The name property is correct, and therefore redundant. check_name_properties() 457 struct node *node, struct property *prop) fixup_phandle_references() 481 struct node *node, struct property *prop) fixup_path_references() 519 struct property *prop; fixup_addr_size_cells() 543 struct property *prop; check_reg_format() 551 FAIL(c, "Root node has a \"reg\" property"); check_reg_format() 556 FAIL(c, "\"reg\" property in %s is empty", node->fullpath); check_reg_format() 563 FAIL(c, "\"reg\" property in %s has invalid length (%d bytes) " check_reg_format() 572 struct property *prop; check_ranges_format() 580 FAIL(c, "Root node has a \"ranges\" property"); check_ranges_format() 592 FAIL(c, "%s has empty \"ranges\" property but its " check_ranges_format() 597 FAIL(c, "%s has empty \"ranges\" property but its " check_ranges_format() 602 FAIL(c, "\"ranges\" property in %s has invalid length (%d bytes) " check_ranges_format() 616 struct property *reg, *ranges; check_avoid_default_addr_size() 641 struct property *prop; check_obsolete_chosen_interrupt_controller() 650 "property"); check_obsolete_chosen_interrupt_controller()
|
H A D | fdtput.c | 33 OPER_WRITE_PROP, /* Write a property in a node */ 62 * Encode a series of arguments in a property value. 135 const char *property, const char *buf, int len) store_key_value() 146 err = fdt_setprop(blob, node, property, buf, len); store_key_value() 148 report_error(property, -1, err); store_key_value() 250 * store them into the property. do_fdtput() 276 "fdtput - write a property value to a device tree\n" 281 " fdtput <options> <dt file> <node> <property> [<value>...]\n" 315 * - delete property main() 356 usage("Missing property"); main() 134 store_key_value(void *blob, const char *node_name, const char *property, const char *buf, int len) store_key_value() argument
|
H A D | fdtget.c | 48 const char *default_val; /* default value if node/property not found */ 197 * Show the data for a given node (and perhaps property) according to the 203 * @param property Name of property to display, or NULL if none 207 int node, const char *property) show_data_for_item() 222 assert(property); show_data_for_item() 223 value = fdt_getprop(blob, node, property, &len); show_data_for_item() 232 report_error(property, len); show_data_for_item() 285 " fdtget <options> <dt file> [<node> <property>]...\n" 291 "\t-d\t\tDefault value to display when the property is " 359 /* Check for node, property arguments */ main() 206 show_data_for_item(const void *blob, struct display_info *disp, int node, const char *property) show_data_for_item() argument
|
H A D | util.h | 63 * Check a property of a given length to see if it is all printable and 64 * has a valid terminator. The property can contain either a single string, 172 * Print property data in a readable format to stdout 180 * @param data Pointers to property data 181 * @param len Length of property data
|
H A D | flattree.c | 57 void (*property)(void *, struct label *labels); member in struct:emitter 114 .property = bin_emit_property, 240 .property = asm_emit_property, 262 struct property *prop; flatten_tree() 286 emit->property(etarget, prop->labels); for_each_property() 298 emit->property(etarget, NULL); 678 static struct property *flat_read_property(struct inbuf *dtbuf, flat_read_property() 761 struct property *prop; unflatten_tree() 769 "subnodes preceding a property.\n"); unflatten_tree()
|
H A D | treesource.c | 195 static void write_propval(FILE *f, struct property *prop) write_propval() 238 struct property *prop; write_tree_source_node()
|
H A D | fstree.c | 52 struct property *prop; read_fstree()
|
/linux-4.1.27/drivers/acpi/ |
H A D | property.c | 64 const union acpi_object *property; acpi_properties_format_valid() local 66 property = &properties->package.elements[i]; acpi_properties_format_valid() 71 if (property->package.count != 2 acpi_properties_format_valid() 72 || property->package.elements[0].type != ACPI_TYPE_STRING acpi_properties_format_valid() 73 || !acpi_property_value_ok(&property->package.elements[1])) acpi_properties_format_valid() 108 "PRP0001 requires compatible property\n"); acpi_init_of_compatible() 177 * acpi_dev_get_property - return an ACPI property with given name 178 * @adev: ACPI device to get property 179 * @name: Name of the property 180 * @type: Expected property type 181 * @obj: Location to store the property value (if not %NULL) 183 * Look up a property with @name and store a pointer to the resulting ACPI 189 * Return: %0 if property with @name has been found (success), 191 * %-ENODATA if the property doesn't exist, 192 * %-EPROTO if the property value type doesn't match @type. 209 const union acpi_object *property; acpi_dev_get_property() local 211 property = &properties->package.elements[i]; acpi_dev_get_property() 213 propname = &property->package.elements[0]; acpi_dev_get_property() 214 propvalue = &property->package.elements[1]; acpi_dev_get_property() 230 * acpi_dev_get_property_array - return an ACPI array property with given name 231 * @adev: ACPI device to get property 232 * @name: Name of the property 234 * @obj: Location to store a pointer to the property value (if not NULL) 236 * Look up an array property with @name and store a pointer to the resulting 242 * Return: %0 if array property (package) with @name has been found (success), 244 * %-ENODATA if the property doesn't exist, 245 * %-EPROTO if the property is not a package or the type of its elements 274 * @adev: ACPI device to get property 275 * @name: Name of the property 279 * Find property with @name, verifify that it is a package containing at least 284 * If there's more than one reference in the property value package, @index is
|
H A D | Makefile | 50 acpi-y += property.o
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_ipp.c | 37 * 2. integrate property and config. 67 * @prop_id: id of property. 87 * @prop_idr: property idr. 177 struct drm_exynos_ipp_property *property) ipp_check_driver() 179 if (ippdrv->dedicated || (!ipp_is_m2m_cmd(property->cmd) && ipp_check_driver() 184 ippdrv->check_property(ippdrv->dev, property)) ipp_check_driver() 191 struct drm_exynos_ipp_property *property) ipp_find_driver() 194 u32 ipp_id = property->ipp_id; ipp_find_driver() 204 ret = ipp_check_driver(ippdrv, property); ipp_find_driver() 213 ret = ipp_check_driver(ippdrv, property); ipp_find_driver() 218 DRM_DEBUG("cannot find driver suitable for given property.\n"); ipp_find_driver() 242 if (c_node->property.prop_id == prop_id) { ipp_find_drv_by_handle() 269 DRM_ERROR("invalid property parameter.\n"); exynos_drm_ipp_get_property() 306 static void ipp_print_property(struct drm_exynos_ipp_property *property, ipp_print_property() argument 309 struct drm_exynos_ipp_config *config = &property->config[idx]; ipp_print_property() 314 property->prop_id, idx ? "dst" : "src", config->fmt); ipp_print_property() 353 struct drm_exynos_ipp_property *property = data; exynos_drm_ipp_set_property() local 364 if (!property) { exynos_drm_ipp_set_property() 365 DRM_ERROR("invalid property parameter.\n"); exynos_drm_ipp_set_property() 369 prop_id = property->prop_id; exynos_drm_ipp_set_property() 372 * This is log print for user application property. exynos_drm_ipp_set_property() 373 * user application set various property. exynos_drm_ipp_set_property() 376 ipp_print_property(property, i); exynos_drm_ipp_set_property() 379 * In case prop_id is not zero try to set existing property. exynos_drm_ipp_set_property() 394 c_node->property = *property; exynos_drm_ipp_set_property() 400 ippdrv = ipp_find_driver(ctx, property); exynos_drm_ipp_set_property() 416 property->prop_id = ret; exynos_drm_ipp_set_property() 419 property->prop_id, property->cmd, (int)ippdrv); exynos_drm_ipp_set_property() 421 /* stored property information and ippdrv in private data */ exynos_drm_ipp_set_property() 422 c_node->property = *property; exynos_drm_ipp_set_property() 463 if (!ipp_is_m2m_cmd(property->cmd)) exynos_drm_ipp_set_property() 473 ipp_remove_id(&ctx->prop_idr, &ctx->prop_lock, property->prop_id); exynos_drm_ipp_set_property() 489 /* The property id should already be varified */ ipp_validate_mem_node() 490 ipp_cfg = &c_node->property.config[m_node->prop_id]; ipp_validate_mem_node() 718 c_node->property.prop_id); ipp_clean_cmd_node() 734 switch (c_node->property.cmd) { ipp_check_mem_list() 825 struct drm_exynos_ipp_property *property; ipp_queue_buf_with_run() local 841 property = &c_node->property; ipp_queue_buf_with_run() 859 if (ipp_is_m2m_cmd(property->cmd)) { ipp_queue_buf_with_run() 1087 c_node->property.prop_id); exynos_drm_ipp_cmd_ctrl() 1107 c_node->property.prop_id); exynos_drm_ipp_cmd_ctrl() 1148 struct drm_exynos_ipp_property *property) ipp_set_property() 1154 if (!property) { ipp_set_property() 1155 DRM_ERROR("invalid property parameter.\n"); ipp_set_property() 1159 DRM_DEBUG_KMS("prop_id[%d]\n", property->prop_id); ipp_set_property() 1170 &property->config[i]; for_each_ipp_ops() 1209 struct drm_exynos_ipp_property *property = &c_node->property; ipp_start_property() local 1213 DRM_DEBUG_KMS("prop_id[%d]\n", property->prop_id); ipp_start_property() 1225 /* set current property in ippdrv */ ipp_start_property() 1226 ret = ipp_set_property(ippdrv, property); ipp_start_property() 1228 DRM_ERROR("failed to set property.\n"); ipp_start_property() 1234 switch (property->cmd) { ipp_start_property() 1283 DRM_DEBUG_KMS("cmd[%d]\n", property->cmd); 1287 ret = ippdrv->start(ippdrv->dev, property->cmd); 1307 struct drm_exynos_ipp_property *property = &c_node->property; ipp_stop_property() local 1310 DRM_DEBUG_KMS("prop_id[%d]\n", property->prop_id); ipp_stop_property() 1314 ippdrv->stop(ippdrv->dev, property->cmd); ipp_stop_property() 1317 switch (property->cmd) { ipp_stop_property() 1342 struct drm_exynos_ipp_property *property; ipp_sched_cmd() local 1359 property = &c_node->property; ipp_sched_cmd() 1366 DRM_ERROR("failed to start property:prop_id[%d]\n", ipp_sched_cmd() 1367 c_node->property.prop_id); ipp_sched_cmd() 1377 if (ipp_is_m2m_cmd(property->cmd)) { ipp_sched_cmd() 1381 c_node->property.prop_id); ipp_sched_cmd() 1391 DRM_ERROR("failed to stop property.\n"); ipp_sched_cmd() 1412 struct drm_exynos_ipp_property *property = &c_node->property; ipp_send_event() local 1430 if (!property) { ipp_send_event() 1431 DRM_ERROR("failed to get property.\n"); ipp_send_event() 1450 switch (property->cmd) { ipp_send_event() 1510 tbuf_id[1], buf_id[1], property->prop_id); 1525 e->event.prop_id = property->prop_id; 1538 property->cmd, property->prop_id, tbuf_id[EXYNOS_DRM_OPS_DST]); 1584 c_node->state, c_node->property.prop_id); ipp_sched_event() 1595 if (ipp_is_m2m_cmd(c_node->property.cmd)) ipp_sched_event() 1755 * user process make command node using set property ioctl. ipp_probe() 1757 * and then this command thread start property. ipp_probe() 176 ipp_check_driver(struct exynos_drm_ippdrv *ippdrv, struct drm_exynos_ipp_property *property) ipp_check_driver() argument 190 ipp_find_driver(struct ipp_context *ctx, struct drm_exynos_ipp_property *property) ipp_find_driver() argument 1147 ipp_set_property(struct exynos_drm_ippdrv *ippdrv, struct drm_exynos_ipp_property *property) ipp_set_property() argument
|
H A D | exynos_drm_ipp.h | 59 * @property: property information. 75 struct drm_exynos_ipp_property property; member in struct:drm_exynos_ipp_cmd_node 151 * @prop_list: property informations of current ipp driver. 152 * @check_property: check property about format, size, buffer. 172 struct drm_exynos_ipp_property *property);
|
H A D | exynos_drm_gsc.c | 704 struct drm_exynos_ipp_property *property; gsc_src_set_addr() local 711 property = &c_node->property; gsc_src_set_addr() 714 property->prop_id, buf_id, buf_type); gsc_src_set_addr() 1152 struct drm_exynos_ipp_property *property; gsc_dst_set_addr() local 1159 property = &c_node->property; gsc_dst_set_addr() 1162 property->prop_id, buf_id, buf_type); gsc_dst_set_addr() 1373 struct drm_exynos_ipp_property *property) gsc_ippdrv_check_property() 1386 (property->cmd == IPP_CMD_WB)) for_each_ipp_ops() 1389 config = &property->config[i]; for_each_ipp_ops() 1469 (property->cmd == IPP_CMD_WB)) for_each_ipp_ops() 1472 config = &property->config[i]; for_each_ipp_ops() 1511 struct drm_exynos_ipp_property *property; gsc_ippdrv_start() local 1525 property = &c_node->property; gsc_ippdrv_start() 1530 config = &property->config[i]; for_each_ipp_ops() 1556 set_wb.refresh = property->refresh_rate; 1693 dev_err(dev, "failed to init property list.\n"); gsc_probe() 1372 gsc_ippdrv_check_property(struct device *dev, struct drm_exynos_ipp_property *property) gsc_ippdrv_check_property() argument
|
H A D | exynos_drm_fimc.c | 690 struct drm_exynos_ipp_property *property; fimc_src_set_addr() local 698 property = &c_node->property; fimc_src_set_addr() 701 property->prop_id, buf_id, buf_type); fimc_src_set_addr() 711 config = &property->config[EXYNOS_DRM_OPS_SRC]; fimc_src_set_addr() 1149 struct drm_exynos_ipp_property *property; fimc_dst_set_addr() local 1157 property = &c_node->property; fimc_dst_set_addr() 1160 property->prop_id, buf_id, buf_type); fimc_dst_set_addr() 1170 config = &property->config[EXYNOS_DRM_OPS_DST]; fimc_dst_set_addr() 1304 struct drm_exynos_ipp_property *property) fimc_ippdrv_check_property() 1317 (property->cmd == IPP_CMD_WB)) for_each_ipp_ops() 1320 config = &property->config[i]; for_each_ipp_ops() 1400 (property->cmd == IPP_CMD_WB)) for_each_ipp_ops() 1403 config = &property->config[i]; for_each_ipp_ops() 1453 struct drm_exynos_ipp_property *property; fimc_ippdrv_start() local 1467 property = &c_node->property; fimc_ippdrv_start() 1472 config = &property->config[i]; for_each_ipp_ops() 1512 set_wb.refresh = property->refresh_rate; 1739 dev_err(dev, "failed to init property list.\n"); fimc_probe() 1303 fimc_ippdrv_check_property(struct device *dev, struct drm_exynos_ipp_property *property) fimc_ippdrv_check_property() argument
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | vphn.h | 10 * form the complete property we have to add the length in the first cell.
|
H A D | vphn.c | 22 * Convert to the sequence they would appear in the ibm,associativity property. 66 /* The first cell contains the length of the property */ vphn_unpack_associativity()
|
H A D | numa.c | 183 * Returns the property linux,drconf-usable-memory if 184 * it exists (the property exists only in kexec/kdump kernels, 307 * This property is a set of 32-bit integers, each representing find_min_common_depth() 390 * Read the next memblock list entry from the ibm,dynamic-memory property 409 * Retrieve and validate the ibm,dynamic-memory property of the device tree. 411 * The layout of the ibm,dynamic-memory property is a number N of memblock 427 * of the property read in to ensure we have everything of_get_drconf_memory() 437 * Retrieve and validate the ibm,lmb-size property for drconf memory 460 * memory from the ibm,associativity-lookup-arrays property of the 463 * The layout of the ibm,associativity-lookup-arrays property is a number N 482 * revalidate the size of the property read in. of_get_assoc_arrays() 632 * linux,drconf-usable-memory property 638 * entry in linux,drconf-usable-memory property contains read_usm_ranges() 805 * ibm,dynamic-memory property in the 1030 * memory represented in the device tree by the property 1227 * ibm,associativity-reference-points property. When an associativity
|
/linux-4.1.27/tools/testing/selftests/powerpc/vphn/ |
H A D | vphn.h | 10 * form the complete property we have to add the length in the first cell.
|
H A D | vphn.c | 22 * Convert to the sequence they would appear in the ibm,associativity property. 66 /* The first cell contains the length of the property */ vphn_unpack_associativity()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_crtc.c | 1549 * drm_mode_create_scaling_mode_property - create scaling mode property 1574 * drm_mode_create_aspect_ratio_property - create aspect ratio property 1601 * drm_mode_create_dirty_property - create dirty property 1629 * Create the the suggested x/y offset property for connectors. 3636 * drm_property_create - create a new property type 3638 * @flags: flags specifying the property type 3639 * @name: name of the property 3642 * This creates a new generic drm property which can then be attached to a drm 3643 * object with drm_object_attach_property. The returned property object must be 3651 * A pointer to the newly created property on success, NULL on failure. 3656 struct drm_property *property = NULL; drm_property_create() local 3659 property = kzalloc(sizeof(struct drm_property), GFP_KERNEL); drm_property_create() 3660 if (!property) drm_property_create() 3663 property->dev = dev; drm_property_create() 3666 property->values = kcalloc(num_values, sizeof(uint64_t), drm_property_create() 3668 if (!property->values) drm_property_create() 3672 ret = drm_mode_object_get(dev, &property->base, DRM_MODE_OBJECT_PROPERTY); drm_property_create() 3676 property->flags = flags; drm_property_create() 3677 property->num_values = num_values; drm_property_create() 3678 INIT_LIST_HEAD(&property->enum_list); drm_property_create() 3681 strncpy(property->name, name, DRM_PROP_NAME_LEN); drm_property_create() 3682 property->name[DRM_PROP_NAME_LEN-1] = '\0'; drm_property_create() 3685 list_add_tail(&property->head, &dev->mode_config.property_list); drm_property_create() 3687 WARN_ON(!drm_property_type_valid(property)); drm_property_create() 3689 return property; drm_property_create() 3691 kfree(property->values); drm_property_create() 3692 kfree(property); drm_property_create() 3698 * drm_property_create_enum - create a new enumeration property type 3700 * @flags: flags specifying the property type 3701 * @name: name of the property 3702 * @props: enumeration lists with property values 3705 * This creates a new generic drm property which can then be attached to a drm 3706 * object with drm_object_attach_property. The returned property object must be 3713 * A pointer to the newly created property on success, NULL on failure. 3720 struct drm_property *property; drm_property_create_enum() local 3725 property = drm_property_create(dev, flags, name, num_values); drm_property_create_enum() 3726 if (!property) drm_property_create_enum() 3730 ret = drm_property_add_enum(property, i, drm_property_create_enum() 3734 drm_property_destroy(dev, property); drm_property_create_enum() 3739 return property; drm_property_create_enum() 3744 * drm_property_create_bitmask - create a new bitmask property type 3746 * @flags: flags specifying the property type 3747 * @name: name of the property 3748 * @props: enumeration lists with property bitflags 3752 * This creates a new bitmask drm property which can then be attached to a drm 3753 * object with drm_object_attach_property. The returned property object must be 3757 * or'ed together combination of the predefined property bitflag values 3760 * A pointer to the newly created property on success, NULL on failure. 3768 struct drm_property *property; drm_property_create_bitmask() local 3774 property = drm_property_create(dev, flags, name, num_values); drm_property_create_bitmask() 3775 if (!property) drm_property_create_bitmask() 3782 drm_property_destroy(dev, property); drm_property_create_bitmask() 3786 ret = drm_property_add_enum(property, index++, drm_property_create_bitmask() 3790 drm_property_destroy(dev, property); drm_property_create_bitmask() 3795 return property; drm_property_create_bitmask() 3803 struct drm_property *property; property_create_range() local 3805 property = drm_property_create(dev, flags, name, 2); property_create_range() 3806 if (!property) property_create_range() 3809 property->values[0] = min; property_create_range() 3810 property->values[1] = max; property_create_range() 3812 return property; property_create_range() 3816 * drm_property_create_range - create a new unsigned ranged property type 3818 * @flags: flags specifying the property type 3819 * @name: name of the property 3820 * @min: minimum value of the property 3821 * @max: maximum value of the property 3823 * This creates a new generic drm property which can then be attached to a drm 3824 * object with drm_object_attach_property. The returned property object must be 3831 * A pointer to the newly created property on success, NULL on failure. 3843 * drm_property_create_signed_range - create a new signed ranged property type 3845 * @flags: flags specifying the property type 3846 * @name: name of the property 3847 * @min: minimum value of the property 3848 * @max: maximum value of the property 3850 * This creates a new generic drm property which can then be attached to a drm 3851 * object with drm_object_attach_property. The returned property object must be 3858 * A pointer to the newly created property on success, NULL on failure. 3870 * drm_property_create_object - create a new object property type 3872 * @flags: flags specifying the property type 3873 * @name: name of the property 3876 * This creates a new generic drm property which can then be attached to a drm 3877 * object with drm_object_attach_property. The returned property object must be 3880 * Userspace is only allowed to set this to any property value of the given 3884 * A pointer to the newly created property on success, NULL on failure. 3889 struct drm_property *property; drm_property_create_object() local 3896 property = drm_property_create(dev, flags, name, 1); drm_property_create_object() 3897 if (!property) drm_property_create_object() 3900 property->values[0] = type; drm_property_create_object() 3902 return property; drm_property_create_object() 3907 * drm_property_create_bool - create a new boolean property type 3909 * @flags: flags specifying the property type 3910 * @name: name of the property 3912 * This creates a new generic drm property which can then be attached to a drm 3913 * object with drm_object_attach_property. The returned property object must be 3916 * This is implemented as a ranged property with only {0, 1} as valid values. 3919 * A pointer to the newly created property on success, NULL on failure. 3929 * drm_property_add_enum - add a possible value to an enumeration property 3930 * @property: enumeration property to change 3935 * This functions adds enumerations to a property. 3938 * to directly create the property with all enumerations already attached. 3943 int drm_property_add_enum(struct drm_property *property, int index, drm_property_add_enum() argument 3948 if (!(drm_property_type_is(property, DRM_MODE_PROP_ENUM) || drm_property_add_enum() 3949 drm_property_type_is(property, DRM_MODE_PROP_BITMASK))) drm_property_add_enum() 3956 if (drm_property_type_is(property, DRM_MODE_PROP_BITMASK) && drm_property_add_enum() 3960 if (!list_empty(&property->enum_list)) { drm_property_add_enum() 3961 list_for_each_entry(prop_enum, &property->enum_list, head) { drm_property_add_enum() 3978 property->values[index] = value; drm_property_add_enum() 3979 list_add_tail(&prop_enum->head, &property->enum_list); drm_property_add_enum() 3985 * drm_property_destroy - destroy a drm property 3987 * @property: property to destry 3989 * This function frees a property including any attached resources like 3992 void drm_property_destroy(struct drm_device *dev, struct drm_property *property) drm_property_destroy() argument 3996 list_for_each_entry_safe(prop_enum, pt, &property->enum_list, head) { drm_property_destroy() 4001 if (property->num_values) drm_property_destroy() 4002 kfree(property->values); drm_property_destroy() 4003 drm_mode_object_put(dev, &property->base); drm_property_destroy() 4004 list_del(&property->head); drm_property_destroy() 4005 kfree(property); drm_property_destroy() 4010 * drm_object_attach_property - attach a property to a modeset object 4012 * @property: property to attach 4013 * @init_val: initial value of the property 4015 * This attaches the given property to the modeset object with the given initial 4020 struct drm_property *property, drm_object_attach_property() 4026 WARN(1, "Failed to attach object property (type: 0x%x). Please " drm_object_attach_property() 4033 obj->properties->properties[count] = property; drm_object_attach_property() 4036 if (property->flags & DRM_MODE_PROP_ATOMIC) drm_object_attach_property() 4042 * drm_object_property_set_value - set the value of a property 4043 * @obj: drm mode object to set property value for 4044 * @property: property to set 4045 * @val: value the property should be set to 4047 * This functions sets a given property on a given object. This function only 4048 * changes the software state of the property, it does not call into the 4055 struct drm_property *property, uint64_t val) drm_object_property_set_value() 4060 if (obj->properties->properties[i] == property) { drm_object_property_set_value() 4071 * drm_object_property_get_value - retrieve the value of a property 4072 * @obj: drm mode object to get property value from 4073 * @property: property to retrieve 4074 * @val: storage for the property value 4076 * This function retrieves the softare state of the given property for the given 4077 * property. Since there is no driver callback to retrieve the current property 4079 * and property. 4085 struct drm_property *property, uint64_t *val) drm_object_property_get_value() 4093 if (drm_core_check_feature(property->dev, DRIVER_ATOMIC) && drm_object_property_get_value() 4094 !(property->flags & DRM_MODE_PROP_IMMUTABLE)) drm_object_property_get_value() 4095 return drm_atomic_get_property(obj, property, val); drm_object_property_get_value() 4098 if (obj->properties->properties[i] == property) { drm_object_property_get_value() 4109 * drm_mode_getproperty_ioctl - get the property metadata 4114 * This function retrieves the metadata for a given property, like the different 4115 * possible values for an enum property or the limits for a range property. 4128 struct drm_property *property; drm_mode_getproperty_ioctl() local 4141 property = drm_property_find(dev, out_resp->prop_id); drm_mode_getproperty_ioctl() 4142 if (!property) { drm_mode_getproperty_ioctl() 4147 if (drm_property_type_is(property, DRM_MODE_PROP_ENUM) || drm_mode_getproperty_ioctl() 4148 drm_property_type_is(property, DRM_MODE_PROP_BITMASK)) { drm_mode_getproperty_ioctl() 4149 list_for_each_entry(prop_enum, &property->enum_list, head) drm_mode_getproperty_ioctl() 4153 value_count = property->num_values; drm_mode_getproperty_ioctl() 4155 strncpy(out_resp->name, property->name, DRM_PROP_NAME_LEN); drm_mode_getproperty_ioctl() 4157 out_resp->flags = property->flags; drm_mode_getproperty_ioctl() 4162 if (copy_to_user(values_ptr + i, &property->values[i], sizeof(uint64_t))) { drm_mode_getproperty_ioctl() 4170 if (drm_property_type_is(property, DRM_MODE_PROP_ENUM) || drm_mode_getproperty_ioctl() 4171 drm_property_type_is(property, DRM_MODE_PROP_BITMASK)) { drm_mode_getproperty_ioctl() 4175 list_for_each_entry(prop_enum, &property->enum_list, head) { drm_mode_getproperty_ioctl() 4195 * property values. But nothing ever added them to the corresponding drm_mode_getproperty_ioctl() 4197 * read the value for a blob property. It also doesn't make a lot of drm_mode_getproperty_ioctl() 4199 * the property itself. drm_mode_getproperty_ioctl() 4201 if (drm_property_type_is(property, DRM_MODE_PROP_BLOB)) drm_mode_getproperty_ioctl() 4245 * drm_mode_getblob_ioctl - get the contents of a blob property value 4250 * This function retrieves the contents of a blob property. The value stored in 4251 * an object's blob property is just a normal modeset object id. 4291 * drm_mode_connector_set_path_property - set tile property on connector 4292 * @connector: connector to set property on. 4293 * @path: path to use for property. 4295 * This creates a property to expose to userspace to specify a 4323 * drm_mode_connector_set_tile_property - set tile property on connector 4324 * @connector: connector to set property on. 4327 * property for userspace to parse if it exists. The property is of 4369 * drm_mode_connector_update_edid_property - update the edid property of a connector 4371 * @edid: new value of the edid property 4374 * connector's edid property. 4416 * value doesn't become invalid part way through the property update due to 4418 * to drm_property_change_valid_put() after the property is set (and the 4419 * object to which the property is attached has a chance to take it's own 4422 bool drm_property_change_valid_get(struct drm_property *property, drm_property_change_valid_get() argument 4427 if (property->flags & DRM_MODE_PROP_IMMUTABLE) drm_property_change_valid_get() 4432 if (drm_property_type_is(property, DRM_MODE_PROP_RANGE)) { drm_property_change_valid_get() 4433 if (value < property->values[0] || value > property->values[1]) drm_property_change_valid_get() 4436 } else if (drm_property_type_is(property, DRM_MODE_PROP_SIGNED_RANGE)) { drm_property_change_valid_get() 4439 if (svalue < U642I64(property->values[0]) || drm_property_change_valid_get() 4440 svalue > U642I64(property->values[1])) drm_property_change_valid_get() 4443 } else if (drm_property_type_is(property, DRM_MODE_PROP_BITMASK)) { drm_property_change_valid_get() 4446 for (i = 0; i < property->num_values; i++) drm_property_change_valid_get() 4447 valid_mask |= (1ULL << property->values[i]); drm_property_change_valid_get() 4449 } else if (drm_property_type_is(property, DRM_MODE_PROP_BLOB)) { drm_property_change_valid_get() 4452 } else if (drm_property_type_is(property, DRM_MODE_PROP_OBJECT)) { drm_property_change_valid_get() 4453 /* a zero value for an object property translates to null: */ drm_property_change_valid_get() 4458 if (property->values[0] == DRM_MODE_OBJECT_FB) { drm_property_change_valid_get() 4460 fb = drm_framebuffer_lookup(property->dev, value); drm_property_change_valid_get() 4468 return _object_find(property->dev, value, property->values[0]) != NULL; drm_property_change_valid_get() 4472 for (i = 0; i < property->num_values; i++) drm_property_change_valid_get() 4473 if (property->values[i] == value) drm_property_change_valid_get() 4478 void drm_property_change_valid_put(struct drm_property *property, drm_property_change_valid_put() argument 4484 if (drm_property_type_is(property, DRM_MODE_PROP_OBJECT)) { drm_property_change_valid_put() 4485 if (property->values[0] == DRM_MODE_OBJECT_FB) drm_property_change_valid_put() 4491 * drm_mode_connector_property_set_ioctl - set the current value of a connector property 4496 * This function sets the current value for a connectors's property. It also 4520 struct drm_property *property, drm_mode_connector_set_obj_prop() 4527 if (property == connector->dev->mode_config.dpms_property) { drm_mode_connector_set_obj_prop() 4532 ret = connector->funcs->set_property(connector, property, value); drm_mode_connector_set_obj_prop() 4534 /* store the property value if successful */ drm_mode_connector_set_obj_prop() 4536 drm_object_property_set_value(&connector->base, property, value); drm_mode_connector_set_obj_prop() 4541 struct drm_property *property, drm_mode_crtc_set_obj_prop() 4548 ret = crtc->funcs->set_property(crtc, property, value); drm_mode_crtc_set_obj_prop() 4550 drm_object_property_set_value(obj, property, value); drm_mode_crtc_set_obj_prop() 4556 * drm_mode_plane_set_obj_prop - set the value of a property 4557 * @plane: drm plane object to set property value for 4558 * @property: property to set 4559 * @value: value the property should be set to 4561 * This functions sets a given property on a given plane object. This function 4563 * the property if the callback succeeds. 4569 struct drm_property *property, drm_mode_plane_set_obj_prop() 4576 ret = plane->funcs->set_property(plane, property, value); drm_mode_plane_set_obj_prop() 4578 drm_object_property_set_value(obj, property, value); drm_mode_plane_set_obj_prop() 4585 * drm_mode_obj_get_properties_ioctl - get the current value of a object's property 4590 * This function retrieves the current value for an object's property. Compared 4632 * drm_mode_obj_set_property_ioctl - set the current value of an object's property 4637 * This function sets the current value for an object's property. It also calls 4653 struct drm_property *property; drm_mode_obj_set_property_ioctl() local 4683 property = obj_to_property(prop_obj); drm_mode_obj_set_property_ioctl() 4685 if (!drm_property_change_valid_get(property, arg->value, &ref)) drm_mode_obj_set_property_ioctl() 4690 ret = drm_mode_connector_set_obj_prop(arg_obj, property, drm_mode_obj_set_property_ioctl() 4694 ret = drm_mode_crtc_set_obj_prop(arg_obj, property, arg->value); drm_mode_obj_set_property_ioctl() 4698 property, arg->value); drm_mode_obj_set_property_ioctl() 4702 drm_property_change_valid_put(property, ref); drm_mode_obj_set_property_ioctl() 5476 struct drm_property *property, *pt; drm_mode_config_cleanup() local 5490 list_for_each_entry_safe(property, pt, &dev->mode_config.property_list, drm_mode_config_cleanup() 5492 drm_property_destroy(dev, property); drm_mode_config_cleanup() 4019 drm_object_attach_property(struct drm_mode_object *obj, struct drm_property *property, uint64_t init_val) drm_object_attach_property() argument 4054 drm_object_property_set_value(struct drm_mode_object *obj, struct drm_property *property, uint64_t val) drm_object_property_set_value() argument 4084 drm_object_property_get_value(struct drm_mode_object *obj, struct drm_property *property, uint64_t *val) drm_object_property_get_value() argument 4519 drm_mode_connector_set_obj_prop(struct drm_mode_object *obj, struct drm_property *property, uint64_t value) drm_mode_connector_set_obj_prop() argument 4540 drm_mode_crtc_set_obj_prop(struct drm_mode_object *obj, struct drm_property *property, uint64_t value) drm_mode_crtc_set_obj_prop() argument 4568 drm_mode_plane_set_obj_prop(struct drm_plane *plane, struct drm_property *property, uint64_t value) drm_mode_plane_set_obj_prop() argument
|
H A D | drm_atomic.c | 234 * drm_atomic_crtc_set_property - set property on CRTC 235 * @crtc: the drm CRTC to set a property on 236 * @state: the state object to update with the new property value 237 * @property: the property to set 238 * @val: the new property value 250 struct drm_crtc_state *state, struct drm_property *property, drm_atomic_crtc_set_property() 257 if (property == config->prop_active) drm_atomic_crtc_set_property() 260 return crtc->funcs->atomic_set_property(crtc, state, property, val); drm_atomic_crtc_set_property() 276 struct drm_property *property, uint64_t *val) drm_atomic_crtc_get_property() 281 if (property == config->prop_active) drm_atomic_crtc_get_property() 284 return crtc->funcs->atomic_get_property(crtc, state, property, val); drm_atomic_crtc_get_property() 377 * drm_atomic_plane_set_property - set property on plane 378 * @plane: the drm plane to set a property on 379 * @state: the state object to update with the new property value 380 * @property: the property to set 381 * @val: the new property value 393 struct drm_plane_state *state, struct drm_property *property, drm_atomic_plane_set_property() 399 if (property == config->prop_fb_id) { drm_atomic_plane_set_property() 404 } else if (property == config->prop_crtc_id) { drm_atomic_plane_set_property() 407 } else if (property == config->prop_crtc_x) { drm_atomic_plane_set_property() 409 } else if (property == config->prop_crtc_y) { drm_atomic_plane_set_property() 411 } else if (property == config->prop_crtc_w) { drm_atomic_plane_set_property() 413 } else if (property == config->prop_crtc_h) { drm_atomic_plane_set_property() 415 } else if (property == config->prop_src_x) { drm_atomic_plane_set_property() 417 } else if (property == config->prop_src_y) { drm_atomic_plane_set_property() 419 } else if (property == config->prop_src_w) { drm_atomic_plane_set_property() 421 } else if (property == config->prop_src_h) { drm_atomic_plane_set_property() 423 } else if (property == config->rotation_property) { drm_atomic_plane_set_property() 427 property, val); drm_atomic_plane_set_property() 445 struct drm_property *property, uint64_t *val) drm_atomic_plane_get_property() 450 if (property == config->prop_fb_id) { drm_atomic_plane_get_property() 452 } else if (property == config->prop_crtc_id) { drm_atomic_plane_get_property() 454 } else if (property == config->prop_crtc_x) { drm_atomic_plane_get_property() 456 } else if (property == config->prop_crtc_y) { drm_atomic_plane_get_property() 458 } else if (property == config->prop_crtc_w) { drm_atomic_plane_get_property() 460 } else if (property == config->prop_crtc_h) { drm_atomic_plane_get_property() 462 } else if (property == config->prop_src_x) { drm_atomic_plane_get_property() 464 } else if (property == config->prop_src_y) { drm_atomic_plane_get_property() 466 } else if (property == config->prop_src_w) { drm_atomic_plane_get_property() 468 } else if (property == config->prop_src_h) { drm_atomic_plane_get_property() 470 } else if (property == config->rotation_property) { drm_atomic_plane_get_property() 473 return plane->funcs->atomic_get_property(plane, state, property, val); drm_atomic_plane_get_property() 627 * drm_atomic_connector_set_property - set property on connector. 628 * @connector: the drm connector to set a property on 629 * @state: the state object to update with the new property value 630 * @property: the property to set 631 * @val: the new property value 643 struct drm_connector_state *state, struct drm_property *property, drm_atomic_connector_set_property() 649 if (property == config->prop_crtc_id) { drm_atomic_connector_set_property() 652 } else if (property == config->dpms_property) { drm_atomic_connector_set_property() 653 /* setting DPMS property requires special handling, which drm_atomic_connector_set_property() 655 * now?) atomic writes to DPMS property: drm_atomic_connector_set_property() 660 state, property, val); drm_atomic_connector_set_property() 676 struct drm_property *property, uint64_t *val) drm_atomic_connector_get_property() 681 if (property == config->prop_crtc_id) { drm_atomic_connector_get_property() 683 } else if (property == config->dpms_property) { drm_atomic_connector_get_property() 687 state, property, val); drm_atomic_connector_get_property() 696 struct drm_property *property, uint64_t *val) drm_atomic_get_property() 698 struct drm_device *dev = property->dev; drm_atomic_get_property() 706 connector->state, property, val); drm_atomic_get_property() 713 crtc->state, property, val); drm_atomic_get_property() 720 plane->state, property, val); drm_atomic_get_property() 249 drm_atomic_crtc_set_property(struct drm_crtc *crtc, struct drm_crtc_state *state, struct drm_property *property, uint64_t val) drm_atomic_crtc_set_property() argument 274 drm_atomic_crtc_get_property(struct drm_crtc *crtc, const struct drm_crtc_state *state, struct drm_property *property, uint64_t *val) drm_atomic_crtc_get_property() argument 392 drm_atomic_plane_set_property(struct drm_plane *plane, struct drm_plane_state *state, struct drm_property *property, uint64_t val) drm_atomic_plane_set_property() argument 443 drm_atomic_plane_get_property(struct drm_plane *plane, const struct drm_plane_state *state, struct drm_property *property, uint64_t *val) drm_atomic_plane_get_property() argument 642 drm_atomic_connector_set_property(struct drm_connector *connector, struct drm_connector_state *state, struct drm_property *property, uint64_t val) drm_atomic_connector_set_property() argument 674 drm_atomic_connector_get_property(struct drm_connector *connector, const struct drm_connector_state *state, struct drm_property *property, uint64_t *val) drm_atomic_connector_get_property() argument 695 drm_atomic_get_property(struct drm_mode_object *obj, struct drm_property *property, uint64_t *val) drm_atomic_get_property() argument
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
H A D | reconfig.c | 57 static int pSeries_reconfig_add_node(const char *path, struct property *proplist) pSeries_reconfig_add_node() 125 static void release_prop_list(const struct property *prop) release_prop_list() 127 struct property *next; release_prop_list() 138 * parse_next_property - process the next property from raw input buffer 141 * @name: return value; set to property name in buf 143 * @value: return value; set to the property value in buf 158 printk(KERN_ERR "property parse failed in %s at line %d\n", parse_next_property() 165 printk(KERN_ERR "property parse failed in %s at line %d\n", parse_next_property() 174 printk(KERN_ERR "property parse failed in %s at line %d\n", parse_next_property() 179 printk(KERN_ERR "property parse failed in %s at line %d\n", parse_next_property() 188 printk(KERN_ERR "property parse failed in %s at line %d\n", parse_next_property() 193 printk(KERN_ERR "property parse failed in %s at line %d\n", parse_next_property() 203 static struct property *new_property(const char *name, const int length, new_property() 204 const unsigned char *value, struct property *last) new_property() 206 struct property *new = kzalloc(sizeof(*new), GFP_KERNEL); new_property() 233 struct property *prop = NULL; do_add_node() 253 struct property *last = prop; do_add_node() 309 struct property *prop = NULL; do_add_property() 336 struct property *prop; do_remove_property() 360 struct property *newprop; do_update_property()
|
H A D | mobility.c | 70 static int update_dt_property(struct device_node *dn, struct property **prop, update_dt_property() 73 struct property *new_prop = *prop; update_dt_property() 76 /* A negative 'vd' value indicates that only part of the new property update_dt_property() 88 /* partial property fixup */ update_dt_property() 134 struct property *prop = NULL; update_dt_node() 169 * the first property value descriptor contains an empty update_dt_node() 170 * property name, the property value length encoded as u32, update_dt_node() 171 * and the property value is the node path being updated. update_dt_node() 190 /* name only property, nothing to do */ update_dt_node() 204 " property\n", prop_name); update_dt_node()
|
H A D | hotplug-memory.c | 72 static void dlpar_free_drconf_property(struct property *prop) dlpar_free_drconf_property() 79 static struct property *dlpar_clone_drconf_property(struct device_node *dn) dlpar_clone_drconf_property() 81 struct property *prop, *new_prop; dlpar_clone_drconf_property() 104 /* Convert the property to cpu endian-ness */ dlpar_clone_drconf_property() 253 struct property *prop) dlpar_memory_remove_by_count() 324 static int dlpar_memory_remove_by_index(u32 drc_index, struct property *prop) dlpar_memory_remove_by_index() 377 struct property *prop) dlpar_memory_remove_by_count() 381 static int dlpar_memory_remove_by_index(u32 drc_index, struct property *prop) dlpar_memory_remove_by_index() 440 static int dlpar_memory_add_by_count(u32 lmbs_to_add, struct property *prop) dlpar_memory_add_by_count() 506 static int dlpar_memory_add_by_index(u32 drc_index, struct property *prop) dlpar_memory_add_by_index() 541 struct property *prop) dlpar_update_drconf_property() 547 /* Convert the property back to BE */ dlpar_update_drconf_property() 568 struct property *prop; dlpar_memory() 674 /* The first int of the property is the number of lmb's described pseries_update_drconf_memory() 675 * by the property. This is followed by an array of of_drconf_cell pseries_update_drconf_memory()
|
H A D | dlpar.c | 37 void dlpar_free_cc_property(struct property *prop) dlpar_free_cc_property() 44 static struct property *dlpar_parse_cc_property(struct cc_workarea *ccwa) dlpar_parse_cc_property() 46 struct property *prop; dlpar_parse_cc_property() 99 struct property *prop; dlpar_free_one_cc_node() 137 struct property *property; dlpar_configure_connector() local 138 struct property *last_property = NULL; dlpar_configure_connector() 205 property = dlpar_parse_cc_property(ccwa); dlpar_configure_connector() 206 if (!property) dlpar_configure_connector() 210 last_dn->properties = property; dlpar_configure_connector() 212 last_property->next = property; dlpar_configure_connector() 214 last_property = property; dlpar_configure_connector()
|
H A D | iommu.c | 316 /* this is compatible with cells for the device tree property */ 512 * This property contains information on how to iommu_table_setparms() 513 * invalidate the TCE entry. The first property is iommu_table_setparms() 515 * The second property tells us the format of the TCE iommu_table_setparms() 649 pr_debug(" no ibm,dma-window property !\n"); pci_dma_bus_setup_pSeriesLP() 726 struct property *win64; remove_ddw() 768 pr_warning("%s: failed to remove direct window property: %d\n", remove_ddw() 837 * dma-window property query_ddw() 866 * dma-window property create_ddw() 902 * pdn: the parent pe node with the ibm,dma_window property 917 struct property *win64; enable_ddw() 940 * the ibm,ddw-applicable property holds the tokens for: enable_ddw() 945 * the property is actually in the parent, not the PE enable_ddw() 993 win64 = kzalloc(sizeof(struct property), GFP_KERNEL); enable_ddw() 996 "couldn't allocate property for 64bit dma window\n"); enable_ddw() 1004 "couldn't allocate property name and value\n"); enable_ddw() 1035 dev_err(&dev->dev, "unable to add dma window property for %s: %d", enable_ddw() 1085 * either hit a dma-window property, OR find a parent with a table pci_dma_dev_setup_pSeriesLP() 1146 * property, OR find a parent with a table already allocated. dma_set_mask_pSeriesLP() 1196 /* if there is a ibm,ddw-applicable property require 64 bits */ dma_get_required_mask_pSeriesLP() 1265 * Removing the property will invoke the reconfig iommu_reconfig_notifier() 1268 * we have to remove the property when releasing iommu_reconfig_notifier()
|
H A D | pseries.h | 59 extern void dlpar_free_cc_property(struct property *); setup_kexec_cpu_down_mpic()
|
H A D | event_sources.c | 33 /* Check for obsolete "open-pic-interrupt" property. If present, then request_event_sources_irqs()
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | oplib_32.h | 121 /* Get the length, at the passed node, of the given property type. 122 * Returns -1 on error (ie. no such property at this node). 124 int prom_getproplen(phandle thisnode, const char *property); 126 /* Fetch the requested property using the given buffer. Returns 129 int __must_check prom_getproperty(phandle thisnode, const char *property, 132 /* Acquire an integer property. */ 133 int prom_getint(phandle node, char *property); 135 /* Acquire an integer property, with a default value. */ 136 int prom_getintdefault(phandle node, char *property, int defval); 138 /* Acquire a boolean property, 0=FALSE 1=TRUE. */ 141 /* Acquire a string property, null string on error. */ 149 /* Returns the next property after the passed property for the given 157 /* Set the indicated property at the given node with the passed value.
|
H A D | oplib_64.h | 189 /* Get the length, at the passed node, of the given property type. 190 * Returns -1 on error (ie. no such property at this node). 192 int prom_getproplen(phandle thisnode, const char *property); 194 /* Fetch the requested property using the given buffer. Returns 197 int prom_getproperty(phandle thisnode, const char *property, 200 /* Acquire an integer property. */ 201 int prom_getint(phandle node, const char *property); 203 /* Acquire an integer property, with a default value. */ 204 int prom_getintdefault(phandle node, const char *property, int defval); 206 /* Acquire a boolean property, 0=FALSE 1=TRUE. */ 209 /* Acquire a string property, null string on error. */ 221 /* Return the first property type, as a string, for the given node. 226 /* Returns the next property after the passed property for the given 231 /* Returns 1 if the specified node has given property. */ 232 int prom_node_has_property(phandle node, const char *property); 237 /* Set the indicated property at the given node with the passed value.
|
H A D | mdesc.h | 27 /* Access to property values returned from mdesc_get_property() are 32 * Therefore callers must make copies of any property values
|
/linux-4.1.27/drivers/power/reset/ |
H A D | gpio-restart.c | 63 u32 property; gpio_restart_probe() local 86 ret = of_property_read_u32(pdev->dev.of_node, "priority", &property); gpio_restart_probe() 88 if (property > 255) gpio_restart_probe() 89 dev_err(&pdev->dev, "Invalid priority property: %u\n", gpio_restart_probe() 90 property); gpio_restart_probe() 92 gpio_restart->restart_handler.priority = property; gpio_restart_probe()
|
H A D | keystone-reset.c | 134 dev_err(dev, "ti,wdt-list property has to contain at" rsctrl_probe() 142 dev_err(dev, "ti,wdt-list property can contain" rsctrl_probe()
|
H A D | hisi-reboot.c | 55 pr_err("failed to find reboot-offset property\n"); hisi_reboot_probe()
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | oplib.h | 220 /* Get the length, at the passed node, of the given property type. 221 * Returns -1 on error (ie. no such property at this node). 223 extern int prom_getproplen(int thisnode, char *property); 225 /* Fetch the requested property using the given buffer. Returns 228 extern int prom_getproperty(int thisnode, char *property, 231 /* Acquire an integer property. */ 232 extern int prom_getint(int node, char *property); 234 /* Acquire an integer property, with a default value. */ 235 extern int prom_getintdefault(int node, char *property, int defval); 237 /* Acquire a boolean property, 0=FALSE 1=TRUE. */ 240 /* Acquire a string property, null string on error. */ 251 /* Return the first property type, as a string, for the given node. 256 /* Returns the next property after the passed property for the given 261 /* Returns 1 if the specified node has given property. */ 262 extern int prom_node_has_property(int node, char *property); 264 /* Set the indicated property at the given node with the passed value.
|
/linux-4.1.27/arch/sparc/prom/ |
H A D | tree_64.c | 89 /* Return the length in bytes of property 'prop' at node 'node'. 112 /* Acquire a property 'prop' at node 'node' and place it in 141 /* Acquire an integer property and return its value. Returns -1 155 /* Acquire an integer property, upon error return the passed default 159 int prom_getintdefault(phandle node, const char *property, int deflt) prom_getintdefault() argument 163 retval = prom_getint(node, property); prom_getintdefault() 171 /* Acquire a boolean property, 1=TRUE 0=FALSE. */ prom_getbool() 183 /* Acquire a property whose value is a string, returns a null 235 /* Return the first property type for node 'node'. 260 /* Return the property type string after property type 'oprop' 262 * property types for this node. 324 /* Set property 'pname' at node 'node' to value 'value' which has a length
|
H A D | tree_32.c | 86 /* Return the length in bytes of property 'prop' at node 'node'. 105 /* Acquire a property 'prop' at node 'node' and place it in 126 /* Acquire an integer property and return its value. Returns -1 140 /* Acquire an integer property, upon error return the passed default 143 int prom_getintdefault(phandle node, char *property, int deflt) prom_getintdefault() argument 147 retval = prom_getint(node, property); prom_getintdefault() 154 /* Acquire a boolean property, 1=TRUE 0=FALSE. */ prom_getbool() 165 /* Acquire a property whose value is a string, returns a null 216 /* Return the property type string after property type 'oprop' 218 * property types for this node. 277 /* Set property 'pname' at node 'node' to value 'value' which has a length
|
/linux-4.1.27/arch/arm/boot/compressed/ |
H A D | atags_to_fdt.c | 20 static int setprop(void *fdt, const char *node_path, const char *property, setprop() argument 26 return fdt_setprop(fdt, offset, property, val_array, size); setprop() 30 const char *property, const char *string) setprop_string() 35 return fdt_setprop_string(fdt, offset, property, string); setprop_string() 39 const char *property, uint32_t val) setprop_cell() 44 return fdt_setprop_cell(fdt, offset, property, val); setprop_cell() 48 const char *property, int *len) getprop() 55 return fdt_getprop(fdt, offset, property, len); getprop() 29 setprop_string(void *fdt, const char *node_path, const char *property, const char *string) setprop_string() argument 38 setprop_cell(void *fdt, const char *node_path, const char *property, uint32_t val) setprop_cell() argument 47 getprop(const void *fdt, const char *node_path, const char *property, int *len) getprop() argument
|
/linux-4.1.27/include/linux/mfd/ |
H A D | syscon.h | 28 const char *property); 47 const char *property) syscon_regmap_lookup_by_phandle() 45 syscon_regmap_lookup_by_phandle( struct device_node *np, const char *property) syscon_regmap_lookup_by_phandle() argument
|
H A D | rt5033-private.h | 112 /* RT5033 charger property - model, manufacturer */ 249 /* RT5033 fuel gauge battery present property */
|
/linux-4.1.27/drivers/gpu/drm/sti/ |
H A D | sti_drm_drv.h | 20 * @plane_zorder_property: z-order property for CRTC planes
|
H A D | sti_drm_plane.c | 122 struct drm_property *property, sti_drm_plane_set_property() 131 if (property == private->plane_zorder_property) { sti_drm_plane_set_property() 121 sti_drm_plane_set_property(struct drm_plane *plane, struct drm_property *property, uint64_t val) sti_drm_plane_set_property() argument
|
/linux-4.1.27/arch/blackfin/lib/ |
H A D | umulsi3_highpart.S | 21 /* Unsigned multiplication has the nice property that we can
|
H A D | muldi3.S | 40 One interesting property is that all parts of the result that depend
|
/linux-4.1.27/arch/powerpc/boot/ |
H A D | treeboot-walnut.c | 36 fatal("no virtual-reg property\n\r"); walnut_flashsel_fixup() 45 fatal("flash reg property has unexpected size\n\r"); walnut_flashsel_fixup() 52 fatal("sram reg property has unexpected size\n\r"); walnut_flashsel_fixup()
|
H A D | planetcore.h | 42 * linux,planetcore-label property in each serial node.
|
H A D | ebony.c | 50 fatal("%s has missing or invalid virtual-reg property\n\r", ebony_flashsel_fixup() 61 fatal("%s has reg property of unexpected size\n\r", ebony_flashsel_fixup()
|
H A D | simpleboot.c | 45 fatal("Cannot find #address-cells property"); platform_init() 48 fatal("Cannot find #size-cells property"); platform_init()
|
/linux-4.1.27/scripts/kconfig/ |
H A D | expr.h | 83 struct property *prop; 118 /* A property represent the config options that can be associated 142 struct property { struct 143 struct property *next; /* next property - null if last */ 144 struct symbol *sym; /* the symbol for which the property is associated */ 145 enum prop_type type; /* type of property */ 148 struct expr *expr; /* the optional conditional part of the property */ 149 struct menu *menu; /* the menu the property are associated with 152 struct file *file; /* what file was this property defined */ 153 int lineno; /* what lineno was this property defined */ 170 struct property *prompt;
|
H A D | symbol.c | 40 struct property *prop = prop_alloc(P_DEFAULT, sym); sym_add_default() 97 struct property *sym_get_choice_prop(struct symbol *sym) sym_get_choice_prop() 99 struct property *prop; sym_get_choice_prop() 106 struct property *sym_get_env_prop(struct symbol *sym) sym_get_env_prop() 108 struct property *prop; sym_get_env_prop() 115 static struct property *sym_get_default_prop(struct symbol *sym) sym_get_default_prop() 117 struct property *prop; sym_get_default_prop() 127 static struct property *sym_get_range_prop(struct symbol *sym) sym_get_range_prop() 129 struct property *prop; sym_get_range_prop() 157 struct property *prop; sym_validate_range() 191 struct property *prop; sym_set_changed() 211 struct property *prop; sym_calc_visibility() 258 struct property *prop; sym_choice_default() 284 struct property *prop; sym_calc_choice() 316 struct property *prop; sym_calc_value() 510 struct property *prop; sym_set_tristate_value() 597 struct property *prop; sym_string_within_range() 695 struct property *prop; sym_get_string_default() 1055 struct property *prop; 1086 struct property *prop; sym_check_print_recursive() 1187 struct property *prop; sym_check_sym_deps() 1221 struct property *prop; sym_check_choice_deps() 1258 struct property *prop; sym_check_deps() 1289 struct property *prop_alloc(enum prop_type type, struct symbol *sym) prop_alloc() 1291 struct property *prop; prop_alloc() 1292 struct property **propp; prop_alloc() 1301 /* append property to the prop list of symbol */ prop_alloc() 1311 struct symbol *prop_get_symbol(struct property *prop) prop_get_symbol() 1349 struct property *prop; prop_add_env()
|
H A D | lkc.h | 106 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); 142 struct property *prop_alloc(enum prop_type type, struct symbol *sym); 143 struct symbol *prop_get_symbol(struct property *prop); 144 struct property *sym_get_env_prop(struct symbol *sym);
|
H A D | menu.c | 31 static void prop_warn(struct property *prop, const char *fmt, ...) prop_warn() 128 static struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) menu_add_prop() 130 struct property *prop = prop_alloc(type, current_entry->sym); menu_add_prop() 178 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) menu_add_prompt() 234 struct property *prop; sym_check_prop() 286 struct property *prop; menu_finalize() 546 static void get_prompt_str(struct gstr *r, struct property *prop, get_prompt_str() 604 * get property of type P_SYMBOL 606 static struct property *get_symbol_prop(struct symbol *sym) get_symbol_prop() 608 struct property *prop = NULL; get_symbol_prop() 622 struct property *prop; get_symbol_str()
|
/linux-4.1.27/include/uapi/drm/ |
H A D | exynos_drm.h | 161 * A structure for ipp supported property list. 201 * @ops_id: property of operation directions. 202 * @flip: property of mirror, flip. 203 * @degree: property of rotation degree. 204 * @fmt: property of image format. 205 * @sz: property of image size. 206 * @pos: property of image position(src-cropped,dst-scaler). 226 * A structure for ipp property. 231 * @prop_id: id of property. 252 * @prop_id: id of property. 278 * @prop_id: id of property.
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | prom_64.c | 66 * we walk up the tree until we discover a "device_type" property 76 struct property *rprop; sun4v_path_component() 117 struct property *prop; sun4u_path_component() 152 struct property *prop; sbus_path_component() 169 struct property *prop; pci_path_component() 194 struct property *prop; upa_path_component() 215 struct property *prop; vdev_path_component() 231 struct property *prop; ebus_path_component() 248 struct property *prop; i2c_path_component() 258 * property of the i2c bus node etc. etc. i2c_path_component() 267 struct property *prop; usb_path_component() 288 struct property *prop; ieee1394_path_component() 384 * property. On everything else we look for a 'upa-portis', arch_find_n_match_cpu_physical_id() 385 * 'portid', or 'cpuid' property. arch_find_n_match_cpu_physical_id() 389 struct property *prop = of_find_property(cpun, "reg", NULL); arch_find_n_match_cpu_physical_id() 393 pr_warn("CPU node missing reg property\n"); arch_find_n_match_cpu_physical_id() 406 pr_warn("CPU node missing cpu ID property\n"); arch_find_n_match_cpu_physical_id() 447 "%s property", this_mid_prop); of_iterate_over_cpus() 622 prom_printf("Console stdout lacks device_type property.\n"); of_console_init()
|
H A D | prom_32.c | 58 * we walk up the tree until we discover a "device_type" property 64 struct property *rprop; sparc32_path_component() 80 struct property *prop; sbus_path_component() 97 struct property *prop; pci_path_component() 122 struct property *prop; ebus_path_component() 140 struct property *prop; ambapp_path_component() 285 "device_type property.\n");
|
H A D | prom_common.c | 40 struct property *prop; of_getintprop_default() 56 struct property **prevp; of_set_property() 71 struct property *prop = *prevp; of_set_property()
|
H A D | sun4d_irq.c | 360 * lacks a "board#" property, something is very wrong. sun4d_build_device_irq() 370 printk(KERN_ERR "%s: Error, lacks board# property.\n", sun4d_build_device_irq() 433 * registers via any cpu's mapping. The first 'reg' property is the sun4d_init_timers() 438 prom_printf("sun4d_init_timers: No reg property\n"); sun4d_init_timers() 444 prom_printf("sun4d_init_timers: No board# property on cpu-unit\n"); sun4d_init_timers()
|
H A D | of_device_32.c | 25 * PCI bridge lacks a ranges property. We of_bus_pci_match() 223 /* If we have a ranges property in the parent, use it. */ use_1to1_mapping() 229 * real bus nodes, and don't have a 'ranges' property. use_1to1_mapping()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-sensor-custom.c | 87 {0x200301, "property-friendly-name"}, 88 {0x200302, "property-persistent-unique-id"}, 89 {0x200303, "property-sensor-status"}, 90 {0x200304, "property-min-report-interval"}, 91 {0x200305, "property-sensor-manufacturer"}, 92 {0x200306, "property-sensor-model"}, 93 {0x200307, "property-sensor-serial-number"}, 94 {0x200308, "property-sensor-description"}, 95 {0x200309, "property-sensor-connection-type"}, 96 {0x20030A, "property-sensor-device-path"}, 97 {0x20030B, "property-hardware-revision"}, 98 {0x20030C, "property-firmware-version"}, 99 {0x20030D, "property-release-date"}, 100 {0x20030E, "property-report-interval"}, 101 {0x20030F, "property-change-sensitivity-absolute"}, 102 {0x200310, "property-change-sensitivity-percent-range"}, 103 {0x200311, "property-change-sensitivity-percent-relative"}, 104 {0x200312, "property-accuracy"}, 105 {0x200313, "property-resolution"}, 106 {0x200314, "property-maximum"}, 107 {0x200315, "property-minimum"}, 108 {0x200316, "property-reporting-state"}, 109 {0x200317, "property-sampling-rate"}, 110 {0x200318, "property-response-curve"}, 111 {0x200319, "property-power-state"},
|
/linux-4.1.27/arch/arm/mm/ |
H A D | proc-v7-2level.S | 121 * IR = NMRR[2n+1:2n] - inner cacheable property 122 * OR = NMRR[2n+17:2n+16] - outer cacheable property 138 * DS0 = PRRR[16] = 0 - device shareable property 139 * DS1 = PRRR[17] = 1 - device shareable property 140 * NS0 = PRRR[18] = 0 - normal shareable property 141 * NS1 = PRRR[19] = 1 - normal shareable property
|
/linux-4.1.27/fs/reiserfs/ |
H A D | lock.c | 9 * - the performances relied on the release-while-schedule() property 12 * recursive property to avoid big changes in the code structure. 19 * property of the Bkl.
|
/linux-4.1.27/drivers/net/phy/ |
H A D | mdio-mux-mmioreg.c | 36 * 'desired_child' is the value of the 'reg' property of the target child MDIO 98 dev_err(&pdev->dev, "missing or invalid mux-mask property\n"); mdio_mux_mmioreg_probe() 108 * Verify that the 'reg' property of each child MDIO bus does not mdio_mux_mmioreg_probe() 115 "missing a 'reg' property\n", np2->full_name); for_each_available_child_of_node()
|
H A D | mdio-mux-gpio.c | 81 /* Legacy compatible property. */
|
/linux-4.1.27/drivers/gpu/drm/armada/ |
H A D | armada_output.c | 57 struct drm_property *property, uint64_t value) armada_drm_connector_set_property() 64 return dconn->type->set_property(conn, property, value); armada_drm_connector_set_property() 107 struct drm_property *property, uint64_t value) armada_drm_slave_encoder_set_property() 115 rc = slave->slave_funcs->set_property(encoder, conn, property, armada_drm_slave_encoder_set_property() 56 armada_drm_connector_set_property(struct drm_connector *conn, struct drm_property *property, uint64_t value) armada_drm_connector_set_property() argument 106 armada_drm_slave_encoder_set_property(struct drm_connector *conn, struct drm_property *property, uint64_t value) armada_drm_slave_encoder_set_property() argument
|
H A D | armada_overlay.c | 286 struct drm_property *property, uint64_t val) armada_plane_set_property() 292 if (property == priv->colorkey_prop) { armada_plane_set_property() 299 } else if (property == priv->colorkey_min_prop) { armada_plane_set_property() 307 } else if (property == priv->colorkey_max_prop) { armada_plane_set_property() 315 } else if (property == priv->colorkey_val_prop) { armada_plane_set_property() 323 } else if (property == priv->colorkey_alpha_prop) { armada_plane_set_property() 331 } else if (property == priv->colorkey_mode_prop) { armada_plane_set_property() 335 } else if (property == priv->brightness_prop) { armada_plane_set_property() 338 } else if (property == priv->contrast_prop) { armada_plane_set_property() 341 } else if (property == priv->saturation_prop) { armada_plane_set_property() 285 armada_plane_set_property(struct drm_plane *plane, struct drm_property *property, uint64_t val) armada_plane_set_property() argument
|
H A D | armada_output.h | 34 struct drm_property *property, uint64_t value);
|
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/pinctrl/ |
H A D | qcom,pmic-mpp.h | 29 * To be used with "qcom,amux-route" property
|
/linux-4.1.27/arch/powerpc/boot/dts/include/dt-bindings/pinctrl/ |
H A D | qcom,pmic-mpp.h | 29 * To be used with "qcom,amux-route" property
|
/linux-4.1.27/arch/arm64/boot/dts/include/dt-bindings/pinctrl/ |
H A D | qcom,pmic-mpp.h | 29 * To be used with "qcom,amux-route" property
|
/linux-4.1.27/arch/metag/boot/dts/include/dt-bindings/pinctrl/ |
H A D | qcom,pmic-mpp.h | 29 * To be used with "qcom,amux-route" property
|
/linux-4.1.27/arch/arm/boot/dts/include/dt-bindings/pinctrl/ |
H A D | qcom,pmic-mpp.h | 29 * To be used with "qcom,amux-route" property
|
/linux-4.1.27/include/dt-bindings/pinctrl/ |
H A D | qcom,pmic-mpp.h | 29 * To be used with "qcom,amux-route" property
|
/linux-4.1.27/arch/powerpc/platforms/chrp/ |
H A D | setup.c | 228 printk ("Pegasos l2cr : no cpu l2cr property found\n"); pegasos_set_l2cr() 259 const char *property; chrp_init_early() local 269 property = of_get_property(node, "model", NULL); chrp_init_early() 270 if (!property) chrp_init_early() 272 if (strcmp(property, "Pegasos2")) chrp_init_early() 275 property = of_get_property(of_chosen, "linux,stdout-path", NULL); chrp_init_early() 276 if (!property) chrp_init_early() 279 node = of_find_node_by_path(property); chrp_init_early() 282 property = of_get_property(node, "device_type", NULL); chrp_init_early() 283 if (!property) chrp_init_early() 285 if (strcmp(property, "serial")) chrp_init_early() 292 property = of_get_property(node, "name", NULL); chrp_init_early() 293 if (!property) chrp_init_early() 295 if (!strcmp(property, "failsafe") || !strcmp(property, "serial")) chrp_init_early()
|
/linux-4.1.27/drivers/clk/ti/ |
H A D | fixed-factor.c | 43 pr_err("%s must have a clock-div property\n", node->name); of_ti_fixed_factor_clk_setup() 48 pr_err("%s must have a clock-mult property\n", node->name); of_ti_fixed_factor_clk_setup()
|
/linux-4.1.27/arch/sparc/include/uapi/asm/ |
H A D | openpromio.h | 16 char oprom_array[1]; /* Holds property names and values. */ 56 char __user *op_name; /* Pointer to the property name. */
|
/linux-4.1.27/drivers/media/radio/si4713/ |
H A D | si4713.c | 266 * si4713_read_property - reads a si4713 property 268 * @prop: property identification number 269 * @pv: property value to be returned on success 277 * .Second byte = property's MSB si4713_read_property() 278 * .Third byte = property's LSB si4713_read_property() 296 "%s: property=0x%02x value=0x%02x status=0x%02x\n", si4713_read_property() 303 * si4713_write_property - modifies a si4713 property 305 * @prop: property identification number 306 * @val: new value for that property 314 * .Second byte = property's MSB si4713_write_property() 315 * .Third byte = property's LSB si4713_write_property() 336 "%s: property=0x%02x value=0x%02x status=0x%02x\n", si4713_write_property() 342 * to have property properly set. si4713_write_property() 940 s32 *bit, s32 *mask, u16 *property, int *mul, si4713_choose_econtrol_action() 948 *property = SI4713_TX_RDS_PI; si4713_choose_econtrol_action() 952 *property = SI4713_TX_ACOMP_THRESHOLD; si4713_choose_econtrol_action() 956 *property = SI4713_TX_ACOMP_GAIN; si4713_choose_econtrol_action() 960 *property = SI4713_TX_PILOT_FREQUENCY; si4713_choose_econtrol_action() 964 *property = SI4713_TX_ACOMP_ATTACK_TIME; si4713_choose_econtrol_action() 968 *property = SI4713_TX_PILOT_DEVIATION; si4713_choose_econtrol_action() 972 *property = SI4713_TX_AUDIO_DEVIATION; si4713_choose_econtrol_action() 976 *property = SI4713_TX_RDS_DEVIATION; si4713_choose_econtrol_action() 981 *property = SI4713_TX_RDS_PS_MISC; si4713_choose_econtrol_action() 986 *property = SI4713_TX_RDS_PS_MISC; si4713_choose_econtrol_action() 991 *property = SI4713_TX_RDS_PS_MISC; si4713_choose_econtrol_action() 996 *property = SI4713_TX_RDS_PS_MISC; si4713_choose_econtrol_action() 1001 *property = SI4713_TX_RDS_PS_MISC; si4713_choose_econtrol_action() 1006 *property = SI4713_TX_RDS_PS_MISC; si4713_choose_econtrol_action() 1011 *property = SI4713_TX_RDS_PS_MISC; si4713_choose_econtrol_action() 1016 *property = SI4713_TX_RDS_PS_MISC; si4713_choose_econtrol_action() 1021 *property = SI4713_TX_ACOMP_ENABLE; si4713_choose_econtrol_action() 1026 *property = SI4713_TX_ACOMP_ENABLE; si4713_choose_econtrol_action() 1031 *property = SI4713_TX_COMPONENT_ENABLE; si4713_choose_econtrol_action() 1037 *property = SI4713_TX_LIMITER_RELEASE_TIME; si4713_choose_econtrol_action() 1042 *property = SI4713_TX_ACOMP_RELEASE_TIME; si4713_choose_econtrol_action() 1047 *property = SI4713_TX_PREEMPHASIS; si4713_choose_econtrol_action() 1123 u16 property = 0; si4713_s_ctrl() local 1198 &mask, &property, &mul, &table, &size); si4713_s_ctrl() 1214 ret = si4713_read_property(sdev, property, &val); si4713_s_ctrl() 1220 ret = si4713_write_property(sdev, property, val); si4713_s_ctrl() 939 si4713_choose_econtrol_action(struct si4713_device *sdev, u32 id, s32 *bit, s32 *mask, u16 *property, int *mul, unsigned long **table, int *size) si4713_choose_econtrol_action() argument
|
/linux-4.1.27/include/drm/ |
H A D | drm_atomic.h | 42 struct drm_crtc_state *state, struct drm_property *property, 48 struct drm_plane_state *state, struct drm_property *property, 54 struct drm_connector_state *state, struct drm_property *property,
|
H A D | drm_crtc.h | 69 * a better job of detaching property from mode objects to avoid 70 * dangling property pointers: 88 /* rotation property bits */ 314 * @set_property: called when a property is changed 319 * @atomic_set_property: set a property on an atomic state for this CRTC 321 * @atomic_get_property: get a property on an atomic state for this CRTC 372 struct drm_property *property, uint64_t val); 380 struct drm_property *property, 384 struct drm_property *property, 414 * @properties: property tracking for this CRTC 507 * @set_property: property for this connector may need an update 512 * @atomic_set_property: set a property on an atomic state for this connector 514 * @atomic_get_property: get a property on an atomic state for this connector 536 int (*set_property)(struct drm_connector *connector, struct drm_property *property, 547 struct drm_property *property, 551 struct drm_property *property, 631 * @edid_blob_ptr: DRM property containing EDID if present 632 * @properties: property tracking for this connector 633 * @path_blob_ptr: DRM blob property data for the DP MST path property 782 * @set_property: called when a property is changed 785 * @atomic_set_property: set a property on an atomic state for this plane 787 * @atomic_get_property: get a property on an atomic state for this plane 802 struct drm_property *property, uint64_t val); 810 struct drm_property *property, 814 struct drm_property *property, 838 * @properties: property tracking for this plane 1040 * @property_list: list of property objects 1050 * @property_blob_list: list of all the blob property objects 1051 * @*_property: core property tracking 1308 static inline bool drm_property_type_is(struct drm_property *property, drm_property_type_is() argument 1312 if (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) drm_property_type_is() 1313 return (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) == type; drm_property_type_is() 1314 return property->flags & type; drm_property_type_is() 1317 static inline bool drm_property_type_valid(struct drm_property *property) drm_property_type_valid() argument 1319 if (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) drm_property_type_valid() 1320 return !(property->flags & DRM_MODE_PROP_LEGACY_TYPE); drm_property_type_valid() 1321 return !!(property->flags & DRM_MODE_PROP_LEGACY_TYPE); drm_property_type_valid() 1325 struct drm_property *property, 1328 struct drm_property *property, 1342 struct drm_property *property, 1365 extern void drm_property_destroy(struct drm_device *dev, struct drm_property *property); 1366 extern int drm_property_add_enum(struct drm_property *property, int index, 1376 extern bool drm_property_change_valid_get(struct drm_property *property, 1378 extern void drm_property_change_valid_put(struct drm_property *property, 1469 struct drm_property *property,
|
H A D | drm_atomic_helper.h | 73 struct drm_property *property, 76 struct drm_property *property, 79 struct drm_property *property,
|
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_dc.h | 68 * This structure stores plane property definitions. 70 * @alpha: alpha blending (or transparency) property 71 * @rotation: rotation property 82 * @properties: pointer to the property definitions structure
|
H A D | atmel_hlcdc_plane.c | 765 struct drm_property *property, atmel_hlcdc_plane_atomic_set_property() 773 if (property == props->alpha) atmel_hlcdc_plane_atomic_set_property() 783 struct drm_property *property, atmel_hlcdc_plane_atomic_get_property() 791 if (property == props->alpha) atmel_hlcdc_plane_atomic_get_property() 825 * TODO: decare a "yuv-to-rgb-conv-factors" property to let atmel_hlcdc_plane_init_properties() 826 * userspace modify these factors (using a BLOB property ?). atmel_hlcdc_plane_init_properties() 949 /* Set default property values*/ atmel_hlcdc_plane_create() 763 atmel_hlcdc_plane_atomic_set_property(struct drm_plane *p, struct drm_plane_state *s, struct drm_property *property, uint64_t val) atmel_hlcdc_plane_atomic_set_property() argument 781 atmel_hlcdc_plane_atomic_get_property(struct drm_plane *p, const struct drm_plane_state *s, struct drm_property *property, uint64_t *val) atmel_hlcdc_plane_atomic_get_property() argument
|
/linux-4.1.27/drivers/usb/phy/ |
H A D | of.c | 29 * The function gets phy interface string from property 'phy_type',
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
H A D | omapdss-boot-init.c | 43 static int __init omapdss_count_strings(const struct property *prop) omapdss_count_strings() 58 struct property *prop; omapdss_update_prop() 90 /* prepend compatible property strings with "omapdss," */ omapdss_omapify_node() 93 struct property *prop; omapdss_omapify_node()
|
H A D | hdmi_common.c | 14 struct property *prop; hdmi_parse_lanes_of()
|
/linux-4.1.27/arch/c6x/include/asm/ |
H A D | dscr.h | 23 * controlled should be a property in the device's tree node.
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | cpuidle.c | 89 * Get the method name defined in the 'enable-method' property, retrieve the 108 pr_warn("%s: unsupported enable-method property: %s\n", arm_cpuidle_read_ops() 115 pr_notice("cpuidle: enable-method property '%s'" arm_cpuidle_read_ops() 133 * -ENOENT if it fails to find an 'enable-method' property,
|
H A D | devtree.c | 102 pr_debug(" * %s missing reg property\n", for_each_child_of_node() 108 * 8 MSBs must be set to 0 in the DT since the reg property for_each_child_of_node() 130 * from 1. If a CPU node with a reg property matching the for_each_child_of_node() 169 * a reg property, the DT CPU list can be considered valid and the
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | of_touchscreen.c | 18 const char *property) of_get_optional_u32() 22 of_property_read_u32(np, property, &val); of_get_optional_u32() 17 of_get_optional_u32(struct device_node *np, const char *property) of_get_optional_u32() argument
|
/linux-4.1.27/arch/mips/bmips/ |
H A D | dma.c | 27 * If the "brcm,ubus" node has a "dma-ranges" property we will enable this 113 pr_err("error parsing dma-ranges property\n"); bmips_init_dma_ranges()
|
/linux-4.1.27/drivers/gpu/drm/rcar-du/ |
H A D | rcar_du_plane.c | 327 struct drm_property *property, rcar_du_plane_atomic_set_property() 334 if (property == rgrp->planes.alpha) rcar_du_plane_atomic_set_property() 336 else if (property == rgrp->planes.colorkey) rcar_du_plane_atomic_set_property() 338 else if (property == rgrp->planes.zpos) rcar_du_plane_atomic_set_property() 347 const struct drm_plane_state *state, struct drm_property *property, rcar_du_plane_atomic_get_property() 355 if (property == rgrp->planes.alpha) rcar_du_plane_atomic_get_property() 357 else if (property == rgrp->planes.colorkey) rcar_du_plane_atomic_get_property() 359 else if (property == rgrp->planes.zpos) rcar_du_plane_atomic_get_property() 325 rcar_du_plane_atomic_set_property(struct drm_plane *plane, struct drm_plane_state *state, struct drm_property *property, uint64_t val) rcar_du_plane_atomic_set_property() argument 346 rcar_du_plane_atomic_get_property(struct drm_plane *plane, const struct drm_plane_state *state, struct drm_property *property, uint64_t *val) rcar_du_plane_atomic_get_property() argument
|
/linux-4.1.27/arch/arm64/kernel/ |
H A D | cpu_ops.c | 64 pr_err("%s: missing enable-method property\n", cpu_read_ops() 71 pr_warn("%s: unsupported enable-method property: %s\n", cpu_read_ops()
|
/linux-4.1.27/arch/arm/firmware/ |
H A D | trusted_foundations.c | 93 panic("Trusted Foundation: missing version-major property\n"); of_register_trusted_foundations() 97 panic("Trusted Foundation: missing version-minor property\n"); of_register_trusted_foundations()
|
/linux-4.1.27/drivers/regulator/ |
H A D | anatop-regulator.c | 215 dev_err(dev, "no anatop-reg-offset property set\n"); anatop_regulator_probe() 221 dev_err(dev, "no anatop-vol-bit-width property set\n"); anatop_regulator_probe() 227 dev_err(dev, "no anatop-vol-bit-shift property set\n"); anatop_regulator_probe() 233 dev_err(dev, "no anatop-min-bit-val property set\n"); anatop_regulator_probe() 239 dev_err(dev, "no anatop-min-voltage property set\n"); anatop_regulator_probe() 245 dev_err(dev, "no anatop-max-voltage property set\n"); anatop_regulator_probe()
|
H A D | pwm-regulator.c | 105 struct property *prop; pwm_regulator_probe() 143 /* read voltage table from DT property */ pwm_regulator_probe()
|
H A D | max8952.c | 159 dev_err(dev, "max8952,dvs-mode-microvolt property not specified"); max8952_parse_dt() 172 dev_warn(dev, "max8952,sync-freq property not specified, defaulting to 26MHz\n"); max8952_parse_dt() 175 dev_warn(dev, "max8952,ramp-speed property not specified, defaulting to 32mV/us\n"); max8952_parse_dt()
|
/linux-4.1.27/drivers/power/ |
H A D | power_supply_sysfs.c | 83 dev_dbg(dev, "driver has no data for `%s' property\n", power_supply_show_property() 86 dev_err(dev, "driver failed to report `%s' property: %zd\n", power_supply_show_property() 222 int property = psy->desc->properties[i]; power_supply_attr_is_visible() local 224 if (property == attrno) { power_supply_attr_is_visible() 226 power_supply_property_is_writeable(psy, property) > 0) power_supply_attr_is_visible() 306 send the uevent with at least the the PRESENT=0 property */ power_supply_uevent()
|
H A D | apm_power.c | 171 /* if battery can't report this property, use design value */ do_calculate_time() 177 /* if battery can't report this property, use design value */ do_calculate_time() 252 /* if battery can't report this property, use design value */ calculate_capacity() 264 /* if battery can't report this property, use design value */ calculate_capacity()
|
H A D | intel_mid_battery.c | 158 #define IPC_CMD_BATTERY_PROPERTY 2 /* Read Battery property */ 394 * pmic_usb_get_property - usb power source get property 396 * @psp: usb power source property 397 * @val: usb power source property value 400 * PMIC usb power source property needs to be provided to power_supply 433 * pmic_battery_get_property - battery power source get property 435 * @psp: battery power source property 436 * @val: battery power source property value 439 * PMIC battery power source property needs to be provided to power_supply
|
/linux-4.1.27/include/uapi/linux/ |
H A D | fsl_hypervisor.h | 163 * struct fsl_hv_ioctl_prop - get/set a device tree property 167 * @propname: virtual address of name of property to access 168 * @propval: virtual address of property data buffer 169 * @proplen: Size of property data buffer 211 /* Get a property from another guest's device tree */ 215 /* Set a property in another guest's device tree */
|
/linux-4.1.27/arch/powerpc/sysdev/ |
H A D | msi_bitmap.c | 70 * Looks in the device tree to see if there is a property specifying which 74 * Returns 0 for success, < 0 if there was an error, and > 0 if no property 87 pr_debug("msi_bitmap: no msi-available-ranges property " \ msi_bitmap_reserve_dt_hwirqs() 94 " property on %s\n", bmp->of_node->full_name); msi_bitmap_reserve_dt_hwirqs() 217 struct property prop; test_of_node() 236 /* Now create a fake msi-available-ranges property */ test_of_node()
|
H A D | mv64x60_pci.c | 132 printk(KERN_ERR "No PCI reg property in device tree\n"); mv64x60_add_bridge() 157 /* Interpret the "ranges" property */ mv64x60_add_bridge()
|
H A D | fsl_msi.c | 156 /* If the msi-address-64 property exists, then use it */ fsl_compose_msi_msg() 206 * If the PCI node has an fsl,msi property, then we need to use it fsl_setup_msi_irqs() 230 * If the PCI node has an fsl,msi property, then we fsl_setup_msi_irqs() 435 * property. Instead, we use hypercalls to access the MSI. fsl_of_msi_probe() 475 * that have an "fsl,msi" property. fsl_of_msi_probe() 492 dev_warn(&dev->dev, "%s: dose not support msi-available-ranges property\n", fsl_of_msi_probe() 510 dev_err(&dev->dev, "%s: Malformed msi-available-ranges property\n", fsl_of_msi_probe()
|
H A D | ppc4xx_soc.c | 196 * provided via the "reset-type" property in the cpu node. 209 * Check if property exists and if it is in range: ppc4xx_reset_system()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | prom.h | 42 * property contents. The dt strings contain a separate block with just 43 * the strings for the property names, and is fully page aligned and 45 * each property name appears only once in this page (cheap compression) 72 /* Parse the ibm,dma-window property of an OF node into the busno, phys and 84 * specified in the device tree property 145 /* ibm,dynamic-reconfiguration-memory property supported */
|
H A D | scom.h | 101 * device own scom-reg property. Useful for applying HW workarounds 110 * @index: Register bank index (index in "scom-reg" property) 114 * a "scom-controller" property to find the controller. It will then 115 * use the "scom-reg" property which is made of reg/count pairs, 117 * property
|
H A D | fsl_hcalls.h | 112 * fh_partiton_get_dtprop - get a property from a guest device tree. 115 * @propname_addr: physical address of name of property 116 * @propvalue_addr: physical address of property value buffer 117 * @propvalue_len: length of buffer on entry, length of property on return 166 * Set a property in a guest device tree. 169 * @propname_addr: physical address of name of property 170 * @propvalue_addr: physical address of property value 171 * @propvalue_len: length of property 634 * and which do not have the no-dma-disable property.
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | machine_kexec.c | 203 static struct property kernel_end_prop = { 209 static struct property crashk_base_prop = { 215 static struct property crashk_size_prop = { 221 static struct property memory_limit_prop = { 231 struct property *prop; export_crashk_values() 261 struct property *prop; kexec_setup()
|
H A D | pci_32.c | 112 struct property *map_prop; pcibios_make_OF_bus_map() 193 /* We create the "pci-OF-bus-map" property now so it appears in the 199 struct property* of_prop; pci_create_OF_bus_map() 202 of_prop = memblock_virt_alloc(sizeof(struct property) + 256, 0); pci_create_OF_bus_map() 205 memset(of_prop, -1, sizeof(struct property) + 256); pci_create_OF_bus_map()
|
H A D | prom.c | 136 * ibm,pa-features is a per-cpu property that contains a string of 144 * pa-features property is missing, or a 1/0 to indicate if the feature 370 * If the cpu-version property in the cpu node contains early_init_dt_scan_cpus() 446 * Interpret the ibm,dynamic-memory property in the 492 * entry in linux,drconf-usable-memory property contains early_init_dt_scan_drconf_memory() 495 * linux,drconf-usable-memory property early_init_dt_scan_drconf_memory() 612 /* Look for the new "reserved-regions" property in the DT */ early_reserve_mem() 776 * Note that property management will need some locking as well, 785 * This looks for a property "ibm,chip-id" in the node or any 811 * Return the value of the ibm,chip-id property corresponding to the given
|
H A D | pci_of_scan.c | 23 * get_int_prop - Decode a u32 from a device tree property 39 * @bridge: Set this flag if the address is from a bridge 'ranges' property 71 * This function parses the 'assigned-addresses' property of a PCI devices' 220 /* parse bus-range property */ of_scan_pci_bridge() 251 /* parse ranges property */ of_scan_pci_bridge()
|
H A D | isa-bridge.c | 76 * The ranges property is laid out as an array of elements, pci_process_ISA_OF_ranges() 160 /* Now parse the "ranges" property and setup the ISA mapping */ isa_bridge_find_early() 182 /* Now parse the "ranges" property and setup the ISA mapping */ isa_bridge_find_late()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | timer.c | 139 static struct property device_disabled = { 160 * @property - optional timer property to match 163 * as kernel system timer. Optionally, the property argument can be used to 164 * select a timer with a specific property. Once a timer is found then mark 169 const char *property) omap_get_timer_dt() 177 if (property && !of_get_property(np, property, NULL)) for_each_matching_node() 180 if (!property && (of_get_property(np, "ti,timer-alwon", NULL) || for_each_matching_node() 231 const char *property, omap_dm_timer_init_one() 244 np = omap_get_timer_dt(omap_timer_match, property); omap_dm_timer_init_one() 329 const char *property) omap2_gp_clockevent_init() 343 res = omap_dm_timer_init_one(&clkev, fck_source, property, omap2_gp_clockevent_init() 459 const char *property) omap2_gptimer_clocksource_init() 466 res = omap_dm_timer_init_one(&clksrc, fck_source, property, omap2_gptimer_clocksource_init() 168 omap_get_timer_dt(const struct of_device_id *match, const char *property) omap_get_timer_dt() argument 229 omap_dm_timer_init_one(struct omap_dm_timer *timer, const char *fck_source, const char *property, const char **timer_name, int posted) omap_dm_timer_init_one() argument 327 omap2_gp_clockevent_init(int gptimer_id, const char *fck_source, const char *property) omap2_gp_clockevent_init() argument 457 omap2_gptimer_clocksource_init(int gptimer_id, const char *fck_source, const char *property) omap2_gptimer_clocksource_init() argument
|
/linux-4.1.27/drivers/pinctrl/ |
H A D | pinctrl-tegra.c | 96 const char *property; member in struct:cfg_param 131 struct property *prop; tegra_pinctrl_dt_subnode_to_map() 139 "could not parse property nvidia,function\n"); tegra_pinctrl_dt_subnode_to_map() 144 ret = of_property_read_u32(np, cfg_params[i].property, &val); tegra_pinctrl_dt_subnode_to_map() 153 dev_err(dev, "could not parse property %s\n", tegra_pinctrl_dt_subnode_to_map() 154 cfg_params[i].property); tegra_pinctrl_dt_subnode_to_map() 165 dev_err(dev, "could not parse property nvidia,pins\n"); tegra_pinctrl_dt_subnode_to_map() 426 prop = cfg_params[i].property; tegra_pinconf_reg() 578 strip_prefix(cfg_params[i].property), val); tegra_pinconf_group_dbg_show() 593 pname = cfg_params[i].property; tegra_pinconf_config_dbg_show()
|
H A D | devicetree.c | 180 struct property *prop; pinctrl_dt_to_map() 195 /* We may store pointers to property names within the node */ pinctrl_dt_to_map() 200 /* Retrieve the pinctrl-* property */ pinctrl_dt_to_map() 209 /* Determine whether pinctrl-names property names the state */ pinctrl_dt_to_map() 215 * just point part way into the property name for the string. pinctrl_dt_to_map()
|
H A D | pinconf-generic.c | 201 ret = of_property_read_u32(np, par->property, &val); parse_dt_cfg() 203 /* property not found */ parse_dt_cfg() 211 pr_debug("found %s with value %u\n", par->property, val); parse_dt_cfg() 287 struct property *prop; pinconf_generic_dt_subnode_to_map() 310 dev_err(dev, "%s: could not parse property function\n", pinconf_generic_dt_subnode_to_map() 318 dev_err(dev, "%s: could not parse node property\n", pinconf_generic_dt_subnode_to_map()
|
H A D | pinctrl-lantiq.c | 73 struct property *pins = of_find_property(np, "lantiq,pins", NULL); ltq_pinctrl_dt_subnode_to_map() 74 struct property *groups = of_find_property(np, "lantiq,groups", NULL); ltq_pinctrl_dt_subnode_to_map() 77 struct property *prop; ltq_pinctrl_dt_subnode_to_map() 108 info->params[i].property, &val); ltq_pinctrl_dt_subnode_to_map()
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-rk.c | 96 dev_err(dev, "%s: Missing rockchip,grf property\n", __func__); set_to_rgmii() 113 dev_err(dev, "%s: Missing rockchip,grf property\n", __func__); set_to_rmii() 126 dev_err(dev, "%s: Missing rockchip,grf property\n", __func__); set_rgmii_speed() 145 dev_err(dev, "%s: Missing rockchip,grf property\n", __func__); set_rmii_speed() 339 dev_err(dev, "%s: Can not read property: clock_in_out.\n", rk_gmac_setup() 354 dev_err(dev, "%s: Can not read property: tx_delay.", __func__); rk_gmac_setup() 365 dev_err(dev, "%s: Can not read property: rx_delay.", __func__); rk_gmac_setup()
|
/linux-4.1.27/drivers/gpu/drm/i2c/ |
H A D | ch7006_drv.c | 281 struct drm_property *property, ch7006_encoder_set_property() 293 if (property == conf->tv_select_subconnector_property) { ch7006_encoder_set_property() 300 } else if (property == conf->tv_left_margin_property) { ch7006_encoder_set_property() 308 } else if (property == conf->tv_bottom_margin_property) { ch7006_encoder_set_property() 316 } else if (property == conf->tv_mode_property) { ch7006_encoder_set_property() 324 } else if (property == conf->tv_brightness_property) { ch7006_encoder_set_property() 331 } else if (property == conf->tv_contrast_property) { ch7006_encoder_set_property() 338 } else if (property == conf->tv_flicker_reduction_property) { ch7006_encoder_set_property() 345 } else if (property == priv->scale_property) { ch7006_encoder_set_property() 279 ch7006_encoder_set_property(struct drm_encoder *encoder, struct drm_connector *connector, struct drm_property *property, uint64_t val) ch7006_encoder_set_property() argument
|
/linux-4.1.27/drivers/reset/ |
H A D | reset-socfpga.c | 105 * The binding was mainlined without the required property. socfpga_reset_probe() 109 dev_err(&pdev->dev, "%s missing #reset-cells property\n", socfpga_reset_probe()
|
/linux-4.1.27/drivers/phy/ |
H A D | phy-rockchip-usb.c | 104 dev_err(&pdev->dev, "Missing rockchip,grf property\n"); rockchip_usb_phy_probe() 114 dev_err(dev, "missing reg property in node %s\n", rockchip_usb_phy_probe()
|
/linux-4.1.27/drivers/clk/ |
H A D | clk-conf.c | 26 pr_err("clk: invalid value of clock-parents property at %s\n", __set_clk_parents() 80 struct property *prop; __set_clk_rates()
|
H A D | clk-fixed-factor.c | 114 pr_err("%s Fixed factor clock <%s> must have a clock-div property\n", of_fixed_factor_clk_setup() 120 pr_err("%s Fixed factor clock <%s> must have a clock-mult property\n", of_fixed_factor_clk_setup()
|
/linux-4.1.27/drivers/usb/common/ |
H A D | common.c | 96 * The function gets phy interface string from property 'dr_mode', 121 * The function gets the maximum speed string from property "maximum-speed",
|
/linux-4.1.27/arch/arm64/include/asm/ |
H A D | cpu_ops.h | 27 * @name: Name of the property as appears in a devicetree cpu node's 28 * enable-method property.
|
/linux-4.1.27/sound/soc/samsung/ |
H A D | odroidx2_max98090.c | 123 "Failed parsing samsung,i2s-codec property\n"); odroidx2_audio_probe() 130 "Failed parsing samsung,i2s-controller property\n"); odroidx2_audio_probe()
|
/linux-4.1.27/drivers/crypto/nx/ |
H A D | nx-842.c | 723 * The status property indicates if the accelerator is enabled. If the 729 * @prop - struct property point containing the maxsyncop for the update 736 struct property *prop) { nx842_OF_upd_status() 754 * Definition of the 'ibm,max-sg-len' OF property: 766 * @prop - struct property point containing the maxsyncop for the update 773 struct property *prop) { nx842_OF_upd_maxsglen() 778 dev_err(devdata->dev, "%s: unexpected format for ibm,max-sg-len property\n", __func__); nx842_OF_upd_maxsglen() 793 * Definition of the 'ibm,max-sync-cop' OF property: 814 * @prop - struct property point containing the maxsyncop for the update 821 struct property *prop) { nx842_OF_upd_maxsyncop() 833 dev_err(devdata->dev, "%s: unexpected format for ibm,max-sync-cop property\n", __func__); nx842_OF_upd_maxsyncop() 881 * Set all properties from the OF tree. Optionally, a new property 886 * @new_prop: If not NULL, this property is being updated. If NULL, update 892 * -EINVAL - property value not found, new_prop is not a recognized 893 * property for the device or property value is not valid. 896 static int nx842_OF_upd(struct property *new_prop) nx842_OF_upd() 901 struct property *status = NULL; nx842_OF_upd() 902 struct property *maxsglen = NULL; nx842_OF_upd() 903 struct property *maxsyncop = NULL; nx842_OF_upd() 940 * If this is a property update, there are only certain properties that nx842_OF_upd() 948 /* Perform property updates */ nx842_OF_upd()
|
H A D | nx.c | 340 struct property *p, nx_of_update_status() 353 struct property *p, nx_of_update_sglen() 358 "ibm,max-sg-len property\n", __func__); nx_of_update_sglen() 370 struct property *p, nx_of_update_msc() 380 /* You can't tell if the data read in for this property is sane by its nx_of_update_msc() 471 struct property *p; nx_of_init() 475 dev_info(dev, "%s: property 'status' not found\n", __func__); nx_of_init() 481 dev_info(dev, "%s: property 'ibm,max-sg-len' not found\n", nx_of_init() 488 dev_info(dev, "%s: property 'ibm,max-sync-cop' not found\n", nx_of_init()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_hdmi.c | 153 struct drm_property *property, cdv_hdmi_set_property() 158 if (!strcmp(property->name, "scaling mode") && encoder) { cdv_hdmi_set_property() 178 property, &curValue)) cdv_hdmi_set_property() 185 property, value)) cdv_hdmi_set_property() 152 cdv_hdmi_set_property(struct drm_connector *connector, struct drm_property *property, uint64_t value) cdv_hdmi_set_property() argument
|
H A D | mdfld_dsi_output.c | 246 struct drm_property *property, mdfld_dsi_connector_set_property() 251 if (!strcmp(property->name, "scaling mode") && encoder) { mdfld_dsi_connector_set_property() 270 if (drm_object_property_get_value(&connector->base, property, &val)) mdfld_dsi_connector_set_property() 277 property, value)) mdfld_dsi_connector_set_property() 300 } else if (!strcmp(property->name, "backlight") && encoder) { mdfld_dsi_connector_set_property() 301 if (drm_object_property_set_value(&connector->base, property, mdfld_dsi_connector_set_property() 245 mdfld_dsi_connector_set_property(struct drm_connector *connector, struct drm_property *property, uint64_t value) mdfld_dsi_connector_set_property() argument
|
H A D | cdv_intel_lvds.c | 455 struct drm_property *property, cdv_intel_lvds_set_property() 460 if (!strcmp(property->name, "scaling mode") && encoder) { cdv_intel_lvds_set_property() 479 property, cdv_intel_lvds_set_property() 487 property, cdv_intel_lvds_set_property() 500 } else if (!strcmp(property->name, "backlight") && encoder) { cdv_intel_lvds_set_property() 502 property, cdv_intel_lvds_set_property() 507 } else if (!strcmp(property->name, "DPMS") && encoder) { cdv_intel_lvds_set_property() 454 cdv_intel_lvds_set_property(struct drm_connector *connector, struct drm_property *property, uint64_t value) cdv_intel_lvds_set_property() argument
|
H A D | psb_intel_lvds.c | 572 struct drm_property *property, psb_intel_lvds_set_property() 580 if (!strcmp(property->name, "scaling mode")) { psb_intel_lvds_set_property() 599 property, psb_intel_lvds_set_property() 607 property, psb_intel_lvds_set_property() 620 } else if (!strcmp(property->name, "backlight")) { psb_intel_lvds_set_property() 622 property, psb_intel_lvds_set_property() 627 } else if (!strcmp(property->name, "DPMS")) { psb_intel_lvds_set_property() 571 psb_intel_lvds_set_property(struct drm_connector *connector, struct drm_property *property, uint64_t value) psb_intel_lvds_set_property() argument
|
/linux-4.1.27/drivers/input/ |
H A D | matrix-keymap.c | 92 dev_err(dev, "OF: %s property not defined in %s\n", matrix_keypad_parse_of_keymap() 98 dev_err(dev, "OF: Malformed keycode property %s in %s\n", matrix_keypad_parse_of_keymap() 131 * @keymap_name: name of device tree property containing keymap (if device 144 * it will attempt load the keymap from property specified by @keymap_name
|
/linux-4.1.27/drivers/clk/keystone/ |
H A D | pll.c | 275 pr_err("%s: missing 'shift' property\n", __func__); of_pll_div_clk_init() 280 pr_err("%s: missing 'bit-mask' property\n", __func__); of_pll_div_clk_init() 320 pr_err("%s: missing 'shift' property\n", __func__); of_pll_mux_clk_init() 325 pr_err("%s: missing 'bit-mask' property\n", __func__); of_pll_mux_clk_init()
|
/linux-4.1.27/fs/openpromfs/ |
H A D | inode.c | 32 struct property *prop; 67 struct property *prop = f->private; property_show() 183 struct property *prop; openpromfs_lookup() 269 struct property *prop; openpromfs_readdir()
|
/linux-4.1.27/drivers/video/ |
H A D | of_display_timing.c | 18 * @np: device_node with the property 19 * @name: name of the property 29 struct property *prop; parse_timing_property() 34 pr_err("%s: could not find property %s\n", parse_timing_property()
|
/linux-4.1.27/include/linux/spi/ |
H A D | mcp23s08.h | 40 * On devices with only one interrupt output this property is useless.
|
/linux-4.1.27/arch/powerpc/platforms/82xx/ |
H A D | pq2.c | 69 printk(KERN_ERR "No valid PCI reg property in device tree\n"); pq2_pci_add_bridge()
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
H A D | opal-sysparam.c | 193 pr_err("SYSPARAM: No string found of property param-name in " opal_sys_param_init() 220 pr_err("SYSPARAM: Missing property param-id in the DT\n"); opal_sys_param_init() 225 pr_err("SYSPARAM: Missing property param-len in the DT\n"); opal_sys_param_init() 231 pr_err("SYSPARAM: Missing property param-perm in the DT\n"); opal_sys_param_init()
|
H A D | pci-p5ioc2.c | 111 pr_err(" Missing \"ibm,opal-phbid\" property !\n"); pnv_pci_init_p5ioc2_phb() 160 /* Interpret the "ranges" property */ pnv_pci_init_p5ioc2_phb() 191 pr_err(" Missing \"ibm,opal-hubid\" property !\n"); pnv_pci_init_p5ioc2_hub()
|
/linux-4.1.27/arch/arm/mach-bcm/ |
H A D | kona_smp.c | 31 /* Name of device node property defining secondary boot register location */ 89 * and has an "enable-method" property that selects the SMP bcm_smp_prepare_cpus() 97 * property to specify a register address used to request the bcm_smp_prepare_cpus() 102 pr_err("%s: missing/invalid " OF_SECONDARY_BOOT " property\n", bcm_smp_prepare_cpus()
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-gpio.c | 241 * initialized from the "cs-gpios" property of the node. spi_gpio_setup() 363 dev_err(&pdev->dev, "gpio-sck property not found\n"); spi_gpio_probe_dt() 370 dev_info(&pdev->dev, "gpio-miso property not found, switching to no-rx mode\n"); spi_gpio_probe_dt() 377 dev_info(&pdev->dev, "gpio-mosi property not found, switching to no-tx mode\n"); spi_gpio_probe_dt() 384 dev_err(&pdev->dev, "num-chipselects property not found\n"); spi_gpio_probe_dt() 463 * property of the node. spi_gpio_probe() 473 "invalid cs-gpios property\n"); spi_gpio_probe()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | overlay.c | 226 struct drm_property *property, nv_set_property() 232 if (property == nv_plane->props.colorkey) nv_set_property() 234 else if (property == nv_plane->props.contrast) nv_set_property() 236 else if (property == nv_plane->props.brightness) nv_set_property() 238 else if (property == nv_plane->props.hue) nv_set_property() 240 else if (property == nv_plane->props.saturation) nv_set_property() 242 else if (property == nv_plane->props.iturbt_709) nv_set_property() 225 nv_set_property(struct drm_plane *plane, struct drm_property *property, uint64_t value) nv_set_property() argument
|
H A D | tvnv17.c | 696 struct drm_property *property, nv17_tv_set_property() 705 if (property == conf->tv_overscan_property) { nv17_tv_set_property() 714 } else if (property == conf->tv_saturation_property) { nv17_tv_set_property() 721 } else if (property == conf->tv_hue_property) { nv17_tv_set_property() 728 } else if (property == conf->tv_flicker_reduction_property) { nv17_tv_set_property() 736 } else if (property == conf->tv_mode_property) { nv17_tv_set_property() 744 } else if (property == conf->tv_select_subconnector_property) { nv17_tv_set_property() 694 nv17_tv_set_property(struct drm_encoder *encoder, struct drm_connector *connector, struct drm_property *property, uint64_t val) nv17_tv_set_property() argument
|
/linux-4.1.27/drivers/thermal/ |
H A D | clock_cooling.c | 114 * clock_cooling_get_property - fetch a property of interest for a give cpu. 118 * @property: type of query (frequency, level, max level) 135 enum clock_cooling_property property) clock_cooling_get_property() 170 if (property == GET_MAXL) { 175 if (property == GET_FREQ) 187 if (property == GET_LEVEL && (unsigned int)input == freq) { cpufreq_for_each_valid_entry() 192 if (property == GET_FREQ && level == i) { cpufreq_for_each_valid_entry() 132 clock_cooling_get_property(struct clock_cooling_device *ccdev, unsigned long input, unsigned long *output, enum clock_cooling_property property) clock_cooling_get_property() argument
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-main.c | 128 #include <linux/property.h> 173 u32 property; xgbe_acpi_support() local 181 ret = device_property_read_u32(dev, XGBE_ACPI_DMA_FREQ, &property); xgbe_acpi_support() 183 dev_err(dev, "unable to obtain %s property\n", xgbe_acpi_support() 187 pdata->sysclk_rate = property; xgbe_acpi_support() 190 ret = device_property_read_u32(dev, XGBE_ACPI_PTP_FREQ, &property); xgbe_acpi_support() 192 dev_err(dev, "unable to obtain %s property\n", xgbe_acpi_support() 196 pdata->ptpclk_rate = property; xgbe_acpi_support() 337 dev_err(dev, "invalid %s property\n", XGBE_MAC_ADDR_PROPERTY); xgbe_probe() 347 dev_err(dev, "invalid %s property\n", XGBE_PHY_MODE_PROPERTY); xgbe_probe()
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpiolib-of.c | 66 * @propname: property name containing gpio specifier(s) 93 pr_debug("%s: can't parse '%s' property of node '%s[%d]'\n", of_get_named_gpiod_flags() 101 pr_debug("%s: parsed '%s' property of node '%s[%d]' - status (%d)\n", of_get_named_gpiod_flags() 349 struct property *group_names; of_gpiochip_add_pin_range() 394 pr_err("%s: GPIO group range requested but no %s property.\n", of_gpiochip_add_pin_range()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | simplefb.c | 107 dev_err(&pdev->dev, "Can't parse width property\n"); simplefb_parse_dt() 113 dev_err(&pdev->dev, "Can't parse height property\n"); simplefb_parse_dt() 119 dev_err(&pdev->dev, "Can't parse stride property\n"); simplefb_parse_dt() 125 dev_err(&pdev->dev, "Can't parse format property\n"); simplefb_parse_dt() 182 * Here we handle the clocks property of our "simple-framebuffer" dt node.
|
/linux-4.1.27/sound/soc/fsl/ |
H A D | mpc8610_hpcd.c | 233 dev_err(&pdev->dev, "cell-index property not found\n"); mpc8610_hpcd_probe() 242 dev_err(&pdev->dev, "fsl,mode property not found\n"); mpc8610_hpcd_probe() 260 "property is missing or invalid\n"); mpc8610_hpcd_probe() 302 "unrecognized fsl,mode property '%s'\n", sprop); mpc8610_hpcd_probe() 388 /* The name must match 'compatible' property in the device tree,
|
H A D | p1022_ds.c | 243 dev_err(&pdev->dev, "cell-index property not found\n"); p1022_ds_probe() 252 dev_err(&pdev->dev, "fsl,mode property not found\n"); p1022_ds_probe() 270 "property is missing or invalid\n"); p1022_ds_probe() 312 "unrecognized fsl,mode property '%s'\n", sprop); p1022_ds_probe() 397 * The name must match 'compatible' property in the device tree,
|
/linux-4.1.27/include/uapi/mtd/ |
H A D | ubi-user.h | 130 * Set an UBI volume property 133 * To set an UBI volume property the %UBI_IOCSETPROP ioctl command should be 135 * passed. The object describes which property should be set, and to which value 201 /* Set an UBI volume property */ 227 * UBI set volume property ioctl constants. 426 * property. 427 * @property: property to set (%UBI_VOL_PROP_DIRECT_WRITE) 432 __u8 property; member in struct:ubi_set_vol_prop_req
|
/linux-4.1.27/drivers/iommu/ |
H A D | of_iommu.c | 31 * of_get_dma_window - Parse *dma-window property and returns 0 if found. 34 * @prefix: prefix for property name if any
|
/linux-4.1.27/drivers/bus/ |
H A D | imx-weim.c | 65 struct property *prop; imx_weim_gpr_setup() 118 /* get the CS index from this child node's "reg" property. */ weim_timing_setup()
|
/linux-4.1.27/arch/arm/mach-mvebu/ |
H A D | kirkwood.c | 80 * has no DT support to properly set local-mac-address property. kirkwood_dt_eth_fixup() 87 struct property *pmac; kirkwood_dt_eth_fixup()
|
/linux-4.1.27/drivers/irqchip/ |
H A D | irq-mmp.c | 353 pr_err("Not found mrvl,intc-nr-irqs property\n"); mmp_init_bases() 440 pr_err("Not found mrvl,intc-nr-irqs property\n"); mmp2_mux_of_init() 445 pr_err("Not found reg property\n"); mmp2_mux_of_init() 451 pr_err("Not found reg property\n"); mmp2_mux_of_init()
|
H A D | irq-moxart.c | 95 pr_err("%s: could not read interrupt-mask DT property\n", moxart_of_intc_init()
|
H A D | irq-bcm7120-l2.c | 159 /* property exists but has the wrong number of words */ bcm7120_l2_intc_iomap_7120() 160 pr_err("invalid brcm,int-fwd-mask property\n"); bcm7120_l2_intc_iomap_7120() 167 pr_err("invalid brcm,int-map-mask property\n"); bcm7120_l2_intc_iomap_7120()
|
H A D | irq-crossbar.c | 212 pr_err("missing 'ti,max-crossbar-sources' property\n"); crossbar_of_init() 219 pr_err("missing 'ti,max-irqs' property\n"); crossbar_of_init() 286 pr_err("Invalid reg-size property\n"); crossbar_of_init()
|
/linux-4.1.27/drivers/input/mouse/ |
H A D | elan_i2c.h | 16 * Trademarks are the property of their respective owners.
|
/linux-4.1.27/drivers/usb/misc/ |
H A D | usb3503.c | 178 const u32 *property; usb3503_probe() local 242 property = of_get_property(np, "disabled-ports", &len); usb3503_probe() 243 if (property && (len / sizeof(u32)) > 0) { usb3503_probe() 246 u32 port = be32_to_cpu(property[i]); usb3503_probe()
|
/linux-4.1.27/include/linux/power/ |
H A D | bq2415x_charger.h | 35 * in value notify_device. Device driver must immediately report property
|
/linux-4.1.27/arch/powerpc/platforms/52xx/ |
H A D | mpc5200_simple.c | 19 * - if the 'fsl,has-wdt' property is present in one of the
|
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/ |
H A D | storcenter.c | 59 /* Interpret the "ranges" property */ storcenter_add_bridge()
|
/linux-4.1.27/arch/mips/lantiq/xway/ |
H A D | xrx200_phy_fw.c | 81 struct property *pp; xway_phy_fw_probe()
|
/linux-4.1.27/arch/arm/mach-prima2/ |
H A D | pm.c | 107 * though the property is named reg. reg only means base sirfsoc_of_pwrc_init()
|
/linux-4.1.27/arch/arm/mach-nspire/ |
H A D | clcd.c | 77 pr_err("CLCD: Could not find lcd-type property\n"); nspire_clcd_setup()
|
/linux-4.1.27/drivers/memory/ |
H A D | mvebu-devbus.c | 108 dev_err(devbus->dev, "%s has no '%s' property\n", get_timing_param_ps() 130 "%s has no 'devbus,bus-width' property\n", devbus_get_timing_params() 183 "%s has no 'devbus,sync-enable' property\n", devbus_get_timing_params()
|
/linux-4.1.27/drivers/pinctrl/berlin/ |
H A D | berlin.c | 58 struct property *prop; berlin_pinctrl_dt_node_to_map() 69 "missing function property in node %s\n", berlin_pinctrl_dt_node_to_map() 77 "missing groups property in node %s\n", berlin_pinctrl_dt_node_to_map()
|
/linux-4.1.27/drivers/cpuidle/ |
H A D | dt_idle_states.c | 50 pr_debug(" * %s missing entry-latency-us property\n", init_state_node() 58 pr_debug(" * %s missing exit-latency-us property\n", init_state_node() 72 pr_debug(" * %s missing min-residency-us property\n", init_state_node()
|
/linux-4.1.27/drivers/dma/ |
H A D | of-dma.c | 162 /* Silently fail if there is not even the "dmas" property */ of_dma_request_slave_channel() 168 pr_err("%s: dma-names property of node '%s' missing or empty\n", of_dma_request_slave_channel() 228 * of_dma_xlate_by_chan_id - Translate dt property to DMA channel by channel id
|
/linux-4.1.27/arch/c6x/platforms/ |
H A D | megamod-pic.c | 173 * sources (0 - 3) are not allowed to be mapped through this property. They 174 * are handled through the "interrupts" property. This allows us to use a 240 * individual interrupt sources. The "interrupts" property only init_megamod_pic()
|
/linux-4.1.27/drivers/watchdog/ |
H A D | watchdog_core.c | 62 * @dev: Device that stores the timeout-sec property 65 * timeout module parameter (if it is valid value) or the timeout-sec property 88 /* try to get the timeout_sec property */ watchdog_init_timeout()
|
/linux-4.1.27/drivers/misc/eeprom/ |
H A D | at25.c | 21 #include <linux/property.h> 315 dev_err(dev, "Error: missing \"size\" property\n"); at25_fw_to_chip() 323 dev_err(dev, "Error: missing \"pagesize\" property\n"); at25_fw_to_chip() 332 "Error: missing \"address-width\" property\n"); at25_fw_to_chip() 347 "Error: bad \"address-width\" property: %u\n", at25_fw_to_chip()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_connector.c | 441 struct drm_property *property, uint64_t value) nouveau_connector_set_property() 456 if (property == dev->mode_config.scaling_mode_property) { nouveau_connector_set_property() 519 if (property == disp->underscan_property) { nouveau_connector_set_property() 531 if (property == disp->underscan_hborder_property) { nouveau_connector_set_property() 543 if (property == disp->underscan_vborder_property) { nouveau_connector_set_property() 556 if (property == disp->dithering_mode) { nouveau_connector_set_property() 564 if (property == disp->dithering_depth) { nouveau_connector_set_property() 574 if (property == disp->vibrant_hue_property) { nouveau_connector_set_property() 579 if (property == disp->color_vibrance_property) { nouveau_connector_set_property() 587 encoder, connector, property, value); nouveau_connector_set_property() 1220 /* scaling mode property */ nouveau_connector_create() 440 nouveau_connector_set_property(struct drm_connector *connector, struct drm_property *property, uint64_t value) nouveau_connector_set_property() argument
|
/linux-4.1.27/arch/powerpc/platforms/ps3/ |
H A D | os-area.c | 219 static struct property property_rtc_diff = { 225 static struct property property_av_multi_out = { 272 * Overwrites an existing property. 276 struct property *prop) os_area_set_property() 279 struct property *tmp = of_find_property(node, prop->name, NULL); os_area_set_property() 299 struct property *prop) os_area_get_property() 301 const struct property *tmp = of_find_property(node, prop->name, NULL); os_area_get_property()
|