Home
last modified time | relevance | path

Searched refs:ss (Results 1 – 25 of 39) sorted by relevance

12

/rk3399_rockchip-uboot/drivers/spi/
H A Dsh_spi.c44 static void clear_fifo(struct sh_spi *ss) in clear_fifo() argument
46 sh_spi_set_bit(SH_SPI_RSTF, &ss->regs->cr2); in clear_fifo()
47 sh_spi_clear_bit(SH_SPI_RSTF, &ss->regs->cr2); in clear_fifo()
50 static int recvbuf_wait(struct sh_spi *ss) in recvbuf_wait() argument
52 while (sh_spi_read(&ss->regs->cr1) & SH_SPI_RBE) { in recvbuf_wait()
60 static int write_fifo_empty_wait(struct sh_spi *ss) in write_fifo_empty_wait() argument
62 while (!(sh_spi_read(&ss->regs->cr1) & SH_SPI_TBE)) { in write_fifo_empty_wait()
74 static void sh_spi_set_cs(struct sh_spi *ss, unsigned int cs) in sh_spi_set_cs() argument
83 sh_spi_clear_bit(SH_SPI_SSS0 | SH_SPI_SSS1, &ss->regs->cr4); in sh_spi_set_cs()
84 sh_spi_set_bit(val, &ss->regs->cr4); in sh_spi_set_cs()
[all …]
H A Dsh_qspi.c80 static void sh_qspi_init(struct sh_qspi_slave *ss) in sh_qspi_init() argument
84 writeb(SPCR_MSTR, &ss->regs->spcr); in sh_qspi_init()
87 writeb(0x00, &ss->regs->sslp); in sh_qspi_init()
90 writeb(SPPCR_IO3FV|SPPCR_IO2FV, &ss->regs->sppcr); in sh_qspi_init()
93 writeb(0x01, &ss->regs->spbr); in sh_qspi_init()
96 writeb(0x00, &ss->regs->spdcr); in sh_qspi_init()
99 writeb(0x00, &ss->regs->spckd); in sh_qspi_init()
102 writeb(0x00, &ss->regs->sslnd); in sh_qspi_init()
105 writeb(0x00, &ss->regs->spnd); in sh_qspi_init()
108 writew(SPCMD_INIT2, &ss->regs->spcmd0); in sh_qspi_init()
[all …]
H A Dsoft_spi_legacy.c50 struct soft_spi_slave *ss; in spi_setup_slave() local
55 ss = spi_alloc_slave(struct soft_spi_slave, bus, cs); in spi_setup_slave()
56 if (!ss) in spi_setup_slave()
59 ss->mode = mode; in spi_setup_slave()
63 return &ss->slave; in spi_setup_slave()
68 struct soft_spi_slave *ss = to_soft_spi(slave); in spi_free_slave() local
70 free(ss); in spi_free_slave()
78 struct soft_spi_slave *ss = to_soft_spi(slave); in spi_claim_bus() local
84 if (ss->mode & SPI_CPOL) in spi_claim_bus()
115 struct soft_spi_slave *ss = to_soft_spi(slave); in spi_xfer() local
[all …]
H A Dmxc_spi.c53 struct gpio_desc ss; member
64 dm_gpio_set_value(&mxcs->ss, mxcs->ss_pol); in mxc_spi_cs_activate()
74 dm_gpio_set_value(&mxcs->ss, !(mxcs->ss_pol)); in mxc_spi_cs_deactivate()
502 if (gpio_request_by_name(bus, "cs-gpios", 0, &plat->ss, in mxc_spi_probe()
512 ret = dm_gpio_set_value(&plat->ss, !(mxcs->ss_pol)); in mxc_spi_probe()
/rk3399_rockchip-uboot/include/
H A Dusb_ether.h113 struct ueth_data *ss);
114 int asix_eth_get_info(struct usb_device *dev, struct ueth_data *ss,
119 struct ueth_data *ss);
120 int ax88179_eth_get_info(struct usb_device *dev, struct ueth_data *ss,
125 struct ueth_data *ss);
126 int mcs7830_eth_get_info(struct usb_device *dev, struct ueth_data *ss,
131 struct ueth_data *ss);
132 int smsc95xx_eth_get_info(struct usb_device *dev, struct ueth_data *ss,
137 struct ueth_data *ss);
138 int r8152_eth_get_info(struct usb_device *dev, struct ueth_data *ss,
/rk3399_rockchip-uboot/common/
H A Dusb_storage.c115 struct us_data *ss);
976 static int usb_inquiry(struct scsi_cmd *srb, struct us_data *ss) in usb_inquiry() argument
987 i = ss->transport(srb, ss); in usb_inquiry()
1000 static int usb_request_sense(struct scsi_cmd *srb, struct us_data *ss) in usb_request_sense() argument
1012 ss->transport(srb, ss); in usb_request_sense()
1020 static int usb_test_unit_ready(struct scsi_cmd *srb, struct us_data *ss) in usb_test_unit_ready() argument
1030 if (ss->transport(srb, ss) == USB_STOR_TRANSPORT_GOOD) { in usb_test_unit_ready()
1031 ss->flags |= USB_READY; in usb_test_unit_ready()
1034 usb_request_sense(srb, ss); in usb_test_unit_ready()
1051 static int usb_read_capacity(struct scsi_cmd *srb, struct us_data *ss) in usb_read_capacity() argument
[all …]
/rk3399_rockchip-uboot/drivers/net/fsl-mc/dpio/
H A Dqbman_sys.h37 const uint32_t *ss = s; in word_copy() local
40 *(dd++) = *(ss++); in word_copy()
52 const uint32_t *ss = (const uint32_t *)s; in u64_to_le32_copy() local
60 *(dd++) = ss[1]; in u64_to_le32_copy()
61 *(dd++) = ss[0]; in u64_to_le32_copy()
62 ss += 2; in u64_to_le32_copy()
64 *(dd++) = *(ss++); in u64_to_le32_copy()
65 *(dd++) = *(ss++); in u64_to_le32_copy()
72 const uint32_t *ss = s; in u64_from_le32_copy() local
77 dd[1] = *(ss++); in u64_from_le32_copy()
[all …]
/rk3399_rockchip-uboot/drivers/usb/eth/
H A Dasix.c626 struct ueth_data *ss) in asix_eth_probe() argument
647 memset(ss, 0, sizeof(struct ueth_data)); in asix_eth_probe()
654 ss->ifnum = ifnum; in asix_eth_probe()
655 ss->pusb_dev = dev; in asix_eth_probe()
656 ss->subclass = iface_desc->bInterfaceSubClass; in asix_eth_probe()
657 ss->protocol = iface_desc->bInterfaceProtocol; in asix_eth_probe()
660 ss->dev_priv = calloc(1, sizeof(struct asix_private)); in asix_eth_probe()
661 if (!ss->dev_priv) in asix_eth_probe()
664 ((struct asix_private *)ss->dev_priv)->flags = asix_dongles[i].flags; in asix_eth_probe()
677 ss->ep_in = ep_addr & in asix_eth_probe()
[all …]
H A Dmcs7830.c720 struct ueth_data *ss) in mcs7830_eth_probe() argument
749 memset(ss, 0, sizeof(*ss)); in mcs7830_eth_probe()
750 ss->ifnum = ifnum; in mcs7830_eth_probe()
751 ss->pusb_dev = dev; in mcs7830_eth_probe()
752 ss->subclass = iface_desc->bInterfaceSubClass; in mcs7830_eth_probe()
753 ss->protocol = iface_desc->bInterfaceProtocol; in mcs7830_eth_probe()
754 ss->dev_priv = priv; in mcs7830_eth_probe()
774 ss->ep_in = epaddr; in mcs7830_eth_probe()
778 ss->ep_out = epaddr; in mcs7830_eth_probe()
785 ss->ep_int = epaddr; in mcs7830_eth_probe()
[all …]
H A Dasix88179.c633 struct ueth_data *ss) in ax88179_eth_probe() argument
655 memset(ss, 0, sizeof(struct ueth_data)); in ax88179_eth_probe()
662 ss->ifnum = ifnum; in ax88179_eth_probe()
663 ss->pusb_dev = dev; in ax88179_eth_probe()
664 ss->subclass = iface_desc->bInterfaceSubClass; in ax88179_eth_probe()
665 ss->protocol = iface_desc->bInterfaceProtocol; in ax88179_eth_probe()
668 ss->dev_priv = calloc(1, sizeof(struct asix_private)); in ax88179_eth_probe()
669 if (!ss->dev_priv) in ax88179_eth_probe()
671 dev_priv = ss->dev_priv; in ax88179_eth_probe()
682 ss->ep_int = iface->ep_desc[i].bEndpointAddress & in ax88179_eth_probe()
[all …]
H A Dsmsc95xx.c840 struct ueth_data *ss) in smsc95xx_eth_probe() argument
861 memset(ss, '\0', sizeof(struct ueth_data)); in smsc95xx_eth_probe()
864 ss->ifnum = ifnum; in smsc95xx_eth_probe()
865 ss->pusb_dev = dev; in smsc95xx_eth_probe()
866 ss->subclass = iface_desc->bInterfaceSubClass; in smsc95xx_eth_probe()
867 ss->protocol = iface_desc->bInterfaceProtocol; in smsc95xx_eth_probe()
878 ss->ep_in = in smsc95xx_eth_probe()
882 ss->ep_out = in smsc95xx_eth_probe()
890 ss->ep_int = iface->ep_desc[i].bEndpointAddress & in smsc95xx_eth_probe()
892 ss->irqinterval = iface->ep_desc[i].bInterval; in smsc95xx_eth_probe()
[all …]
H A Dr8152.c1350 struct ueth_data *ss) in r8152_eth_probe() argument
1373 memset(ss, 0, sizeof(struct ueth_data)); in r8152_eth_probe()
1380 ss->ifnum = ifnum; in r8152_eth_probe()
1381 ss->pusb_dev = dev; in r8152_eth_probe()
1382 ss->subclass = iface_desc->bInterfaceSubClass; in r8152_eth_probe()
1383 ss->protocol = iface_desc->bInterfaceProtocol; in r8152_eth_probe()
1386 ss->dev_priv = calloc(1, sizeof(struct r8152)); in r8152_eth_probe()
1388 if (!ss->dev_priv) in r8152_eth_probe()
1401 ss->ep_in = ep_addr & in r8152_eth_probe()
1406 ss->ep_out = ep_addr & in r8152_eth_probe()
[all …]
H A Dusb_ether.c143 struct ueth_data *ss);
144 typedef int (*usb_eth_get_info)(struct usb_device *dev, struct ueth_data *ss,
/rk3399_rockchip-uboot/net/
H A Dcdp.c242 const ushort *ss; in cdp_receive() local
281 ss = (const ushort *)pkt; in cdp_receive()
282 type = ntohs(ss[0]); in cdp_receive()
283 tlen = ntohs(ss[1]); in cdp_receive()
290 ss += 2; /* point ss to the data of the TLV */ in cdp_receive()
307 nvlan = *ss; in cdp_receive()
310 t = (const uchar *)ss; in cdp_receive()
315 ss = (const ushort *)(t + 1); in cdp_receive()
319 vlan = *ss; in cdp_receive()
322 vlan = ntohs(*ss); in cdp_receive()
/rk3399_rockchip-uboot/arch/x86/lib/
H A Dbios_asm.S63 mov %ax, %ss
79 mov %ax, %ss
126 mov %ax, %ss
250 movw %ss, %cs:__realmode_ss
285 movw %cs:__realmode_ss, %ss
/rk3399_rockchip-uboot/board/ronetix/pm9263/
H A Dpm9263.c374 char *ss; in checkboard() local
380 ss = "(PSRAM)"; in checkboard()
384 ss = "(Internal SRAM)"; in checkboard()
388 ss = ""; in checkboard()
391 printf("Video memory : 0x%08lX %s\n", gd->fb_base, ss ); in checkboard()
/rk3399_rockchip-uboot/lib/bzip2/
H A Dbzlib_blocksort.c799 Int32 i, j, k, ss, sb; in mainSort() local
916 ss = runningOrder[i]; in mainSort()
927 if (j != ss) { in mainSort()
928 sb = (ss << 8) + j; in mainSort()
936 ss, j, numQSorted, hi - lo + 1 ); in mainSort()
949 AssertH ( !bigDone[ss], 1006 ); in mainSort()
960 copyStart[j] = ftab[(j << 8) + ss] & CLEARMASK; in mainSort()
961 copyEnd [j] = (ftab[(j << 8) + ss + 1] & CLEARMASK) - 1; in mainSort()
963 for (j = ftab[ss << 8] & CLEARMASK; j < copyStart[ss]; j++) { in mainSort()
969 for (j = (ftab[(ss+1) << 8] & CLEARMASK) - 1; j > copyEnd[ss]; j--) { in mainSort()
[all …]
/rk3399_rockchip-uboot/arch/x86/cpu/
H A Dwakeup.S47 mov %ax, %ss
60 movw %ax, %ss
H A Dstart.S81 movw %ax, %ss
H A Dsipi_vector.S93 movw %ax, %ss
/rk3399_rockchip-uboot/scripts/dtc/
H A Dutil.c106 const char *ss, *se; in util_is_printable_string() local
119 ss = s; in util_is_printable_string()
124 if (*s != '\0' || s == ss) in util_is_printable_string()
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Dstorage_common.c575 struct usb_endpoint_descriptor *ss, in fsg_ep_desc() argument
585 speed_desc = ss; in fsg_ep_desc()
/rk3399_rockchip-uboot/lib/zlib/
H A Ddeflate.c936 deflate_state *ss;
944 ss = source->state;
951 zmemcpy(ds, ss, sizeof(deflate_state));
966 zmemcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte));
967 zmemcpy(ds->prev, ss->prev, ds->w_size * sizeof(Pos));
968 zmemcpy(ds->head, ss->head, ds->hash_size * sizeof(Pos));
969 zmemcpy(ds->pending_buf, ss->pending_buf, (uInt)ds->pending_buf_size);
971 ds->pending_out = ds->pending_buf + (ss->pending_out - ss->pending_buf);
/rk3399_rockchip-uboot/drivers/bios_emulator/include/
H A Dbiosemu.h272 u16 ss; member
/rk3399_rockchip-uboot/tools/
H A Dfdtgrep.c154 const char *ss, *se; in util_is_printable_string() local
167 ss = s; in util_is_printable_string()
172 if (*s != '\0' || s == ss) in util_is_printable_string()

12