Searched refs:nb (Results 251 - 275 of 874) sorted by last modified time

<<11121314151617181920>>

/linux-master/include/linux/mtd/
H A Dubi.h235 int ubi_register_volume_notifier(struct notifier_block *nb,
237 int ubi_unregister_volume_notifier(struct notifier_block *nb);
/linux-master/include/linux/
H A Dconsole.h544 void dummycon_register_output_notifier(struct notifier_block *nb);
545 void dummycon_unregister_output_notifier(struct notifier_block *nb);
/linux-master/drivers/video/fbdev/core/
H A Dfbcon.c3311 static int fbcon_output_notifier(struct notifier_block *nb, argument
/linux-master/drivers/video/console/
H A Ddummycon.c36 void dummycon_register_output_notifier(struct notifier_block *nb) argument
40 raw_notifier_chain_register(&dummycon_output_nh, nb);
43 nb->notifier_call(nb, 0, NULL);
46 void dummycon_unregister_output_notifier(struct notifier_block *nb) argument
50 raw_notifier_chain_unregister(&dummycon_output_nh, nb);
/linux-master/drivers/usb/phy/
H A Dphy.c34 struct notifier_block *nb; member in struct:phy_devm
201 * @nb: the notifier block to determine charger type
208 static int usb_phy_get_charger_type(struct notifier_block *nb, argument
211 struct usb_phy *usb_phy = container_of(nb, struct usb_phy, type_nb);
344 if (res->nb)
345 usb_unregister_notifier(res->phy, res->nb);
523 * @nb: a notifier_block to register with the phy.
537 struct notifier_block *nb)
562 if (nb)
563 usb_register_notifier(phy, nb);
535 devm_usb_get_phy_by_node(struct device *dev, struct device_node *node, struct notifier_block *nb) argument
[all...]
/linux-master/drivers/usb/gadget/udc/
H A Dtegra-xudc.c825 static int tegra_xudc_vbus_notify(struct notifier_block *nb, argument
828 struct tegra_xudc *xudc = container_of(nb, struct tegra_xudc,
H A Dpxa27x_udc.c1581 * @nb: notifier block
1589 static int pxa_udc_phy_event(struct notifier_block *nb, unsigned long action, argument
H A Dsnps_udc_plat.c89 struct udc *udc = container_of(self, struct udc, nb);
169 udc->nb.notifier_call = usbd_connect_notify;
171 &udc->nb);
217 extcon_unregister_notifier(udc->edev, EXTCON_USB, &udc->nb);
246 extcon_unregister_notifier(dev->edev, EXTCON_USB, &dev->nb);
/linux-master/drivers/usb/dwc3/
H A Ddwc3-qcom.c120 static int dwc3_qcom_vbus_notifier(struct notifier_block *nb, argument
123 struct dwc3_qcom *qcom = container_of(nb, struct dwc3_qcom, vbus_nb);
132 static int dwc3_qcom_host_notifier(struct notifier_block *nb, argument
135 struct dwc3_qcom *qcom = container_of(nb, struct dwc3_qcom, host_nb);
/linux-master/drivers/usb/core/
H A Dusb.c1030 static int usb_bus_notify(struct notifier_block *nb, unsigned long action, argument
/linux-master/drivers/tty/vt/
H A Dvt.c252 int register_vt_notifier(struct notifier_block *nb) argument
254 return atomic_notifier_chain_register(&vt_notifier_list, nb);
258 int unregister_vt_notifier(struct notifier_block *nb) argument
260 return atomic_notifier_chain_unregister(&vt_notifier_list, nb);
/linux-master/drivers/tty/serial/
H A Dxilinx_uartps.c597 * @nb: Notifier block
602 static int cdns_uart_clk_notifier_cb(struct notifier_block *nb, argument
609 struct cdns_uart *cdns_uart = to_cdns_uart(nb);
H A Dsifive.c164 #define notifier_to_sifive_serial_port(nb) (container_of((nb), \
582 * @nb: pointer to the struct notifier_block, from the notifier code
593 static int sifive_serial_clk_notifier(struct notifier_block *nb, argument
597 struct sifive_serial_port *ssp = notifier_to_sifive_serial_port(nb);
/linux-master/drivers/staging/nvec/
H A Dnvec.c101 * @nb: The notifier block to register
108 int nvec_register_notifier(struct nvec_chip *nvec, struct notifier_block *nb, argument
111 return atomic_notifier_chain_register(&nvec->notifier_list, nb);
118 * @nb: The notifier block to unregister
123 int nvec_unregister_notifier(struct nvec_chip *nvec, struct notifier_block *nb) argument
125 return atomic_notifier_chain_unregister(&nvec->notifier_list, nb);
135 static int nvec_status_notifier(struct notifier_block *nb, argument
138 struct nvec_chip *nvec = container_of(nb, struct nvec_chip,
/linux-master/drivers/remoteproc/
H A Dremoteproc_core.c2719 static int rproc_panic_handler(struct notifier_block *nb, unsigned long event, argument
H A Dimx_rproc.c861 static int imx_rproc_partition_notify(struct notifier_block *nb, argument
864 struct imx_rproc *priv = container_of(nb, struct imx_rproc, rproc_nb);
/linux-master/drivers/platform/chrome/
H A Dcros_ec_typec.c1185 static int cros_ec_typec_event(struct notifier_block *nb, argument
1188 struct cros_typec_data *typec = container_of(nb, struct cros_typec_data, nb);
1276 typec->nb.notifier_call = cros_ec_typec_event;
1277 ret = cros_usbpd_register_notify(&typec->nb);
/linux-master/drivers/nvmem/
H A Dcore.c655 * @nb: notifier block to be called on nvmem events.
659 int nvmem_register_notifier(struct notifier_block *nb) argument
661 return blocking_notifier_chain_register(&nvmem_notifier, nb);
668 * @nb: notifier block to be unregistered.
672 int nvmem_unregister_notifier(struct notifier_block *nb) argument
674 return blocking_notifier_chain_unregister(&nvmem_notifier, nb);
/linux-master/drivers/net/wireguard/
H A Ddevice.c64 static int wg_pm_notification(struct notifier_block *nb, unsigned long action, void *data) argument
97 static int wg_vm_notification(struct notifier_block *nb, unsigned long action, void *data) argument
/linux-master/drivers/mtd/ubi/
H A Dubi.h951 struct notifier_block *nb);
952 int ubi_enumerate_volumes(struct notifier_block *nb);
H A Dkapi.c825 * @nb: the notifier description object
830 * 'nb->notifier_call()' will be invoked when an UBI volume is created,
839 int ubi_register_volume_notifier(struct notifier_block *nb, argument
844 err = blocking_notifier_chain_register(&ubi_notifiers, nb);
857 ubi_enumerate_volumes(nb);
866 * @nb: the notifier description object
871 int ubi_unregister_volume_notifier(struct notifier_block *nb) argument
873 return blocking_notifier_chain_unregister(&ubi_notifiers, nb);
H A Dnvmem.c138 * @nb: registered notifier block
142 static int nvmem_notify(struct notifier_block *nb, unsigned long l, argument
H A Dbuild.c184 * @nb: the notifier to call
187 * notification for each volume. If @nb is %NULL, then all registered notifiers
188 * are called, otherwise only the @nb notifier is called. Returns the number of
191 int ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) argument
209 if (nb)
210 nb->notifier_call(nb, ntype, &nt);
223 * @nb: the notifier to call
226 * %UBI_VOLUME_ADDED notification for each volume. If @nb is %NULL, then all
227 * registered notifiers are called, otherwise only the @nb notifie
230 ubi_enumerate_volumes(struct notifier_block *nb) argument
[all...]
H A Dblock.c603 static int ubiblock_notify(struct notifier_block *nb, argument
/linux-master/drivers/misc/
H A Dhisi_hikey_usb.c48 struct notifier_block nb; member in struct:hisi_hikey_usb

Completed in 363 milliseconds

<<11121314151617181920>>