Home
last modified time | relevance | path

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

/linux/drivers/dpll/zl3073x/
H A Dcore.h76 struct zl3073x_dev { struct
106 struct zl3073x_dev *zl3073x_devm_alloc(struct device *dev); argument
107 int zl3073x_dev_probe(struct zl3073x_dev *zldev);
109 int zl3073x_dev_start(struct zl3073x_dev *zldev, bool full);
110 void zl3073x_dev_stop(struct zl3073x_dev *zldev);
112 static inline u8 zl3073x_dev_phase_avg_factor_get(struct zl3073x_dev *zldev) in zl3073x_dev_phase_avg_factor_get()
117 int zl3073x_dev_phase_avg_factor_set(struct zl3073x_dev *zldev, u8 factor);
145 int zl3073x_mb_op(struct zl3073x_dev *zldev, unsigned int op_reg, u8 op_val,
147 int zl3073x_poll_zero_u8(struct zl3073x_dev *zldev, unsigned int reg,
149 int zl3073x_read_u8(struct zl3073x_dev *zldev, unsigned int reg, u8 *val);
[all …]
H A Dchan.h14 struct zl3073x_dev;
38 int zl3073x_chan_state_fetch(struct zl3073x_dev *zldev, u8 index);
39 const struct zl3073x_chan *zl3073x_chan_state_get(struct zl3073x_dev *zldev,
41 int zl3073x_chan_state_set(struct zl3073x_dev *zldev, u8 index,
44 int zl3073x_chan_state_update(struct zl3073x_dev *zldev, u8 index);
45 int zl3073x_chan_nco_mode_set(struct zl3073x_dev *zldev, u8 index);
47 int zl3073x_chan_tod_ready_wait(struct zl3073x_dev *zldev, u8 ch);
48 int zl3073x_chan_tod_read(struct zl3073x_dev *zldev, u8 ch,
51 int zl3073x_chan_tod_write(struct zl3073x_dev *zldev, u8 ch,
53 int zl3073x_chan_tod_adjust(struct zl3073x_dev *zldev, u8 ch,
[all …]
H A Dcore.c85 zl3073x_check_reg(struct zl3073x_dev *zldev, unsigned int reg, size_t size) in zl3073x_check_reg()
111 zl3073x_read_reg(struct zl3073x_dev *zldev, unsigned int reg, void *val, in zl3073x_read_reg()
133 zl3073x_write_reg(struct zl3073x_dev *zldev, unsigned int reg, const void *val, in zl3073x_write_reg()
164 int zl3073x_read_u8(struct zl3073x_dev *zldev, unsigned int reg, u8 *val) in zl3073x_read_u8()
179 int zl3073x_write_u8(struct zl3073x_dev *zldev, unsigned int reg, u8 val) in zl3073x_write_u8()
194 int zl3073x_read_u16(struct zl3073x_dev *zldev, unsigned int reg, u16 *val) in zl3073x_read_u16()
215 int zl3073x_write_u16(struct zl3073x_dev *zldev, unsigned int reg, u16 val) in zl3073x_write_u16()
232 int zl3073x_read_u32(struct zl3073x_dev *zldev, unsigned int reg, u32 *val) in zl3073x_read_u32()
253 int zl3073x_write_u32(struct zl3073x_dev *zldev, unsigned int reg, u32 val) in zl3073x_write_u32()
270 int zl3073x_read_u48(struct zl3073x_dev *zldev, unsigned int reg, u64 *val) in zl3073x_read_u48()
[all …]
H A Dchan.c20 int zl3073x_chan_state_update(struct zl3073x_dev *zldev, u8 index) in zl3073x_chan_state_update()
83 int zl3073x_chan_nco_mode_set(struct zl3073x_dev *zldev, u8 index) in zl3073x_chan_nco_mode_set()
171 int zl3073x_chan_state_fetch(struct zl3073x_dev *zldev, u8 index) in zl3073x_chan_state_fetch()
232 const struct zl3073x_chan *zl3073x_chan_state_get(struct zl3073x_dev *zldev, in zl3073x_chan_state_get()
252 int zl3073x_chan_tod_ready_wait(struct zl3073x_dev *zldev, u8 ch) in zl3073x_chan_tod_ready_wait()
295 static int zl3073x_chan_tod_ctrl(struct zl3073x_dev *zldev, u8 ch, u8 cmd) in zl3073x_chan_tod_ctrl()
312 int zl3073x_chan_tod_read(struct zl3073x_dev *zldev, u8 ch, in zl3073x_chan_tod_read()
365 int zl3073x_chan_tod_write(struct zl3073x_dev *zldev, u8 ch, in zl3073x_chan_tod_write()
402 int zl3073x_chan_tod_adjust(struct zl3073x_dev *zldev, u8 ch, in zl3073x_chan_tod_adjust()
452 int zl3073x_chan_df_offset_set(struct zl3073x_dev *zldev, u8 ch, s64 offset) in zl3073x_chan_df_offset_set()
[all …]
H A Ddpll.h31 struct zl3073x_dev *dev;
46 struct zl3073x_dpll *zl3073x_dpll_alloc(struct zl3073x_dev *zldev, u8 ch);
52 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 Ddpll.c157 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_input_pin_esync_get()
195 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_input_pin_esync_set()
233 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_input_pin_ref_sync_get()
264 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_input_pin_ref_sync_set()
431 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_input_pin_frequency_set()
480 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_input_pin_phase_offset_get()
539 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_input_pin_phase_adjust_get()
574 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_input_pin_phase_adjust_set()
610 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_ref_operstate_get()
851 struct zl3073x_dev *zldev = zldpll->dev; in zl3073x_dpll_output_pin_esync_get()
[all …]
H A Dref.c61 int zl3073x_ref_state_update(struct zl3073x_dev *zldev, u8 index) in zl3073x_ref_state_update()
79 int zl3073x_ref_state_fetch(struct zl3073x_dev *zldev, u8 index) in zl3073x_ref_state_fetch()
166 zl3073x_ref_state_get(struct zl3073x_dev *zldev, u8 index) in zl3073x_ref_state_get()
183 int zl3073x_ref_state_set(struct zl3073x_dev *zldev, u8 index, in zl3073x_ref_state_set()
H A Dout.c23 int zl3073x_out_state_fetch(struct zl3073x_dev *zldev, u8 index) in zl3073x_out_state_fetch()
99 const struct zl3073x_out *zl3073x_out_state_get(struct zl3073x_dev *zldev, in zl3073x_out_state_get()
117 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()