| /f-stack/freebsd/net/ |
| H A D | slcompress.c | 188 *(int32_t *)th != ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) { in sl_compress_tcp() 205 lcs = cs; cs = cs->cs_next; in sl_compress_tcp() 210 ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) in sl_compress_tcp() 234 if (cs == lastcs) in sl_compress_tcp() 382 *cp++ = cs->cs_id; in sl_compress_tcp() 403 ip->ip_p = cs->cs_id; in sl_compress_tcp() 459 struct cstate *cs; in sl_uncompress_tcp_core() local 483 cs->cs_hlen = hlen; in sl_uncompress_tcp_core() 529 u_int i = ntohs(cs->cs_ip.ip_len) - cs->cs_hlen; in sl_uncompress_tcp_core() 537 - cs->cs_hlen); in sl_uncompress_tcp_core() [all …]
|
| /f-stack/freebsd/mips/nlm/hal/ |
| H A D | gbu.h | 37 #define GBU_CS_BASEADDR(cs) (0x0+cs) argument 46 #define GBU_CS_BASELIMIT(cs) (0x8+cs) argument 55 #define GBU_CS_DEVPARAM(cs) (0x10+cs) argument 64 #define GBU_CS_DEVTIME0(cs) (0x18+cs) argument 73 #define GBU_CS_DEVTIME1(cs) (0x19+cs) argument
|
| /f-stack/tools/libnetgraph/ |
| H A D | msg.c | 82 static int NgDeliverMsg(int cs, const char *path, 91 NgSendMsg(int cs, const char *path, in NgSendMsg() argument 164 if (NgAllocRecvMsg(cs, &reply, NULL) < 0) in NgSendAsciiMsg() 171 if (NgDeliverMsg(cs, in NgSendAsciiMsg() 186 NgSendReplyMsg(int cs, const char *path, in NgSendReplyMsg() argument 204 NgDeliverMsg(int cs, const char *path, in NgDeliverMsg() argument 248 if (sendto(cs, msg, sizeof(*msg) + arglen, in NgDeliverMsg() 263 rfds.fd = cs; in NgDeliverMsg() 365 if (NgRecvMsg(cs, msg, bufSize, path) < 0) in NgRecvAsciiMsg() 370 if (NgSendMsg(cs, path, NGM_GENERIC_COOKIE, in NgRecvAsciiMsg() [all …]
|
| H A D | sock.c | 65 int cs = -1; /* control socket */ in NgMkSockNode() local 85 cs = socket(AF_NETGRAPH, SOCK_DGRAM, NG_CONTROL); in NgMkSockNode() 86 if (cs >= 0) in NgMkSockNode() 108 if (bind(cs, (struct sockaddr *) sg, sg->sg_len) < 0) { in NgMkSockNode() 126 if (NgSendMsg(cs, ".", NGM_GENERIC_COOKIE, in NgMkSockNode() 171 *csp = cs; in NgMkSockNode() 173 close(cs); in NgMkSockNode() 180 if (cs >= 0) in NgMkSockNode() 181 close(cs); in NgMkSockNode() 193 NgNameNode(int cs, const char *path, const char *fmt, ...) in NgNameNode() argument [all …]
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | rte_service.c | 478 cs->loops++; in service_runner_func() 542 if (!cs->is_service_core) in rte_service_lcore_count_services() 704 if (!cs->is_service_core) in rte_service_lcore_del() 728 if (!cs->is_service_core) in rte_service_lcore_start() 817 struct core_state *cs; in rte_service_lcore_attr_get() local 822 cs = &lcore_states[lcore]; in rte_service_lcore_attr_get() 823 if (!cs->is_service_core) in rte_service_lcore_attr_get() 828 *attr_value = cs->loops; in rte_service_lcore_attr_get() 849 struct core_state *cs; in rte_service_lcore_attr_reset_all() local 855 if (!cs->is_service_core) in rte_service_lcore_attr_reset_all() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/memory-controllers/ |
| H A D | ti-aemif.txt | 163 ti,cs-chipselect = <2>; 166 ti,cs-read-hold-ns = <7>; 167 ti,cs-read-strobe-ns = <42>; 168 ti,cs-read-setup-ns = <14>; 169 ti,cs-write-hold-ns = <7>; 171 ti,cs-write-setup-ns = <14>; 192 ti,cs-chipselect = <0>; 195 ti,cs-read-hold-ns = <8>; 197 ti,cs-read-setup-ns = <14>; 198 ti,cs-write-hold-ns = <7>; [all …]
|
| H A D | st,stm32-fmc2-ebi.yaml | 56 st,fmc2-ebi-cs-transaction-type: 75 st,fmc2-ebi-cs-cclk-enable: 82 st,fmc2-ebi-cs-mux-enable: 88 st,fmc2-ebi-cs-buswidth: 94 st,fmc2-ebi-cs-waitpol-high: 99 st,fmc2-ebi-cs-waitcfg-enable: 106 st,fmc2-ebi-cs-wait-enable: 118 st,fmc2-ebi-cs-cpsize: 139 st,fmc2-ebi-cs-data-setup-ns: 147 st,fmc2-ebi-cs-data-hold-ns: [all …]
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | ar71xx_spi.c | 143 ar71xx_spi_chip_activate(struct ar71xx_spi_softc *sc, int cs) in ar71xx_spi_chip_activate() argument 149 ioctrl &= ~(SPI_IO_CTRL_CS0 << cs); in ar71xx_spi_chip_activate() 163 ar71xx_spi_chip_deactivate(struct ar71xx_spi_softc *sc, int cs) in ar71xx_spi_chip_deactivate() argument 180 ioctrl &= ~(SPI_IO_CTRL_CS0 << cs); in ar71xx_spi_txrx() 209 uint32_t cs; in ar71xx_spi_transfer() local 215 spibus_get_cs(child, &cs); in ar71xx_spi_transfer() 217 cs &= ~SPIBUS_CS_HIGH; in ar71xx_spi_transfer() 219 ar71xx_spi_chip_activate(sc, cs); in ar71xx_spi_transfer() 232 buf_in[i] = ar71xx_spi_txrx(sc, cs, buf_out[i]); in ar71xx_spi_transfer() 240 buf_in[i] = ar71xx_spi_txrx(sc, cs, buf_out[i]); in ar71xx_spi_transfer() [all …]
|
| /f-stack/freebsd/contrib/cloudabi/ |
| H A D | cloudabi_vdso_aarch64.S | 42 b.cs 1f 54 b.cs 1f 78 b.cs 1f 90 b.cs 1f 109 b.cs 1f 121 b.cs 1f 133 b.cs 1f 145 b.cs 1f 163 b.cs 1f 193 b.cs 1f [all …]
|
| /f-stack/freebsd/arm/broadcom/bcm2835/ |
| H A D | bcm2835_spi.c | 331 uint32_t cs, written; in bcm_spi_fill_fifo() local 337 cs == (SPI_CS_TA | SPI_CS_TXD)) { in bcm_spi_fill_fifo() 353 uint32_t cs, read; in bcm_spi_drain_fifo() local 357 cs = BCM_SPI_READ(sc, SPI_CS) & SPI_CS_RXD; in bcm_spi_drain_fifo() 366 cs = BCM_SPI_READ(sc, SPI_CS) & SPI_CS_RXD; in bcm_spi_drain_fifo() 405 uint32_t cs, mode, clock; in bcm_spi_transfer() local 417 spibus_get_cs(child, &cs); in bcm_spi_transfer() 418 if ((cs & (~SPIBUS_CS_HIGH)) > 2) { in bcm_spi_transfer() 467 if((cs & ~SPIBUS_CS_HIGH) == 0) { in bcm_spi_transfer() 472 else if((cs & ~SPIBUS_CS_HIGH) == 1) { in bcm_spi_transfer() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/gpio/ |
| H A D | spear_spics.txt | 21 * st-spics,cs-value-bit: bit offset to drive chipselect low or high 22 * st-spics,cs-enable-mask: chip select number bit mask 23 * st-spics,cs-enable-shift: chip select number program offset 36 st-spics,cs-value-bit = <11>; 37 st-spics,cs-enable-mask = <3>; 38 st-spics,cs-enable-shift = <8>; 45 num-cs = <3>; 46 cs-gpios = <&gpio1 7 0>, <&spics 0>,
|
| /f-stack/freebsd/libkern/ |
| H A D | memmem.c | 40 const char *cs = (const char *)s; in memmem() local 52 return memchr(l, (int)*cs, l_len); in memmem() 58 if (cur[0] == cs[0] && memcmp(cur, cs, s_len) == 0) in memmem()
|
| /f-stack/freebsd/contrib/device-tree/src/arm/ |
| H A D | keystone-k2l-evm.dts | 67 ti,cs-chipselect = <0>; 69 ti,cs-min-turnaround-ns = <12>; 70 ti,cs-read-hold-ns = <6>; 71 ti,cs-read-strobe-ns = <23>; 72 ti,cs-read-setup-ns = <9>; 73 ti,cs-write-hold-ns = <8>; 74 ti,cs-write-strobe-ns = <23>; 75 ti,cs-write-setup-ns = <8>;
|
| H A D | keystone-k2e-evm.dts | 94 ti,cs-chipselect = <0>; 96 ti,cs-min-turnaround-ns = <12>; 97 ti,cs-read-hold-ns = <6>; 98 ti,cs-read-strobe-ns = <23>; 99 ti,cs-read-setup-ns = <9>; 100 ti,cs-write-hold-ns = <8>; 101 ti,cs-write-strobe-ns = <23>; 102 ti,cs-write-setup-ns = <8>;
|
| H A D | omap3430-sdp.dts | 63 gpmc,cs-on-ns = <0>; 64 gpmc,cs-rd-off-ns = <186>; 65 gpmc,cs-wr-off-ns = <186>; 113 gpmc,cs-on-ns = <0>; 114 gpmc,cs-rd-off-ns = <36>; 115 gpmc,cs-wr-off-ns = <36>; 159 gpmc,cs-on-ns = <0>; 160 gpmc,cs-rd-off-ns = <84>; 161 gpmc,cs-wr-off-ns = <72>;
|
| H A D | keystone-k2hk-evm.dts | 111 ti,cs-chipselect = <0>; 113 ti,cs-min-turnaround-ns = <12>; 114 ti,cs-read-hold-ns = <6>; 115 ti,cs-read-strobe-ns = <23>; 116 ti,cs-read-setup-ns = <9>; 117 ti,cs-write-hold-ns = <8>; 118 ti,cs-write-strobe-ns = <23>; 119 ti,cs-write-setup-ns = <8>;
|
| /f-stack/freebsd/arm/freescale/imx/ |
| H A D | imx_spi.c | 215 pinactive = !active ^ (bool)(cs & SPIBUS_CS_HIGH); in spi_set_chipsel() 219 (cs & ~SPIBUS_CS_HIGH), pinactive); in spi_set_chipsel() 250 if (cs & SPIBUS_CS_HIGH) in spi_hw_setup() 413 uint32_t cs, mode, clock; in spi_transfer() local 416 spibus_get_cs(child, &cs); in spi_transfer() 420 if (cs > CS_MAX || sc->cspins[cs] == NULL) { in spi_transfer() 422 device_printf(sc->dev, "Invalid chip select %u\n", cs); in spi_transfer() 432 cs, clock, mode); in spi_transfer() 436 spi_hw_setup(sc, cs, mode, clock); in spi_transfer() 437 spi_set_chipsel(sc, cs, true); in spi_transfer() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/spi/ |
| H A D | brcm,bcm2835-aux-spi.txt | 15 - cs-gpios: the cs-gpios (native cs is NOT supported) 27 cs-gpios = <&gpio 18>, <&gpio 17>, <&gpio 16>; 37 cs-gpios = <&gpio 43>, <&gpio 44>, <&gpio 45>;
|
| H A D | spi-cadence.txt | 14 - num-cs : Number of chip selects used. 17 - is-decoded-cs : Flag to indicate whether decoder is used or not. 27 num-cs = <4>; 28 is-decoded-cs = <0>;
|
| H A D | spi-lantiq-ssc.txt | 19 - num-cs: see spi-bus.txt, set to 8 if unset 20 - base-cs: the number of the first chip select, set to 1 if unset. 33 num-cs = <6>; 34 base-cs = <1>;
|
| /f-stack/freebsd/arm/freescale/vybrid/ |
| H A D | vf_spi.c | 208 uint8_t *in_buf, int bufsz, int cs) in spi_txrx() argument 220 wreg |= (cs << PUSHR_PCS_S); in spi_txrx() 253 uint32_t cs; in spi_transfer() local 263 spibus_get_cs(child, &cs); in spi_transfer() 265 cs &= ~SPIBUS_CS_HIGH; in spi_transfer() 268 spi_txrx(sc, cmd->tx_cmd, cmd->rx_cmd, cmd->tx_cmd_sz, cs); in spi_transfer() 271 spi_txrx(sc, cmd->tx_data, cmd->rx_data, cmd->tx_data_sz, cs); in spi_transfer()
|
| /f-stack/freebsd/mips/atheros/ar531x/ |
| H A D | ar5315_spi.c | 132 ar5315_spi_chip_activate(struct ar5315_spi_softc *sc, int cs) in ar5315_spi_chip_activate() argument 137 ar5315_spi_chip_deactivate(struct ar5315_spi_softc *sc, int cs) in ar5315_spi_chip_deactivate() argument 159 uint32_t ctl, cnt, op, rdat, cs; in ar5315_spi_transfer() local 167 spibus_get_cs(child, &cs); in ar5315_spi_transfer() 169 cs &= ~SPIBUS_CS_HIGH; in ar5315_spi_transfer() 172 ar5315_spi_chip_activate(sc, cs); in ar5315_spi_transfer() 249 ar5315_spi_chip_deactivate(sc, cs); in ar5315_spi_transfer()
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-compactflash.c | 253 int cs; in cvmx_compactflash_set_piomode() local 382 cs = cs0; in cvmx_compactflash_set_piomode() 384 mio_boot_reg_cfg.u64 = cvmx_read_csr(CVMX_MIO_BOOT_REG_CFGX(cs)); in cvmx_compactflash_set_piomode() 408 cvmx_write_csr(CVMX_MIO_BOOT_REG_CFGX(cs), mio_boot_reg_cfg.u64); in cvmx_compactflash_set_piomode() 409 if(cs == cs0) in cvmx_compactflash_set_piomode() 410 cs = cs1; in cvmx_compactflash_set_piomode() 412 cs = cs0; in cvmx_compactflash_set_piomode() 413 } while(cs != cs0); in cvmx_compactflash_set_piomode()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/mtd/ |
| H A D | gpmc-nor.txt | 14 - gpmc,cs-on-ns: Chip-select assertion time 15 - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads 16 - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes 44 gpmc,num-cs = <8>; 60 gpmc,cs-on-ns = <0>; 61 gpmc,cs-rd-off-ns = <186>; 62 gpmc,cs-wr-off-ns = <186>;
|
| /f-stack/freebsd/arm/allwinner/ |
| H A D | aw_spi.c | 314 reg |= cs << AW_SPI_TCR_SSSEL_SHIFT; in aw_spi_setup_cs() 525 uint32_t cs, mode, clock, reg; in aw_spi_transfer() local 530 spibus_get_cs(child, &cs); in aw_spi_transfer() 537 if (cs >= AW_SPI_MAX_CS) { in aw_spi_transfer() 538 device_printf(dev, "Invalid cs %d\n", cs); in aw_spi_transfer() 552 if (cs & SPIBUS_CS_HIGH) in aw_spi_transfer() 553 aw_spi_setup_cs(sc, cs, false); in aw_spi_transfer() 555 aw_spi_setup_cs(sc, cs, true); in aw_spi_transfer() 566 if (cs & SPIBUS_CS_HIGH) in aw_spi_transfer() 567 aw_spi_setup_cs(sc, cs, true); in aw_spi_transfer() [all …]
|