Lines Matching defs:dev

174 static ssize_t type_show(struct device *dev,  in type_show()
184 static ssize_t force_ro_show(struct device *dev, struct device_attribute *attr, in force_ro_show()
192 static ssize_t force_ro_store(struct device *dev, struct device_attribute *attr, in force_ro_store()
216 struct device *dev; in bin_attr_nvmem_read() local
249 struct device *dev; in bin_attr_nvmem_write() local
301 struct device *dev = kobj_to_dev(kobj); in nvmem_bin_attr_is_visible() local
311 struct device *dev = kobj_to_dev(kobj); in nvmem_bin_attr_size() local
320 struct device *dev = kobj_to_dev(kobj); in nvmem_attr_is_visible() local
534 static void nvmem_release(struct device *dev) in nvmem_release()
791 struct device *dev = &nvmem->dev; in nvmem_add_cells_from_dt() local
1096 struct nvmem_device *devm_nvmem_register(struct device *dev, in devm_nvmem_register()
1115 int (*match)(struct device *dev, const void *data)) in __nvmem_device_get()
1118 struct device *dev; in __nvmem_device_get() local
1189 struct nvmem_device *nvmem_device_get(struct device *dev, const char *dev_name) in nvmem_device_get()
1215 int (*match)(struct device *dev, const void *data)) in nvmem_device_find()
1221 static int devm_nvmem_device_match(struct device *dev, void *res, void *data) in devm_nvmem_device_match()
1231 static void devm_nvmem_device_release(struct device *dev, void *res) in devm_nvmem_device_release()
1243 void devm_nvmem_device_put(struct device *dev, struct nvmem_device *nvmem) in devm_nvmem_device_put()
1275 struct nvmem_device *devm_nvmem_device_get(struct device *dev, const char *id) in devm_nvmem_device_get()
1321 nvmem_cell_get_from_lookup(struct device *dev, const char *con_id) in nvmem_cell_get_from_lookup()
1505 struct nvmem_cell *nvmem_cell_get(struct device *dev, const char *id) in nvmem_cell_get()
1523 static void devm_nvmem_cell_release(struct device *dev, void *res) in devm_nvmem_cell_release()
1538 struct nvmem_cell *devm_nvmem_cell_get(struct device *dev, const char *id) in devm_nvmem_cell_get()
1558 static int devm_nvmem_cell_match(struct device *dev, void *res, void *data) in devm_nvmem_cell_match()
1575 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell) in devm_nvmem_cell_put()
1813 static int nvmem_cell_read_common(struct device *dev, const char *cell_id, in nvmem_cell_read_common()
1850 int nvmem_cell_read_u8(struct device *dev, const char *cell_id, u8 *val) in nvmem_cell_read_u8()
1865 int nvmem_cell_read_u16(struct device *dev, const char *cell_id, u16 *val) in nvmem_cell_read_u16()
1880 int nvmem_cell_read_u32(struct device *dev, const char *cell_id, u32 *val) in nvmem_cell_read_u32()
1895 int nvmem_cell_read_u64(struct device *dev, const char *cell_id, u64 *val) in nvmem_cell_read_u64()
1901 static const void *nvmem_cell_read_variable_common(struct device *dev, in nvmem_cell_read_variable_common()
1943 int nvmem_cell_read_variable_le_u32(struct device *dev, const char *cell_id, in nvmem_cell_read_variable_le_u32()
1974 int nvmem_cell_read_variable_le_u64(struct device *dev, const char *cell_id, in nvmem_cell_read_variable_le_u64()