ca_msg
struct ca_msg *msg = arg;
struct ca_msg *msg = arg;
struct ca_msg *reply = arg;
struct ca_msg *reply = arg;
struct ca_msg *reply = arg;
static int ca_get_slot_descr(struct dst_state *state, struct ca_msg *p_ca_message, void __user *arg)
static int ca_get_message(struct dst_state *state, struct ca_msg *p_ca_message, void __user *arg)
if (copy_from_user(p_ca_message, arg, sizeof (struct ca_msg)))
if (copy_to_user(arg, p_ca_message, sizeof (struct ca_msg)) )
if (copy_to_user(arg, p_ca_message, sizeof (struct ca_msg)) )
static int handle_dst_tag(struct dst_state *state, struct ca_msg *p_ca_message, struct ca_msg *hw_buffer, u32 length)
static int write_to_8820(struct dst_state *state, struct ca_msg *hw_buffer, u8 length, u8 reply)
static int ca_set_pmt(struct dst_state *state, struct ca_msg *p_ca_message, struct ca_msg *hw_buffer, u8 reply, u8 query)
static int dst_check_ca_pmt(struct dst_state *state, struct ca_msg *p_ca_message, struct ca_msg *hw_buffer)
static int ca_send_message(struct dst_state *state, struct ca_msg *p_ca_message, void __user *arg)
struct ca_msg *hw_buffer;
if (copy_from_user(p_ca_message, arg, sizeof (struct ca_msg))) {
struct ca_msg *p_ca_message;
p_ca_message = kmalloc_obj(struct ca_msg);
#define CA_GET_MSG _IOR('o', 132, struct ca_msg)
#define CA_SEND_MSG _IOW('o', 133, struct ca_msg)
typedef struct ca_msg ca_msg_t;