Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/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.1.9/arch/arm64/include/asm/
Dkvm_mmu.h271 u64 cnp = system_supports_cnp() ? VTTBR_CNP_BIT : 0; in kvm_get_vttbr() local
276 return kvm_phys_to_vttbr(baddr) | vmid_field | cnp; in kvm_get_vttbr()
/linux-6.1.9/drivers/mmc/host/
Datmel-mci.c608 struct device_node *cnp; in atmci_of_init() local
621 for_each_child_of_node(np, cnp) { in atmci_of_init()
622 if (of_property_read_u32(cnp, "reg", &slot_id)) { in atmci_of_init()
624 cnp); in atmci_of_init()
631 of_node_put(cnp); in atmci_of_init()
635 if (of_property_read_u32(cnp, "bus-width", in atmci_of_init()
640 of_get_named_gpio(cnp, "cd-gpios", 0); in atmci_of_init()
643 of_property_read_bool(cnp, "cd-inverted"); in atmci_of_init()
646 of_property_read_bool(cnp, "non-removable"); in atmci_of_init()
649 of_get_named_gpio(cnp, "wp-gpios", 0); in atmci_of_init()
/linux-6.1.9/Documentation/devicetree/bindings/sound/
Dqcom,msm8916-wcd-analog.txt24 "cdc_ear_cnp_int" - earphone cnp interrupt.