Lines Matching +full:2 +full:- +full:cell

8 .\" 2. Redistributions in binary form must reproduce the above copyright
40 .Fn nvmem_read_cell_by_name "phandle_t node" "const char *name" "void *cell" "size_t buflen"
42 .Fn nvmem_read_cell_by_idx "phandle_t node" "int idx" "void *cell" "size_t buflen"
44 .Fn nvmem_write_cell_by_name "phandle_t node" "const char *name" "void *cell" "size_t buflen"
46 .Fn nvmem_write_cell_by_idx "phandle_t node" "int idx" "void *cell" "size_t buflen"
49 (Non-Volatile Memory), this is generally stored in some eeprom or fuses.
56 .Bl -tag -width indent
58 Get the size of the cell base on the reg property on the node.
59 Return the size or ENOENT if the cell name wasn't found
60 .It Fn nvmem_read_cell_by_name "phandle_t node" "const char *name" "void *cell" "size_t buflen"
61 Get the cell content based on the name.
62 Return 0 on sucess or ENOENT if the cell doesn't exists, ENXIO if no provider device was found,
64 .It Fn nvmem_read_cell_by_idx "phandle_t node" "int idx" "void *cell" "size_t buflen"
65 Get the cell content based on the id.
66 Return 0 on sucess or ENOENT if the cell doesn't exists, ENXIO if no provider device was found,
68 .It Fn nvmem_write_cell_by_name "phandle_t node" "const char *name" "void *cell" "size_t buflen"
69 Write the cell content based on the name.
70 Return 0 on sucess or ENOENT if the cell doesn't exists, ENXIO if no provider device was found,
72 .It Fn nvmem_write_cell_by_idx "phandle_t node" "int idx" "void *cell" "size_t buflen"
73 Write the cell content based on the id.
74 Return 0 on sucess or ENOENT if the cell doesn't exists, ENXIO if no provider device was found,
78 .Bl -tag -width indent
80 Provider device method to read a cell content.
82 Provider device method to write a cell content.
86 .Bd -literal
97 nvmem-cells = <&board_id>
98 nvmem-cell-names = "boardid";
103 .Bd -literal
137 .Bd -literal