Home
last modified time | relevance | path

Searched refs:crystalhd_cmd (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/staging/crystalhd/
Dcrystalhd_cmds.h57 struct crystalhd_cmd { struct
69 typedef enum BC_STATUS(*crystalhd_cmd_proc)(struct crystalhd_cmd *, struct crystalhd_ioctl_data *); argument
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);
79 crystalhd_cmd_proc crystalhd_get_cmd_proc(struct crystalhd_cmd *ctx, uint32_t cmd,
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);
85 bool crystalhd_cmd_interrupt(struct crystalhd_cmd *ctx);
Dcrystalhd_cmds.c30 static struct crystalhd_user *bc_cproc_get_uid(struct crystalhd_cmd *ctx) in bc_cproc_get_uid()
45 static int bc_cproc_get_user_count(struct crystalhd_cmd *ctx) in bc_cproc_get_user_count()
57 static void bc_cproc_mark_pwr_state(struct crystalhd_cmd *ctx) in bc_cproc_mark_pwr_state()
72 static enum BC_STATUS bc_cproc_notify_mode(struct crystalhd_cmd *ctx, in bc_cproc_notify_mode()
114 static enum BC_STATUS bc_cproc_get_version(struct crystalhd_cmd *ctx, in bc_cproc_get_version()
129 static enum BC_STATUS bc_cproc_get_hwtype(struct crystalhd_cmd *ctx, in bc_cproc_get_hwtype()
147 static enum BC_STATUS bc_cproc_reg_rd(struct crystalhd_cmd *ctx, in bc_cproc_reg_rd()
157 static enum BC_STATUS bc_cproc_reg_wr(struct crystalhd_cmd *ctx, in bc_cproc_reg_wr()
169 static enum BC_STATUS bc_cproc_link_reg_rd(struct crystalhd_cmd *ctx, in bc_cproc_link_reg_rd()
180 static enum BC_STATUS bc_cproc_link_reg_wr(struct crystalhd_cmd *ctx, in bc_cproc_link_reg_wr()
[all …]
Dcrystalhd_lnx.h85 struct crystalhd_cmd cmds;