Searched refs:nh (Results 1 – 6 of 6) sorted by relevance
1036 struct srcu_notifier_head *nh; in devfreq_register_opp_notifier() local1040 nh = opp_get_notifier(dev); in devfreq_register_opp_notifier()1041 if (IS_ERR(nh)) in devfreq_register_opp_notifier()1042 ret = PTR_ERR(nh); in devfreq_register_opp_notifier()1045 ret = srcu_notifier_chain_register(nh, &devfreq->nb); in devfreq_register_opp_notifier()1062 struct srcu_notifier_head *nh; in devfreq_unregister_opp_notifier() local1066 nh = opp_get_notifier(dev); in devfreq_unregister_opp_notifier()1067 if (IS_ERR(nh)) in devfreq_unregister_opp_notifier()1068 ret = PTR_ERR(nh); in devfreq_unregister_opp_notifier()1071 ret = srcu_notifier_chain_unregister(nh, &devfreq->nb); in devfreq_unregister_opp_notifier()
247 raw_notifier_call_chain(&edev->nh, old_state, edev); in extcon_update_state()481 return raw_notifier_chain_register(&obj->edev->nh, &obj->internal_nb); in extcon_register_interest()516 return raw_notifier_chain_unregister(&obj->edev->nh, &obj->internal_nb); in extcon_unregister_interest()532 return raw_notifier_chain_register(&edev->nh, nb); in extcon_register_notifier()544 return raw_notifier_chain_unregister(&edev->nh, nb); in extcon_unregister_notifier()758 RAW_INIT_NOTIFIER_HEAD(&edev->nh); in extcon_dev_register()
1769 unsigned char *nh = skb_network_header(skb); in tile_net_tx_tso() local1770 unsigned int eh_len = nh - data; in tile_net_tx_tso()1773 struct tcphdr *th = (struct tcphdr *)(nh + ih_len); in tile_net_tx_tso()
151 int nh; in enqueue_mgmt() local152 nh = (ieee->mgmt_queue_head +1) % MGMT_QUEUE_NUM; in enqueue_mgmt()161 ieee->mgmt_queue_head = nh; in enqueue_mgmt()162 ieee->mgmt_queue_ring[nh] = skb; in enqueue_mgmt()
153 int nh; in enqueue_mgmt() local154 nh = (ieee->mgmt_queue_head +1) % MGMT_QUEUE_NUM; in enqueue_mgmt()163 ieee->mgmt_queue_head = nh; in enqueue_mgmt()164 ieee->mgmt_queue_ring[nh] = skb; in enqueue_mgmt()
132 int nh; in enqueue_mgmt() local133 nh = (ieee->mgmt_queue_head + 1) % MGMT_QUEUE_NUM; in enqueue_mgmt()142 ieee->mgmt_queue_head = nh; in enqueue_mgmt()143 ieee->mgmt_queue_ring[nh] = skb; in enqueue_mgmt()