Home
last modified time | relevance | path

Searched refs:cnp (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
H A 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 cxgbit_np_hash_del(struct cxgbit_device *cdev, struct cxgbit_np *cnp) cxgbit_np_hash_del() argument
137 struct cxgbit_np *cnp; _cxgbit_free_cnp() local
144 cxgbit_create_server6(struct cxgbit_device *cdev, unsigned int stid, struct cxgbit_np *cnp) cxgbit_create_server6() argument
196 cxgbit_create_server4(struct cxgbit_device *cdev, unsigned int stid, struct cxgbit_np *cnp) cxgbit_create_server4() argument
290 cxgbit_find_np_cdev(struct cxgbit_np *cnp) cxgbit_find_np_cdev() argument
318 cxgbit_inaddr_any(struct cxgbit_np *cnp) cxgbit_inaddr_any() argument
343 __cxgbit_setup_cdev_np(struct cxgbit_device *cdev, struct cxgbit_np *cnp) __cxgbit_setup_cdev_np() argument
375 cxgbit_setup_cdev_np(struct cxgbit_np *cnp) cxgbit_setup_cdev_np() argument
398 cxgbit_setup_all_np(struct cxgbit_np *cnp) cxgbit_setup_all_np() argument
427 struct cxgbit_np *cnp; cxgbit_setup_np() local
478 struct cxgbit_np *cnp = np->np_context; cxgbit_accept_np() local
518 __cxgbit_free_cdev_np(struct cxgbit_device *cdev, struct cxgbit_np *cnp) __cxgbit_free_cdev_np() argument
564 cxgbit_free_all_np(struct cxgbit_np *cnp) cxgbit_free_all_np() argument
578 cxgbit_free_cdev_np(struct cxgbit_np *cnp) cxgbit_free_cdev_np() argument
602 struct cxgbit_np *cnp = np->np_context; cxgbit_free_np() local
1219 struct cxgbit_np *cnp; cxgbit_pass_accept_req() local
1583 struct cxgbit_np *cnp = lookup_stid(t, stid); cxgbit_pass_open_rpl() local
1605 struct cxgbit_np *cnp = lookup_stid(t, stid); cxgbit_close_listsrv_rpl() local
1628 struct cxgbit_np *cnp; cxgbit_pass_establish() local
[all...]
H A 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()
/kernel/linux/linux-6.6/drivers/target/iscsi/cxgbit/
H A 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 cxgbit_np_hash_del(struct cxgbit_device *cdev, struct cxgbit_np *cnp) cxgbit_np_hash_del() argument
137 struct cxgbit_np *cnp; _cxgbit_free_cnp() local
144 cxgbit_create_server6(struct cxgbit_device *cdev, unsigned int stid, struct cxgbit_np *cnp) cxgbit_create_server6() argument
196 cxgbit_create_server4(struct cxgbit_device *cdev, unsigned int stid, struct cxgbit_np *cnp) cxgbit_create_server4() argument
290 cxgbit_find_np_cdev(struct cxgbit_np *cnp) cxgbit_find_np_cdev() argument
318 cxgbit_inaddr_any(struct cxgbit_np *cnp) cxgbit_inaddr_any() argument
343 __cxgbit_setup_cdev_np(struct cxgbit_device *cdev, struct cxgbit_np *cnp) __cxgbit_setup_cdev_np() argument
375 cxgbit_setup_cdev_np(struct cxgbit_np *cnp) cxgbit_setup_cdev_np() argument
398 cxgbit_setup_all_np(struct cxgbit_np *cnp) cxgbit_setup_all_np() argument
427 struct cxgbit_np *cnp; cxgbit_setup_np() local
478 struct cxgbit_np *cnp = np->np_context; cxgbit_accept_np() local
518 __cxgbit_free_cdev_np(struct cxgbit_device *cdev, struct cxgbit_np *cnp) __cxgbit_free_cdev_np() argument
564 cxgbit_free_all_np(struct cxgbit_np *cnp) cxgbit_free_all_np() argument
578 cxgbit_free_cdev_np(struct cxgbit_np *cnp) cxgbit_free_cdev_np() argument
602 struct cxgbit_np *cnp = np->np_context; cxgbit_free_np() local
1220 struct cxgbit_np *cnp; cxgbit_pass_accept_req() local
1584 struct cxgbit_np *cnp = lookup_stid(t, stid); cxgbit_pass_open_rpl() local
1606 struct cxgbit_np *cnp = lookup_stid(t, stid); cxgbit_close_listsrv_rpl() local
1629 struct cxgbit_np *cnp; cxgbit_pass_establish() local
[all...]
H A 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()
/kernel/linux/linux-5.10/fs/coda/
H A Dpioctl.c56 struct coda_inode_info *cnp; in coda_pioctl() local
80 cnp = ITOC(target_inode); in coda_pioctl()
82 error = venus_pioctl(inode->i_sb, &(cnp->c_fid), cmd, &data); in coda_pioctl()
/kernel/linux/linux-6.6/fs/coda/
H A 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()
/kernel/linux/linux-5.10/drivers/power/reset/
H A Dat91-sama5d2_shdwc.c195 struct device_node *cnp; in at91_shdwc_get_wakeup_input() local
200 for_each_child_of_node(np, cnp) { in at91_shdwc_get_wakeup_input()
201 if (of_property_read_u32(cnp, "reg", &wk_input)) { in at91_shdwc_get_wakeup_input()
203 cnp); in at91_shdwc_get_wakeup_input()
216 if (of_property_read_bool(cnp, "atmel,wakeup-active-high")) in at91_shdwc_get_wakeup_input()
/kernel/linux/linux-6.6/drivers/power/reset/
H A 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()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dkvm_mmu.h264 u64 cnp = system_supports_cnp() ? VTTBR_CNP_BIT : 0;
268 return kvm_phys_to_vttbr(baddr) | vmid_field | cnp;
/kernel/linux/linux-6.6/drivers/platform/x86/intel/pmc/
H A DMakefile6 intel_pmc_core-y := core.o core_ssram.o spt.o cnp.o \
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dkvm_mmu.h287 u64 cnp = system_supports_cnp() ? VTTBR_CNP_BIT : 0;
292 return kvm_phys_to_vttbr(baddr) | vmid_field | cnp;
/kernel/linux/linux-5.10/drivers/mmc/host/
H A 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, "w in atmci_of_init()
[all...]
/kernel/linux/linux-6.6/drivers/mmc/host/
H A 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()

Completed in 12 milliseconds