Lines Matching refs:chan_num
878 int chan_num) in process_in_opcode() argument
882 int chan_idx = chan_num >> 1; in process_in_opcode()
886 chan_num); in process_in_opcode()
896 chan_num); in process_in_opcode()
939 int chan_num = 0, opcode; in process_bulk_in() local
954 chan_num = xdev->leftover_chan_num; in process_bulk_in()
962 chan_num = ctrlword & 0xfff; in process_bulk_in()
975 rc = process_in_opcode(xdev, opcode, chan_num); in process_bulk_in()
987 chan_idx = chan_num >> 1; in process_bulk_in()
989 if (!(chan_num & 1) || chan_idx >= xdev->num_channels || in process_bulk_in()
992 chan_num); in process_bulk_in()
1015 xdev->leftover_chan_num = chan_num; in process_bulk_in()
1064 int chan_num, char opcode, u32 data) in xillyusb_send_opcode() argument
1072 msg[0] = cpu_to_le32((chan_num & 0xfff) | in xillyusb_send_opcode()
1126 int chan_num = chan->chan_idx << 1; in flush_downstream() local
1139 rc = xillyusb_send_opcode(xdev, chan_num, in flush_downstream()
1173 rc = xillyusb_send_opcode(xdev, chan_num, in flush_downstream()
1225 int chan_num = (chan->chan_idx << 1) | 1; in request_read_anything() local
1228 return xillyusb_send_opcode(xdev, chan_num, opcode, mercy >> sh); in request_read_anything()
1426 int chan_num = (chan->chan_idx << 1) | 1; in xillyusb_read() local
1503 rc = xillyusb_send_opcode(xdev, chan_num, in xillyusb_read()
1543 rc = xillyusb_send_opcode(xdev, chan_num, in xillyusb_read()