Searched refs:crystalhd_adp (Results 1 – 8 of 8) sorted by relevance
/drivers/staging/crystalhd/ |
D | crystalhd_misc.h | 108 struct crystalhd_adp *adp; 122 uint32_t bc_dec_reg_rd(struct crystalhd_adp *, uint32_t); 123 void bc_dec_reg_wr(struct crystalhd_adp *, uint32_t, uint32_t); 126 uint32_t crystalhd_reg_rd(struct crystalhd_adp *, uint32_t); 127 void crystalhd_reg_wr(struct crystalhd_adp *, uint32_t, uint32_t); 130 enum BC_STATUS crystalhd_mem_rd(struct crystalhd_adp *, uint32_t, uint32_t, uint32_t *); 131 enum BC_STATUS crystalhd_mem_wr(struct crystalhd_adp *, uint32_t, uint32_t, uint32_t *); 134 enum BC_STATUS crystalhd_pci_cfg_rd(struct crystalhd_adp *, uint32_t, uint32_t, uint32_t *); 135 enum BC_STATUS crystalhd_pci_cfg_wr(struct crystalhd_adp *, uint32_t, uint32_t, uint32_t); 138 void *bc_kern_dma_alloc(struct crystalhd_adp *, uint32_t, dma_addr_t *); [all …]
|
D | crystalhd_lnx.c | 27 static struct crystalhd_adp *g_adp_info; 31 struct crystalhd_adp *adp = (struct crystalhd_adp *) arg; in chd_dec_isr() 39 static int chd_dec_enable_int(struct crystalhd_adp *adp) in chd_dec_enable_int() 63 static int chd_dec_disable_int(struct crystalhd_adp *adp) in chd_dec_disable_int() 78 struct crystalhd_ioctl_data *chd_dec_alloc_iodata(struct crystalhd_adp *adp, bool isr) in chd_dec_alloc_iodata() 98 void chd_dec_free_iodata(struct crystalhd_adp *adp, struct crystalhd_ioctl_data *iodata, in chd_dec_free_iodata() 134 static int chd_dec_fetch_cdata(struct crystalhd_adp *adp, struct crystalhd_ioctl_data *io, in chd_dec_fetch_cdata() 165 static int chd_dec_release_cdata(struct crystalhd_adp *adp, in chd_dec_release_cdata() 195 static int chd_dec_proc_user_data(struct crystalhd_adp *adp, in chd_dec_proc_user_data() 230 static int chd_dec_api_cmd(struct crystalhd_adp *adp, unsigned long ua, in chd_dec_api_cmd() [all …]
|
D | crystalhd_misc.c | 33 static inline uint32_t crystalhd_dram_rd(struct crystalhd_adp *adp, uint32_t mem_off) in crystalhd_dram_rd() 39 static inline void crystalhd_dram_wr(struct crystalhd_adp *adp, uint32_t mem_off, uint32_t val) in crystalhd_dram_wr() 45 static inline enum BC_STATUS bc_chk_dram_range(struct crystalhd_adp *adp, uint32_t start_off, uint3… in bc_chk_dram_range() 50 static struct crystalhd_dio_req *crystalhd_alloc_dio(struct crystalhd_adp *adp) in crystalhd_alloc_dio() 69 static void crystalhd_free_dio(struct crystalhd_adp *adp, struct crystalhd_dio_req *dio) in crystalhd_free_dio() 85 static struct crystalhd_elem *crystalhd_alloc_elem(struct crystalhd_adp *adp) in crystalhd_alloc_elem() 102 static void crystalhd_free_elem(struct crystalhd_adp *adp, struct crystalhd_elem *elem) in crystalhd_free_elem() 142 uint32_t bc_dec_reg_rd(struct crystalhd_adp *adp, uint32_t reg_off) in bc_dec_reg_rd() 165 void bc_dec_reg_wr(struct crystalhd_adp *adp, uint32_t reg_off, uint32_t val) in bc_dec_reg_wr() 188 uint32_t crystalhd_reg_rd(struct crystalhd_adp *adp, uint32_t reg_off) in crystalhd_reg_rd() [all …]
|
D | crystalhd_lnx.h | 55 struct crystalhd_adp { struct 90 struct crystalhd_adp *chd_get_adp(void); argument 91 void chd_set_log_level(struct crystalhd_adp *adp, char *arg);
|
D | crystalhd_cmds.h | 59 struct crystalhd_adp *adp; 83 enum BC_STATUS crystalhd_setup_cmd_context(struct crystalhd_cmd *ctx, struct crystalhd_adp *adp);
|
D | crystalhd_hw.h | 359 enum BC_STATUS crystalhd_download_fw(struct crystalhd_adp *adp, 362 bool crystalhd_hw_interrupt(struct crystalhd_adp *adp, struct crystalhd_hw *hw); 363 enum BC_STATUS crystalhd_hw_open(struct crystalhd_hw *, struct crystalhd_adp *);
|
D | crystalhd_hw.c | 33 static void crystalhd_enable_uarts(struct crystalhd_adp *adp) in crystalhd_enable_uarts() 40 static void crystalhd_start_dram(struct crystalhd_adp *adp) in crystalhd_start_dram() 63 static bool crystalhd_bring_out_of_rst(struct crystalhd_adp *adp) in crystalhd_bring_out_of_rst() 124 static bool crystalhd_put_in_reset(struct crystalhd_adp *adp) in crystalhd_put_in_reset() 180 static void crystalhd_disable_interrupts(struct crystalhd_adp *adp) in crystalhd_disable_interrupts() 196 static void crystalhd_enable_interrupts(struct crystalhd_adp *adp) in crystalhd_enable_interrupts() 212 static void crystalhd_clear_errors(struct crystalhd_adp *adp) in crystalhd_clear_errors() 230 static void crystalhd_clear_interrupts(struct crystalhd_adp *adp) in crystalhd_clear_interrupts() 242 static void crystalhd_soft_rst(struct crystalhd_adp *adp) in crystalhd_soft_rst() 259 static bool crystalhd_load_firmware_config(struct crystalhd_adp *adp) in crystalhd_load_firmware_config() [all …]
|
D | crystalhd_cmds.c | 955 struct crystalhd_adp *adp) in crystalhd_setup_cmd_context()
|