/linux-master/drivers/video/fbdev/omap/ |
H A D | omapfb.h | 132 struct notifier_block nb; member in struct:omapfb_notifier_block 149 void (*bind_client) (struct omapfb_notifier_block *nb); 226 extern int omapfb_register_client(struct omapfb_notifier_block *nb, 229 extern int omapfb_unregister_client(struct omapfb_notifier_block *nb);
|
/linux-master/drivers/soc/sunxi/ |
H A D | sunxi_mbus.c | 60 static int sunxi_mbus_notifier(struct notifier_block *nb, argument
|
/linux-master/net/bridge/ |
H A D | br_switchdev.c | 300 br_switchdev_fdb_replay_one(struct net_bridge *br, struct notifier_block *nb, argument 309 err = nb->notifier_call(nb, action, &item); 315 bool adding, struct notifier_block *nb) 322 if (!nb) 338 err = br_switchdev_fdb_replay_one(br, nb, fdb, action, ctx); 350 struct notifier_block *nb, 379 err = nb->notifier_call(nb, SWITCHDEV_PORT_ATTR_SET, 391 br_switchdev_vlan_replay_one(struct notifier_block *nb, argument 314 br_switchdev_fdb_replay(const struct net_device *br_dev, const void *ctx, bool adding, struct notifier_block *nb) argument 348 br_switchdev_vlan_attr_replay(struct net_device *br_dev, const void *ctx, struct notifier_block *nb, struct netlink_ext_ack *extack) argument 411 br_switchdev_vlan_replay_group(struct notifier_block *nb, struct net_device *dev, struct net_bridge_vlan_group *vg, const void *ctx, unsigned long action, struct netlink_ext_ack *extack) argument 446 br_switchdev_vlan_replay(struct net_device *br_dev, const void *ctx, bool adding, struct notifier_block *nb, struct netlink_ext_ack *extack) argument 578 br_switchdev_mdb_replay_one(struct notifier_block *nb, struct net_device *dev, const struct switchdev_obj_port_mdb *mdb, unsigned long action, const void *ctx, struct netlink_ext_ack *extack) argument 674 br_switchdev_mdb_replay(struct net_device *br_dev, struct net_device *dev, const void *ctx, bool adding, struct notifier_block *nb, struct netlink_ext_ack *extack) argument [all...] |
/linux-master/drivers/leds/trigger/ |
H A D | ledtrig-panic.c | 35 static int led_trigger_panic_notifier(struct notifier_block *nb, argument
|
/linux-master/drivers/vdpa/pds/ |
H A D | vdpa_dev.h | 44 struct notifier_block nb; member in struct:pds_vdpa_device
|
/linux-master/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600_buffer.c | 458 st->fifo.nb.gyro = 0; 459 st->fifo.nb.accel = 0; 460 st->fifo.nb.total = 0; 495 st->fifo.nb.gyro++; 497 st->fifo.nb.accel++; 498 st->fifo.nb.total++; 511 if (st->fifo.nb.total == 0) 515 if (st->fifo.nb.gyro > 0) { 517 inv_sensors_timestamp_interrupt(ts, st->fifo.nb.gyro, 525 if (st->fifo.nb [all...] |
/linux-master/drivers/regulator/ |
H A D | devres.c | 618 struct notifier_block *nb; member in struct:regulator_notifier_match 627 return match->regulator == target->regulator && match->nb == target->nb; 634 regulator_unregister_notifier(match->regulator, match->nb); 642 * @nb: notifier block 648 struct notifier_block *nb) 660 match->nb = nb; 662 ret = regulator_register_notifier(regulator, nb); 679 * @nb 647 devm_regulator_register_notifier(struct regulator *regulator, struct notifier_block *nb) argument 685 devm_regulator_unregister_notifier(struct regulator *regulator, struct notifier_block *nb) argument [all...] |
/linux-master/drivers/staging/nvec/ |
H A D | nvec.h | 172 struct notifier_block *nb, 175 int nvec_unregister_notifier(struct nvec_chip *dev, struct notifier_block *nb);
|
/linux-master/include/linux/ |
H A D | mroute_base.h | 51 static inline int mr_call_vif_notifier(struct notifier_block *nb, argument 70 return call_fib_notifier(nb, event_type, &info.info); 179 static inline int mr_call_mfc_notifier(struct notifier_block *nb, argument 194 return call_fib_notifier(nb, event_type, &info.info); 305 int mr_dump(struct net *net, struct notifier_block *nb, unsigned short family, 307 struct notifier_block *nb, 359 static inline int mr_dump(struct net *net, struct notifier_block *nb, argument 362 struct notifier_block *nb,
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | mlx5_irq.h | 35 int mlx5_irq_attach_nb(struct mlx5_irq *irq, struct notifier_block *nb); 36 int mlx5_irq_detach_nb(struct mlx5_irq *irq, struct notifier_block *nb);
|
/linux-master/drivers/net/ipa/ |
H A D | ipa_modem.c | 439 static int ipa_modem_notify(struct notifier_block *nb, unsigned long action, argument 442 struct ipa *ipa = container_of(nb, struct ipa, nb); 480 ipa->nb.notifier_call = ipa_modem_notify; 482 notifier = qcom_register_ssr_notifier("mpss", &ipa->nb); 496 ret = qcom_unregister_ssr_notifier(ipa->notifier, &ipa->nb); 501 memset(&ipa->nb, 0, sizeof(ipa->nb));
|
/linux-master/include/linux/usb/ |
H A D | phy.h | 224 struct device_node *node, struct notifier_block *nb); 253 struct device_node *node, struct notifier_block *nb) 339 usb_register_notifier(struct usb_phy *x, struct notifier_block *nb) argument 341 return atomic_notifier_chain_register(&x->notifier, nb); 345 usb_unregister_notifier(struct usb_phy *x, struct notifier_block *nb) argument 347 atomic_notifier_chain_unregister(&x->notifier, nb); 252 devm_usb_get_phy_by_node(struct device *dev, struct device_node *node, struct notifier_block *nb) argument
|
/linux-master/drivers/platform/x86/ |
H A D | lenovo-yoga-tab2-pro-1380-fastcharger.c | 44 struct notifier_block nb; member in struct:yt2_1380_fc 127 static int yt2_1380_fc_extcon_evt(struct notifier_block *nb, argument 130 struct yt2_1380_fc *fc = container_of(nb, struct yt2_1380_fc, nb); 162 fc->nb.notifier_call = yt2_1380_fc_extcon_evt; 211 ret = devm_extcon_register_notifier_all(dev, fc->extcon, &fc->nb);
|
/linux-master/fs/jfs/ |
H A D | jfs_dmap.c | 96 static int blkstol2(s64 nb); 359 int nb, rc; local 388 for (rem = nblocks; rem > 0; rem -= nb, blkno += nb) { 406 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); 409 if ((rc = dbFreeDmap(bmp, dp, blkno, nb))) { 1085 int dbitno, word, rembits, nb, nwords, wbitno, nw; local 1130 for (rembits = nblocks; rembits > 0; rembits -= nb, dbitno += nb) { 1135 nb 1805 int rc, nb; local 2140 int dbitno, word, rembits, nb, nwords, wbitno, nw, agno; local 2287 int dbitno, word, rembits, nb, nwords, wbitno, nw, agno; local 3007 int bitno, nb; local 3135 blkstol2(s64 nb) argument 3187 int nb, rc; local 3242 int dbitno, word, rembits, nb, nwords, wbitno, agno; local 3724 int blkno, w, b, r, nw, nb, i; local [all...] |
/linux-master/arch/powerpc/lib/ |
H A D | sstep.c | 106 unsigned long ea, int nb) 110 if (access_ok((void __user *)ea, nb)) 260 static nokprobe_inline void do_byte_reverse(void *ptr, int nb) argument 262 switch (nb) { 301 __read_mem_aligned(unsigned long *dest, unsigned long ea, int nb, struct pt_regs *regs) argument 305 switch (nb) { 330 read_mem_aligned(unsigned long *dest, unsigned long ea, int nb, struct pt_regs *regs) argument 335 return __read_mem_aligned(dest, ea, nb, regs); 337 if (user_read_access_begin((void __user *)ea, nb)) { 338 err = __read_mem_aligned(dest, ea, nb, reg 105 address_ok(struct pt_regs *regs, unsigned long ea, int nb) argument 352 __copy_mem_in(u8 *dest, unsigned long ea, int nb, struct pt_regs *regs) argument 386 copy_mem_in(u8 *dest, unsigned long ea, int nb, struct pt_regs *regs) argument 404 read_mem_unaligned(unsigned long *dest, unsigned long ea, int nb, struct pt_regs *regs) argument 428 read_mem(unsigned long *dest, unsigned long ea, int nb, struct pt_regs *regs) argument 440 __write_mem_aligned(unsigned long val, unsigned long ea, int nb, struct pt_regs *regs) argument 466 write_mem_aligned(unsigned long val, unsigned long ea, int nb, struct pt_regs *regs) argument 488 __copy_mem_out(u8 *dest, unsigned long ea, int nb, struct pt_regs *regs) argument 522 copy_mem_out(u8 *dest, unsigned long ea, int nb, struct pt_regs *regs) argument 540 write_mem_unaligned(unsigned long val, unsigned long ea, int nb, struct pt_regs *regs) argument 559 write_mem(unsigned long val, unsigned long ea, int nb, struct pt_regs *regs) argument 578 int err, rn, nb; local 631 int rn, nb; local 2562 int nb; local 2611 int nb; local 3327 int i, rd, nb; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | bond.c | 14 struct notifier_block nb; member in struct:mlx5e_rep_bond 275 static int mlx5e_rep_esw_bond_netevent(struct notifier_block *nb, argument 286 bond = container_of(nb, struct mlx5e_rep_bond, nb); 325 uplink_priv->bond->nb.notifier_call = mlx5e_rep_esw_bond_netevent; 327 &uplink_priv->bond->nb, 348 &rpriv->uplink_priv.bond->nb,
|
H A D | bridge.c | 132 static int mlx5_esw_bridge_port_changeupper(struct notifier_block *nb, void *ptr) argument 134 struct mlx5_esw_bridge_offloads *br_offloads = container_of(nb, 200 static int mlx5_esw_bridge_switchdev_port_event(struct notifier_block *nb, argument 211 err = mlx5_esw_bridge_port_changeupper(nb, ptr); 335 static int mlx5_esw_bridge_event_blocking(struct notifier_block *nb, argument 338 struct mlx5_esw_bridge_offloads *br_offloads = container_of(nb, 428 static int mlx5_esw_bridge_switchdev_event(struct notifier_block *nb, argument 431 struct mlx5_esw_bridge_offloads *br_offloads = container_of(nb, 433 nb); 542 br_offloads->nb [all...] |
/linux-master/drivers/pci/controller/ |
H A D | pcie-hisi-error.c | 61 struct notifier_block nb; member in struct:hisi_pcie_error_private 249 static int hisi_pcie_notify_error(struct notifier_block *nb, argument 264 priv = container_of(nb, struct hisi_pcie_error_private, nb); 288 priv->nb.notifier_call = hisi_pcie_notify_error; 290 ret = ghes_register_vendor_record_notifier(&priv->nb); 306 ghes_unregister_vendor_record_notifier(&priv->nb);
|
/linux-master/drivers/usb/core/ |
H A D | ledtrig-usbport.c | 19 struct notifier_block nb; member in struct:usbport_trig_data 275 static int usbport_trig_notify(struct notifier_block *nb, unsigned long action, argument 279 container_of(nb, struct usbport_trig_data, nb); 321 usbport_data->nb.notifier_call = usbport_trig_notify; 323 usb_register_notify(&usbport_data->nb); 342 usb_unregister_notify(&usbport_data->nb);
|
/linux-master/sound/soc/codecs/ |
H A D | framer-codec.c | 27 struct notifier_block nb; member in struct:framer_codec 288 static int framer_carrier_notifier(struct notifier_block *nb, unsigned long action, argument 291 struct framer_codec *framer = container_of(nb, struct framer_codec, nb); 347 framer->nb.notifier_call = framer_carrier_notifier; 348 ret = framer_notifier_register(framer->framer, &framer->nb); 370 framer_notifier_unregister(framer->framer, &framer->nb);
|
/linux-master/drivers/scsi/ |
H A D | mac53c94.c | 198 int nb, stat, seq, intr; local 267 nb = mcmd->this_residual; 268 if (nb > 0xfff0) 269 nb = 0xfff0; 270 mcmd->this_residual -= nb; 271 writeb(nb, ®s->count_lo); 272 writeb(nb >> 8, ®s->count_mid); 300 nb = mcmd->this_residual; 301 if (nb > 0xfff0) 302 nb [all...] |
/linux-master/net/rose/ |
H A D | rose_subr.c | 440 int len, nb; local 458 for (nb = 0 ; nb < rose->source_ndigis ; nb++) { 461 memcpy(p, &rose->source_digis[nb], AX25_ADDR_LEN); 465 for (nb = 0 ; nb < rose->dest_ndigis ; nb++) { 468 memcpy(p, &rose->dest_digis[nb], AX25_ADDR_LEN);
|
/linux-master/arch/x86/kernel/cpu/mce/ |
H A D | dev-mcelog.c | 36 static int dev_mce_log(struct notifier_block *nb, unsigned long val, argument 281 void mce_register_injector_chain(struct notifier_block *nb) argument 283 blocking_notifier_chain_register(&mce_injector_chain, nb); 287 void mce_unregister_injector_chain(struct notifier_block *nb) argument 289 blocking_notifier_chain_unregister(&mce_injector_chain, nb);
|
/linux-master/include/net/ |
H A D | x25.h | 243 static __inline__ void x25_neigh_hold(struct x25_neigh *nb) argument 245 refcount_inc(&nb->refcnt); 248 static __inline__ void x25_neigh_put(struct x25_neigh *nb) argument 250 if (refcount_dec_and_test(&nb->refcnt)) 251 kfree(nb);
|
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-io.c | 300 struct pvr2_buffer **nb; local 302 nb = kmalloc_array(scnt, sizeof(*nb), GFP_KERNEL); 303 if (!nb) return -ENOMEM; 305 memcpy(nb, sp->buffers, 306 sp->buffer_slot_count * sizeof(*nb)); 309 sp->buffers = nb; 336 struct pvr2_buffer **nb = NULL; local 338 nb = kmemdup(sp->buffers, scnt * sizeof(*nb), [all...] |