/linux-master/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_ring.c | 54 size_t i, nb; local 90 nb = 3 * bytes_per_datum; 91 if (fifo_count >= st->hw->fifo_size - nb) { 97 nb = fifo_count / bytes_per_datum; 98 fifo_count = nb * bytes_per_datum; 99 if (nb == 0) 103 inv_sensors_timestamp_interrupt(&st->timestamp, nb, pf->timestamp); 104 inv_sensors_timestamp_apply_odr(&st->timestamp, fifo_period, nb, 0); 113 for (i = 0; i < nb; ++i) {
|
/linux-master/arch/x86/include/asm/ |
H A D | iosf_mbi.h | 166 * @nb: notifier_block to register 168 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb); 173 * @nb: notifier_block to unregister 175 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb); 184 * @nb: notifier_block to unregister 187 struct notifier_block *nb); 226 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb) argument 232 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb) argument 238 iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(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/lib/ |
H A D | netdev-notifier-error-inject.c | 38 err = register_netdevice_notifier(&netdev_notifier_err_inject.nb); 47 unregister_netdevice_notifier(&netdev_notifier_err_inject.nb);
|
H A D | pm-notifier-error-inject.c | 32 err = register_pm_notifier(&pm_notifier_err_inject.nb); 41 unregister_pm_notifier(&pm_notifier_err_inject.nb);
|
H A D | of-reconfig-notifier-error-inject.c | 34 err = of_reconfig_notifier_register(&reconfig_err_inject.nb); 43 of_reconfig_notifier_unregister(&reconfig_err_inject.nb);
|
H A D | notifier-error-inject.h | 16 struct notifier_block nb; member in struct:notifier_err_inject
|
/linux-master/arch/x86/mm/ |
H A D | amdtopology.c | 61 int i, j, nb; local 66 nb = find_northbridge(); 67 if (nb < 0) 68 return nb; 70 pr_info("Scanning NUMA topology in Northbridge %d\n", nb); 72 reg = read_pci_config(0, nb, 0, 0x60); 83 base = read_pci_config(0, nb, 1, 0x40 + i*8); 84 limit = read_pci_config(0, nb, 1, 0x44 + i*8);
|
/linux-master/arch/s390/include/asm/ |
H A D | chsc.h | 81 int chsc_notifier_register(struct notifier_block *nb); 82 int chsc_notifier_unregister(struct notifier_block *nb);
|
/linux-master/include/linux/pds/ |
H A D | pds_common.h | 49 int pdsc_register_notify(struct notifier_block *nb); 50 void pdsc_unregister_notify(struct notifier_block *nb);
|
/linux-master/kernel/ |
H A D | cpu_pm.c | 54 * @nb: notifier block to register 61 int cpu_pm_register_notifier(struct notifier_block *nb) argument 67 ret = raw_notifier_chain_register(&cpu_pm_notifier.chain, nb); 75 * @nb: notifier block to be unregistered 81 int cpu_pm_unregister_notifier(struct notifier_block *nb) argument 87 ret = raw_notifier_chain_unregister(&cpu_pm_notifier.chain, nb);
|
H A D | notifier.c | 78 struct notifier_block *nb, *next_nb; local 80 nb = rcu_dereference_raw(*nl); 82 while (nb && nr_to_call) { 83 next_nb = rcu_dereference_raw(nb->next); 86 if (unlikely(!func_ptr_is_kernel_text(nb->notifier_call))) { 88 nb = next_nb; 92 trace_notifier_run((void *)nb->notifier_call); 93 ret = nb->notifier_call(nb, val, v); 100 nb 600 register_die_notifier(struct notifier_block *nb) argument 606 unregister_die_notifier(struct notifier_block *nb) argument [all...] |
/linux-master/include/acpi/ |
H A D | ghes.h | 62 * @nb: pointer to the notifier_block structure of the event handler. 66 int ghes_register_vendor_record_notifier(struct notifier_block *nb); 71 * @nb: pointer to the notifier_block structure of the vendor record handler. 73 void ghes_unregister_vendor_record_notifier(struct notifier_block *nb); 134 extern void ghes_register_report_chain(struct notifier_block *nb); 135 extern void ghes_unregister_report_chain(struct notifier_block *nb);
|
/linux-master/include/linux/ |
H A D | memory.h | 137 static inline int register_memory_notifier(struct notifier_block *nb) argument 141 static inline void unregister_memory_notifier(struct notifier_block *nb) argument 153 extern int register_memory_notifier(struct notifier_block *nb); 154 extern void unregister_memory_notifier(struct notifier_block *nb);
|
H A D | memory-tiers.h | 45 int register_mt_adistance_algorithm(struct notifier_block *nb); 46 int unregister_mt_adistance_algorithm(struct notifier_block *nb); 117 static inline int register_mt_adistance_algorithm(struct notifier_block *nb) argument 122 static inline int unregister_mt_adistance_algorithm(struct notifier_block *nb) argument
|
H A D | devfreq.h | 98 * has registered devfreq->nb at a notifier-head, 148 * @nb: notifier block used to notify devfreq object that it should 150 * devfreq.nb to the corresponding register notifier call chain. 188 struct notifier_block nb; member in struct:devfreq 261 struct notifier_block *nb, 264 struct notifier_block *nb, 268 struct notifier_block *nb, 272 struct notifier_block *nb, 315 * @nb: the notifier block for DEVFREQ_TRANSITION_NOTIFIER or 321 * initialize the 'this' and 'nb' fiel 336 struct notifier_block nb; member in struct:devfreq_passive_data 409 devfreq_register_notifier(struct devfreq *devfreq, struct notifier_block *nb, unsigned int list) argument 416 devfreq_unregister_notifier(struct devfreq *devfreq, struct notifier_block *nb, unsigned int list) argument 423 devm_devfreq_register_notifier(struct device *dev, struct devfreq *devfreq, struct notifier_block *nb, unsigned int list) argument 431 devm_devfreq_unregister_notifier(struct device *dev, struct devfreq *devfreq, struct notifier_block *nb, unsigned int list) argument [all...] |
/linux-master/drivers/thermal/ |
H A D | thermal_netlink.h | 34 int thermal_genl_register_notifier(struct notifier_block *nb); 35 int thermal_genl_unregister_notifier(struct notifier_block *nb); 67 static inline int thermal_genl_register_notifier(struct notifier_block *nb) argument 72 static inline int thermal_genl_unregister_notifier(struct notifier_block *nb) argument
|
/linux-master/fs/jfs/ |
H A D | jfs_extent.c | 19 static s64 extRoundDown(s64 nb); 303 s64 nb, nblks, daddr, max; local 321 nb = nblks = (max > nbperpage) ? max : nbperpage; 323 nb = nblks = *nblocks; 326 while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) { 334 nb = min(nblks, extRoundDown(nb)); 337 if (nb < nbperpage) 341 *nblocks = nb; 368 * nb 373 extRoundDown(s64 nb) argument [all...] |
/linux-master/drivers/platform/chrome/ |
H A D | cros_usbpd_notify.c | 24 struct notifier_block nb; member in struct:cros_usbpd_notify_data 29 * @nb: Notifier block pointer to register 37 int cros_usbpd_register_notify(struct notifier_block *nb) argument 40 nb); 46 * @nb: Notifier block pointer to unregister 51 void cros_usbpd_unregister_notify(struct notifier_block *nb) argument 53 blocking_notifier_chain_unregister(&cros_usbpd_notifier_list, nb); 164 static int cros_usbpd_notify_plat(struct notifier_block *nb, argument 168 struct cros_usbpd_notify_data *pdnotify = container_of(nb, 169 struct cros_usbpd_notify_data, nb); [all...] |
/linux-master/drivers/rpmsg/ |
H A D | qcom_glink_ssr.c | 52 struct notifier_block nb; member in struct:glink_ssr 98 static int qcom_glink_ssr_notifier_call(struct notifier_block *nb, argument 102 struct glink_ssr *ssr = container_of(nb, struct glink_ssr, nb); 139 ssr->nb.notifier_call = qcom_glink_ssr_notifier_call; 143 return blocking_notifier_chain_register(&ssr_notifiers, &ssr->nb); 150 blocking_notifier_chain_unregister(&ssr_notifiers, &ssr->nb);
|
/linux-master/drivers/devfreq/ |
H A D | governor_passive.c | 201 static int cpufreq_passive_notifier_call(struct notifier_block *nb, argument 205 container_of(nb, struct devfreq_passive_data, nb); 240 if (p_data->nb.notifier_call) { 241 ret = cpufreq_unregister_notifier(&p_data->nb, 267 p_data->nb.notifier_call = cpufreq_passive_notifier_call; 268 ret = cpufreq_register_notifier(&p_data->nb, CPUFREQ_TRANSITION_NOTIFIER); 271 p_data->nb.notifier_call = NULL; 337 static int devfreq_passive_notifier_call(struct notifier_block *nb, argument 341 = container_of(nb, struc 374 struct notifier_block *nb = &p_data->nb; local 384 struct notifier_block *nb = &p_data->nb; local [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_fsops.c | 48 xfs_rfsblock_t nb = mp->m_sb.sb_dblocks + delta; local 59 id->agsize = nb - (id->agno * 94 xfs_rfsblock_t nb, nb_div, nb_mod; local 102 nb = in->newblocks; 103 error = xfs_sb_validate_fsb_count(&mp->m_sb, nb); 107 if (nb > mp->m_sb.sb_dblocks) { 109 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), 116 nb_div = nb; 121 nb = nb_div * mp->m_sb.sb_agblocks; 125 nb 243 xfs_extlen_t nb; local [all...] |
/linux-master/drivers/acpi/ |
H A D | event.c | 40 int register_acpi_notifier(struct notifier_block *nb) argument 42 return blocking_notifier_chain_register(&acpi_chain_head, nb); 46 int unregister_acpi_notifier(struct notifier_block *nb) argument 48 return blocking_notifier_chain_unregister(&acpi_chain_head, nb);
|
/linux-master/net/x25/ |
H A D | x25_forward.c | 94 struct x25_neigh *nb; local 112 if ( (nb = x25_get_neigh(peer)) == NULL) 119 x25_transmit_link(skbn, nb); 123 x25_neigh_put(nb);
|
/linux-master/drivers/clk/renesas/ |
H A D | rcar-cpg-lib.h | 19 struct notifier_block nb; member in struct:cpg_simple_notifier
|