Lines Matching refs:uart_config

281 struct uart_config {  struct
656 struct uart_config uart_config; in nxp_fw_change_baudrate() local
667 nxp_cmd5.payload_len = __cpu_to_le32(sizeof(uart_config)); in nxp_fw_change_baudrate()
674 } else if (req_len == sizeof(uart_config)) { in nxp_fw_change_baudrate()
675 uart_config.clkdiv.address = __cpu_to_le32(clkdivaddr); in nxp_fw_change_baudrate()
676 uart_config.clkdiv.value = __cpu_to_le32(0x00c00000); in nxp_fw_change_baudrate()
677 uart_config.uartdiv.address = __cpu_to_le32(uartdivaddr); in nxp_fw_change_baudrate()
678 uart_config.uartdiv.value = __cpu_to_le32(1); in nxp_fw_change_baudrate()
679 uart_config.mcr.address = __cpu_to_le32(uartmcraddr); in nxp_fw_change_baudrate()
680 uart_config.mcr.value = __cpu_to_le32(MCR); in nxp_fw_change_baudrate()
681 uart_config.re_init.address = __cpu_to_le32(uartreinitaddr); in nxp_fw_change_baudrate()
682 uart_config.re_init.value = __cpu_to_le32(INIT); in nxp_fw_change_baudrate()
683 uart_config.icr.address = __cpu_to_le32(uarticraddr); in nxp_fw_change_baudrate()
684 uart_config.icr.value = __cpu_to_le32(ICR); in nxp_fw_change_baudrate()
685 uart_config.fcr.address = __cpu_to_le32(uartfcraddr); in nxp_fw_change_baudrate()
686 uart_config.fcr.value = __cpu_to_le32(FCR); in nxp_fw_change_baudrate()
688 uart_config.crc = __cpu_to_be32(crc32_be(0UL, (char *)&uart_config, in nxp_fw_change_baudrate()
689 sizeof(uart_config) - 4)); in nxp_fw_change_baudrate()
691 serdev_device_write_buf(nxpdev->serdev, (u8 *)&uart_config, sizeof(uart_config)); in nxp_fw_change_baudrate()