File Index
Files and directories
Sign in
FILE

flash.h

File preview with syntax highlighting.

linux-6.19.14/drivers/dpll/zl3073x/flash.h C
 1/* SPDX-License-Identifier: GPL-2.0+ */
 2
 3#ifndef __ZL3073X_FLASH_H
 4#define __ZL3073X_FLASH_H
 5
 6#include <linux/types.h>
 7
 8struct netlink_ext_ack;
 9struct zl3073x_dev;
10
11int zl3073x_flash_mode_enter(struct zl3073x_dev *zldev, const void *util_ptr,
12			     size_t util_size, struct netlink_ext_ack *extack);
13
14int zl3073x_flash_mode_leave(struct zl3073x_dev *zldev,
15			     struct netlink_ext_ack *extack);
16
17int zl3073x_flash_page(struct zl3073x_dev *zldev, const char *component,
18		       u32 page, u32 addr, const void *data, size_t size,
19		       struct netlink_ext_ack *extack);
20
21int zl3073x_flash_page_copy(struct zl3073x_dev *zldev, const char *component,
22			    u32 src_page, u32 dst_page,
23			    struct netlink_ext_ack *extack);
24
25int zl3073x_flash_sectors(struct zl3073x_dev *zldev, const char *component,
26			  u32 page, u32 addr, const void *data, size_t size,
27			  struct netlink_ext_ack *extack);
28
29#endif /* __ZL3073X_FLASH_H */
~/ Read-only file preview.