Searched refs:strstarts (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/drivers/usb/musb/ |
D | musb_debugfs.c | 202 if (strstarts(buf, "force host")) in musb_test_mode_write() 205 if (strstarts(buf, "fifo access")) in musb_test_mode_write() 208 if (strstarts(buf, "force full-speed")) in musb_test_mode_write() 211 if (strstarts(buf, "force high-speed")) in musb_test_mode_write() 214 if (strstarts(buf, "test packet")) { in musb_test_mode_write() 219 if (strstarts(buf, "test K")) in musb_test_mode_write() 222 if (strstarts(buf, "test J")) in musb_test_mode_write() 225 if (strstarts(buf, "test SE0 NAK")) in musb_test_mode_write()
|
D | musb_cppi41.c | 637 if (strstarts(str, "tx")) in cppi41_dma_controller_start() 639 else if (strstarts(str, "rx")) in cppi41_dma_controller_start()
|
/linux-4.1.27/arch/mips/bcm47xx/ |
D | board.c | 232 if (strstarts(buf1, e1->value1)) in bcm47xx_board_get_nvram() 240 if (!strstarts(buf1, e2->value1) && in bcm47xx_board_get_nvram()
|
/linux-4.1.27/include/linux/ |
D | string.h | 142 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
|
/linux-4.1.27/drivers/ide/ |
D | ide-floppy.c | 490 if (strstarts((char *)&id[ATA_ID_PROD], "IOMEGA ZIP 100 ATAPI")) { in ide_floppy_setup() 501 if (strstarts((char *)&id[ATA_ID_PROD], "IOMEGA Clik!")) { in ide_floppy_setup()
|
/linux-4.1.27/scripts/mod/ |
D | modpost.c | 265 #define strstarts(str, prefix) (strncmp(str, prefix, strlen(prefix)) == 0) macro 271 if (strstarts(secname, "___ksymtab+")) in export_from_secname() 273 else if (strstarts(secname, "___ksymtab_unused+")) in export_from_secname() 275 else if (strstarts(secname, "___ksymtab_gpl+")) in export_from_secname() 277 else if (strstarts(secname, "___ksymtab_unused_gpl+")) in export_from_secname() 279 else if (strstarts(secname, "___ksymtab_gpl_future+")) in export_from_secname()
|
/linux-4.1.27/kernel/ |
D | module.c | 2081 || strstarts(sname, ".init")) in layout_sections() 2110 || !strstarts(sname, ".init")) in layout_sections() 2257 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, in elf_type() 2633 if (strstarts(info->secstrings+shdr->sh_name, ".exit")) in rewrite_section_headers()
|