Home
last modified time | relevance | path

Searched refs:nfc_credits (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/thunderbolt/
H A Dtunnel.c125 path->nfc_credits = 0; in tb_pci_init_path()
622 u32 nfc_credits = path->hops[0].in_port->config.nfc_credits; in tb_dp_init_video_path() local
632 path->nfc_credits = nfc_credits & ADP_CS_4_NFC_BUFFERS_MASK; in tb_dp_init_video_path()
636 max_credits = (nfc_credits & ADP_CS_4_TOTAL_BUFFERS_MASK) >> in tb_dp_init_video_path()
639 path->nfc_credits = min(max_credits - 2, 12U); in tb_dp_init_video_path()
795 max_credits = (nhi->config.nfc_credits & ADP_CS_4_TOTAL_BUFFERS_MASK) >> in tb_dma_credits()
1017 path->nfc_credits = 0; in tb_usb3_init_path()
H A Dswitch.c501 tb_dbg(tb, " NFC Credits: %#x\n", port->nfc_credits); in tb_dump_port()
599 u32 nfc_credits; in tb_port_add_nfc_credits() local
611 nfc_credits = port->config.nfc_credits & ADP_CS_4_NFC_BUFFERS_MASK; in tb_port_add_nfc_credits()
612 nfc_credits += credits; in tb_port_add_nfc_credits()
615 port->config.nfc_credits & ADP_CS_4_NFC_BUFFERS_MASK); in tb_port_add_nfc_credits()
617 port->config.nfc_credits &= ~ADP_CS_4_NFC_BUFFERS_MASK; in tb_port_add_nfc_credits()
618 port->config.nfc_credits |= nfc_credits; in tb_port_add_nfc_credits()
620 return tb_port_write(port, &port->config.nfc_credits, in tb_port_add_nfc_credits()
H A Dpath.c370 -path->nfc_credits); in __tb_path_deallocate_nfc()
497 path->nfc_credits); in tb_path_activate()
H A Dtb_regs.h267 u32 nfc_credits; member
H A Dtb.h315 int nfc_credits; member