/linux-6.6.21/arch/ia64/include/asm/uv/ |
D | uv_hub.h | 102 unsigned short pnode; member 172 static inline void *uv_pnode_offset_to_vaddr(int pnode, unsigned long offset) in uv_pnode_offset_to_vaddr() argument 174 return __va(((unsigned long)pnode << uv_hub_info->m_val) | offset); in uv_pnode_offset_to_vaddr() 182 static inline unsigned long *uv_global_mmr32_address(int pnode, in uv_global_mmr32_address() argument 186 UV_GLOBAL_MMR32_PNODE_BITS(pnode) | offset); in uv_global_mmr32_address() 189 static inline void uv_write_global_mmr32(int pnode, unsigned long offset, in uv_write_global_mmr32() argument 192 *uv_global_mmr32_address(pnode, offset) = val; in uv_write_global_mmr32() 195 static inline unsigned long uv_read_global_mmr32(int pnode, in uv_read_global_mmr32() argument 198 return *uv_global_mmr32_address(pnode, offset); in uv_read_global_mmr32() 205 static inline unsigned long *uv_global_mmr64_address(int pnode, in uv_global_mmr64_address() argument [all …]
|
/linux-6.6.21/fs/ubifs/ |
D | lpt.c | 341 struct ubifs_pnode *pnode) in ubifs_pack_pnode() argument 349 pack_bits(c, &addr, &pos, pnode->num, c->pcnt_bits); in ubifs_pack_pnode() 351 pack_bits(c, &addr, &pos, pnode->lprops[i].free >> 3, in ubifs_pack_pnode() 353 pack_bits(c, &addr, &pos, pnode->lprops[i].dirty >> 3, in ubifs_pack_pnode() 355 if (pnode->lprops[i].flags & LPROPS_INDEX) in ubifs_pack_pnode() 505 static void add_pnode_dirt(struct ubifs_info *c, struct ubifs_pnode *pnode) in add_pnode_dirt() argument 507 ubifs_add_lpt_dirt(c, pnode->parent->nbranch[pnode->iip].lnum, in add_pnode_dirt() 604 struct ubifs_pnode *pnode = NULL; in ubifs_create_dflt_lpt() local 628 pnode = kzalloc(sizeof(struct ubifs_pnode), GFP_KERNEL); in ubifs_create_dflt_lpt() 633 if (!pnode || !nnode || !buf || !ltab || !lsave) { in ubifs_create_dflt_lpt() [all …]
|
D | lpt_commit.c | 553 struct ubifs_pnode *pnode) in next_pnode_to_dirty() argument 559 nnode = pnode->parent; in next_pnode_to_dirty() 560 for (iip = pnode->iip + 1; iip < UBIFS_LPT_FANOUT; iip++) { in next_pnode_to_dirty() 614 static void add_pnode_dirt(struct ubifs_info *c, struct ubifs_pnode *pnode) in add_pnode_dirt() argument 616 ubifs_add_lpt_dirt(c, pnode->parent->nbranch[pnode->iip].lnum, in add_pnode_dirt() 625 static void do_make_pnode_dirty(struct ubifs_info *c, struct ubifs_pnode *pnode) in do_make_pnode_dirty() argument 628 if (!test_and_set_bit(DIRTY_CNODE, &pnode->flags)) { in do_make_pnode_dirty() 632 add_pnode_dirt(c, pnode); in do_make_pnode_dirty() 634 nnode = pnode->parent; in do_make_pnode_dirty() 659 struct ubifs_pnode *pnode; in make_tree_dirty() local [all …]
|
/linux-6.6.21/arch/x86/include/asm/uv/ |
D | uv_hub.h | 173 unsigned short pnode; member 523 static inline int uv_pnode_to_socket(int pnode) in uv_pnode_to_socket() argument 527 return p2s ? p2s[pnode - uv_hub_info->min_pnode] : pnode; in uv_pnode_to_socket() 531 static inline void *uv_pnode_offset_to_vaddr(int pnode, unsigned long offset) in uv_pnode_offset_to_vaddr() argument 538 return __va(((unsigned long)pnode << m_val) | offset); in uv_pnode_offset_to_vaddr() 540 sockid = uv_pnode_to_socket(pnode); in uv_pnode_offset_to_vaddr() 553 int pnode = apicid >> uv_hub_info->apic_pnode_shift; in uv_apicid_to_pnode() local 556 return s2pn ? s2pn[pnode - uv_hub_info->min_socket] : pnode; in uv_apicid_to_pnode() 563 static inline unsigned long *uv_global_mmr32_address(int pnode, unsigned long offset) in uv_global_mmr32_address() argument 566 UV_GLOBAL_MMR32_PNODE_BITS(pnode) | offset); in uv_global_mmr32_address() [all …]
|
D | bios.h | 85 u16 pnode; /* Index to MMR and GRU spaces */ member
|
/linux-6.6.21/arch/x86/platform/uv/ |
D | uv_time.c | 74 int pnode; in uv_rtc_send_IPI() local 77 pnode = uv_apicid_to_pnode(apicid); in uv_rtc_send_IPI() 82 uv_write_global_mmr64(pnode, UVH_IPI_INT, val); in uv_rtc_send_IPI() 86 static int uv_intr_pending(int pnode) in uv_intr_pending() argument 88 return uv_read_global_mmr64(pnode, UVH_EVENT_OCCURRED2) & in uv_intr_pending() 97 int pnode = uv_cpu_to_pnode(cpu); in uv_setup_intr() local 99 uv_write_global_mmr64(pnode, UVH_RTC1_INT_CONFIG, in uv_setup_intr() 101 uv_write_global_mmr64(pnode, UVH_INT_CMPB, -1L); in uv_setup_intr() 103 uv_write_global_mmr64(pnode, UVH_EVENT_OCCURRED2_ALIAS, in uv_setup_intr() 110 uv_write_global_mmr64(pnode, UVH_RTC1_INT_CONFIG, val); in uv_setup_intr() [all …]
|
D | uv_irq.c | 24 int pnode; member 45 uv_write_global_mmr64(info->pnode, info->offset, mmr_value); in uv_program_mmr() 98 chip_data->pnode = uv_blade_to_pnode(info->uv.blade); in uv_domain_alloc()
|
/linux-6.6.21/arch/x86/kernel/apic/ |
D | x2apic_uv_x.c | 101 int pnode; in early_get_pnodeid() local 133 pnode = (uv_node_id >> uv_cpuid.nasid_shift) & uv_cpuid.pnode_mask; in early_get_pnodeid() 137 uv_cpuid.n_skt, uv_cpuid.pnode_mask, pnode); in early_get_pnodeid() 707 int pnode; in uv_wakeup_secondary() local 709 pnode = uv_apicid_to_pnode(phys_apicid); in uv_wakeup_secondary() 716 uv_write_global_mmr64(pnode, UVH_IPI_INT, val); in uv_wakeup_secondary() 723 uv_write_global_mmr64(pnode, UVH_IPI_INT, val); in uv_wakeup_secondary() 731 int pnode = uv_apicid_to_pnode(apicid); in uv_send_IPI_one() local 744 uv_write_global_mmr64(pnode, UVH_IPI_INT, val); in uv_send_IPI_one() 1346 gre->type, gre->nasid, gre->sockid, gre->pnode); in decode_gam_rng_tbl() [all …]
|
/linux-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_scsi.c | 408 if (psb->rdata && psb->rdata->pnode && in lpfc_sli4_vport_delete_fcp_xri_aborted() 409 psb->rdata->pnode->vport == vport) in lpfc_sli4_vport_delete_fcp_xri_aborted() 478 if (psb->rdata && psb->rdata->pnode) in lpfc_sli4_io_xri_aborted() 479 ndlp = psb->rdata->pnode; in lpfc_sli4_io_xri_aborted() 1000 if (rdata && rdata->pnode) { in lpfc_bg_err_inject() 1001 ndlp = rdata->pnode; in lpfc_bg_err_inject() 3568 struct lpfc_nodelist *pnode = lpfc_cmd->rdata->pnode; in lpfc_send_scsi_error_event() local 3571 if (!pnode) in lpfc_send_scsi_error_event() 3587 &pnode->nlp_portname, sizeof(struct lpfc_name)); in lpfc_send_scsi_error_event() 3589 &pnode->nlp_nodename, sizeof(struct lpfc_name)); in lpfc_send_scsi_error_event() [all …]
|
D | lpfc_scsi.h | 43 struct lpfc_nodelist *pnode; /* Pointer to the node structure. */ member
|
/linux-6.6.21/drivers/pci/ |
D | of_property.c | 193 struct device_node *pnode; in of_pci_prop_intr_map() local 199 pnode = pci_device_to_OF_node(pdev->bus->self); in of_pci_prop_intr_map() 200 if (!pnode) in of_pci_prop_intr_map() 201 pnode = pci_bus_to_OF_node(pdev->bus); in of_pci_prop_intr_map() 203 if (!pnode) { in of_pci_prop_intr_map() 211 out_irq[i].np = pnode; in of_pci_prop_intr_map()
|
/linux-6.6.21/drivers/macintosh/ |
D | macio_asic.c | 459 struct device_node *np, *pnode; in macio_pci_add_devices() local 471 pnode = of_node_get(chip->of_node); in macio_pci_add_devices() 472 if (pnode == NULL) in macio_pci_add_devices() 476 rdev = macio_add_one_device(chip, parent, pnode, NULL, root_res); in macio_pci_add_devices() 482 for_each_child_of_node(pnode, np) { in macio_pci_add_devices() 498 pnode = mbdev->ofdev.dev.of_node; in macio_pci_add_devices() 499 for_each_child_of_node(pnode, np) { in macio_pci_add_devices() 511 pnode = sdev->ofdev.dev.of_node; in macio_pci_add_devices() 512 for_each_child_of_node(pnode, np) { in macio_pci_add_devices()
|
/linux-6.6.21/drivers/base/power/ |
D | qos.c | 162 &req->data.pnode, action, value); in apply_constraint() 166 &req->data.pnode, action, value); in apply_constraint() 273 plist_for_each_entry_safe(req, tmp, &c->list, data.pnode) { in dev_pm_qos_constraints_destroy() 283 plist_for_each_entry_safe(req, tmp, &c->list, data.pnode) { in dev_pm_qos_constraints_destroy() 289 plist_for_each_entry_safe(req, tmp, &c->list, data.freq.pnode) { in dev_pm_qos_constraints_destroy() 296 plist_for_each_entry_safe(req, tmp, &c->list, data.freq.pnode) { in dev_pm_qos_constraints_destroy() 424 curr_value = req->data.pnode.prio; in __dev_pm_qos_update_request() 428 curr_value = req->data.freq.pnode.prio; in __dev_pm_qos_update_request() 894 dev->power.qos->latency_tolerance_req->data.pnode.prio; in dev_pm_qos_get_user_latency_tolerance()
|
/linux-6.6.21/drivers/misc/sgi-gru/ |
D | gruhandles.h | 143 static inline unsigned long gru_chiplet_paddr(unsigned long paddr, int pnode, in gru_chiplet_paddr() argument 146 return paddr + GRU_SIZE * (2 * pnode + chiplet); in gru_chiplet_paddr() 149 static inline void *gru_chiplet_vaddr(void *vaddr, int pnode, int chiplet) in gru_chiplet_vaddr() argument 151 return vaddr + GRU_SIZE * (2 * pnode + chiplet); in gru_chiplet_vaddr()
|
D | grufile.c | 254 int pnode, nid, bid, chip; in gru_init_tables() local 265 pnode = uv_blade_to_pnode(bid); in gru_init_tables() 281 paddr = gru_chiplet_paddr(gru_base_paddr, pnode, chip); in gru_init_tables() 282 vaddr = gru_chiplet_vaddr(gru_base_vaddr, pnode, chip); in gru_init_tables()
|
/linux-6.6.21/drivers/net/ipvlan/ |
D | ipvlan_main.c | 18 list_for_each_entry(ipvlan, &port->ipvlans, pnode) { in ipvlan_set_port_mode() 47 list_for_each_entry_continue_reverse(ipvlan, &port->ipvlans, pnode) { in ipvlan_set_port_mode() 636 list_add_tail_rcu(&ipvlan->pnode, &port->ipvlans); in ipvlan_link_new() 664 list_del_rcu(&ipvlan->pnode); in ipvlan_link_delete() 738 list_for_each_entry(ipvlan, &port->ipvlans, pnode) in ipvlan_device_event() 760 list_for_each_entry_safe(ipvlan, next, &port->ipvlans, pnode) in ipvlan_device_event() 767 list_for_each_entry(ipvlan, &port->ipvlans, pnode) { in ipvlan_device_event() 774 list_for_each_entry(ipvlan, &port->ipvlans, pnode) in ipvlan_device_event() 780 list_for_each_entry(ipvlan, &port->ipvlans, pnode) { in ipvlan_device_event() 790 list_for_each_entry(ipvlan, &port->ipvlans, pnode) { in ipvlan_device_event()
|
D | ipvlan.h | 64 struct list_head pnode; member
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 112 u32 align, struct nvkm_mm_node **pnode) in nvkm_mm_head() argument 153 *pnode = this; in nvkm_mm_head() 187 u32 align, struct nvkm_mm_node **pnode) in nvkm_mm_tail() argument 232 *pnode = this; in nvkm_mm_tail()
|
/linux-6.6.21/include/linux/ |
D | pm_qos.h | 94 struct plist_node pnode; member 110 struct plist_node pnode; member 197 return dev->power.qos->resume_latency_req->data.pnode.prio; in dev_pm_qos_requested_resume_latency()
|
/linux-6.6.21/sound/soc/codecs/ |
D | sti-sas.c | 408 struct device_node *pnode = pdev->dev.of_node; in sti_sas_driver_probe() local 419 of_id = of_match_node(sti_sas_dev_match, pnode); in sti_sas_driver_probe() 440 syscon_regmap_lookup_by_phandle(pnode, "st,syscfg"); in sti_sas_driver_probe()
|
/linux-6.6.21/drivers/virtio/ |
D | virtio.c | 369 struct device_node *np, *pnode = dev_of_node(dev->dev.parent); in virtio_device_of_init() local 373 if (!pnode) in virtio_device_of_init() 376 count = of_get_available_child_count(pnode); in virtio_device_of_init() 384 np = of_get_next_available_child(pnode, NULL); in virtio_device_of_init()
|
/linux-6.6.21/drivers/clk/st/ |
D | clk-flexgen.c | 644 struct device_node *pnode; in st_of_flexgen_setup() local 657 pnode = of_get_parent(np); in st_of_flexgen_setup() 658 if (!pnode) in st_of_flexgen_setup() 661 reg = of_iomap(pnode, 0); in st_of_flexgen_setup() 662 of_node_put(pnode); in st_of_flexgen_setup()
|
D | clkgen-pll.c | 686 struct device_node *pnode; in clkgen_get_register_base() local 689 pnode = of_get_parent(np); in clkgen_get_register_base() 690 if (!pnode) in clkgen_get_register_base() 693 reg = of_iomap(pnode, 0); in clkgen_get_register_base() 695 of_node_put(pnode); in clkgen_get_register_base()
|
/linux-6.6.21/fs/f2fs/ |
D | extent_cache.c | 203 struct rb_node **pnode = &root->rb_root.rb_node; in __lookup_extent_node_ret() local 220 while (*pnode) { in __lookup_extent_node_ret() 221 parent = *pnode; in __lookup_extent_node_ret() 222 en = rb_entry(*pnode, struct extent_node, rb_node); in __lookup_extent_node_ret() 225 pnode = &(*pnode)->rb_left; in __lookup_extent_node_ret() 227 pnode = &(*pnode)->rb_right; in __lookup_extent_node_ret() 234 *insert_p = pnode; in __lookup_extent_node_ret()
|
/linux-6.6.21/kernel/power/ |
D | qos.c | 510 ret = pm_qos_update_target(&req->qos->min_freq, &req->pnode, in freq_qos_apply() 514 ret = pm_qos_update_target(&req->qos->max_freq, &req->pnode, in freq_qos_apply() 583 if (req->pnode.prio == new_value) in freq_qos_update_request()
|