/linux-master/include/linux/mtd/ |
H A D | ubi.h | 235 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 D | console.h | 544 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 D | fbcon.c | 3311 static int fbcon_output_notifier(struct notifier_block *nb, argument
|
/linux-master/drivers/video/console/ |
H A D | dummycon.c | 36 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 D | phy.c | 34 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 D | tegra-xudc.c | 825 static int tegra_xudc_vbus_notify(struct notifier_block *nb, argument 828 struct tegra_xudc *xudc = container_of(nb, struct tegra_xudc,
|
H A D | pxa27x_udc.c | 1581 * @nb: notifier block 1589 static int pxa_udc_phy_event(struct notifier_block *nb, unsigned long action, argument
|
H A D | snps_udc_plat.c | 89 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 D | dwc3-qcom.c | 120 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 D | usb.c | 1030 static int usb_bus_notify(struct notifier_block *nb, unsigned long action, argument
|
/linux-master/drivers/tty/vt/ |
H A D | vt.c | 252 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 D | xilinx_uartps.c | 597 * @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 D | sifive.c | 164 #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 D | nvec.c | 101 * @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 D | remoteproc_core.c | 2719 static int rproc_panic_handler(struct notifier_block *nb, unsigned long event, argument
|
H A D | imx_rproc.c | 861 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 D | cros_ec_typec.c | 1185 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 D | core.c | 655 * @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 D | device.c | 64 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 D | ubi.h | 951 struct notifier_block *nb); 952 int ubi_enumerate_volumes(struct notifier_block *nb);
|
H A D | kapi.c | 825 * @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 D | nvmem.c | 138 * @nb: registered notifier block 142 static int nvmem_notify(struct notifier_block *nb, unsigned long l, argument
|
H A D | build.c | 184 * @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 D | block.c | 603 static int ubiblock_notify(struct notifier_block *nb, argument
|
/linux-master/drivers/misc/ |
H A D | hisi_hikey_usb.c | 48 struct notifier_block nb; member in struct:hisi_hikey_usb
|