/external/u-boot/drivers/spi/ |
D | spi.c | 11 int spi_set_wordlen(struct spi_slave *slave, unsigned int wordlen) in spi_set_wordlen() argument 13 if (wordlen == 0 || wordlen > 32) { in spi_set_wordlen() 14 printf("spi: invalid wordlen %u\n", wordlen); in spi_set_wordlen() 18 slave->wordlen = wordlen; in spi_set_wordlen() 36 slave->wordlen = SPI_DEFAULT_WORDLEN; in spi_do_alloc_slave()
|
D | omap3_spi.c | 118 unsigned int wordlen; member 148 chconf |= (priv->wordlen - 1) << 7; in omap3_spi_write() 166 if (priv->wordlen > 16) in omap3_spi_write() 168 else if (priv->wordlen > 8) in omap3_spi_write() 203 chconf |= (priv->wordlen - 1) << 7; in omap3_spi_read() 228 if (priv->wordlen > 16) in omap3_spi_read() 230 else if (priv->wordlen > 8) in omap3_spi_read() 258 chconf |= (priv->wordlen - 1) << 7; in omap3_spi_txrx() 276 if (priv->wordlen > 16) in omap3_spi_txrx() 278 else if (priv->wordlen > 8) in omap3_spi_txrx() [all …]
|
D | pic32_spi.c | 159 unsigned int wordlen) in pic32_spi_set_word_size() argument 164 switch (wordlen) { in pic32_spi_set_word_size() 192 priv->fifo_n_word = DIV_ROUND_UP(priv->fifo_depth, wordlen / 8); in pic32_spi_set_word_size() 337 static int pic32_spi_set_wordlen(struct udevice *slave, unsigned int wordlen) in pic32_spi_set_wordlen() argument 341 return pic32_spi_set_word_size(priv, wordlen); in pic32_spi_set_wordlen()
|
D | spi-uclass.c | 206 slave->wordlen = SPI_DEFAULT_WORDLEN; in spi_child_pre_probe()
|
/external/u-boot/arch/arc/include/asm/ |
D | io.h | 126 static inline int __raw_readsw(unsigned int addr, void *data, int wordlen) in __raw_readsw() argument 133 : "r" (addr), "r" (data), "r" (wordlen) in __raw_readsw() 135 return wordlen; in __raw_readsw() 162 static inline int __raw_writesw(unsigned int addr, void *data, int wordlen) in __raw_writesw() argument 169 : "r" (addr), "r" (data), "r" (wordlen) in __raw_writesw() 171 return wordlen; in __raw_writesw()
|
/external/curl/lib/ |
D | curl_sasl.h | 113 #define sasl_mech_equal(line, wordlen, mech) \ argument 114 (wordlen == (sizeof(mech) - 1) / sizeof(char) && \ 115 !memcmp(line, mech, wordlen))
|
D | pop3.c | 694 size_t wordlen; in pop3_state_capa_resp() local 709 for(wordlen = 0; wordlen < len && line[wordlen] != ' ' && in pop3_state_capa_resp() 710 line[wordlen] != '\t' && line[wordlen] != '\r' && in pop3_state_capa_resp() 711 line[wordlen] != '\n';) in pop3_state_capa_resp() 712 wordlen++; in pop3_state_capa_resp() 715 mechbit = Curl_sasl_decode_mech(line, wordlen, &llen); in pop3_state_capa_resp() 716 if(mechbit && llen == wordlen) in pop3_state_capa_resp() 719 line += wordlen; in pop3_state_capa_resp() 720 len -= wordlen; in pop3_state_capa_resp()
|
D | imap.c | 874 size_t wordlen; in imap_state_capability_resp() local 886 for(wordlen = 0; line[wordlen] && line[wordlen] != ' ' && in imap_state_capability_resp() 887 line[wordlen] != '\t' && line[wordlen] != '\r' && in imap_state_capability_resp() 888 line[wordlen] != '\n';) in imap_state_capability_resp() 889 wordlen++; in imap_state_capability_resp() 892 if(wordlen == 8 && !memcmp(line, "STARTTLS", 8)) in imap_state_capability_resp() 896 else if(wordlen == 13 && !memcmp(line, "LOGINDISABLED", 13)) in imap_state_capability_resp() 900 else if(wordlen == 7 && !memcmp(line, "SASL-IR", 7)) in imap_state_capability_resp() 904 else if(wordlen > 5 && !memcmp(line, "AUTH=", 5)) { in imap_state_capability_resp() 909 wordlen -= 5; in imap_state_capability_resp() [all …]
|
D | smtp.c | 740 size_t wordlen; in smtp_state_ehlo_resp() local 755 for(wordlen = 0; wordlen < len && line[wordlen] != ' ' && in smtp_state_ehlo_resp() 756 line[wordlen] != '\t' && line[wordlen] != '\r' && in smtp_state_ehlo_resp() 757 line[wordlen] != '\n';) in smtp_state_ehlo_resp() 758 wordlen++; in smtp_state_ehlo_resp() 761 mechbit = Curl_sasl_decode_mech(line, wordlen, &llen); in smtp_state_ehlo_resp() 762 if(mechbit && llen == wordlen) in smtp_state_ehlo_resp() 765 line += wordlen; in smtp_state_ehlo_resp() 766 len -= wordlen; in smtp_state_ehlo_resp()
|
/external/u-boot/arch/nds32/include/asm/ |
D | io.h | 75 extern void __raw_writesw(unsigned int addr, const void *data, int wordlen); 79 extern void __raw_readsw(unsigned int addr, void *data, int wordlen); 270 static inline void readsw(unsigned int *addr, void * data, int wordlen) in readsw() argument 274 while (wordlen) { in readsw() 277 wordlen--; in readsw() 301 static inline void writesw(unsigned int *addr, const void * data, int wordlen) in writesw() argument 305 while (wordlen) { in writesw() 308 wordlen--; in writesw()
|
/external/igt-gpu-tools/runner/ |
D | resultgen.c | 172 size_t wordlen = 0; in parse_result_string() local 174 while (wordlen < len && !isspace(resultstring[wordlen])) { in parse_result_string() 175 wordlen++; in parse_result_string() 180 if (!strncmp(resultstring, resultmap[i].output_str, wordlen)) { in parse_result_string() 195 wordlen++; in parse_result_string() 196 if (wordlen < len && resultstring[wordlen] == '(') { in parse_result_string() 199 wordlen++; in parse_result_string() 200 dup = malloc(len - wordlen + 1); in parse_result_string() 201 memcpy(dup, resultstring + wordlen, len - wordlen); in parse_result_string() 202 dup[len - wordlen] = '\0'; in parse_result_string()
|
/external/u-boot/include/ |
D | spi.h | 107 unsigned int wordlen; member 224 int spi_set_wordlen(struct spi_slave *slave, unsigned int wordlen); 392 int (*set_wordlen)(struct udevice *dev, unsigned int wordlen);
|
/external/u-boot/arch/riscv/include/asm/ |
D | io.h | 261 static inline void readsw(unsigned int *addr, void *data, int wordlen) in readsw() argument 269 while (wordlen) { in readsw() 272 wordlen--; in readsw() 306 static inline void writesw(unsigned int *addr, const void *data, int wordlen) in writesw() argument 314 while (wordlen) { in writesw() 317 wordlen--; in writesw()
|
/external/tcpdump/ |
D | print-ospf6.c | 413 u_int wordlen; in ospf6_print_lsaprefix() local 420 wordlen = (lsapp->lsa_p_len + 31) / 32; in ospf6_print_lsaprefix() 421 if (wordlen * 4 > sizeof(struct in6_addr)) { in ospf6_print_lsaprefix() 425 if (lsa_length < wordlen * 4) in ospf6_print_lsaprefix() 427 lsa_length -= wordlen * 4; in ospf6_print_lsaprefix() 428 ND_TCHECK2(lsapp->lsa_p_prefix, wordlen * 4); in ospf6_print_lsaprefix() 430 memcpy(&prefix, lsapp->lsa_p_prefix, wordlen * 4); in ospf6_print_lsaprefix() 439 return sizeof(*lsapp) - IPV6_ADDR_LEN_BYTES + wordlen * 4; in ospf6_print_lsaprefix()
|
/external/u-boot/arch/arm/include/asm/ |
D | io.h | 62 int wordlen) in __raw_writesw() argument 65 while(wordlen--) in __raw_writesw() 84 static inline void __raw_readsw(unsigned long addr, void *data, int wordlen) in __raw_readsw() argument 87 while(wordlen--) in __raw_readsw()
|
/external/u-boot/arch/sh/include/asm/ |
D | io.h | 42 extern void __raw_writesw(unsigned int addr, const void *data, int wordlen); 46 extern void __raw_readsw(unsigned int addr, void *data, int wordlen);
|
/external/u-boot/drivers/mmc/ |
D | mmc_spi.c | 385 priv->spi->wordlen = 8; in mmc_spi_probe()
|