Searched refs:fpi (Results 1 – 3 of 3) sorted by relevance
62 static inline int fs_uart_get_id(struct fs_uart_platform_info *fpi) in fs_uart_get_id() argument64 if(strstr(fpi->fs_type, "SMC")) in fs_uart_get_id()65 return fs_uart_id_smc2fsid(fpi->fs_no); in fs_uart_get_id()66 if(strstr(fpi->fs_type, "SCC")) in fs_uart_get_id()67 return fs_uart_id_scc2fsid(fpi->fs_no); in fs_uart_get_id()68 return fpi->fs_no; in fs_uart_get_id()
154 static inline int fs_get_id(struct fs_platform_info *fpi) in fs_get_id() argument156 if(strstr(fpi->fs_type, "SCC")) in fs_get_id()157 return fs_scc_index2id(fpi->fs_no); in fs_get_id()158 if(strstr(fpi->fs_type, "FCC")) in fs_get_id()159 return fs_fcc_index2id(fpi->fs_no); in fs_get_id()160 if(strstr(fpi->fs_type, "FEC")) in fs_get_id()161 return fs_fec_index2id(fpi->fs_no); in fs_get_id()162 return fpi->fs_no; in fs_get_id()
358 __u8 fpi; member