Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/thunderbolt/
Dtunnel.c102 path->nfc_credits = 0; in tb_pci_init_path()
317 u32 nfc_credits = path->hops[0].in_port->config.nfc_credits; in tb_dp_init_video_path() local
327 path->nfc_credits = nfc_credits & TB_PORT_NFC_CREDITS_MASK; in tb_dp_init_video_path()
331 max_credits = (nfc_credits & TB_PORT_MAX_CREDITS_MASK) >> in tb_dp_init_video_path()
334 path->nfc_credits = min(max_credits - 2, 12U); in tb_dp_init_video_path()
481 max_credits = (nhi->config.nfc_credits & TB_PORT_MAX_CREDITS_MASK) >> in tb_dma_credits()
Dswitch.c453 tb_dbg(tb, " NFC Credits: %#x\n", port->nfc_credits); in tb_dump_port()
551 u32 nfc_credits; in tb_port_add_nfc_credits() local
556 nfc_credits = port->config.nfc_credits & TB_PORT_NFC_CREDITS_MASK; in tb_port_add_nfc_credits()
557 nfc_credits += credits; in tb_port_add_nfc_credits()
560 credits, port->config.nfc_credits & TB_PORT_NFC_CREDITS_MASK); in tb_port_add_nfc_credits()
562 port->config.nfc_credits &= ~TB_PORT_NFC_CREDITS_MASK; in tb_port_add_nfc_credits()
563 port->config.nfc_credits |= nfc_credits; in tb_port_add_nfc_credits()
565 return tb_port_write(port, &port->config.nfc_credits, in tb_port_add_nfc_credits()
Dtb_regs.h202 u32 nfc_credits; member
Dpath.c337 -path->nfc_credits); in __tb_path_deallocate_nfc()
464 path->nfc_credits); in tb_path_activate()
Dtb.h225 int nfc_credits; member