Searched refs:tlen (Results 1 – 5 of 5) sorted by relevance
| /openbmc/u-boot/net/ |
| H A D | cdp.c | 243 ushort type, tlen; in cdp_receive() local 283 tlen = ntohs(ss[1]); in cdp_receive() 284 if (tlen > len) in cdp_receive() 287 pkt += tlen; in cdp_receive() 288 len -= tlen; in cdp_receive() 291 tlen -= 4; in cdp_receive() 311 while (tlen > 0) { in cdp_receive() 312 if (tlen < 3) in cdp_receive() 324 t += 3; tlen -= 3; in cdp_receive()
|
| /openbmc/phosphor-bmc-code-mgmt/i2c-vr/isl69269/ |
| H A D | isl69269.cpp | 131 uint8_t tlen = threeByteLen; in dmaReadWrite() local 139 if (!(co_await i2cInterface.sendReceive(tbuf, tlen, rbuf, rlen))) in dmaReadWrite() 147 tlen = oneByteLen; in dmaReadWrite() 151 if (!(co_await i2cInterface.sendReceive(tbuf, tlen, resp, rlen))) in dmaReadWrite() 254 uint8_t tlen = oneByteLen; in getDeviceRevision() local 260 if (!(co_await i2cInterface.sendReceive(tbuf, tlen, rbuf, rlen))) in getDeviceRevision()
|
| /openbmc/qemu/hw/usb/ |
| H A D | hcd-dwc2.c | 230 uint32_t chan, epnum, epdir, eptype, mps, pid, pcnt, len, tlen, intr = 0; in dwc2_handle_packet() local 266 tlen = len; in dwc2_handle_packet() 268 if (tlen > mps) { in dwc2_handle_packet() 269 tlen = mps; in dwc2_handle_packet() 274 trace_usb_dwc2_memory_read(hcdma, tlen); in dwc2_handle_packet() 275 if (dma_memory_read(&s->dma_as, hcdma, s->usb_buf[chan], tlen, in dwc2_handle_packet() 285 usb_packet_addbuf(&p->packet, s->usb_buf[chan], tlen); in dwc2_handle_packet() 289 tlen = p->len; in dwc2_handle_packet() 307 dirs[epdir], tlen); in dwc2_handle_packet() 317 p->len = tlen; in dwc2_handle_packet() [all …]
|
| /openbmc/qemu/hw/net/ |
| H A D | pcnet.c | 132 uint8_t tlen; member 772 int rlen, tlen; in pcnet_init() local 784 tlen = initblk.tlen >> 4; in pcnet_init() 809 tlen = tdra >> 29; in pcnet_init() 814 trace_pcnet_rlen_tlen(s, rlen, tlen); in pcnet_init() 817 CSR_XMTRL(s) = (tlen < 9) ? (1 << tlen) : 512; in pcnet_init() 818 s->csr[ 6] = (tlen << 12) | (rlen << 8); in pcnet_init()
|
| /openbmc/u-boot/scripts/kconfig/lxdialog/ |
| H A D | util.c | 355 int tlen = MIN(width - 2, strlen(title)); in print_title() local 357 mvwaddch(dialog, 0, (width - tlen) / 2 - 1, ' '); in print_title() 358 mvwaddnstr(dialog, 0, (width - tlen)/2, title, tlen); in print_title()
|