Searched refs:cnp (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 76 static int cxgbit_np_hashfn(const struct cxgbit_np *cnp) in cxgbit_np_hashfn() argument 78 return ((unsigned long)cnp >> 10) & (NP_INFO_HASH_SIZE - 1); in cxgbit_np_hashfn() 82 cxgbit_np_hash_add(struct cxgbit_device *cdev, struct cxgbit_np *cnp, in cxgbit_np_hash_add() argument 88 int bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_add() 90 p->cnp = cnp; in cxgbit_np_hash_add() 102 cxgbit_np_hash_find(struct cxgbit_device *cdev, struct cxgbit_np *cnp) in cxgbit_np_hash_find() argument 104 int stid = -1, bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_find() 109 if (p->cnp == cnp) { in cxgbit_np_hash_find() 119 static int cxgbit_np_hash_del(struct cxgbit_device *cdev, struct cxgbit_np *cnp) in cxgbit_np_hash_del() argument 121 int stid = -1, bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_del() [all …]
|
D | cxgbit.h | 124 struct cxgbit_np *cnp; member 194 struct cxgbit_np *cnp; member 272 static inline void cxgbit_get_cnp(struct cxgbit_np *cnp) in cxgbit_get_cnp() argument 274 kref_get(&cnp->kref); in cxgbit_get_cnp() 277 static inline void cxgbit_put_cnp(struct cxgbit_np *cnp) in cxgbit_put_cnp() argument 279 kref_put(&cnp->kref, _cxgbit_free_cnp); in cxgbit_put_cnp()
|
/Linux-v4.19/fs/coda/ |
D | pioctl.c | 57 struct coda_inode_info *cnp; in coda_pioctl() local 84 cnp = ITOC(target_inode); in coda_pioctl() 86 error = venus_pioctl(inode->i_sb, &(cnp->c_fid), cmd, &data); in coda_pioctl()
|
/Linux-v4.19/drivers/power/reset/ |
D | at91-sama5d2_shdwc.c | 167 struct device_node *cnp; in at91_shdwc_get_wakeup_input() local 172 for_each_child_of_node(np, cnp) { in at91_shdwc_get_wakeup_input() 173 if (of_property_read_u32(cnp, "reg", &wk_input)) { in at91_shdwc_get_wakeup_input() 175 cnp); in at91_shdwc_get_wakeup_input() 188 if (of_property_read_bool(cnp, "atmel,wakeup-active-high")) in at91_shdwc_get_wakeup_input()
|
/Linux-v4.19/drivers/mmc/host/ |
D | atmel-mci.c | 653 struct device_node *cnp; in atmci_of_init() local 666 for_each_child_of_node(np, cnp) { in atmci_of_init() 667 if (of_property_read_u32(cnp, "reg", &slot_id)) { in atmci_of_init() 669 cnp); in atmci_of_init() 676 of_node_put(cnp); in atmci_of_init() 680 if (of_property_read_u32(cnp, "bus-width", in atmci_of_init() 685 of_get_named_gpio(cnp, "cd-gpios", 0); in atmci_of_init() 688 of_property_read_bool(cnp, "cd-inverted"); in atmci_of_init() 691 of_property_read_bool(cnp, "non-removable"); in atmci_of_init() 694 of_get_named_gpio(cnp, "wp-gpios", 0); in atmci_of_init()
|
/Linux-v4.19/Documentation/devicetree/bindings/sound/ |
D | qcom,msm8916-wcd-analog.txt | 24 "cdc_ear_cnp_int" - earphone cnp interrupt.
|