Home
last modified time | relevance | path

Searched refs:cmd_idx (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/misc/cardreader/
Drtsx_usb.c228 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()
/linux-4.19.296/include/linux/
Drtsx_usb.h62 unsigned int cmd_idx; member
150 ucr->cmd_idx = 0; in rtsx_usb_init_cmd()
/linux-4.19.296/fs/autofs/
Ddev-ioctl.c581 #define cmd_idx(cmd) (cmd - _IOC_NR(AUTOFS_DEV_IOCTL_IOC_FIRST)) macro
601 unsigned int idx = cmd_idx(cmd); in lookup_dev_ioctl()