/linux-master/drivers/iio/adc/ |
H A D | rockchip_saradc.c | 81 struct notifier_block nb; member in struct:rockchip_saradc 395 static int rockchip_saradc_volt_notify(struct notifier_block *nb, argument 399 container_of(nb, struct rockchip_saradc, nb); 411 regulator_unregister_notifier(info->vref, &info->nb); 531 info->nb.notifier_call = rockchip_saradc_volt_notify; 532 ret = regulator_register_notifier(info->vref, &info->nb);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fw_reset.c | 20 struct mlx5_nb nb; member in struct:mlx5_fw_reset 655 static int fw_reset_event_notifier(struct notifier_block *nb, unsigned long action, void *data) argument 657 struct mlx5_fw_reset *fw_reset = mlx5_nb_cof(nb, struct mlx5_fw_reset, nb); 710 MLX5_NB_INIT(&fw_reset->nb, fw_reset_event_notifier, GENERAL_EVENT); 711 mlx5_eq_notifier_register(dev, &fw_reset->nb); 721 mlx5_eq_notifier_unregister(dev, &fw_reset->nb);
|
/linux-master/fs/jfs/ |
H A D | xattr.c | 211 s32 nbytes, nb; local 251 nb = min(PSIZE, nbytes); 253 ((((nb + sb->s_blocksize - 1)) >> sb->s_blocksize_bits)) 261 memcpy(mp->data, cp, nb); 284 nbytes -= nb; 360 int nbytes, nb; local 391 nb = min(PSIZE, nbytes); 393 ((((nb + sb->s_blocksize - 1)) >> sb->s_blocksize_bits)) 399 memcpy(cp, mp->data, nb); 403 nbytes -= nb; [all...] |
/linux-master/drivers/pmdomain/imx/ |
H A D | imx8m-blk-ctrl.c | 414 static int imx8mm_vpu_power_notifier(struct notifier_block *nb, argument 417 struct imx8m_blk_ctrl *bc = container_of(nb, struct imx8m_blk_ctrl, 524 static int imx8mm_disp_power_notifier(struct notifier_block *nb, argument 527 struct imx8m_blk_ctrl *bc = container_of(nb, struct imx8m_blk_ctrl, 594 static int imx8mn_disp_power_notifier(struct notifier_block *nb, argument 597 struct imx8m_blk_ctrl *bc = container_of(nb, struct imx8m_blk_ctrl, 668 static int imx8mp_media_power_notifier(struct notifier_block *nb, argument 671 struct imx8m_blk_ctrl *bc = container_of(nb, struct imx8m_blk_ctrl, 803 static int imx8mq_vpu_power_notifier(struct notifier_block *nb, argument 806 struct imx8m_blk_ctrl *bc = container_of(nb, struc [all...] |
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_hv.c | 1721 unsigned long i, nb, nw; local 1741 nb = 0; 1742 while (nb + sizeof(hdr) + HPTE_SIZE < count) { 1747 nw = nb; 1748 nb += sizeof(hdr); 1765 nb + HPTE_SIZE < count && 1772 nb += HPTE_SIZE; 1793 nw = nb; 1796 nb = nw; 1809 return nb; 1823 ssize_t nb; local [all...] |
/linux-master/drivers/ssb/ |
H A D | driver_chipcommon.c | 295 u32 nb; local 299 nb = 16; 301 nb = (cc->dev->id.revision >= 37) ? 32 : 24; 303 nb = 28; 305 if (nb == 32) 308 return (1 << nb) - 1;
|
/linux-master/drivers/isdn/capi/ |
H A D | capiutil.c | 399 u_char *nb; local 403 nb = kmalloc(ns, GFP_ATOMIC); 404 if (!nb) { 408 memcpy(nb, cdb->buf, cdb->pos); 410 nb[cdb->pos] = 0; 411 cdb->buf = nb;
|
/linux-master/drivers/macintosh/ |
H A D | windfarm_fcu_controls.c | 87 unsigned char *buf, int nb) 109 nr = i2c_master_recv(pv->i2c, buf, nb); 123 const unsigned char *ptr, int nb) 129 memcpy(buf+1, ptr, nb); 130 ++nb; 133 nw = i2c_master_send(pv->i2c, buf, nb); 86 wf_fcu_read_reg(struct wf_fcu_priv *pv, int reg, unsigned char *buf, int nb) argument 122 wf_fcu_write_reg(struct wf_fcu_priv *pv, int reg, const unsigned char *ptr, int nb) argument
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_offload.c | 477 static int mlx5e_ipsec_event(struct notifier_block *nb, unsigned long event, argument 480 struct mlx5e_ipsec *ipsec = container_of(nb, struct mlx5e_ipsec, nb); 539 ipsec->nb.notifier_call = mlx5e_ipsec_event; 540 mlx5_notifier_register(mdev, &ipsec->nb); 562 mlx5_notifier_unregister(mdev, &ipsec->nb);
|
/linux-master/drivers/iio/frequency/ |
H A D | admv1014.c | 122 struct notifier_block nb; member in struct:admv1014_state 491 static int admv1014_freq_change(struct notifier_block *nb, unsigned long action, void *data) argument 493 struct admv1014_state *st = container_of(nb, struct admv1014_state, nb); 633 st->nb.notifier_call = admv1014_freq_change; 634 ret = devm_clk_notifier_register(&spi->dev, st->clkin, &st->nb);
|
H A D | admv1013.c | 98 struct notifier_block nb; member in struct:admv1013_state 384 static int admv1013_freq_change(struct notifier_block *nb, unsigned long action, void *data) argument 386 struct admv1013_state *st = container_of(nb, struct admv1013_state, nb); 596 st->nb.notifier_call = admv1013_freq_change; 597 ret = devm_clk_notifier_register(&spi->dev, st->clkin, &st->nb);
|
/linux-master/drivers/hsi/ |
H A D | hsi_core.c | 644 static int hsi_event_notifier_call(struct notifier_block *nb, argument 647 struct hsi_client *cl = container_of(nb, struct hsi_client, nb); 676 cl->nb.notifier_call = hsi_event_notifier_call; 678 return blocking_notifier_chain_register(&port->n_head, &cl->nb); 698 err = blocking_notifier_chain_unregister(&port->n_head, &cl->nb);
|
/linux-master/drivers/gpio/ |
H A D | gpio-eic-sprd.c | 104 static struct sprd_eic *to_sprd_eic(struct notifier_block *nb) argument 106 return container_of(nb, struct sprd_eic, irq_nb); 583 static int sprd_eic_irq_notify(struct notifier_block *nb, unsigned long action, argument 586 struct sprd_eic *sprd_eic = to_sprd_eic(nb); 605 struct notifier_block *nb = data; local 607 atomic_notifier_chain_unregister(&sprd_eic_irq_notifier, nb);
|
/linux-master/fs/xfs/scrub/ |
H A D | quotacheck.c | 208 struct notifier_block *nb, 218 xqc = container_of(nb, struct xqcheck, qhook.mod_hook.nb); 314 struct notifier_block *nb, 325 xqc = container_of(nb, struct xqcheck, qhook.apply_hook.nb); 207 xqcheck_mod_live_ino_dqtrx( struct notifier_block *nb, unsigned long action, void *data) argument 313 xqcheck_apply_live_dqtrx( struct notifier_block *nb, unsigned long action, void *data) argument
|
/linux-master/drivers/pwm/ |
H A D | pwm-stm32.c | 566 int nb, ret, array_size; local 569 nb = of_property_count_elems_of_size(np, "st,breakinput", 576 if (nb <= 0) 579 if (nb > MAX_BREAKINPUT) 582 priv->num_breakinputs = nb; 583 array_size = nb * sizeof(struct stm32_breakinput) / sizeof(u32);
|
/linux-master/arch/x86/lib/ |
H A D | insn.c | 129 int i, nb; local 136 nb = 0; 142 for (i = 0; i < nb; i++) 145 if (nb == 4) 148 prefixes->bytes[nb++] = b; 171 for (i = 0; i < nb; i++)
|
/linux-master/tools/arch/x86/lib/ |
H A D | insn.c | 129 int i, nb; local 136 nb = 0; 142 for (i = 0; i < nb; i++) 145 if (nb == 4) 148 prefixes->bytes[nb++] = b; 171 for (i = 0; i < nb; i++)
|
/linux-master/drivers/phy/ |
H A D | phy-lgm-usb.c | 172 static int id_notifier(struct notifier_block *nb, unsigned long event, void *ptr) argument 174 struct tca_apb *ta = container_of(nb, struct tca_apb, phy.id_nb); 182 static int vbus_notifier(struct notifier_block *nb, unsigned long evnt, void *ptr) argument
|
/linux-master/drivers/power/supply/ |
H A D | rt9455_charger.c | 241 struct notifier_block nb; member in struct:rt9455_info 1401 static int rt9455_usb_event(struct notifier_block *nb, argument 1404 struct rt9455_info *info = container_of(nb, struct rt9455_info, nb); 1642 info->nb.notifier_call = rt9455_usb_event; 1643 ret = usb_register_notifier(info->usb_phy, &info->nb); 1650 info->nb.notifier_call = NULL; 1693 if (info->nb.notifier_call) { 1694 usb_unregister_notifier(info->usb_phy, &info->nb); 1695 info->nb [all...] |
/linux-master/include/linux/ |
H A D | pm_domain.h | 234 struct notifier_block nb; member in struct:generic_pm_domain_data 265 int dev_pm_genpd_add_notifier(struct device *dev, struct notifier_block *nb); 323 struct notifier_block *nb) 322 dev_pm_genpd_add_notifier(struct device *dev, struct notifier_block *nb) argument
|
/linux-master/fs/ntfs3/ |
H A D | ntfs_fs.h | 329 struct ntfs_buffers nb; member in struct:mft_inode 404 struct ntfs_buffers nb; member in struct:indx_node 626 u64 vbo, void *buf, u32 bytes, struct ntfs_buffers *nb); 629 struct ntfs_buffers *nb); 631 u32 bytes, struct ntfs_buffers *nb); 633 struct ntfs_buffers *nb, int sync); 1092 static inline void nb_put(struct ntfs_buffers *nb) argument 1094 u32 i, nbufs = nb->nbufs; 1100 put_bh(nb->bh[i]); 1101 nb [all...] |
/linux-master/arch/mips/include/asm/ |
H A D | cpu-info.h | 133 extern int register_proc_cpuinfo_notifier(struct notifier_block *nb);
|
/linux-master/sound/soc/codecs/ |
H A D | madera.h | 440 struct notifier_block *nb) 445 return blocking_notifier_chain_register(&madera->notifier, nb); 450 struct notifier_block *nb) 455 return blocking_notifier_chain_unregister(&madera->notifier, nb); 439 madera_register_notifier(struct snd_soc_component *component, struct notifier_block *nb) argument 449 madera_unregister_notifier(struct snd_soc_component *component, struct notifier_block *nb) argument
|
/linux-master/arch/mips/kernel/ |
H A D | time.c | 36 static int cpufreq_callback(struct notifier_block *nb, argument
|
/linux-master/include/net/netfilter/ |
H A D | nf_conntrack_ecache.h | 69 const struct nf_ct_event_notifier *nb);
|