Searched refs:can_ch_id (Results 1 – 4 of 4) sorted by relevance
63 int (*dev_get_can_channel_id)(struct peak_usb_device *dev, u32 *can_ch_id);64 int (*dev_set_can_channel_id)(struct peak_usb_device *dev, u32 can_ch_id);
387 static int pcan_usb_get_can_channel_id(struct peak_usb_device *dev, u32 *can_ch_id) in pcan_usb_get_can_channel_id() argument397 *can_ch_id = args[0]; in pcan_usb_get_can_channel_id()403 static int pcan_usb_set_can_channel_id(struct peak_usb_device *dev, u32 can_ch_id) in pcan_usb_set_can_channel_id() argument408 if (can_ch_id > U8_MAX) in pcan_usb_set_can_channel_id()417 args[0] = can_ch_id; in pcan_usb_set_can_channel_id()
425 u32 *can_ch_id) in pcan_usb_pro_get_can_channel_id() argument444 *can_ch_id = le32_to_cpu(pdn->dev_num); in pcan_usb_pro_get_can_channel_id()450 u32 can_ch_id) in pcan_usb_pro_set_can_channel_id() argument456 can_ch_id); in pcan_usb_pro_set_can_channel_id()
457 u32 *can_ch_id) in pcan_usb_fd_get_can_channel_id() argument466 *can_ch_id = le32_to_cpu(usb_if->fw_info.dev_id[dev->ctrl_idx]); in pcan_usb_fd_get_can_channel_id()471 static int pcan_usb_fd_set_can_channel_id(struct peak_usb_device *dev, u32 can_ch_id) in pcan_usb_fd_set_can_channel_id() argument477 cmd->device_id = cpu_to_le32(can_ch_id); in pcan_usb_fd_set_can_channel_id()