Home
last modified time | relevance | path

Searched refs:zl3073x_dev (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/dpll/zl3073x/
H A Dcore.h48 struct zl3073x_dev { struct
84 struct zl3073x_dev *zl3073x_devm_alloc(struct device *dev); argument
85 int zl3073x_dev_probe(struct zl3073x_dev *zldev,
88 int zl3073x_dev_start(struct zl3073x_dev *zldev, bool full);
89 void zl3073x_dev_stop(struct zl3073x_dev *zldev);
91 static inline u8 zl3073x_dev_phase_avg_factor_get(struct zl3073x_dev *zldev) in zl3073x_dev_phase_avg_factor_get()
96 int zl3073x_dev_phase_avg_factor_set(struct zl3073x_dev *zldev, u8 factor);
124 int zl3073x_mb_op(struct zl3073x_dev *zldev, unsigned int op_reg, u8 op_val,
126 int zl3073x_poll_zero_u8(struct zl3073x_dev *zldev, unsigned int reg, u8 mask);
127 int zl3073x_read_u8(struct zl3073x_dev *zldev, unsigned int reg, u8 *val);
[all …]
H A Dcore.c133 zl3073x_check_reg(struct zl3073x_dev *zldev, unsigned int reg, size_t size) in zl3073x_check_reg()
159 zl3073x_read_reg(struct zl3073x_dev *zldev, unsigned int reg, void *val, in zl3073x_read_reg()
181 zl3073x_write_reg(struct zl3073x_dev *zldev, unsigned int reg, const void *val, in zl3073x_write_reg()
212 int zl3073x_read_u8(struct zl3073x_dev *zldev, unsigned int reg, u8 *val) in zl3073x_read_u8()
227 int zl3073x_write_u8(struct zl3073x_dev *zldev, unsigned int reg, u8 val) in zl3073x_write_u8()
242 int zl3073x_read_u16(struct zl3073x_dev *zldev, unsigned int reg, u16 *val) in zl3073x_read_u16()
263 int zl3073x_write_u16(struct zl3073x_dev *zldev, unsigned int reg, u16 val) in zl3073x_write_u16()
280 int zl3073x_read_u32(struct zl3073x_dev *zldev, unsigned int reg, u32 *val) in zl3073x_read_u32()
301 int zl3073x_write_u32(struct zl3073x_dev *zldev, unsigned int reg, u32 val) in zl3073x_write_u32()
318 int zl3073x_read_u48(struct zl3073x_dev *zldev, unsigned int reg, u64 *val) in zl3073x_read_u48()
[all …]
H A Dflash.h9 struct zl3073x_dev;
11 int zl3073x_flash_mode_enter(struct zl3073x_dev *zldev, const void *util_ptr,
14 int zl3073x_flash_mode_leave(struct zl3073x_dev *zldev,
17 int zl3073x_flash_page(struct zl3073x_dev *zldev, const char *component,
21 int zl3073x_flash_page_copy(struct zl3073x_dev *zldev, const char *component,
25 int zl3073x_flash_sectors(struct zl3073x_dev *zldev, const char *component,
H A Dflash.c41 zl3073x_flash_download(struct zl3073x_dev *zldev, const char *component, in zl3073x_flash_download()
102 zl3073x_flash_error_check(struct zl3073x_dev *zldev, in zl3073x_flash_error_check()
134 zl3073x_flash_wait_ready(struct zl3073x_dev *zldev, unsigned int timeout_ms) in zl3073x_flash_wait_ready()
178 zl3073x_flash_cmd_wait(struct zl3073x_dev *zldev, u32 operation, in zl3073x_flash_cmd_wait()
223 zl3073x_flash_get_sector_size(struct zl3073x_dev *zldev, size_t *sector_size) in zl3073x_flash_get_sector_size()
266 zl3073x_flash_block(struct zl3073x_dev *zldev, const char *component, in zl3073x_flash_block()
331 int zl3073x_flash_sectors(struct zl3073x_dev *zldev, const char *component, in zl3073x_flash_sectors()
399 int zl3073x_flash_page(struct zl3073x_dev *zldev, const char *component, in zl3073x_flash_page()
429 int zl3073x_flash_page_copy(struct zl3073x_dev *zldev, const char *component, in zl3073x_flash_page_copy()
461 zl3073x_flash_mode_verify(struct zl3073x_dev *zldev) in zl3073x_flash_mode_verify()
[all …]
H A Ddevlink.c28 struct zl3073x_dev *zldev = devlink_priv(devlink); in zl3073x_devlink_info_get()
90 struct zl3073x_dev *zldev = devlink_priv(devlink); in zl3073x_devlink_reload_down()
108 struct zl3073x_dev *zldev = devlink_priv(devlink); in zl3073x_devlink_reload_up()
137 void zl3073x_devlink_flash_notify(struct zl3073x_dev *zldev, const char *msg, in zl3073x_devlink_flash_notify()
158 zl3073x_devlink_flash_prepare(struct zl3073x_dev *zldev, in zl3073x_devlink_flash_prepare()
202 zl3073x_devlink_flash_finish(struct zl3073x_dev *zldev, in zl3073x_devlink_flash_finish()
233 struct zl3073x_dev *zldev = devlink_priv(devlink); in zl3073x_devlink_flash_update()
293 struct zl3073x_dev *zl3073x_devm_alloc(struct device *dev) in zl3073x_devm_alloc()
295 struct zl3073x_dev *zldev; in zl3073x_devm_alloc()
360 int zl3073x_devlink_register(struct zl3073x_dev *zldev) in zl3073x_devlink_register()
H A Ddevlink.h6 struct zl3073x_dev;
8 struct zl3073x_dev *zl3073x_devm_alloc(struct device *dev);
10 int zl3073x_devlink_register(struct zl3073x_dev *zldev);
12 void zl3073x_devlink_flash_notify(struct zl3073x_dev *zldev, const char *msg,
H A Dsynth.h12 struct zl3073x_dev;
30 int zl3073x_synth_state_fetch(struct zl3073x_dev *zldev, u8 synth_id);
32 const struct zl3073x_synth *zl3073x_synth_state_get(struct zl3073x_dev *zldev,
35 int zl3073x_synth_state_set(struct zl3073x_dev *zldev, u8 synth_id,
H A Dout.h11 struct zl3073x_dev;
33 int zl3073x_out_state_fetch(struct zl3073x_dev *zldev, u8 index);
34 const struct zl3073x_out *zl3073x_out_state_get(struct zl3073x_dev *zldev,
37 int zl3073x_out_state_set(struct zl3073x_dev *zldev, u8 index,
H A Dref.h12 struct zl3073x_dev;
40 int zl3073x_ref_state_fetch(struct zl3073x_dev *zldev, u8 index);
42 const struct zl3073x_ref *zl3073x_ref_state_get(struct zl3073x_dev *zldev,
45 int zl3073x_ref_state_set(struct zl3073x_dev *zldev, u8 index,
H A Ddpll.c128 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_input_pin_esync_get()
169 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_input_pin_esync_set()
232 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_input_pin_frequency_set()
261 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_selected_ref_get()
309 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_selected_ref_set()
384 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_connected_ref_get()
408 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_input_pin_phase_offset_get()
468 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_input_pin_phase_adjust_get()
501 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_input_pin_phase_adjust_set()
533 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_ref_prio_get()
[all …]
H A Ddpll.h28 struct zl3073x_dev *dev;
41 struct zl3073x_dpll *zl3073x_dpll_alloc(struct zl3073x_dev *zldev, u8 ch);
47 int zl3073x_dpll_init_fine_phase_adjust(struct zl3073x_dev *zldev);
H A Dprop.c30 zl3073x_pin_check_freq(struct zl3073x_dev *zldev, enum dpll_pin_direction dir, in zl3073x_pin_check_freq()
84 zl3073x_prop_pin_package_label_set(struct zl3073x_dev *zldev, in zl3073x_prop_pin_package_label_set()
129 zl3073x_prop_pin_fwnode_get(struct zl3073x_dev *zldev, in zl3073x_prop_pin_fwnode_get()
190 struct zl3073x_pin_props *zl3073x_pin_props_get(struct zl3073x_dev *zldev, in zl3073x_pin_props_get()
359 zl3073x_prop_dpll_type_get(struct zl3073x_dev *zldev, u8 index) in zl3073x_prop_dpll_type_get()
H A Dprop.h26 enum dpll_type zl3073x_prop_dpll_type_get(struct zl3073x_dev *zldev, u8 index);
28 struct zl3073x_pin_props *zl3073x_pin_props_get(struct zl3073x_dev *zldev,
H A Dfw.h45 struct zl3073x_fw *zl3073x_fw_load(struct zl3073x_dev *zldev, const char *data,
49 int zl3073x_fw_flash(struct zl3073x_dev *zldev, struct zl3073x_fw *zlfw,
H A Dout.c23 int zl3073x_out_state_fetch(struct zl3073x_dev *zldev, u8 index) in zl3073x_out_state_fetch()
103 const struct zl3073x_out *zl3073x_out_state_get(struct zl3073x_dev *zldev, in zl3073x_out_state_get()
109 int zl3073x_out_state_set(struct zl3073x_dev *zldev, u8 index, in zl3073x_out_state_set()
H A Dfw.c198 zl3073x_fw_component_load(struct zl3073x_dev *zldev, in zl3073x_fw_component_load()
307 struct zl3073x_fw *zl3073x_fw_load(struct zl3073x_dev *zldev, const char *data, in zl3073x_fw_load()
363 zl3073x_fw_component_flash(struct zl3073x_dev *zldev, in zl3073x_fw_component_flash()
403 int zl3073x_fw_flash(struct zl3073x_dev *zldev, struct zl3073x_fw *zlfw, in zl3073x_fw_flash()
H A Dsynth.c23 int zl3073x_synth_state_fetch(struct zl3073x_dev *zldev, u8 index) in zl3073x_synth_state_fetch()
83 const struct zl3073x_synth *zl3073x_synth_state_get(struct zl3073x_dev *zldev, in zl3073x_synth_state_get()
H A Dref.c64 int zl3073x_ref_state_fetch(struct zl3073x_dev *zldev, u8 index) in zl3073x_ref_state_fetch()
152 zl3073x_ref_state_get(struct zl3073x_dev *zldev, u8 index) in zl3073x_ref_state_get()
157 int zl3073x_ref_state_set(struct zl3073x_dev *zldev, u8 index, in zl3073x_ref_state_set()
H A Di2c.c14 struct zl3073x_dev *zldev; in zl3073x_i2c_probe()
H A Dspi.c14 struct zl3073x_dev *zldev; in zl3073x_spi_probe()