Lines Matching defs:arg

431 static int ioctl_get_info(struct client *client, union ioctl_arg *arg)
433 struct fw_cdev_get_info *a = &arg->get_info;
622 static int ioctl_send_request(struct client *client, union ioctl_arg *arg)
624 switch (arg->send_request.tcode) {
641 return init_request(client, &arg->send_request, client->device->node_id,
761 static int ioctl_allocate(struct client *client, union ioctl_arg *arg)
763 struct fw_cdev_allocate *a = &arg->allocate;
802 static int ioctl_deallocate(struct client *client, union ioctl_arg *arg)
804 return release_client_resource(client, arg->deallocate.handle,
808 static int ioctl_send_response(struct client *client, union ioctl_arg *arg)
810 struct fw_cdev_send_response *a = &arg->send_response;
844 static int ioctl_initiate_bus_reset(struct client *client, union ioctl_arg *arg)
847 arg->initiate_bus_reset.type == FW_CDEV_SHORT_RESET);
861 static int ioctl_add_descriptor(struct client *client, union ioctl_arg *arg)
863 struct fw_cdev_add_descriptor *a = &arg->add_descriptor;
907 static int ioctl_remove_descriptor(struct client *client, union ioctl_arg *arg)
909 return release_client_resource(client, arg->remove_descriptor.handle,
958 static int ioctl_create_iso_context(struct client *client, union ioctl_arg *arg)
960 struct fw_cdev_create_iso_context *a = &arg->create_iso_context;
1030 static int ioctl_set_iso_channels(struct client *client, union ioctl_arg *arg)
1032 struct fw_cdev_set_iso_channels *a = &arg->set_iso_channels;
1049 static int ioctl_queue_iso(struct client *client, union ioctl_arg *arg)
1051 struct fw_cdev_queue_iso *a = &arg->queue_iso;
1149 static int ioctl_start_iso(struct client *client, union ioctl_arg *arg)
1151 struct fw_cdev_start_iso *a = &arg->start_iso;
1171 static int ioctl_stop_iso(struct client *client, union ioctl_arg *arg)
1173 struct fw_cdev_stop_iso *a = &arg->stop_iso;
1181 static int ioctl_flush_iso(struct client *client, union ioctl_arg *arg)
1183 struct fw_cdev_flush_iso *a = &arg->flush_iso;
1191 static int ioctl_get_cycle_timer2(struct client *client, union ioctl_arg *arg)
1193 struct fw_cdev_get_cycle_timer2 *a = &arg->get_cycle_timer2;
1220 static int ioctl_get_cycle_timer(struct client *client, union ioctl_arg *arg)
1222 struct fw_cdev_get_cycle_timer *a = &arg->get_cycle_timer;
1400 union ioctl_arg *arg)
1403 &arg->allocate_iso_resource, ISO_RES_ALLOC);
1407 union ioctl_arg *arg)
1410 arg->deallocate.handle, release_iso_resource, NULL);
1414 union ioctl_arg *arg)
1417 &arg->allocate_iso_resource, ISO_RES_ALLOC_ONCE);
1421 union ioctl_arg *arg)
1424 &arg->allocate_iso_resource, ISO_RES_DEALLOC_ONCE);
1432 static int ioctl_get_speed(struct client *client, union ioctl_arg *arg)
1438 union ioctl_arg *arg)
1440 struct fw_cdev_send_request *a = &arg->send_request;
1457 static int ioctl_send_stream_packet(struct client *client, union ioctl_arg *arg)
1459 struct fw_cdev_send_stream_packet *a = &arg->send_stream_packet;
1508 static int ioctl_send_phy_packet(struct client *client, union ioctl_arg *arg)
1510 struct fw_cdev_send_phy_packet *a = &arg->send_phy_packet;
1541 static int ioctl_receive_phy_packets(struct client *client, union ioctl_arg *arg)
1543 struct fw_cdev_receive_phy_packets *a = &arg->receive_phy_packets;
1615 unsigned int cmd, void __user *arg)
1631 if (copy_from_user(&buffer, arg, _IOC_SIZE(cmd)))
1639 if (copy_to_user(arg, &buffer, _IOC_SIZE(cmd)))
1646 unsigned int cmd, unsigned long arg)
1648 return dispatch_ioctl(file->private_data, cmd, (void __user *)arg);