/u-boot/arch/powerpc/include/asm/ |
H A D | fsl_mpc83xx_serdes.h | 22 extern void fsl_setup_serdes(u32 offset, char proto, u32 rfcks, char vdd);
|
/u-boot/drivers/firmware/scmi/ |
H A D | scmi_agent-uclass.c | 77 struct udevice *proto; local 87 proto = priv->base_dev; 90 proto = priv->pwdom_dev; 93 proto = priv->clock_dev; 96 proto = priv->resetdom_dev; 99 proto = priv->voltagedom_dev; 103 proto = NULL; 106 if (proto && device_probe(proto)) 109 return proto; 123 scmi_add_protocol(struct udevice *dev, enum scmi_std_protocol proto_id, struct udevice *proto) argument 367 struct udevice *agent, *proto; local [all...] |
H A D | smt.h | 44 #define SMT_HEADER_PROTOCOL_ID(proto) (((proto) << 10) & GENMASK(17, 10))
|
/u-boot/drivers/misc/ |
H A D | mpc83xx_serdes.c | 123 const char *proto; local 154 proto = dev_read_string(dev, "proto"); 157 if (!strcmp(proto, "sata")) { 159 } else if (!strcmp(proto, "pex")) { 161 } else if (!strcmp(proto, "pex-x2")) { 163 } else if (!strcmp(proto, "sgmii")) { 166 debug("%s: Invalid protocol value %s\n", dev->name, proto);
|
/u-boot/include/linux/mtd/ |
H A D | spi-nor.h | 250 static inline bool spi_nor_protocol_is_dtr(enum spi_nor_protocol proto) argument 252 return !!(proto & SNOR_PROTO_IS_DTR); 255 static inline u8 spi_nor_get_protocol_inst_nbits(enum spi_nor_protocol proto) argument 257 return ((unsigned long)(proto & SNOR_PROTO_INST_MASK)) >> 261 static inline u8 spi_nor_get_protocol_addr_nbits(enum spi_nor_protocol proto) argument 263 return ((unsigned long)(proto & SNOR_PROTO_ADDR_MASK)) >> 267 static inline u8 spi_nor_get_protocol_data_nbits(enum spi_nor_protocol proto) argument 269 return ((unsigned long)(proto & SNOR_PROTO_DATA_MASK)) >> 273 static inline u8 spi_nor_get_protocol_width(enum spi_nor_protocol proto) argument 275 return spi_nor_get_protocol_data_nbits(proto); 385 enum spi_nor_protocol proto; member in struct:spi_nor_read_command 390 enum spi_nor_protocol proto; member in struct:spi_nor_pp_command [all...] |
/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | serdes.c | 46 void fsl_setup_serdes(u32 offset, char proto, u32 rfcks, char vdd) argument 65 switch (proto) { 120 if (proto == FSL_SERDES_PROTO_PEX_X2)
|
/u-boot/cmd/ |
H A D | net.c | 316 * @proto: command prototype 321 static int parse_args(enum proto_t proto, int argc, char *const argv[]) argument 328 if (IS_ENABLED(CONFIG_CMD_TFTPPUT) && proto == TFTPPUT) 337 if (IS_ENABLED(CONFIG_CMD_TFTPPUT) && proto == TFTPPUT) 359 if (IS_ENABLED(CONFIG_CMD_TFTPPUT) && proto == TFTPPUT) { 385 static int netboot_common(enum proto_t proto, struct cmd_tbl *cmdtp, int argc, argument 411 if (parse_args(proto, argc, argv)) { 431 size = net_loop(proto);
|
H A D | usb.c | 61 unsigned char proto) 75 switch (proto) { 121 switch (proto) { 60 usb_display_class_sub(unsigned char dclass, unsigned char subclass, unsigned char proto) argument
|
/u-boot/drivers/i2c/ |
H A D | geni_i2c.c | 471 u32 proto, tx_depth, fifo_disable; local 500 proto = readl(geni->base + GENI_FW_REVISION_RO); 501 proto &= FW_REV_PROTOCOL_MSK; 502 proto >>= FW_REV_PROTOCOL_SHFT; 504 if (proto != GENI_SE_I2C) { 505 dev_err(dev, "Invalid proto %d\n", proto);
|
/u-boot/include/ |
H A D | net6.h | 313 * @proto: IPv6 above protocol code 319 unsigned short proto, unsigned int csum); 417 unsigned short proto, unsigned int csum) 415 csum_ipv6_magic(struct in6_addr *saddr, struct in6_addr *daddr, u16 len, unsigned short proto, unsigned int csum) argument
|
H A D | net.h | 576 u16 pkt_len, u8 proto); 666 int payload_len, int proto, u8 action, u32 tcp_seq_num,
|
/u-boot/drivers/mtd/spi/ |
H A D | spi-nor-tiny.c | 564 enum spi_nor_protocol proto) 569 read->proto = proto; 625 nor->read_proto = read->proto; 560 spi_nor_set_read_settings(struct spi_nor_read_command *read, u8 num_mode_clocks, u8 num_wait_states, u8 opcode, enum spi_nor_protocol proto) argument
|
H A D | spi-nor-core.c | 249 * @proto: the protocol from which the properties need to be set. 253 const enum spi_nor_protocol proto) 257 op->cmd.buswidth = spi_nor_get_protocol_inst_nbits(proto); 260 op->addr.buswidth = spi_nor_get_protocol_addr_nbits(proto); 263 op->dummy.buswidth = spi_nor_get_protocol_addr_nbits(proto); 266 op->data.buswidth = spi_nor_get_protocol_data_nbits(proto); 268 if (spi_nor_protocol_is_dtr(proto)) { 2044 enum spi_nor_protocol proto) 2049 read->proto = proto; 251 spi_nor_setup_op(const struct spi_nor *nor, struct spi_mem_op *op, const enum spi_nor_protocol proto) argument 2040 spi_nor_set_read_settings(struct spi_nor_read_command *read, u8 num_mode_clocks, u8 num_wait_states, u8 opcode, enum spi_nor_protocol proto) argument 2053 spi_nor_set_pp_settings(struct spi_nor_pp_command *pp, u8 opcode, enum spi_nor_protocol proto) argument 2149 spi_nor_set_read_settings_from_bfpt(struct spi_nor_read_command *read, u16 half, enum spi_nor_protocol proto) argument 2179 enum spi_nor_protocol proto; member in struct:sfdp_bfpt_read [all...] |
/u-boot/test/dm/ |
H A D | eth.c | 94 unsigned short proto = 17; local 97 csum = csum_ipv6_magic(&saddr, &daddr, len, proto, head_csum); 101 proto--; 102 csum = csum_ipv6_magic(&saddr, &daddr, len, proto, head_csum);
|
/u-boot/net/ |
H A D | tftp.c | 458 __be16 proto; local 475 proto = *s++; 477 switch (ntohs(proto)) {
|
H A D | net6.c | 256 unsigned short proto, unsigned int csum) 300 uproto = htonl(proto); 255 csum_ipv6_magic(struct in6_addr *saddr, struct in6_addr *daddr, u16 len, unsigned short proto, unsigned int csum) argument
|
H A D | net.c | 914 int payload_len, int proto, u8 action, u32 tcp_seq_num, 938 switch (proto) { 1643 u16 pkt_len, u8 proto) 1654 ip->ip_p = proto; 913 net_send_ip_packet(uchar *ether, struct in_addr dest, int dport, int sport, int payload_len, int proto, u8 action, u32 tcp_seq_num, u32 tcp_ack_num) argument 1642 net_set_ip_header(uchar *pkt, struct in_addr dest, struct in_addr source, u16 pkt_len, u8 proto) argument
|
/u-boot/include/linux/ |
H A D | ethtool.h | 368 * @proto: Transport protocol number; mask must be 0 376 __u8 proto; member in struct:ethtool_usrip4_spec
|