Home
last modified time | relevance | path

Searched refs:can_ch_id (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.h63 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);
Dpcan_usb.c387 static int pcan_usb_get_can_channel_id(struct peak_usb_device *dev, u32 *can_ch_id) in pcan_usb_get_can_channel_id() argument
397 *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() argument
408 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()
Dpcan_usb_pro.c425 u32 *can_ch_id) in pcan_usb_pro_get_can_channel_id() argument
444 *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() argument
456 can_ch_id); in pcan_usb_pro_set_can_channel_id()
Dpcan_usb_fd.c457 u32 *can_ch_id) in pcan_usb_fd_get_can_channel_id() argument
466 *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() argument
477 cmd->device_id = cpu_to_le32(can_ch_id); in pcan_usb_fd_set_can_channel_id()