/drivers/net/ |
D | netconsole.c | 129 static void netconsole_target_get(struct netconsole_target *nt) in netconsole_target_get() argument 131 if (config_item_name(&nt->item)) in netconsole_target_get() 132 config_item_get(&nt->item); in netconsole_target_get() 135 static void netconsole_target_put(struct netconsole_target *nt) in netconsole_target_put() argument 137 if (config_item_name(&nt->item)) in netconsole_target_put() 138 config_item_put(&nt->item); in netconsole_target_put() 156 static void netconsole_target_get(struct netconsole_target *nt) in netconsole_target_get() argument 160 static void netconsole_target_put(struct netconsole_target *nt) in netconsole_target_put() argument 170 struct netconsole_target *nt; in alloc_param_target() local 176 nt = kzalloc(sizeof(*nt), GFP_KERNEL); in alloc_param_target() [all …]
|
D | nlmon.c | 32 struct netlink_tap nt; member 39 nlmon->nt.dev = dev; in nlmon_open() 40 nlmon->nt.module = THIS_MODULE; in nlmon_open() 41 return netlink_add_tap(&nlmon->nt); in nlmon_open() 48 return netlink_remove_tap(&nlmon->nt); in nlmon_close()
|
/drivers/gpu/drm/panel/ |
D | panel-novatek-nt35510.c | 394 static int nt35510_send_long(struct nt35510 *nt, struct mipi_dsi_device *dsi, in nt35510_send_long() argument 406 dev_err(nt->dev, "error sending DCS command seq cmd %02x\n", cmd); in nt35510_send_long() 418 dev_err(nt->dev, "error sending generic write seq %02x\n", cmd); in nt35510_send_long() 424 dev_dbg(nt->dev, "sent command %02x %02x bytes\n", cmd, cmdlen); in nt35510_send_long() 428 static int nt35510_read_id(struct nt35510 *nt) in nt35510_read_id() argument 430 struct mipi_dsi_device *dsi = to_mipi_dsi_device(nt->dev); in nt35510_read_id() 436 dev_err(nt->dev, "could not read MTP ID1\n"); in nt35510_read_id() 441 dev_err(nt->dev, "could not read MTP ID2\n"); in nt35510_read_id() 446 dev_err(nt->dev, "could not read MTP ID3\n"); in nt35510_read_id() 455 dev_info(nt->dev, "MTP ID manufacturer: %02x version: %02x driver: %02x\n", id1, id2, id3); in nt35510_read_id() [all …]
|
/drivers/ntb/ |
D | ntb_transport.c | 218 struct ntb_transport_ctx *nt; member 272 #define QP_TO_MW(nt, qp) ((qp) % nt->mw_count) argument 326 static int ntb_bus_init(struct ntb_transport_ctx *nt) in ntb_bus_init() argument 328 list_add_tail(&nt->entry, &ntb_transport_list); in ntb_bus_init() 332 static void ntb_bus_remove(struct ntb_transport_ctx *nt) in ntb_bus_remove() argument 336 list_for_each_entry_safe(client_dev, cd, &nt->client_devs, entry) { in ntb_bus_remove() 343 list_del(&nt->entry); in ntb_bus_remove() 363 struct ntb_transport_ctx *nt; in ntb_transport_unregister_client_dev() local 365 list_for_each_entry(nt, &ntb_transport_list, entry) in ntb_transport_unregister_client_dev() 366 list_for_each_entry_safe(client, cd, &nt->client_devs, entry) in ntb_transport_unregister_client_dev() [all …]
|
/drivers/mtd/ubi/ |
D | gluebi.c | 447 struct ubi_notification *nt = ns_ptr; in gluebi_notify() local 451 gluebi_create(&nt->di, &nt->vi); in gluebi_notify() 454 gluebi_remove(&nt->vi); in gluebi_notify() 457 gluebi_resized(&nt->vi); in gluebi_notify() 460 gluebi_updated(&nt->vi); in gluebi_notify()
|
D | block.c | 562 struct ubi_notification *nt = ns_ptr; in ubiblock_notify() local 572 ubiblock_remove(&nt->vi); in ubiblock_notify() 575 ubiblock_resize(&nt->vi); in ubiblock_notify() 582 if (nt->vi.vol_type == UBI_STATIC_VOLUME) in ubiblock_notify() 583 ubiblock_resize(&nt->vi); in ubiblock_notify()
|
D | build.c | 158 struct ubi_notification nt; in ubi_volume_notify() local 160 ubi_do_get_device_info(ubi, &nt.di); in ubi_volume_notify() 161 ubi_do_get_volume_info(ubi, vol, &nt.vi); in ubi_volume_notify() 173 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify() 189 struct ubi_notification nt; in ubi_notify_all() local 192 ubi_do_get_device_info(ubi, &nt.di); in ubi_notify_all() 204 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all() 206 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all() 209 &nt); in ubi_notify_all()
|
/drivers/misc/ |
D | tifm_core.c | 21 static const char *tifm_media_type_name(unsigned char type, unsigned char nt) in tifm_media_type_name() argument 29 if (nt > 2 || type < 1 || type > 3) in tifm_media_type_name() 31 return card_type_name[nt][type - 1]; in tifm_media_type_name()
|
/drivers/s390/char/ |
D | tape_char.c | 69 device->nt = register_tape_dev( in tapechar_setup_device() 93 unregister_tape_dev(&device->cdev->dev, device->nt); in tapechar_cleanup_device() 94 device->nt = NULL; in tapechar_cleanup_device()
|
D | tape.h | 186 struct tape_class_device * nt; member
|
/drivers/usb/gadget/udc/ |
D | gr_udc.c | 1472 u8 nt; in gr_ep_enable() local 1523 nt = usb_endpoint_maxp_mult(desc) - 1; in gr_ep_enable() 1525 if (nt && (mode == 0 || mode == 2)) { in gr_ep_enable() 1530 } else if (nt == 0x3) { in gr_ep_enable() 1534 } else if ((nt + 1) * max > buffer_size) { in gr_ep_enable() 1536 buffer_size, (nt + 1), max); in gr_ep_enable() 1561 if (nt) { in gr_ep_enable() 1566 ep->bytes_per_buffer = (nt + 1) * max; in gr_ep_enable() 1583 | (nt << GR_EPCTRL_NT_POS) in gr_ep_enable()
|
/drivers/s390/cio/ |
D | chsc.c | 333 u8 nt; member 697 CIO_CRW_EVENT(2, "chsc: sei successful (nt=%d)\n", sei->nt); in chsc_process_event_information() 698 switch (sei->nt) { in chsc_process_event_information() 706 CIO_CRW_EVENT(2, "chsc: unhandled nt: %d\n", sei->nt); in chsc_process_event_information()
|
/drivers/block/drbd/ |
D | drbd_req.c | 1697 unsigned long ent = 0, dt = 0, et, nt; /* effective timeout = ko_count * timeout */ in request_timer_fn() local 1722 nt = now + et; in request_timer_fn() 1775 nt = time_before(ent, dt) ? ent : dt; in request_timer_fn() 1778 mod_timer(&device->request_timer, nt); in request_timer_fn()
|
D | drbd_main.c | 372 struct task_struct *nt; in drbd_thread_start() local 401 nt = kthread_create(drbd_thread_setup, (void *) thi, in drbd_thread_start() 404 if (IS_ERR(nt)) { in drbd_thread_start() 414 thi->task = nt; in drbd_thread_start() 417 wake_up_process(nt); in drbd_thread_start()
|
/drivers/memory/tegra/ |
D | tegra210-emc-cc-r21021.c | 407 #define __COPY_EMA(nt, lt, dev) \ in periodic_compensation_handler() argument 408 ({ __MOVAVG(nt, dev) = __MOVAVG(lt, dev) * \ in periodic_compensation_handler() 409 (nt)->ptfv_list[PTFV_DVFS_SAMPLES_INDEX]; }) in periodic_compensation_handler()
|
/drivers/s390/crypto/ |
D | zcrypt_ep11misc.c | 388 struct ep11_target_dev *t, int nt, in prep_urb() argument 393 u->targets_num = nt; in prep_urb()
|