Searched refs:pdt (Results 1 – 7 of 7) sorted by relevance
484 static void rmi_driver_copy_pdt_to_fd(const struct pdt_entry *pdt, in rmi_driver_copy_pdt_to_fd() argument487 fd->query_base_addr = pdt->query_base_addr + pdt->page_start; in rmi_driver_copy_pdt_to_fd()488 fd->command_base_addr = pdt->command_base_addr + pdt->page_start; in rmi_driver_copy_pdt_to_fd()489 fd->control_base_addr = pdt->control_base_addr + pdt->page_start; in rmi_driver_copy_pdt_to_fd()490 fd->data_base_addr = pdt->data_base_addr + pdt->page_start; in rmi_driver_copy_pdt_to_fd()491 fd->function_number = pdt->function_number; in rmi_driver_copy_pdt_to_fd()492 fd->interrupt_source_count = pdt->interrupt_source_count; in rmi_driver_copy_pdt_to_fd()493 fd->function_version = pdt->function_version; in rmi_driver_copy_pdt_to_fd()745 const struct pdt_entry *pdt) in rmi_check_bootloader_mode() argument751 if (pdt->function_number == 0x34 && pdt->function_version > 1) { in rmi_check_bootloader_mode()[all …]
101 const struct pdt_entry *pdt);
694 int bnxt_qplib_alloc_pd(struct bnxt_qplib_pd_tbl *pdt, struct bnxt_qplib_pd *pd) in bnxt_qplib_alloc_pd() argument698 bit_num = find_first_bit(pdt->tbl, pdt->max); in bnxt_qplib_alloc_pd()699 if (bit_num == pdt->max) in bnxt_qplib_alloc_pd()703 clear_bit(bit_num, pdt->tbl); in bnxt_qplib_alloc_pd()709 struct bnxt_qplib_pd_tbl *pdt, in bnxt_qplib_dealloc_pd() argument712 if (test_and_set_bit(pd->id, pdt->tbl)) { in bnxt_qplib_dealloc_pd()721 static void bnxt_qplib_free_pd_tbl(struct bnxt_qplib_pd_tbl *pdt) in bnxt_qplib_free_pd_tbl() argument723 kfree(pdt->tbl); in bnxt_qplib_free_pd_tbl()724 pdt->tbl = NULL; in bnxt_qplib_free_pd_tbl()725 pdt->max = 0; in bnxt_qplib_free_pd_tbl()[all …]
7 obj-$(CONFIG_OF_PROMTREE) += pdt.o
8 obj-y := cache.o pacache.o setup.o pdt.o traps.o time.o irq.o \
2072 static bool drm_dp_mst_is_end_device(u8 pdt, bool mcs) in drm_dp_mst_is_end_device() argument2074 switch (pdt) { in drm_dp_mst_is_end_device()2097 if (port->pdt == new_pdt && port->mcs == new_mcs) in drm_dp_port_set_pdt()2101 if (port->pdt != DP_PEER_DEVICE_NONE) { in drm_dp_port_set_pdt()2102 if (drm_dp_mst_is_end_device(port->pdt, port->mcs)) { in drm_dp_port_set_pdt()2109 port->pdt = new_pdt; in drm_dp_port_set_pdt()2124 port->pdt = new_pdt; in drm_dp_port_set_pdt()2127 if (port->pdt != DP_PEER_DEVICE_NONE) { in drm_dp_port_set_pdt()2128 if (drm_dp_mst_is_end_device(port->pdt, port->mcs)) { in drm_dp_port_set_pdt()2160 port->pdt = DP_PEER_DEVICE_NONE; in drm_dp_port_set_pdt()[all …]
124 u8 pdt; member