Lines Matching refs:arg

162 	unsigned int cmd, unsigned long arg);
684 unsigned int cmd, unsigned long arg) in sync_serial_ioctl_unlocked() argument
728 if (GET_SPEED(arg) == CODEC) { in sync_serial_ioctl_unlocked()
740 GET_FREQ(arg)); in sync_serial_ioctl_unlocked()
743 GET_FRAME_RATE(arg)); in sync_serial_ioctl_unlocked()
746 GET_WORD_RATE(arg)); in sync_serial_ioctl_unlocked()
749 tr_baud, GET_SPEED(arg)); in sync_serial_ioctl_unlocked()
761 if (arg > 5) in sync_serial_ioctl_unlocked()
763 if (arg == MASTER_OUTPUT || arg == SLAVE_OUTPUT) in sync_serial_ioctl_unlocked()
767 SETF(port->ctrl_data_shadow, R_SYNC_SERIAL1_CTRL, mode, arg); in sync_serial_ioctl_unlocked()
770 if (arg & NORMAL_SYNC) in sync_serial_ioctl_unlocked()
773 else if (arg & EARLY_SYNC) in sync_serial_ioctl_unlocked()
777 if (arg & BIT_SYNC) in sync_serial_ioctl_unlocked()
780 else if (arg & WORD_SYNC) in sync_serial_ioctl_unlocked()
783 else if (arg & EXTENDED_SYNC) in sync_serial_ioctl_unlocked()
787 if (arg & SYNC_ON) in sync_serial_ioctl_unlocked()
790 else if (arg & SYNC_OFF) in sync_serial_ioctl_unlocked()
794 if (arg & WORD_SIZE_8) in sync_serial_ioctl_unlocked()
797 else if (arg & WORD_SIZE_12) in sync_serial_ioctl_unlocked()
800 else if (arg & WORD_SIZE_16) in sync_serial_ioctl_unlocked()
803 else if (arg & WORD_SIZE_24) in sync_serial_ioctl_unlocked()
806 else if (arg & WORD_SIZE_32) in sync_serial_ioctl_unlocked()
810 if (arg & BIT_ORDER_MSB) in sync_serial_ioctl_unlocked()
813 else if (arg & BIT_ORDER_LSB) in sync_serial_ioctl_unlocked()
817 if (arg & FLOW_CONTROL_ENABLE) in sync_serial_ioctl_unlocked()
820 else if (arg & FLOW_CONTROL_DISABLE) in sync_serial_ioctl_unlocked()
824 if (arg & CLOCK_NOT_GATED) in sync_serial_ioctl_unlocked()
827 else if (arg & CLOCK_GATED) in sync_serial_ioctl_unlocked()
834 if (arg & CLOCK_NORMAL) in sync_serial_ioctl_unlocked()
837 else if (arg & CLOCK_INVERT) in sync_serial_ioctl_unlocked()
841 if (arg & FRAME_NORMAL) in sync_serial_ioctl_unlocked()
844 else if (arg & FRAME_INVERT) in sync_serial_ioctl_unlocked()
848 if (arg & STATUS_NORMAL) in sync_serial_ioctl_unlocked()
851 else if (arg & STATUS_INVERT) in sync_serial_ioctl_unlocked()
856 if (arg & CLOCK_NORMAL) in sync_serial_ioctl_unlocked()
859 else if (arg & CLOCK_INVERT) in sync_serial_ioctl_unlocked()
863 if (arg & FRAME_NORMAL) in sync_serial_ioctl_unlocked()
866 else if (arg & FRAME_INVERT) in sync_serial_ioctl_unlocked()
870 if (arg & STATUS_NORMAL) in sync_serial_ioctl_unlocked()
873 else if (arg & STATUS_INVERT) in sync_serial_ioctl_unlocked()
889 if (arg & SPI_SLAVE) { in sync_serial_ioctl_unlocked()
907 if (arg > port->in_buffer_size/NUM_IN_DESCR) in sync_serial_ioctl_unlocked()
909 port->inbufchunk = arg; in sync_serial_ioctl_unlocked()
962 unsigned int cmd, unsigned long arg) in sync_serial_ioctl() argument
967 ret = sync_serial_ioctl_unlocked(file, cmd, arg); in sync_serial_ioctl()