Searched refs:cmd_idx (Results 1 – 3 of 3) sorted by relevance
228 if (ucr->cmd_idx < (IOBUF_SIZE - CMD_OFFSET) / 4) { in rtsx_usb_add_cmd()229 i = CMD_OFFSET + ucr->cmd_idx * 4; in rtsx_usb_add_cmd()237 ucr->cmd_idx++; in rtsx_usb_add_cmd()246 ucr->cmd_buf[CNT_H] = (u8)(ucr->cmd_idx >> 8); in rtsx_usb_send_cmd()247 ucr->cmd_buf[CNT_L] = (u8)(ucr->cmd_idx); in rtsx_usb_send_cmd()252 ucr->cmd_buf, ucr->cmd_idx * 4 + CMD_OFFSET, in rtsx_usb_send_cmd()
62 unsigned int cmd_idx; member150 ucr->cmd_idx = 0; in rtsx_usb_init_cmd()
581 #define cmd_idx(cmd) (cmd - _IOC_NR(AUTOFS_DEV_IOCTL_IOC_FIRST)) macro601 unsigned int idx = cmd_idx(cmd); in lookup_dev_ioctl()