Lines Matching refs:p_ca_slot_info
249 static int ca_get_slot_info(struct dst_state *state, struct ca_slot_info *p_ca_slot_info, void __us… in ca_get_slot_info() argument
272 p_ca_slot_info->flags = CA_CI_MODULE_PRESENT; in ca_get_slot_info()
273 p_ca_slot_info->num = 1; in ca_get_slot_info()
274 p_ca_slot_info->type = CA_CI; in ca_get_slot_info()
276 p_ca_slot_info->flags = CA_CI_MODULE_READY; in ca_get_slot_info()
277 p_ca_slot_info->num = 1; in ca_get_slot_info()
278 p_ca_slot_info->type = CA_CI; in ca_get_slot_info()
280 p_ca_slot_info->flags = 0; in ca_get_slot_info()
282 if (copy_to_user(arg, p_ca_slot_info, sizeof (struct ca_slot_info))) in ca_get_slot_info()
529 struct ca_slot_info *p_ca_slot_info; in dst_ca_ioctl() local
539 p_ca_slot_info = kmalloc(sizeof (struct ca_slot_info), GFP_KERNEL); in dst_ca_ioctl()
541 if (!p_ca_message || !p_ca_slot_info || !p_ca_caps) { in dst_ca_ioctl()
573 result = ca_get_slot_info(state, p_ca_slot_info, arg); in dst_ca_ioctl()
604 kfree (p_ca_slot_info); in dst_ca_ioctl()