/drivers/video/ |
H A D | fb_notify.c | 21 * @nb: notifier block to callback on events 23 int fb_register_client(struct notifier_block *nb) argument 25 return blocking_notifier_chain_register(&fb_notifier_list, nb); 31 * @nb: notifier block to callback on events 33 int fb_unregister_client(struct notifier_block *nb) argument 35 return blocking_notifier_chain_unregister(&fb_notifier_list, nb);
|
/drivers/usb/core/ |
H A D | notify.c | 23 * @nb: pointer to the notifier block for the callback events. 27 void usb_register_notify(struct notifier_block *nb) argument 29 blocking_notifier_chain_register(&usb_notifier_list, nb); 35 * @nb: pointer to the notifier block for the callback events. 40 void usb_unregister_notify(struct notifier_block *nb) argument 42 blocking_notifier_chain_unregister(&usb_notifier_list, nb);
|
/drivers/acpi/ |
H A D | hed.c | 42 int register_acpi_hed_notifier(struct notifier_block *nb) argument 44 return blocking_notifier_chain_register(&acpi_hed_notify_list, nb); 48 void unregister_acpi_hed_notifier(struct notifier_block *nb) argument 50 blocking_notifier_chain_unregister(&acpi_hed_notify_list, nb);
|
H A D | event.c | 134 int register_acpi_notifier(struct notifier_block *nb) argument 136 return blocking_notifier_chain_register(&acpi_chain_head, nb); 140 int unregister_acpi_notifier(struct notifier_block *nb) argument 142 return blocking_notifier_chain_unregister(&acpi_chain_head, nb);
|
H A D | button.c | 216 int acpi_lid_notifier_register(struct notifier_block *nb) argument 218 return blocking_notifier_chain_register(&acpi_lid_notifier, nb); 222 int acpi_lid_notifier_unregister(struct notifier_block *nb) argument 224 return blocking_notifier_chain_unregister(&acpi_lid_notifier, nb);
|
/drivers/staging/tidspbridge/include/dspbridge/ |
H A D | ntfy.h | 89 struct notifier_block *nb; local 92 nb = ntfy_obj->head.head; 93 while (nb) { 94 ne = container_of(nb, struct ntfy_event, noti_block); 95 nb = nb->next;
|
/drivers/iommu/ |
H A D | amd_iommu_proto.h | 39 extern int amd_iommu_register_ppr_notifier(struct notifier_block *nb); 40 extern int amd_iommu_unregister_ppr_notifier(struct notifier_block *nb);
|
/drivers/video/omap/ |
H A D | omapfb.h | 124 struct notifier_block nb; member in struct:omapfb_notifier_block 141 void (*bind_client) (struct omapfb_notifier_block *nb); 220 extern int omapfb_register_client(struct omapfb_notifier_block *nb, 223 extern int omapfb_unregister_client(struct omapfb_notifier_block *nb);
|
/drivers/base/power/ |
H A D | clock_ops.c | 274 * @nb: Notifier block object this function is a member of. 278 * For this function to work, @nb must be a member of an object of type 288 static int pm_clk_notify(struct notifier_block *nb, argument 298 clknb = container_of(nb, struct pm_clk_notifier_block, nb); 424 * @nb: Notifier block object this function is a member of. 428 * For this function to work, @nb must be a member of an object of type 433 static int pm_clk_notify(struct notifier_block *nb, argument 442 clknb = container_of(nb, struct pm_clk_notifier_block, nb); [all...] |
/drivers/macintosh/ |
H A D | windfarm.h | 114 extern int wf_register_client(struct notifier_block *nb); 115 extern int wf_unregister_client(struct notifier_block *nb);
|
H A D | via-cuda.c | 100 static void cuda_input(unsigned char *buf, int nb); 614 cuda_input(unsigned char *buf, int nb) argument 621 if (nb == 5 && buf[2] == 0x2c) { 630 adb_input(buf+2, nb-2, buf[1] & 0x40); 635 printk("data from cuda (%d bytes):", nb); 636 for (i = 0; i < nb; ++i)
|
H A D | via-maciisi.c | 86 static void maciisi_input(unsigned char *buf, int nb); 658 maciisi_input(unsigned char *buf, int nb) argument 666 adb_input(buf+2, nb-2, buf[1] & 0x40); 670 printk(KERN_DEBUG "data from IIsi ADB (%d bytes):", nb); 671 for (i = 0; i < nb; ++i)
|
/drivers/staging/nvec/ |
H A D | nvec.h | 194 struct notifier_block *nb, 198 struct notifier_block *nb,
|
H A D | nvec_power.c | 86 static int nvec_power_notifier(struct notifier_block *nb, argument 90 container_of(nb, struct nvec_power, notifier); 122 static int nvec_power_bat_notifier(struct notifier_block *nb, argument 126 container_of(nb, struct nvec_power, notifier);
|
/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-io.c | 320 struct pvr2_buffer **nb; local 321 nb = kmalloc(scnt * sizeof(*nb),GFP_KERNEL); 322 if (!nb) return -ENOMEM; 324 memcpy(nb,sp->buffers, 325 sp->buffer_slot_count * sizeof(*nb)); 328 sp->buffers = nb; 355 struct pvr2_buffer **nb = NULL; local 357 nb = kmalloc(scnt * sizeof(*nb),GFP_KERNE [all...] |
/drivers/net/wireless/libertas/ |
H A D | if_cs.c | 352 static int if_cs_send_cmd(struct lbs_private *priv, u8 *buf, u16 nb) argument 373 if_cs_write16(card, IF_CS_CMD_LEN, nb); 375 if_cs_write16_rep(card, IF_CS_CMD, buf, nb / 2); 377 if (nb & 1) 378 if_cs_write8(card, IF_CS_CMD, buf[nb-1]); 398 static void if_cs_send_data(struct lbs_private *priv, u8 *buf, u16 nb) argument 409 if_cs_write16(card, IF_CS_WRITE_LEN, nb); 412 if_cs_write16_rep(card, IF_CS_WRITE, buf, nb / 2); 413 if (nb & 1) 414 if_cs_write8(card, IF_CS_WRITE, buf[nb 748 if_cs_host_to_card(struct lbs_private *priv, u8 type, u8 *buf, u16 nb) argument [all...] |
/drivers/scsi/ |
H A D | mac53c94.c | 200 int nb, stat, seq, intr; local 269 nb = cmd->SCp.this_residual; 270 if (nb > 0xfff0) 271 nb = 0xfff0; 272 cmd->SCp.this_residual -= nb; 273 writeb(nb, ®s->count_lo); 274 writeb(nb >> 8, ®s->count_mid); 302 nb = cmd->SCp.this_residual; 303 if (nb > 0xfff0) 304 nb [all...] |
/drivers/power/ |
H A D | isp1704_charger.c | 60 struct notifier_block nb; member in struct:isp1704_charger 306 static int isp1704_notifier_call(struct notifier_block *nb, argument 310 container_of(nb, struct isp1704_charger, nb); 437 isp->nb.notifier_call = isp1704_notifier_call; 439 ret = otg_register_notifier(isp->otg, &isp->nb); 480 otg_unregister_notifier(isp->otg, &isp->nb);
|
H A D | da9030_battery.c | 113 struct notifier_block nb; member in struct:da9030_charger 400 static int da9030_battery_event(struct notifier_block *nb, unsigned long event, argument 404 container_of(nb, struct da9030_charger, nb); 533 charger->nb.notifier_call = da9030_battery_event; 534 ret = da903x_register_notifier(charger->master, &charger->nb, 552 da903x_unregister_notifier(charger->master, &charger->nb, 570 da903x_unregister_notifier(charger->master, &charger->nb,
|
/drivers/devfreq/ |
H A D | devfreq.c | 108 * @nb the notifier_block (supposed to be devfreq->nb) 112 * Called by a notifier that uses devfreq->nb. 114 static int devfreq_notifier_call(struct notifier_block *nb, unsigned long type, argument 117 struct devfreq *devfreq = container_of(nb, struct devfreq, nb); 373 devfreq->nb.notifier_call = devfreq_notifier_call; 582 return srcu_notifier_chain_register(nh, &devfreq->nb); 601 return srcu_notifier_chain_unregister(nh, &devfreq->nb);
|
/drivers/base/ |
H A D | memory.c | 47 int register_memory_notifier(struct notifier_block *nb) argument 49 return blocking_notifier_chain_register(&memory_chain, nb); 53 void unregister_memory_notifier(struct notifier_block *nb) argument 55 blocking_notifier_chain_unregister(&memory_chain, nb); 61 int register_memory_isolate_notifier(struct notifier_block *nb) argument 63 return atomic_notifier_chain_register(&memory_isolate_chain, nb); 67 void unregister_memory_isolate_notifier(struct notifier_block *nb) argument 69 atomic_notifier_chain_unregister(&memory_isolate_chain, nb);
|
/drivers/dca/ |
H A D | dca-core.c | 439 void dca_register_notify(struct notifier_block *nb) argument 441 blocking_notifier_chain_register(&dca_provider_chain, nb); 448 void dca_unregister_notify(struct notifier_block *nb) argument 450 blocking_notifier_chain_unregister(&dca_provider_chain, nb);
|
/drivers/edac/ |
H A D | mce_amd.h | 92 int amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data);
|
/drivers/mfd/ |
H A D | adp5520.c | 142 int adp5520_register_notifier(struct device *dev, struct notifier_block *nb, argument 153 nb); 160 int adp5520_unregister_notifier(struct device *dev, struct notifier_block *nb, argument 169 return blocking_notifier_chain_unregister(&chip->notifier_list, nb);
|
/drivers/mtd/ubi/ |
H A D | kapi.c | 727 * @nb: the notifier description object 732 * 'nb->notifier_call()' will be invoked when an UBI volume is created, 741 int ubi_register_volume_notifier(struct notifier_block *nb, argument 746 err = blocking_notifier_chain_register(&ubi_notifiers, nb); 759 ubi_enumerate_volumes(nb); 768 * @nb: the notifier description object 773 int ubi_unregister_volume_notifier(struct notifier_block *nb) argument 775 return blocking_notifier_chain_unregister(&ubi_notifiers, nb);
|