/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_switchdev.c | 426 struct notifier_block *nb, 476 static int lan966x_netdevice_event(struct notifier_block *nb, argument 482 ret = lan966x_netdevice_port_event(dev, nb, event, ptr); 507 static int lan966x_switchdev_event(struct notifier_block *nb, argument 612 static int lan966x_switchdev_blocking_event(struct notifier_block *nb, argument 425 lan966x_netdevice_port_event(struct net_device *dev, struct notifier_block *nb, unsigned long event, void *ptr) argument
|
/linux-master/drivers/char/agp/ |
H A D | amd64-agp.c | 271 static int fix_northbridge(struct pci_dev *nb, struct pci_dev *agp, u16 cap) argument 278 pci_read_config_dword(nb, AMD64_GARTAPERTURECTL, &nb_order); 280 pci_read_config_dword(nb, AMD64_GARTAPERTUREBASE, &nb_base); 320 gart_set_size_and_enable(nb, order); 321 pci_write_config_dword(nb, AMD64_GARTAPERTUREBASE, aper >> 25);
|
/linux-master/drivers/macintosh/ |
H A D | via-cuda.c | 188 static void cuda_input(unsigned char *buf, int nb); 739 cuda_input(unsigned char *buf, int nb) argument 744 if (nb == 5 && buf[2] == 0x2c) { 753 adb_input(buf+2, nb-2, buf[1] & 0x40); 765 buf, nb, false);
|
/linux-master/arch/x86/kernel/cpu/mce/ |
H A D | inject.c | 294 static int mce_inject_raise(struct notifier_block *nb, unsigned long val, argument 441 struct amd_northbridge *nb; local 446 nb = node_to_amd_nb(nid); 447 if (!nb) 450 F3 = nb->misc;
|
/linux-master/drivers/soc/fsl/dpio/ |
H A D | dpio-service.c | 483 * @nb: number of frames to be enqueud 491 int nb) 503 return qbman_swp_enqueue_multiple(d->swp, &ed, fd, NULL, nb); 513 * @nb: number of frames to be enqueud 521 int nb) 536 for (i = 0; i < nb; i++) { 542 ret = qbman_swp_enqueue_multiple_desc(d->swp, &ed[0], fd, nb); 488 dpaa2_io_service_enqueue_multiple_fq(struct dpaa2_io *d, u32 fqid, const struct dpaa2_fd *fd, int nb) argument 518 dpaa2_io_service_enqueue_multiple_desc_fq(struct dpaa2_io *d, u32 *fqid, const struct dpaa2_fd *fd, int nb) argument
|
/linux-master/drivers/mfd/ |
H A D | rave-sp.c | 211 struct notifier_block *nb = *(struct notifier_block **)res; local 214 WARN_ON(blocking_notifier_chain_unregister(bnh, nb)); 218 struct notifier_block *nb) 229 ret = blocking_notifier_chain_register(&sp->event_notifier_list, nb); 231 *rcnb = nb; 217 devm_rave_sp_register_event_notifier(struct device *dev, struct notifier_block *nb) argument
|
/linux-master/drivers/mtd/ubi/ |
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);
|
/linux-master/fs/ntfs3/ |
H A D | record.c | 133 err = ntfs_read_bh(sbi, run, vbo, &rec->rhdr, bpr, &mi->nb); 162 err = ntfs_read_bh(sbi, run, vbo, &rec->rhdr, bpr, &mi->nb); 388 err = ntfs_write_bh(sbi, &rec->rhdr, &mi->nb, wait); 438 if (!mi->nb.nbufs) { 448 &mi->nb);
|
/linux-master/drivers/usb/gadget/udc/ |
H A D | renesas_usbf.c | 561 unsigned int nb; local 594 nb = left / sizeof(u32); 595 if (nb) { 596 usbf_ep_reg_write_rep(ep0, USBF_REG_EP0_WRITE, buf, nb); 597 buf += (nb * sizeof(u32)); 598 req->req.actual += (nb * sizeof(u32)); 599 left -= (nb * sizeof(u32)); 623 unsigned int nb; local 647 nb = count / sizeof(u32); 648 if (nb) { 740 unsigned int nb; local 980 unsigned int nb; local [all...] |
/linux-master/drivers/thermal/ti-soc-thermal/ |
H A D | ti-bandgap.c | 40 static int bandgap_omap_cpu_notifier(struct notifier_block *nb, 1039 bgp->nb.notifier_call = bandgap_omap_cpu_notifier; 1041 cpu_pm_register_notifier(&bgp->nb); 1078 cpu_pm_unregister_notifier(&bgp->nb); 1188 static int bandgap_omap_cpu_notifier(struct notifier_block *nb, argument 1193 bgp = container_of(nb, struct ti_bandgap, nb);
|
H A D | ti-bandgap.h | 210 struct notifier_block nb; member in struct:ti_bandgap
|
/linux-master/drivers/net/wireless/marvell/libertas/ |
H A D | if_spi.c | 938 u8 type, u8 *buf, u16 nb) 946 if (nb == 0) { 948 __func__, nb); 952 blen = ALIGN(nb, 4); 959 memcpy(packet->buffer, buf, nb); 960 memset(packet->buffer + nb, 0, blen - nb); 937 if_spi_host_to_card(struct lbs_private *priv, u8 type, u8 *buf, u16 nb) argument
|
H A D | dev.h | 106 int (*hw_host_to_card) (struct lbs_private *priv, u8 type, u8 *payload, u16 nb);
|
/linux-master/drivers/net/wan/ |
H A D | fsl_qmc_hdlc.c | 41 struct notifier_block nb; member in struct:qmc_hdlc 78 static int qmc_hdlc_framer_notifier(struct notifier_block *nb, unsigned long action, argument 81 struct qmc_hdlc *qmc_hdlc = container_of(nb, struct qmc_hdlc, nb); 112 qmc_hdlc->nb.notifier_call = qmc_hdlc_framer_notifier; 113 ret = framer_notifier_register(qmc_hdlc->framer, &qmc_hdlc->nb); 131 framer_notifier_unregister(qmc_hdlc->framer, &qmc_hdlc->nb);
|
/linux-master/drivers/xen/xenbus/ |
H A D | xenbus_probe.c | 735 int register_xenstore_notifier(struct notifier_block *nb) argument 740 ret = nb->notifier_call(nb, 0, NULL); 742 blocking_notifier_chain_register(&xenstore_chain, nb); 748 void unregister_xenstore_notifier(struct notifier_block *nb) argument 750 blocking_notifier_chain_unregister(&xenstore_chain, nb); 910 static int xenbus_resume_cb(struct notifier_block *nb, argument
|
/linux-master/drivers/power/supply/ |
H A D | bq2415x_charger.c | 165 struct notifier_block nb; member in struct:bq2415x_device 806 static int bq2415x_notifier_call(struct notifier_block *nb, argument 810 container_of(nb, struct bq2415x_device, nb); 1650 bq->nb.notifier_call = bq2415x_notifier_call; 1651 ret = power_supply_reg_notifier(&bq->nb); 1665 if (bq->nb.notifier_call) { 1713 if (bq->nb.notifier_call) 1714 power_supply_unreg_notifier(&bq->nb);
|
/linux-master/drivers/clk/xilinx/ |
H A D | clk-xlnx-clock-wizard.c | 125 * @nb: Notifier block 136 struct notifier_block nb; member in struct:clk_wzrd 179 #define to_clk_wzrd(_nb) container_of(_nb, struct clk_wzrd, nb) 904 static int clk_wzrd_clk_notifier(struct notifier_block *nb, unsigned long event, argument 909 struct clk_wzrd *clk_wzrd = to_clk_wzrd(nb); 1198 clk_wzrd->nb.notifier_call = clk_wzrd_clk_notifier; 1201 &clk_wzrd->nb); 1206 ret = clk_notifier_register(clk_wzrd->axi_clk, &clk_wzrd->nb); 1237 clk_notifier_unregister(clk_wzrd->axi_clk, &clk_wzrd->nb); 1238 clk_notifier_unregister(clk_wzrd->clk_in1, &clk_wzrd->nb); [all...] |
/linux-master/drivers/char/ |
H A D | random.c | 152 int __cold execute_with_initialized_rng(struct notifier_block *nb) argument 159 nb->notifier_call(nb, 0, NULL); 161 ret = raw_notifier_chain_register((struct raw_notifier_head *)&random_ready_notifier.head, nb); 810 static int random_pm_notification(struct notifier_block *nb, unsigned long action, void *data) argument 980 int __cold register_random_vmfork_notifier(struct notifier_block *nb) argument 982 return blocking_notifier_chain_register(&vmfork_chain, nb); 986 int __cold unregister_random_vmfork_notifier(struct notifier_block *nb) argument 988 return blocking_notifier_chain_unregister(&vmfork_chain, nb);
|
/linux-master/include/linux/mlx5/ |
H A D | driver.h | 292 struct mlx5_nb nb; member in struct:mlx5_cmd 1147 int mlx5_notifier_register(struct mlx5_core_dev *dev, struct notifier_block *nb); 1148 int mlx5_notifier_unregister(struct mlx5_core_dev *dev, struct notifier_block *nb); 1154 int mlx5_eq_notifier_register(struct mlx5_core_dev *dev, struct mlx5_nb *nb); 1155 int mlx5_eq_notifier_unregister(struct mlx5_core_dev *dev, struct mlx5_nb *nb); 1158 int mlx5_blocking_notifier_register(struct mlx5_core_dev *dev, struct notifier_block *nb); 1159 int mlx5_blocking_notifier_unregister(struct mlx5_core_dev *dev, struct notifier_block *nb); 1202 struct notifier_block *nb); 1205 struct notifier_block *nb);
|
/linux-master/drivers/dma/ti/ |
H A D | omap-dma.c | 49 struct notifier_block nb; member in struct:omap_dmadev 1550 static int omap_dma_busy_notifier(struct notifier_block *nb, argument 1555 od = container_of(nb, struct omap_dmadev, nb); 1602 static int omap_dma_context_notifier(struct notifier_block *nb, argument 1607 od = container_of(nb, struct omap_dmadev, nb); 1833 od->nb.notifier_call = omap_dma_busy_notifier; 1834 cpu_pm_register_notifier(&od->nb); 1836 od->nb [all...] |
/linux-master/fs/afs/ |
H A D | addr_prefs.c | 157 u32 mask, na, nb; local 188 nb = ntohl(*pb); 189 diff = (na & mask) - (nb & mask); 190 //kdebug("diff %08x %08x %08x %d", na, nb, mask, diff);
|
/linux-master/drivers/net/ethernet/apple/ |
H A D | bmac.c | 239 bmac_mif_readbits(struct net_device *dev, int nb) argument 243 while (--nb >= 0) { 247 val |= 1 << nb; 259 bmac_mif_writebits(struct net_device *dev, unsigned int val, int nb) argument 263 while (--nb >= 0) { 264 b = (val & (1 << nb))? 6: 4; 676 int i, nb, stat; local 697 nb = RX_BUFLEN - residual - 2; 698 if (nb < (ETHERMINPACKET - ETHERCRC)) { 707 nb [all...] |
/linux-master/include/net/ |
H A D | nexthop.h | 245 int register_nexthop_notifier(struct net *net, struct notifier_block *nb, 247 int __unregister_nexthop_notifier(struct net *net, struct notifier_block *nb); 248 int unregister_nexthop_notifier(struct net *net, struct notifier_block *nb);
|
/linux-master/arch/arm/common/ |
H A D | bL_switcher.c | 384 int bL_switcher_register_notifier(struct notifier_block *nb) argument 386 return blocking_notifier_chain_register(&bL_activation_notifier, nb); 390 int bL_switcher_unregister_notifier(struct notifier_block *nb) argument 392 return blocking_notifier_chain_unregister(&bL_activation_notifier, nb);
|
/linux-master/drivers/firmware/efi/ |
H A D | capsule.c | 298 static int capsule_reboot_notify(struct notifier_block *nb, unsigned long event, void *cmd) argument
|