Home
last modified time | relevance | path

Searched refs:cnp (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c73 static int cxgbit_np_hashfn(const struct cxgbit_np *cnp) in cxgbit_np_hashfn() argument
75 return ((unsigned long)cnp >> 10) & (NP_INFO_HASH_SIZE - 1); in cxgbit_np_hashfn()
79 cxgbit_np_hash_add(struct cxgbit_device *cdev, struct cxgbit_np *cnp, in cxgbit_np_hash_add() argument
85 int bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_add()
87 p->cnp = cnp; in cxgbit_np_hash_add()
99 cxgbit_np_hash_find(struct cxgbit_device *cdev, struct cxgbit_np *cnp) in cxgbit_np_hash_find() argument
101 int stid = -1, bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_find()
106 if (p->cnp == cnp) { in cxgbit_np_hash_find()
116 static int cxgbit_np_hash_del(struct cxgbit_device *cdev, struct cxgbit_np *cnp) in cxgbit_np_hash_del() argument
118 int stid = -1, bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_del()
[all …]
Dcxgbit.h121 struct cxgbit_np *cnp; member
191 struct cxgbit_np *cnp; member
268 static inline void cxgbit_get_cnp(struct cxgbit_np *cnp) in cxgbit_get_cnp() argument
270 kref_get(&cnp->kref); in cxgbit_get_cnp()
273 static inline void cxgbit_put_cnp(struct cxgbit_np *cnp) in cxgbit_put_cnp() argument
275 kref_put(&cnp->kref, _cxgbit_free_cnp); in cxgbit_put_cnp()
/linux-6.6.21/fs/coda/
Dpioctl.c58 struct coda_inode_info *cnp; in coda_pioctl() local
82 cnp = ITOC(target_inode); in coda_pioctl()
84 error = venus_pioctl(inode->i_sb, &(cnp->c_fid), cmd, &data); in coda_pioctl()
/linux-6.6.21/drivers/power/reset/
Dat91-sama5d2_shdwc.c201 struct device_node *cnp; in at91_shdwc_get_wakeup_input() local
206 for_each_child_of_node(np, cnp) { in at91_shdwc_get_wakeup_input()
207 if (of_property_read_u32(cnp, "reg", &wk_input)) { in at91_shdwc_get_wakeup_input()
209 cnp); in at91_shdwc_get_wakeup_input()
222 if (of_property_read_bool(cnp, "atmel,wakeup-active-high")) in at91_shdwc_get_wakeup_input()
/linux-6.6.21/drivers/platform/x86/intel/pmc/
DMakefile6 intel_pmc_core-y := core.o core_ssram.o spt.o cnp.o \
/linux-6.6.21/arch/arm64/include/asm/
Dkvm_mmu.h287 u64 cnp = system_supports_cnp() ? VTTBR_CNP_BIT : 0; in kvm_get_vttbr() local
292 return kvm_phys_to_vttbr(baddr) | vmid_field | cnp; in kvm_get_vttbr()
/linux-6.6.21/drivers/mmc/host/
Datmel-mci.c640 struct device_node *cnp; in atmci_of_init() local
654 for_each_child_of_node(np, cnp) { in atmci_of_init()
655 if (of_property_read_u32(cnp, "reg", &slot_id)) { in atmci_of_init()
657 cnp); in atmci_of_init()
664 of_node_put(cnp); in atmci_of_init()
668 if (of_property_read_u32(cnp, "bus-width", in atmci_of_init()
673 devm_fwnode_gpiod_get(&pdev->dev, of_fwnode_handle(cnp), in atmci_of_init()
683 of_property_read_bool(cnp, "non-removable"); in atmci_of_init()
686 devm_fwnode_gpiod_get(&pdev->dev, of_fwnode_handle(cnp), in atmci_of_init()