Home
last modified time | relevance | path

Searched refs:BC_STATUS (Results 1 – 9 of 9) sorted by relevance

/drivers/staging/crystalhd/
Dcrystalhd_cmds.c71 static enum BC_STATUS bc_cproc_notify_mode(struct crystalhd_cmd *ctx, in bc_cproc_notify_mode()
113 static enum BC_STATUS bc_cproc_get_version(struct crystalhd_cmd *ctx, in bc_cproc_get_version()
128 static enum BC_STATUS bc_cproc_get_hwtype(struct crystalhd_cmd *ctx, in bc_cproc_get_hwtype()
146 static enum BC_STATUS bc_cproc_reg_rd(struct crystalhd_cmd *ctx, in bc_cproc_reg_rd()
156 static enum BC_STATUS bc_cproc_reg_wr(struct crystalhd_cmd *ctx, in bc_cproc_reg_wr()
168 static enum BC_STATUS bc_cproc_link_reg_rd(struct crystalhd_cmd *ctx, in bc_cproc_link_reg_rd()
179 static enum BC_STATUS bc_cproc_link_reg_wr(struct crystalhd_cmd *ctx, in bc_cproc_link_reg_wr()
191 static enum BC_STATUS bc_cproc_mem_rd(struct crystalhd_cmd *ctx, in bc_cproc_mem_rd()
194 enum BC_STATUS sts = BC_STS_SUCCESS; in bc_cproc_mem_rd()
210 static enum BC_STATUS bc_cproc_mem_wr(struct crystalhd_cmd *ctx, in bc_cproc_mem_wr()
[all …]
Dcrystalhd_hw.h359 enum BC_STATUS crystalhd_download_fw(struct crystalhd_adp *adp,
361 enum BC_STATUS crystalhd_do_fw_cmd(struct crystalhd_hw *hw, struct BC_FW_CMD *fw_cmd);
363 enum BC_STATUS crystalhd_hw_open(struct crystalhd_hw *, struct crystalhd_adp *);
364 enum BC_STATUS crystalhd_hw_close(struct crystalhd_hw *);
365 enum BC_STATUS crystalhd_hw_setup_dma_rings(struct crystalhd_hw *);
366 enum BC_STATUS crystalhd_hw_free_dma_rings(struct crystalhd_hw *);
369 enum BC_STATUS crystalhd_hw_post_tx(struct crystalhd_hw *hw, struct crystalhd_dio_req *ioreq,
374 enum BC_STATUS crystalhd_hw_pause(struct crystalhd_hw *hw);
375 enum BC_STATUS crystalhd_hw_unpause(struct crystalhd_hw *hw);
376 enum BC_STATUS crystalhd_hw_suspend(struct crystalhd_hw *hw);
[all …]
Dcrystalhd_cmds.h69 typedef enum BC_STATUS(*crystalhd_cmd_proc)(struct crystalhd_cmd *, struct crystalhd_ioctl_data *);
77 enum BC_STATUS crystalhd_suspend(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata);
78 enum BC_STATUS crystalhd_resume(struct crystalhd_cmd *ctx);
81 enum BC_STATUS crystalhd_user_open(struct crystalhd_cmd *ctx, struct crystalhd_user **user_ctx);
82 enum BC_STATUS crystalhd_user_close(struct crystalhd_cmd *ctx, struct crystalhd_user *uc);
83 enum BC_STATUS crystalhd_setup_cmd_context(struct crystalhd_cmd *ctx, struct crystalhd_adp *adp);
84 enum BC_STATUS crystalhd_delete_cmd_context(struct crystalhd_cmd *ctx);
Dcrystalhd_misc.h119 wait_queue_head_t *event, enum BC_STATUS sts);
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);
171 extern enum BC_STATUS crystalhd_map_dio(struct crystalhd_adp *, void *, uint32_t,
174 extern enum BC_STATUS crystalhd_unmap_dio(struct crystalhd_adp *, struct crystalhd_dio_req*);
179 extern enum BC_STATUS crystalhd_create_dioq(struct crystalhd_adp *, struct crystalhd_dioq **, cryst…
181 extern enum BC_STATUS crystalhd_dioq_add(struct crystalhd_dioq *ioq, void *data, bool wake, uint32_…
Dcrystalhd_hw.c457 static enum BC_STATUS crystalhd_hw_create_ioqs(struct crystalhd_hw *hw) in crystalhd_hw_create_ioqs()
459 enum BC_STATUS sts = BC_STS_SUCCESS; in crystalhd_hw_create_ioqs()
527 static enum BC_STATUS crystalhd_hw_tx_req_complete(struct crystalhd_hw *hw, in crystalhd_hw_tx_req_complete()
528 uint32_t list_id, enum BC_STATUS cs) in crystalhd_hw_tx_req_complete()
686 static enum BC_STATUS crystalhd_hw_fill_desc(struct crystalhd_dio_req *ioreq, in crystalhd_hw_fill_desc()
777 static enum BC_STATUS crystalhd_xlat_sgl_to_dma_desc(struct crystalhd_dio_req *ioreq, in crystalhd_xlat_sgl_to_dma_desc()
785 enum BC_STATUS sts = BC_STS_SUCCESS; in crystalhd_xlat_sgl_to_dma_desc()
862 static enum BC_STATUS crystalhd_stop_tx_dma_engine(struct crystalhd_hw *hw) in crystalhd_stop_tx_dma_engine()
1171 static enum BC_STATUS crystalhd_hw_prog_rxdma(struct crystalhd_hw *hw, struct crystalhd_rx_dma_pkt … in crystalhd_hw_prog_rxdma()
1231 static enum BC_STATUS crystalhd_hw_post_cap_buff(struct crystalhd_hw *hw, in crystalhd_hw_post_cap_buff()
[all …]
Dcrystalhd_misc.c45 static inline enum BC_STATUS bc_chk_dram_range(struct crystalhd_adp *adp, uint32_t start_off, uint3… in bc_chk_dram_range()
232 enum BC_STATUS crystalhd_mem_rd(struct crystalhd_adp *adp, uint32_t start_off, in crystalhd_mem_rd()
260 enum BC_STATUS crystalhd_mem_wr(struct crystalhd_adp *adp, uint32_t start_off, in crystalhd_mem_wr()
288 enum BC_STATUS crystalhd_pci_cfg_rd(struct crystalhd_adp *adp, uint32_t off, in crystalhd_pci_cfg_rd()
291 enum BC_STATUS sts = BC_STS_SUCCESS; in crystalhd_pci_cfg_rd()
333 enum BC_STATUS crystalhd_pci_cfg_wr(struct crystalhd_adp *adp, uint32_t off, in crystalhd_pci_cfg_wr()
336 enum BC_STATUS sts = BC_STS_SUCCESS; in crystalhd_pci_cfg_wr()
431 enum BC_STATUS crystalhd_create_dioq(struct crystalhd_adp *adp, in crystalhd_create_dioq()
500 enum BC_STATUS crystalhd_dioq_add(struct crystalhd_dioq *ioq, void *data, in crystalhd_dioq_add()
675 enum BC_STATUS crystalhd_map_dio(struct crystalhd_adp *adp, void *ubuff, in crystalhd_map_dio()
[all …]
Dcrystalhd_lnx.c235 enum BC_STATUS sts = BC_STS_SUCCESS; in chd_dec_api_cmd()
299 enum BC_STATUS sts = BC_STS_SUCCESS; in chd_dec_open()
517 enum BC_STATUS sts = BC_STS_SUCCESS; in chd_dec_pci_remove()
545 enum BC_STATUS sts = BC_STS_SUCCESS; in chd_dec_pci_probe()
634 enum BC_STATUS sts = BC_STS_SUCCESS; in chd_dec_pci_suspend()
667 enum BC_STATUS sts = BC_STS_SUCCESS; in chd_dec_pci_resume()
Dbc_dts_defs.h34 enum BC_STATUS { enum
469 typedef enum BC_STATUS(*dts_pout_callback)(void *shnd, uint32_t width,
Dbc_dts_glob_lnx.h204 enum BC_STATUS RetSts;