Lines Matching defs:index
235 * device_property_match_string - find a string in an array and return index
241 * index back.
243 * Return: index, starting from %0, if the property was found (success),
456 * fwnode_property_match_string - find a string in an array and return index
462 * index back.
464 * Return: index, starting from %0, if the property was found (success),
509 * @index: Index of the reference, from zero onwards.
519 * %-ENOENT when the index is out of bounds, the index has an empty
525 unsigned int nargs, unsigned int index,
534 nargs, index, args);
542 nargs, index, args);
550 * @index: Index of the reference
552 * @index can be used when the named reference holds a table of references.
562 unsigned int index)
567 ret = fwnode_property_get_reference_args(fwnode, name, NULL, 0, index,
935 * 'phy-connection-type', and return its index in phy_modes table, or errno in
963 * 'phy-connection-type', and return its index in phy_modes table, or errno in
975 * @index: Index of the IO range
979 void __iomem *fwnode_iomap(struct fwnode_handle *fwnode, int index)
981 return fwnode_call_ptr_op(fwnode, iomap, index);
988 * @index: Zero-based index of the IRQ
992 int fwnode_irq_get(const struct fwnode_handle *fwnode, unsigned int index)
996 ret = fwnode_call_int_op(fwnode, irq_get, index);
1013 * number of the IRQ resource corresponding to the index of the matched
1020 int index;
1025 index = fwnode_property_match_string(fwnode, "interrupt-names", name);
1026 if (index < 0)
1027 return index;
1029 return fwnode_irq_get(fwnode, index);