Searched refs:tu (Results 1 - 55 of 55) sorted by relevance

/linux-4.4.14/drivers/usb/phy/
H A Dphy-tahvo.c73 struct tahvo_usb *tu = dev_get_drvdata(device); vbus_state_show() local
74 return sprintf(buf, "%s\n", tu->vbus_state ? "on" : "off"); vbus_state_show()
78 static void check_vbus_state(struct tahvo_usb *tu) check_vbus_state() argument
80 struct retu_dev *rdev = dev_get_drvdata(tu->pt_dev->dev.parent); check_vbus_state()
85 switch (tu->phy.otg->state) { check_vbus_state()
88 if (tu->phy.otg->gadget) check_vbus_state()
89 usb_gadget_vbus_connect(tu->phy.otg->gadget); check_vbus_state()
90 tu->phy.otg->state = OTG_STATE_B_PERIPHERAL; check_vbus_state()
91 usb_phy_set_event(&tu->phy, USB_EVENT_ENUMERATED); check_vbus_state()
98 tu->phy.otg->state = OTG_STATE_A_HOST; check_vbus_state()
103 dev_info(&tu->pt_dev->dev, "USB cable connected\n"); check_vbus_state()
105 switch (tu->phy.otg->state) { check_vbus_state()
107 if (tu->phy.otg->gadget) check_vbus_state()
108 usb_gadget_vbus_disconnect(tu->phy.otg->gadget); check_vbus_state()
109 tu->phy.otg->state = OTG_STATE_B_IDLE; check_vbus_state()
110 usb_phy_set_event(&tu->phy, USB_EVENT_NONE); check_vbus_state()
113 tu->phy.otg->state = OTG_STATE_A_IDLE; check_vbus_state()
118 dev_info(&tu->pt_dev->dev, "USB cable disconnected\n"); check_vbus_state()
121 prev_state = tu->vbus_state; check_vbus_state()
122 tu->vbus_state = reg & TAHVO_STAT_VBUS; check_vbus_state()
123 if (prev_state != tu->vbus_state) { check_vbus_state()
124 extcon_set_cable_state_(tu->extcon, EXTCON_USB, tu->vbus_state); check_vbus_state()
125 sysfs_notify(&tu->pt_dev->dev.kobj, NULL, "vbus_state"); check_vbus_state()
129 static void tahvo_usb_become_host(struct tahvo_usb *tu) tahvo_usb_become_host() argument
131 struct retu_dev *rdev = dev_get_drvdata(tu->pt_dev->dev.parent); tahvo_usb_become_host()
133 extcon_set_cable_state_(tu->extcon, EXTCON_USB_HOST, true); tahvo_usb_become_host()
138 tu->phy.otg->state = OTG_STATE_A_IDLE; tahvo_usb_become_host()
140 check_vbus_state(tu); tahvo_usb_become_host()
143 static void tahvo_usb_stop_host(struct tahvo_usb *tu) tahvo_usb_stop_host() argument
145 tu->phy.otg->state = OTG_STATE_A_IDLE; tahvo_usb_stop_host()
148 static void tahvo_usb_become_peripheral(struct tahvo_usb *tu) tahvo_usb_become_peripheral() argument
150 struct retu_dev *rdev = dev_get_drvdata(tu->pt_dev->dev.parent); tahvo_usb_become_peripheral()
152 extcon_set_cable_state_(tu->extcon, EXTCON_USB_HOST, false); tahvo_usb_become_peripheral()
157 tu->phy.otg->state = OTG_STATE_B_IDLE; tahvo_usb_become_peripheral()
159 check_vbus_state(tu); tahvo_usb_become_peripheral()
162 static void tahvo_usb_stop_peripheral(struct tahvo_usb *tu) tahvo_usb_stop_peripheral() argument
164 if (tu->phy.otg->gadget) tahvo_usb_stop_peripheral()
165 usb_gadget_vbus_disconnect(tu->phy.otg->gadget); tahvo_usb_stop_peripheral()
166 tu->phy.otg->state = OTG_STATE_B_IDLE; tahvo_usb_stop_peripheral()
169 static void tahvo_usb_power_off(struct tahvo_usb *tu) tahvo_usb_power_off() argument
171 struct retu_dev *rdev = dev_get_drvdata(tu->pt_dev->dev.parent); tahvo_usb_power_off()
174 if (tu->phy.otg->gadget) tahvo_usb_power_off()
175 usb_gadget_vbus_disconnect(tu->phy.otg->gadget); tahvo_usb_power_off()
179 tu->phy.otg->state = OTG_STATE_UNDEFINED; tahvo_usb_power_off()
184 struct tahvo_usb *tu = container_of(dev, struct tahvo_usb, phy); tahvo_usb_set_suspend() local
185 struct retu_dev *rdev = dev_get_drvdata(tu->pt_dev->dev.parent); tahvo_usb_set_suspend()
188 dev_dbg(&tu->pt_dev->dev, "%s\n", __func__); tahvo_usb_set_suspend()
202 struct tahvo_usb *tu = container_of(otg->usb_phy, struct tahvo_usb, tahvo_usb_set_host() local
205 dev_dbg(&tu->pt_dev->dev, "%s %p\n", __func__, host); tahvo_usb_set_host()
207 mutex_lock(&tu->serialize); tahvo_usb_set_host()
210 if (tu->tahvo_mode == TAHVO_MODE_HOST) tahvo_usb_set_host()
211 tahvo_usb_power_off(tu); tahvo_usb_set_host()
213 mutex_unlock(&tu->serialize); tahvo_usb_set_host()
217 if (tu->tahvo_mode == TAHVO_MODE_HOST) { tahvo_usb_set_host()
219 tahvo_usb_become_host(tu); tahvo_usb_set_host()
224 mutex_unlock(&tu->serialize); tahvo_usb_set_host()
232 struct tahvo_usb *tu = container_of(otg->usb_phy, struct tahvo_usb, tahvo_usb_set_peripheral() local
235 dev_dbg(&tu->pt_dev->dev, "%s %p\n", __func__, gadget); tahvo_usb_set_peripheral()
237 mutex_lock(&tu->serialize); tahvo_usb_set_peripheral()
240 if (tu->tahvo_mode == TAHVO_MODE_PERIPHERAL) tahvo_usb_set_peripheral()
241 tahvo_usb_power_off(tu); tahvo_usb_set_peripheral()
242 tu->phy.otg->gadget = NULL; tahvo_usb_set_peripheral()
243 mutex_unlock(&tu->serialize); tahvo_usb_set_peripheral()
247 tu->phy.otg->gadget = gadget; tahvo_usb_set_peripheral()
248 if (tu->tahvo_mode == TAHVO_MODE_PERIPHERAL) tahvo_usb_set_peripheral()
249 tahvo_usb_become_peripheral(tu); tahvo_usb_set_peripheral()
251 mutex_unlock(&tu->serialize); tahvo_usb_set_peripheral()
258 struct tahvo_usb *tu = _tu; tahvo_usb_vbus_interrupt() local
260 mutex_lock(&tu->serialize); tahvo_usb_vbus_interrupt()
261 check_vbus_state(tu); tahvo_usb_vbus_interrupt()
262 mutex_unlock(&tu->serialize); tahvo_usb_vbus_interrupt()
270 struct tahvo_usb *tu = dev_get_drvdata(device); otg_mode_show() local
272 switch (tu->tahvo_mode) { otg_mode_show()
286 struct tahvo_usb *tu = dev_get_drvdata(device); otg_mode_store() local
289 mutex_lock(&tu->serialize); otg_mode_store()
291 if (tu->tahvo_mode == TAHVO_MODE_PERIPHERAL) otg_mode_store()
292 tahvo_usb_stop_peripheral(tu); otg_mode_store()
293 tu->tahvo_mode = TAHVO_MODE_HOST; otg_mode_store()
294 if (tu->phy.otg->host) { otg_mode_store()
296 tahvo_usb_become_host(tu); otg_mode_store()
299 tahvo_usb_power_off(tu); otg_mode_store()
303 if (tu->tahvo_mode == TAHVO_MODE_HOST) otg_mode_store()
304 tahvo_usb_stop_host(tu); otg_mode_store()
305 tu->tahvo_mode = TAHVO_MODE_PERIPHERAL; otg_mode_store()
306 if (tu->phy.otg->gadget) { otg_mode_store()
308 tahvo_usb_become_peripheral(tu); otg_mode_store()
311 tahvo_usb_power_off(tu); otg_mode_store()
317 mutex_unlock(&tu->serialize); otg_mode_store()
336 struct tahvo_usb *tu; tahvo_usb_probe() local
339 tu = devm_kzalloc(&pdev->dev, sizeof(*tu), GFP_KERNEL); tahvo_usb_probe()
340 if (!tu) tahvo_usb_probe()
343 tu->phy.otg = devm_kzalloc(&pdev->dev, sizeof(*tu->phy.otg), tahvo_usb_probe()
345 if (!tu->phy.otg) tahvo_usb_probe()
348 tu->pt_dev = pdev; tahvo_usb_probe()
352 tu->tahvo_mode = TAHVO_MODE_HOST; tahvo_usb_probe()
354 tu->tahvo_mode = TAHVO_MODE_PERIPHERAL; tahvo_usb_probe()
357 mutex_init(&tu->serialize); tahvo_usb_probe()
359 tu->ick = devm_clk_get(&pdev->dev, "usb_l4_ick"); tahvo_usb_probe()
360 if (!IS_ERR(tu->ick)) tahvo_usb_probe()
361 clk_enable(tu->ick); tahvo_usb_probe()
366 tu->vbus_state = retu_read(rdev, TAHVO_REG_IDSR) & TAHVO_STAT_VBUS; tahvo_usb_probe()
368 tu->extcon = devm_extcon_dev_allocate(&pdev->dev, tahvo_cable); tahvo_usb_probe()
369 if (IS_ERR(tu->extcon)) { tahvo_usb_probe()
374 ret = devm_extcon_dev_register(&pdev->dev, tu->extcon); tahvo_usb_probe()
382 extcon_set_cable_state_(tu->extcon, EXTCON_USB_HOST, tahvo_usb_probe()
383 tu->tahvo_mode == TAHVO_MODE_HOST); tahvo_usb_probe()
384 extcon_set_cable_state_(tu->extcon, EXTCON_USB, tu->vbus_state); tahvo_usb_probe()
387 tahvo_usb_power_off(tu); tahvo_usb_probe()
388 tu->phy.dev = &pdev->dev; tahvo_usb_probe()
389 tu->phy.otg->state = OTG_STATE_UNDEFINED; tahvo_usb_probe()
390 tu->phy.label = DRIVER_NAME; tahvo_usb_probe()
391 tu->phy.set_suspend = tahvo_usb_set_suspend; tahvo_usb_probe()
393 tu->phy.otg->usb_phy = &tu->phy; tahvo_usb_probe()
394 tu->phy.otg->set_host = tahvo_usb_set_host; tahvo_usb_probe()
395 tu->phy.otg->set_peripheral = tahvo_usb_set_peripheral; tahvo_usb_probe()
397 ret = usb_add_phy(&tu->phy, USB_PHY_TYPE_USB2); tahvo_usb_probe()
404 dev_set_drvdata(&pdev->dev, tu); tahvo_usb_probe()
406 tu->irq = platform_get_irq(pdev, 0); tahvo_usb_probe()
407 ret = request_threaded_irq(tu->irq, NULL, tahvo_usb_vbus_interrupt, tahvo_usb_probe()
409 "tahvo-vbus", tu); tahvo_usb_probe()
426 free_irq(tu->irq, tu); tahvo_usb_probe()
428 usb_remove_phy(&tu->phy); tahvo_usb_probe()
430 if (!IS_ERR(tu->ick)) tahvo_usb_probe()
431 clk_disable(tu->ick); tahvo_usb_probe()
438 struct tahvo_usb *tu = platform_get_drvdata(pdev); tahvo_usb_remove() local
441 free_irq(tu->irq, tu); tahvo_usb_remove()
442 usb_remove_phy(&tu->phy); tahvo_usb_remove()
443 if (!IS_ERR(tu->ick)) tahvo_usb_remove()
444 clk_disable(tu->ick); tahvo_usb_remove()
/linux-4.4.14/kernel/trace/
H A Dtrace_uprobe.c67 static int register_uprobe_event(struct trace_uprobe *tu);
68 static int unregister_uprobe_event(struct trace_uprobe *tu);
74 struct trace_uprobe *tu; member in struct:uprobe_dispatch_data
182 base_addr = udd->bp_addr - udd->tu->offset; translate_user_vaddr()
230 static inline bool is_ret_probe(struct trace_uprobe *tu) is_ret_probe() argument
232 return tu->consumer.ret_handler != NULL; is_ret_probe()
241 struct trace_uprobe *tu; alloc_trace_uprobe() local
249 tu = kzalloc(SIZEOF_TRACE_UPROBE(nargs), GFP_KERNEL); alloc_trace_uprobe()
250 if (!tu) alloc_trace_uprobe()
253 tu->tp.call.class = &tu->tp.class; alloc_trace_uprobe()
254 tu->tp.call.name = kstrdup(event, GFP_KERNEL); alloc_trace_uprobe()
255 if (!tu->tp.call.name) alloc_trace_uprobe()
258 tu->tp.class.system = kstrdup(group, GFP_KERNEL); alloc_trace_uprobe()
259 if (!tu->tp.class.system) alloc_trace_uprobe()
262 INIT_LIST_HEAD(&tu->list); alloc_trace_uprobe()
263 INIT_LIST_HEAD(&tu->tp.files); alloc_trace_uprobe()
264 tu->consumer.handler = uprobe_dispatcher; alloc_trace_uprobe()
266 tu->consumer.ret_handler = uretprobe_dispatcher; alloc_trace_uprobe()
267 init_trace_uprobe_filter(&tu->filter); alloc_trace_uprobe()
268 return tu; alloc_trace_uprobe()
271 kfree(tu->tp.call.name); alloc_trace_uprobe()
272 kfree(tu); alloc_trace_uprobe()
277 static void free_trace_uprobe(struct trace_uprobe *tu) free_trace_uprobe() argument
281 for (i = 0; i < tu->tp.nr_args; i++) free_trace_uprobe()
282 traceprobe_free_probe_arg(&tu->tp.args[i]); free_trace_uprobe()
284 iput(tu->inode); free_trace_uprobe()
285 kfree(tu->tp.call.class->system); free_trace_uprobe()
286 kfree(tu->tp.call.name); free_trace_uprobe()
287 kfree(tu->filename); free_trace_uprobe()
288 kfree(tu); free_trace_uprobe()
293 struct trace_uprobe *tu; find_probe_event() local
295 list_for_each_entry(tu, &uprobe_list, list) find_probe_event()
296 if (strcmp(trace_event_name(&tu->tp.call), event) == 0 && find_probe_event()
297 strcmp(tu->tp.call.class->system, group) == 0) find_probe_event()
298 return tu; find_probe_event()
304 static int unregister_trace_uprobe(struct trace_uprobe *tu) unregister_trace_uprobe() argument
308 ret = unregister_uprobe_event(tu); unregister_trace_uprobe()
312 list_del(&tu->list); unregister_trace_uprobe()
313 free_trace_uprobe(tu); unregister_trace_uprobe()
318 static int register_trace_uprobe(struct trace_uprobe *tu) register_trace_uprobe() argument
326 old_tu = find_probe_event(trace_event_name(&tu->tp.call), register_trace_uprobe()
327 tu->tp.call.class->system); register_trace_uprobe()
335 ret = register_uprobe_event(tu); register_trace_uprobe()
341 list_add_tail(&tu->list, &uprobe_list); register_trace_uprobe()
357 struct trace_uprobe *tu; create_trace_uprobe() local
413 tu = find_probe_event(event, group); create_trace_uprobe()
415 if (!tu) { create_trace_uprobe()
421 ret = unregister_trace_uprobe(tu); create_trace_uprobe()
481 tu = alloc_trace_uprobe(group, event, argc, is_return); create_trace_uprobe()
482 if (IS_ERR(tu)) { create_trace_uprobe()
483 pr_info("Failed to allocate trace_uprobe.(%d)\n", (int)PTR_ERR(tu)); create_trace_uprobe()
484 ret = PTR_ERR(tu); create_trace_uprobe()
487 tu->offset = offset; create_trace_uprobe()
488 tu->inode = inode; create_trace_uprobe()
489 tu->filename = kstrdup(filename, GFP_KERNEL); create_trace_uprobe()
491 if (!tu->filename) { create_trace_uprobe()
500 struct probe_arg *parg = &tu->tp.args[i]; create_trace_uprobe()
503 tu->tp.nr_args++; create_trace_uprobe()
529 if (traceprobe_conflict_field_name(parg->name, tu->tp.args, i)) { create_trace_uprobe()
537 ret = traceprobe_parse_probe_arg(arg, &tu->tp.size, parg, create_trace_uprobe()
546 ret = register_trace_uprobe(tu); create_trace_uprobe()
552 free_trace_uprobe(tu); create_trace_uprobe()
565 struct trace_uprobe *tu; cleanup_all_probes() local
570 tu = list_entry(uprobe_list.next, struct trace_uprobe, list); cleanup_all_probes()
571 ret = unregister_trace_uprobe(tu); cleanup_all_probes()
598 struct trace_uprobe *tu = v; probes_seq_show() local
599 char c = is_ret_probe(tu) ? 'r' : 'p'; probes_seq_show()
602 seq_printf(m, "%c:%s/%s", c, tu->tp.call.class->system, probes_seq_show()
603 trace_event_name(&tu->tp.call)); probes_seq_show()
604 seq_printf(m, " %s:", tu->filename); probes_seq_show()
607 if (tu->offset) { probes_seq_show()
608 seq_printf(m, "0x%p", (void *)tu->offset); probes_seq_show()
621 for (i = 0; i < tu->tp.nr_args; i++) probes_seq_show()
622 seq_printf(m, " %s=%s", tu->tp.args[i].name, tu->tp.args[i].comm); probes_seq_show()
666 struct trace_uprobe *tu = v; probes_profile_seq_show() local
668 seq_printf(m, " %s %-44s %15lu\n", tu->filename, probes_profile_seq_show()
669 trace_event_name(&tu->tp.call), tu->nhit); probes_profile_seq_show()
785 static void __uprobe_trace_func(struct trace_uprobe *tu, __uprobe_trace_func() argument
795 struct trace_event_call *call = &tu->tp.call; __uprobe_trace_func()
799 if (WARN_ON_ONCE(tu->tp.size + dsize > PAGE_SIZE)) __uprobe_trace_func()
805 esize = SIZEOF_TRACE_ENTRY(is_ret_probe(tu)); __uprobe_trace_func()
806 size = esize + tu->tp.size + dsize; __uprobe_trace_func()
813 if (is_ret_probe(tu)) { __uprobe_trace_func()
822 memcpy(data, ucb->buf, tu->tp.size + dsize); __uprobe_trace_func()
828 static int uprobe_trace_func(struct trace_uprobe *tu, struct pt_regs *regs, uprobe_trace_func() argument
833 if (is_ret_probe(tu)) uprobe_trace_func()
837 list_for_each_entry_rcu(link, &tu->tp.files, list) uprobe_trace_func()
838 __uprobe_trace_func(tu, 0, regs, ucb, dsize, link->file); uprobe_trace_func()
844 static void uretprobe_trace_func(struct trace_uprobe *tu, unsigned long func, uretprobe_trace_func() argument
851 list_for_each_entry_rcu(link, &tu->tp.files, list) uretprobe_trace_func()
852 __uprobe_trace_func(tu, func, regs, ucb, dsize, link->file); uretprobe_trace_func()
862 struct trace_uprobe *tu; print_uprobe_event() local
867 tu = container_of(event, struct trace_uprobe, tp.call.event); print_uprobe_event()
869 if (is_ret_probe(tu)) { print_uprobe_event()
871 trace_event_name(&tu->tp.call), print_uprobe_event()
876 trace_event_name(&tu->tp.call), print_uprobe_event()
881 for (i = 0; i < tu->tp.nr_args; i++) { print_uprobe_event()
882 struct probe_arg *parg = &tu->tp.args[i]; print_uprobe_event()
899 probe_event_enable(struct trace_uprobe *tu, struct trace_event_file *file, probe_event_enable() argument
902 bool enabled = trace_probe_is_enabled(&tu->tp); probe_event_enable()
907 if (tu->tp.flags & TP_FLAG_PROFILE) probe_event_enable()
915 list_add_tail_rcu(&link->list, &tu->tp.files); probe_event_enable()
917 tu->tp.flags |= TP_FLAG_TRACE; probe_event_enable()
919 if (tu->tp.flags & TP_FLAG_TRACE) probe_event_enable()
922 tu->tp.flags |= TP_FLAG_PROFILE; probe_event_enable()
925 WARN_ON(!uprobe_filter_is_empty(&tu->filter)); probe_event_enable()
934 tu->consumer.filter = filter; probe_event_enable()
935 ret = uprobe_register(tu->inode, tu->offset, &tu->consumer); probe_event_enable()
948 tu->tp.flags &= ~TP_FLAG_TRACE; probe_event_enable()
950 tu->tp.flags &= ~TP_FLAG_PROFILE; probe_event_enable()
956 probe_event_disable(struct trace_uprobe *tu, struct trace_event_file *file) probe_event_disable() argument
958 if (!trace_probe_is_enabled(&tu->tp)) probe_event_disable()
964 link = find_event_file_link(&tu->tp, file); probe_event_disable()
973 if (!list_empty(&tu->tp.files)) probe_event_disable()
977 WARN_ON(!uprobe_filter_is_empty(&tu->filter)); probe_event_disable()
979 uprobe_unregister(tu->inode, tu->offset, &tu->consumer); probe_event_disable()
980 tu->tp.flags &= file ? ~TP_FLAG_TRACE : ~TP_FLAG_PROFILE; probe_event_disable()
989 struct trace_uprobe *tu = event_call->data; uprobe_event_define_fields() local
991 if (is_ret_probe(tu)) { uprobe_event_define_fields()
1000 for (i = 0; i < tu->tp.nr_args; i++) { uprobe_event_define_fields()
1001 struct probe_arg *parg = &tu->tp.args[i]; uprobe_event_define_fields()
1032 uprobe_filter_event(struct trace_uprobe *tu, struct perf_event *event) uprobe_filter_event() argument
1034 return __uprobe_perf_filter(&tu->filter, event->hw.target->mm); uprobe_filter_event()
1037 static int uprobe_perf_close(struct trace_uprobe *tu, struct perf_event *event) uprobe_perf_close() argument
1041 write_lock(&tu->filter.rwlock); uprobe_perf_close()
1044 done = tu->filter.nr_systemwide || uprobe_perf_close()
1046 uprobe_filter_event(tu, event); uprobe_perf_close()
1048 tu->filter.nr_systemwide--; uprobe_perf_close()
1049 done = tu->filter.nr_systemwide; uprobe_perf_close()
1051 write_unlock(&tu->filter.rwlock); uprobe_perf_close()
1054 return uprobe_apply(tu->inode, tu->offset, &tu->consumer, false); uprobe_perf_close()
1059 static int uprobe_perf_open(struct trace_uprobe *tu, struct perf_event *event) uprobe_perf_open() argument
1064 write_lock(&tu->filter.rwlock); uprobe_perf_open()
1074 done = tu->filter.nr_systemwide || uprobe_perf_open()
1076 uprobe_filter_event(tu, event); uprobe_perf_open()
1077 list_add(&event->hw.tp_list, &tu->filter.perf_events); uprobe_perf_open()
1079 done = tu->filter.nr_systemwide; uprobe_perf_open()
1080 tu->filter.nr_systemwide++; uprobe_perf_open()
1082 write_unlock(&tu->filter.rwlock); uprobe_perf_open()
1086 err = uprobe_apply(tu->inode, tu->offset, &tu->consumer, true); uprobe_perf_open()
1088 uprobe_perf_close(tu, event); uprobe_perf_open()
1096 struct trace_uprobe *tu; uprobe_perf_filter() local
1099 tu = container_of(uc, struct trace_uprobe, consumer); uprobe_perf_filter()
1100 read_lock(&tu->filter.rwlock); uprobe_perf_filter()
1101 ret = __uprobe_perf_filter(&tu->filter, mm); uprobe_perf_filter()
1102 read_unlock(&tu->filter.rwlock); uprobe_perf_filter()
1107 static void __uprobe_perf_func(struct trace_uprobe *tu, __uprobe_perf_func() argument
1111 struct trace_event_call *call = &tu->tp.call; __uprobe_perf_func()
1122 esize = SIZEOF_TRACE_ENTRY(is_ret_probe(tu)); __uprobe_perf_func()
1124 size = esize + tu->tp.size + dsize; __uprobe_perf_func()
1138 if (is_ret_probe(tu)) { __uprobe_perf_func()
1147 memcpy(data, ucb->buf, tu->tp.size + dsize); __uprobe_perf_func()
1149 if (size - esize > tu->tp.size + dsize) { __uprobe_perf_func()
1150 int len = tu->tp.size + dsize; __uprobe_perf_func()
1161 static int uprobe_perf_func(struct trace_uprobe *tu, struct pt_regs *regs, uprobe_perf_func() argument
1164 if (!uprobe_perf_filter(&tu->consumer, 0, current->mm)) uprobe_perf_func()
1167 if (!is_ret_probe(tu)) uprobe_perf_func()
1168 __uprobe_perf_func(tu, 0, regs, ucb, dsize); uprobe_perf_func()
1172 static void uretprobe_perf_func(struct trace_uprobe *tu, unsigned long func, uretprobe_perf_func() argument
1176 __uprobe_perf_func(tu, func, regs, ucb, dsize); uretprobe_perf_func()
1184 struct trace_uprobe *tu = event->data; trace_uprobe_register() local
1189 return probe_event_enable(tu, file, NULL); trace_uprobe_register()
1192 probe_event_disable(tu, file); trace_uprobe_register()
1197 return probe_event_enable(tu, NULL, uprobe_perf_filter); trace_uprobe_register()
1200 probe_event_disable(tu, NULL); trace_uprobe_register()
1204 return uprobe_perf_open(tu, data); trace_uprobe_register()
1207 return uprobe_perf_close(tu, data); trace_uprobe_register()
1218 struct trace_uprobe *tu; uprobe_dispatcher() local
1225 tu = container_of(con, struct trace_uprobe, consumer); uprobe_dispatcher()
1226 tu->nhit++; uprobe_dispatcher()
1228 udd.tu = tu; uprobe_dispatcher()
1236 dsize = __get_data_size(&tu->tp, regs); uprobe_dispatcher()
1237 esize = SIZEOF_TRACE_ENTRY(is_ret_probe(tu)); uprobe_dispatcher()
1240 store_trace_args(esize, &tu->tp, regs, ucb->buf, dsize); uprobe_dispatcher()
1242 if (tu->tp.flags & TP_FLAG_TRACE) uprobe_dispatcher()
1243 ret |= uprobe_trace_func(tu, regs, ucb, dsize); uprobe_dispatcher()
1246 if (tu->tp.flags & TP_FLAG_PROFILE) uprobe_dispatcher()
1247 ret |= uprobe_perf_func(tu, regs, ucb, dsize); uprobe_dispatcher()
1256 struct trace_uprobe *tu; uretprobe_dispatcher() local
1261 tu = container_of(con, struct trace_uprobe, consumer); uretprobe_dispatcher()
1263 udd.tu = tu; uretprobe_dispatcher()
1271 dsize = __get_data_size(&tu->tp, regs); uretprobe_dispatcher()
1272 esize = SIZEOF_TRACE_ENTRY(is_ret_probe(tu)); uretprobe_dispatcher()
1275 store_trace_args(esize, &tu->tp, regs, ucb->buf, dsize); uretprobe_dispatcher()
1277 if (tu->tp.flags & TP_FLAG_TRACE) uretprobe_dispatcher()
1278 uretprobe_trace_func(tu, func, regs, ucb, dsize); uretprobe_dispatcher()
1281 if (tu->tp.flags & TP_FLAG_PROFILE) uretprobe_dispatcher()
1282 uretprobe_perf_func(tu, func, regs, ucb, dsize); uretprobe_dispatcher()
1292 static int register_uprobe_event(struct trace_uprobe *tu) register_uprobe_event() argument
1294 struct trace_event_call *call = &tu->tp.call; register_uprobe_event()
1302 if (set_print_fmt(&tu->tp, is_ret_probe(tu)) < 0) register_uprobe_event()
1313 call->data = tu; register_uprobe_event()
1326 static int unregister_uprobe_event(struct trace_uprobe *tu) unregister_uprobe_event() argument
1330 /* tu->event is unregistered in trace_remove_event_call() */ unregister_uprobe_event()
1331 ret = trace_remove_event_call(&tu->tp.call); unregister_uprobe_event()
1334 kfree(tu->tp.call.print_fmt); unregister_uprobe_event()
1335 tu->tp.call.print_fmt = NULL; unregister_uprobe_event()
/linux-4.4.14/sound/core/
H A Dtimer.c948 struct snd_timer_user *tu = ti->callback_data; snd_timer_dev_disconnect() local
950 tu->disconnected = true; snd_timer_dev_disconnect()
951 wake_up(&tu->qchange_sleep); snd_timer_dev_disconnect()
1196 struct snd_timer_user *tu = timeri->callback_data; snd_timer_user_interrupt() local
1200 spin_lock(&tu->qlock); snd_timer_user_interrupt()
1201 if (tu->qused > 0) { snd_timer_user_interrupt()
1202 prev = tu->qtail == 0 ? tu->queue_size - 1 : tu->qtail - 1; snd_timer_user_interrupt()
1203 r = &tu->queue[prev]; snd_timer_user_interrupt()
1209 if (tu->qused >= tu->queue_size) { snd_timer_user_interrupt()
1210 tu->overrun++; snd_timer_user_interrupt()
1212 r = &tu->queue[tu->qtail++]; snd_timer_user_interrupt()
1213 tu->qtail %= tu->queue_size; snd_timer_user_interrupt()
1216 tu->qused++; snd_timer_user_interrupt()
1219 spin_unlock(&tu->qlock); snd_timer_user_interrupt()
1220 kill_fasync(&tu->fasync, SIGIO, POLL_IN); snd_timer_user_interrupt()
1221 wake_up(&tu->qchange_sleep); snd_timer_user_interrupt()
1224 static void snd_timer_user_append_to_tqueue(struct snd_timer_user *tu, snd_timer_user_append_to_tqueue() argument
1227 if (tu->qused >= tu->queue_size) { snd_timer_user_append_to_tqueue()
1228 tu->overrun++; snd_timer_user_append_to_tqueue()
1230 memcpy(&tu->tqueue[tu->qtail++], tread, sizeof(*tread)); snd_timer_user_append_to_tqueue()
1231 tu->qtail %= tu->queue_size; snd_timer_user_append_to_tqueue()
1232 tu->qused++; snd_timer_user_append_to_tqueue()
1241 struct snd_timer_user *tu = timeri->callback_data; snd_timer_user_ccallback() local
1247 tu->tstamp = *tstamp; snd_timer_user_ccallback()
1248 if ((tu->filter & (1 << event)) == 0 || !tu->tread) snd_timer_user_ccallback()
1253 spin_lock_irqsave(&tu->qlock, flags); snd_timer_user_ccallback()
1254 snd_timer_user_append_to_tqueue(tu, &r1); snd_timer_user_ccallback()
1255 spin_unlock_irqrestore(&tu->qlock, flags); snd_timer_user_ccallback()
1256 kill_fasync(&tu->fasync, SIGIO, POLL_IN); snd_timer_user_ccallback()
1257 wake_up(&tu->qchange_sleep); snd_timer_user_ccallback()
1264 struct snd_timer_user *tu = timeri->callback_data; snd_timer_user_tinterrupt() local
1270 spin_lock(&tu->qlock); snd_timer_user_tinterrupt()
1271 if ((tu->filter & ((1 << SNDRV_TIMER_EVENT_RESOLUTION) | snd_timer_user_tinterrupt()
1273 spin_unlock(&tu->qlock); snd_timer_user_tinterrupt()
1276 if (tu->last_resolution != resolution || ticks > 0) { snd_timer_user_tinterrupt()
1282 if ((tu->filter & (1 << SNDRV_TIMER_EVENT_RESOLUTION)) && snd_timer_user_tinterrupt()
1283 tu->last_resolution != resolution) { snd_timer_user_tinterrupt()
1287 snd_timer_user_append_to_tqueue(tu, &r1); snd_timer_user_tinterrupt()
1288 tu->last_resolution = resolution; snd_timer_user_tinterrupt()
1291 if ((tu->filter & (1 << SNDRV_TIMER_EVENT_TICK)) == 0) snd_timer_user_tinterrupt()
1295 if (tu->qused > 0) { snd_timer_user_tinterrupt()
1296 prev = tu->qtail == 0 ? tu->queue_size - 1 : tu->qtail - 1; snd_timer_user_tinterrupt()
1297 r = &tu->tqueue[prev]; snd_timer_user_tinterrupt()
1308 snd_timer_user_append_to_tqueue(tu, &r1); snd_timer_user_tinterrupt()
1311 spin_unlock(&tu->qlock); snd_timer_user_tinterrupt()
1314 kill_fasync(&tu->fasync, SIGIO, POLL_IN); snd_timer_user_tinterrupt()
1315 wake_up(&tu->qchange_sleep); snd_timer_user_tinterrupt()
1320 struct snd_timer_user *tu; snd_timer_user_open() local
1327 tu = kzalloc(sizeof(*tu), GFP_KERNEL); snd_timer_user_open()
1328 if (tu == NULL) snd_timer_user_open()
1330 spin_lock_init(&tu->qlock); snd_timer_user_open()
1331 init_waitqueue_head(&tu->qchange_sleep); snd_timer_user_open()
1332 mutex_init(&tu->ioctl_lock); snd_timer_user_open()
1333 tu->ticks = 1; snd_timer_user_open()
1334 tu->queue_size = 128; snd_timer_user_open()
1335 tu->queue = kmalloc(tu->queue_size * sizeof(struct snd_timer_read), snd_timer_user_open()
1337 if (tu->queue == NULL) { snd_timer_user_open()
1338 kfree(tu); snd_timer_user_open()
1341 file->private_data = tu; snd_timer_user_open()
1347 struct snd_timer_user *tu; snd_timer_user_release() local
1350 tu = file->private_data; snd_timer_user_release()
1352 mutex_lock(&tu->ioctl_lock); snd_timer_user_release()
1353 if (tu->timeri) snd_timer_user_release()
1354 snd_timer_close(tu->timeri); snd_timer_user_release()
1355 mutex_unlock(&tu->ioctl_lock); snd_timer_user_release()
1356 kfree(tu->queue); snd_timer_user_release()
1357 kfree(tu->tqueue); snd_timer_user_release()
1358 kfree(tu); snd_timer_user_release()
1587 struct snd_timer_user *tu; snd_timer_user_tselect() local
1592 tu = file->private_data; snd_timer_user_tselect()
1593 if (tu->timeri) { snd_timer_user_tselect()
1594 snd_timer_close(tu->timeri); snd_timer_user_tselect()
1595 tu->timeri = NULL; snd_timer_user_tselect()
1604 err = snd_timer_open(&tu->timeri, str, &tselect.id, current->pid); snd_timer_user_tselect()
1608 kfree(tu->queue); snd_timer_user_tselect()
1609 tu->queue = NULL; snd_timer_user_tselect()
1610 kfree(tu->tqueue); snd_timer_user_tselect()
1611 tu->tqueue = NULL; snd_timer_user_tselect()
1612 if (tu->tread) { snd_timer_user_tselect()
1613 tu->tqueue = kmalloc(tu->queue_size * sizeof(struct snd_timer_tread), snd_timer_user_tselect()
1615 if (tu->tqueue == NULL) snd_timer_user_tselect()
1618 tu->queue = kmalloc(tu->queue_size * sizeof(struct snd_timer_read), snd_timer_user_tselect()
1620 if (tu->queue == NULL) snd_timer_user_tselect()
1625 snd_timer_close(tu->timeri); snd_timer_user_tselect()
1626 tu->timeri = NULL; snd_timer_user_tselect()
1628 tu->timeri->flags |= SNDRV_TIMER_IFLG_FAST; snd_timer_user_tselect()
1629 tu->timeri->callback = tu->tread snd_timer_user_tselect()
1631 tu->timeri->ccallback = snd_timer_user_ccallback; snd_timer_user_tselect()
1632 tu->timeri->callback_data = (void *)tu; snd_timer_user_tselect()
1642 struct snd_timer_user *tu; snd_timer_user_info() local
1647 tu = file->private_data; snd_timer_user_info()
1648 if (!tu->timeri) snd_timer_user_info()
1650 t = tu->timeri->timer; snd_timer_user_info()
1672 struct snd_timer_user *tu; snd_timer_user_params() local
1679 tu = file->private_data; snd_timer_user_params()
1680 if (!tu->timeri) snd_timer_user_params()
1682 t = tu->timeri->timer; snd_timer_user_params()
1713 snd_timer_stop(tu->timeri); snd_timer_user_params()
1715 tu->timeri->flags &= ~(SNDRV_TIMER_IFLG_AUTO| snd_timer_user_params()
1719 tu->timeri->flags |= SNDRV_TIMER_IFLG_AUTO; snd_timer_user_params()
1721 tu->timeri->flags |= SNDRV_TIMER_IFLG_EXCLUSIVE; snd_timer_user_params()
1723 tu->timeri->flags |= SNDRV_TIMER_IFLG_EARLY_EVENT; snd_timer_user_params()
1726 (unsigned int)tu->queue_size != params.queue_size) { snd_timer_user_params()
1727 if (tu->tread) { snd_timer_user_params()
1731 kfree(tu->tqueue); snd_timer_user_params()
1732 tu->queue_size = params.queue_size; snd_timer_user_params()
1733 tu->tqueue = ttr; snd_timer_user_params()
1739 kfree(tu->queue); snd_timer_user_params()
1740 tu->queue_size = params.queue_size; snd_timer_user_params()
1741 tu->queue = tr; snd_timer_user_params()
1745 tu->qhead = tu->qtail = tu->qused = 0; snd_timer_user_params()
1746 if (tu->timeri->flags & SNDRV_TIMER_IFLG_EARLY_EVENT) { snd_timer_user_params()
1747 if (tu->tread) { snd_timer_user_params()
1753 snd_timer_user_append_to_tqueue(tu, &tread); snd_timer_user_params()
1755 struct snd_timer_read *r = &tu->queue[0]; snd_timer_user_params()
1758 tu->qused++; snd_timer_user_params()
1759 tu->qtail++; snd_timer_user_params()
1762 tu->filter = params.filter; snd_timer_user_params()
1763 tu->ticks = params.ticks; snd_timer_user_params()
1774 struct snd_timer_user *tu; snd_timer_user_status() local
1777 tu = file->private_data; snd_timer_user_status()
1778 if (!tu->timeri) snd_timer_user_status()
1781 status.tstamp = tu->tstamp; snd_timer_user_status()
1782 status.resolution = snd_timer_resolution(tu->timeri); snd_timer_user_status()
1783 status.lost = tu->timeri->lost; snd_timer_user_status()
1784 status.overrun = tu->overrun; snd_timer_user_status()
1785 spin_lock_irq(&tu->qlock); snd_timer_user_status()
1786 status.queue = tu->qused; snd_timer_user_status()
1787 spin_unlock_irq(&tu->qlock); snd_timer_user_status()
1796 struct snd_timer_user *tu; snd_timer_user_start() local
1798 tu = file->private_data; snd_timer_user_start()
1799 if (!tu->timeri) snd_timer_user_start()
1801 snd_timer_stop(tu->timeri); snd_timer_user_start()
1802 tu->timeri->lost = 0; snd_timer_user_start()
1803 tu->last_resolution = 0; snd_timer_user_start()
1804 return (err = snd_timer_start(tu->timeri, tu->ticks)) < 0 ? err : 0; snd_timer_user_start()
1810 struct snd_timer_user *tu; snd_timer_user_stop() local
1812 tu = file->private_data; snd_timer_user_stop()
1813 if (!tu->timeri) snd_timer_user_stop()
1815 return (err = snd_timer_stop(tu->timeri)) < 0 ? err : 0; snd_timer_user_stop()
1821 struct snd_timer_user *tu; snd_timer_user_continue() local
1823 tu = file->private_data; snd_timer_user_continue()
1824 if (!tu->timeri) snd_timer_user_continue()
1826 tu->timeri->lost = 0; snd_timer_user_continue()
1827 return (err = snd_timer_continue(tu->timeri)) < 0 ? err : 0; snd_timer_user_continue()
1833 struct snd_timer_user *tu; snd_timer_user_pause() local
1835 tu = file->private_data; snd_timer_user_pause()
1836 if (!tu->timeri) snd_timer_user_pause()
1838 return (err = snd_timer_pause(tu->timeri)) < 0 ? err : 0; snd_timer_user_pause()
1851 struct snd_timer_user *tu; __snd_timer_user_ioctl() local
1855 tu = file->private_data; __snd_timer_user_ioctl()
1865 if (tu->timeri) /* too late */ __snd_timer_user_ioctl()
1869 tu->tread = xarg ? 1 : 0; __snd_timer_user_ioctl()
1905 struct snd_timer_user *tu = file->private_data; snd_timer_user_ioctl() local
1908 mutex_lock(&tu->ioctl_lock); snd_timer_user_ioctl()
1910 mutex_unlock(&tu->ioctl_lock); snd_timer_user_ioctl()
1916 struct snd_timer_user *tu; snd_timer_user_fasync() local
1918 tu = file->private_data; snd_timer_user_fasync()
1919 return fasync_helper(fd, file, on, &tu->fasync); snd_timer_user_fasync()
1925 struct snd_timer_user *tu; snd_timer_user_read() local
1930 tu = file->private_data; snd_timer_user_read()
1931 unit = tu->tread ? sizeof(struct snd_timer_tread) : sizeof(struct snd_timer_read); snd_timer_user_read()
1932 spin_lock_irq(&tu->qlock); snd_timer_user_read()
1934 while (!tu->qused) { snd_timer_user_read()
1944 add_wait_queue(&tu->qchange_sleep, &wait); snd_timer_user_read()
1946 spin_unlock_irq(&tu->qlock); snd_timer_user_read()
1948 spin_lock_irq(&tu->qlock); snd_timer_user_read()
1950 remove_wait_queue(&tu->qchange_sleep, &wait); snd_timer_user_read()
1952 if (tu->disconnected) { snd_timer_user_read()
1962 qhead = tu->qhead++; snd_timer_user_read()
1963 tu->qhead %= tu->queue_size; snd_timer_user_read()
1964 spin_unlock_irq(&tu->qlock); snd_timer_user_read()
1966 if (tu->tread) { snd_timer_user_read()
1967 if (copy_to_user(buffer, &tu->tqueue[qhead], snd_timer_user_read()
1971 if (copy_to_user(buffer, &tu->queue[qhead], snd_timer_user_read()
1976 spin_lock_irq(&tu->qlock); snd_timer_user_read()
1977 tu->qused--; snd_timer_user_read()
1984 spin_unlock_irq(&tu->qlock); snd_timer_user_read()
1991 struct snd_timer_user *tu; snd_timer_user_poll() local
1993 tu = file->private_data; snd_timer_user_poll()
1995 poll_wait(file, &tu->qchange_sleep, wait); snd_timer_user_poll()
1998 if (tu->qused) snd_timer_user_poll()
2000 if (tu->disconnected) snd_timer_user_poll()
H A Dtimer_compat.c38 struct snd_timer_user *tu; snd_timer_user_info_compat() local
42 tu = file->private_data; snd_timer_user_info_compat()
43 if (snd_BUG_ON(!tu->timeri)) snd_timer_user_info_compat()
45 t = tu->timeri->timer; snd_timer_user_info_compat()
72 struct snd_timer_user *tu; snd_timer_user_status_compat() local
75 tu = file->private_data; snd_timer_user_status_compat()
76 if (snd_BUG_ON(!tu->timeri)) snd_timer_user_status_compat()
79 status.tstamp.tv_sec = tu->tstamp.tv_sec; snd_timer_user_status_compat()
80 status.tstamp.tv_nsec = tu->tstamp.tv_nsec; snd_timer_user_status_compat()
81 status.resolution = snd_timer_resolution(tu->timeri); snd_timer_user_status_compat()
82 status.lost = tu->timeri->lost; snd_timer_user_status_compat()
83 status.overrun = tu->overrun; snd_timer_user_status_compat()
84 spin_lock_irq(&tu->qlock); snd_timer_user_status_compat()
85 status.queue = tu->qused; snd_timer_user_status_compat()
86 spin_unlock_irq(&tu->qlock); snd_timer_user_status_compat()
/linux-4.4.14/arch/x86/include/asm/
H A Dirq.h7 * <tomsoft@informatik.tu-chemnitz.de>
H A Dhw_irq.h10 * <tomsoft@informatik.tu-chemnitz.de>
/linux-4.4.14/arch/m68k/68000/
H A Dm68328.c50 printk(KERN_INFO "68328/Pilot support Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de>\n"); config_BSP()
/linux-4.4.14/drivers/media/rc/keymaps/
H A Drc-medion-x10.c7 * Jan Losinski <losinski@wh2.tu-dresden.de>
/linux-4.4.14/kernel/
H A Dcompat.c242 struct timespec tu, rmt; COMPAT_SYSCALL_DEFINE2() local
246 if (compat_get_timespec(&tu, rqtp)) COMPAT_SYSCALL_DEFINE2()
249 if (!timespec_valid(&tu)) COMPAT_SYSCALL_DEFINE2()
254 ret = hrtimer_nanosleep(&tu, COMPAT_SYSCALL_DEFINE2()
818 struct timespec tu; compat_clock_nanosleep_restart() local
821 restart->nanosleep.rmtp = (struct timespec __user *) &tu; compat_clock_nanosleep_restart()
828 compat_put_timespec(&tu, rmtp)) compat_clock_nanosleep_restart()
H A Dworkqueue.c9 * Kai Petzke <wpp@marie.physik.tu-berlin.de>
/linux-4.4.14/drivers/video/fbdev/matrox/
H A Dmatroxfb_accel.c30 * "Gerd Knorr" <kraxel@goldbach.isdn.cs.tu-berlin.de>
54 * "Ulf Jaenicke-Roessler" <ujr@physik.phy.tu-dresden.de>
70 * (c) 1998 Gerd Knorr <kraxel@cs.tu-berlin.de>
H A Dmatroxfb_Ti3026.c32 * "Gerd Knorr" <kraxel@goldbach.isdn.cs.tu-berlin.de>
56 * "Ulf Jaenicke-Roessler" <ujr@physik.phy.tu-dresden.de>
72 * (c) 1998 Gerd Knorr <kraxel@cs.tu-berlin.de>
H A Dmatroxfb_misc.c32 * "Gerd Knorr" <kraxel@goldbach.isdn.cs.tu-berlin.de>
56 * "Ulf Jaenicke-Roessler" <ujr@physik.phy.tu-dresden.de>
78 * (c) 1998 Gerd Knorr <kraxel@cs.tu-berlin.de>
H A Dmatroxfb_base.c32 * "Gerd Knorr" <kraxel@goldbach.isdn.cs.tu-berlin.de>
56 * "Ulf Jaenicke-Roessler" <ujr@physik.phy.tu-dresden.de>
93 * (c) 1998 Gerd Knorr <kraxel@cs.tu-berlin.de>
/linux-4.4.14/drivers/pnp/pnpbios/
H A Dpnpbios.h8 * Original BIOS code (C) 1998 Christian Schmidt (chr.schmidt@tu-bs.de)
/linux-4.4.14/drivers/gpu/drm/i915/
H A Ddvo_ivch.c25 * Thomas Richter <thor@math.tu-berlin.de>
28 * Thomas Richter <thor@math.tu-berlin.de>
H A Dintel_dp_mst.c91 pipe_config->dp_m_n.tu = slots;
H A Dintel_display.c7120 m_n->tu = 64; intel_link_compute_m_n()
7237 I915_WRITE(PCH_TRANS_DATA_M1(pipe), TU_SIZE(m_n->tu) | m_n->gmch_m); intel_pch_transcoder_set_m_n()
7253 I915_WRITE(PIPE_DATA_M1(transcoder), TU_SIZE(m_n->tu) | m_n->gmch_m); intel_cpu_transcoder_set_m_n()
7264 TU_SIZE(m2_n2->tu) | m2_n2->gmch_m); intel_cpu_transcoder_set_m_n()
7270 I915_WRITE(PIPE_DATA_M_G4X(pipe), TU_SIZE(m_n->tu) | m_n->gmch_m); intel_cpu_transcoder_set_m_n()
8989 m_n->tu = ((I915_READ(PCH_TRANS_DATA_M1(pipe)) intel_pch_transcoder_get_m_n()
9008 m_n->tu = ((I915_READ(PIPE_DATA_M1(transcoder)) intel_cpu_transcoder_get_m_n()
9021 m2_n2->tu = ((I915_READ(PIPE_DATA_M2(transcoder)) intel_cpu_transcoder_get_m_n()
9030 m_n->tu = ((I915_READ(PIPE_DATA_M_G4X(pipe)) intel_cpu_transcoder_get_m_n()
12012 DRM_DEBUG_KMS("fdi/pch: %i, lanes: %i, gmch_m: %u, gmch_n: %u, link_m: %u, link_n: %u, tu: %u\n", intel_dump_pipe_config()
12017 pipe_config->fdi_m_n.tu); intel_dump_pipe_config()
12018 DRM_DEBUG_KMS("dp: %i, lanes: %i, gmch_m: %u, gmch_n: %u, link_m: %u, link_n: %u, tu: %u\n", intel_dump_pipe_config()
12023 pipe_config->dp_m_n.tu); intel_dump_pipe_config()
12032 pipe_config->dp_m2_n2.tu); intel_dump_pipe_config()
12395 if (m_n->tu == m2_n2->tu && intel_compare_link_m_n()
12448 "(expected tu %i gmch %i/%i link %i/%i, " \ intel_pipe_config_compare()
12449 "found tu %i, gmch %i/%i link %i/%i)\n", \ intel_pipe_config_compare()
12450 current_config->name.tu, \ intel_pipe_config_compare()
12455 pipe_config->name.tu, \ intel_pipe_config_compare()
12469 "(expected tu %i gmch %i/%i link %i/%i, " \ intel_pipe_config_compare()
12470 "or tu %i gmch %i/%i link %i/%i, " \ intel_pipe_config_compare()
12471 "found tu %i, gmch %i/%i link %i/%i)\n", \ intel_pipe_config_compare()
12472 current_config->name.tu, \ intel_pipe_config_compare()
12477 current_config->alt_name.tu, \ intel_pipe_config_compare()
12482 pipe_config->name.tu, \ intel_pipe_config_compare()
H A Di915_drv.h424 uint32_t tu; member in struct:intel_link_m_n
/linux-4.4.14/drivers/scsi/
H A Dsr_vendor.c15 * Gerd Knorr <kraxel@cs.tu-berlin.de>
H A Dscsi.c15 * Thomas Wuensche <tw@fgb1.fgb.mw.tu-muenchen.de>
H A Dsr.c20 * Modified by Gerd Knorr <kraxel@cs.tu-berlin.de> to support the
/linux-4.4.14/drivers/media/rc/
H A Digorplugusb.c11 * <hochstein@algo.informatik.tu-darmstadt.de>
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
H A Dconf.h1098 * Range: u32 tu/1000
1108 * Range: u32 tu/1000
1118 * Range: u32 tu/1000
1126 * Range: u32 tu/1000
/linux-4.4.14/net/mac80211/
H A Dmesh_sync.c3 * Copyright 2011-2012, Marco Porsch <marco.porsch@s2005.tu-chemnitz.de>
H A Dmesh_ps.c2 * Copyright 2012-2013, Marco Porsch <marco.porsch@s2005.tu-chemnitz.de>
H A Dmlme.c3158 u32 tu, ms; ieee80211_rx_mgmt_assoc_resp() local
3159 tu = le32_to_cpu(elems.timeout_int->value); ieee80211_rx_mgmt_assoc_resp()
3160 ms = tu * 1024 / 1000; ieee80211_rx_mgmt_assoc_resp()
3163 mgmt->sa, tu, ms); ieee80211_rx_mgmt_assoc_resp()
/linux-4.4.14/sound/i2c/
H A Di2c.c4 * (c) 1998 Gerd Knorr <kraxel@cs.tu-berlin.de>
/linux-4.4.14/kernel/time/
H A Dhrtimer.c1589 struct timespec tu; SYSCALL_DEFINE2() local
1591 if (copy_from_user(&tu, rqtp, sizeof(tu))) SYSCALL_DEFINE2()
1594 if (!timespec_valid(&tu)) SYSCALL_DEFINE2()
1597 return hrtimer_nanosleep(&tu, rmtp, HRTIMER_MODE_REL, CLOCK_MONOTONIC); SYSCALL_DEFINE2()
/linux-4.4.14/arch/m68k/include/asm/
H A Ddma.h19 * Oliver Kamphenkel (O.Kamphenkel@tu-bs.de)
22 * Oliver Kamphenkel (O.Kamphenkel@tu-bs.de)
/linux-4.4.14/drivers/w1/slaves/
H A Dw1_ds28e04.c28 MODULE_AUTHOR("Markus Franke <franke.m@sebakmt.com>, <franm@hrz.tu-chemnitz.de>");
/linux-4.4.14/drivers/gpu/drm/gma500/
H A Dcdv_intel_dp.c945 uint32_t tu; member in struct:cdv_intel_dp_m_n
975 m_n->tu = 64; cdv_intel_dp_compute_m_n()
1029 ((m_n.tu - 1) << PIPE_GMCH_DATA_M_TU_SIZE_SHIFT) | cdv_intel_dp_set_m_n()
/linux-4.4.14/fs/lockd/
H A Dclnt4xdr.c82 "Remaining buffer length is %tu words.\n", print_overflow_msg()
H A Dclntxdr.c78 "Remaining buffer length is %tu words.\n", print_overflow_msg()
/linux-4.4.14/net/ipv4/
H A Dproc.c13 * Erik Schoenfelder, <schoenfr@ibr.cs.tu-bs.de>
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
H A Dhw.c1003 static bool ath9k_hw_set_global_txtimeout(struct ath_hw *ah, u32 tu) ath9k_hw_set_global_txtimeout() argument
1005 if (tu > 0xFFFF) { ath9k_hw_set_global_txtimeout()
1007 tu); ath9k_hw_set_global_txtimeout() local
1011 REG_RMW_FIELD(ah, AR_GTXTO, AR_GTXTO_TIMEOUT_LIMIT, tu); ath9k_hw_set_global_txtimeout()
1012 ah->globaltxtimeout = tu; ath9k_hw_set_global_txtimeout()
/linux-4.4.14/include/linux/
H A Dieee80211.h2441 * @tu: the TUs
2443 static inline unsigned long ieee80211_tu_to_usec(unsigned long tu) ieee80211_tu_to_usec() argument
2445 return 1024 * tu; ieee80211_tu_to_usec()
/linux-4.4.14/drivers/video/fbdev/
H A Dmacfb.c8 * (c) 1998 Gerd Knorr <kraxel@cs.tu-berlin.de>
/linux-4.4.14/drivers/platform/x86/
H A Dpanasonic-laptop.c58 * thanks Fabian Yamaguchi <fabs@cs.tu-berlin.de>,
/linux-4.4.14/fs/ufs/
H A Ddir.c13 * on code by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
H A Dufs_fs.h15 * on code by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
H A Dsuper.c51 * on code by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
/linux-4.4.14/ipc/
H A Dsem.c1089 struct sem_undo *un, *tu; freeary() local
1097 list_for_each_entry_safe(un, tu, &sma->list_id, list_id) { freeary()
/linux-4.4.14/fs/nfs/
H A Dnfs2xdr.c87 "Remaining buffer length is %tu words.\n", print_overflow_msg()
H A Dnfs3xdr.c126 "Remaining buffer length is %tu words.\n", print_overflow_msg()
H A Dnfs4xdr.c3019 "Remaining buffer length is %tu words.\n", print_overflow_msg()
/linux-4.4.14/fs/nfsd/
H A Dnfs4callback.c68 "Remaining buffer length is %tu words.\n", print_overflow_msg()
/linux-4.4.14/lib/
H A Dstring.c13 * * Fri Jun 25 1999, Ingo Oeser <ioe@informatik.tu-chemnitz.de>
/linux-4.4.14/drivers/usb/storage/
H A Dunusual_devs.h229 /* Reported by Manuel Osdoba <manuel.osdoba@tu-ilmenau.de> */
/linux-4.4.14/drivers/gpu/drm/tegra/
H A Dsor.c621 "polarity: %d active count: %d tu size: %d active frac: %d\n", tegra_sor_calc_config()
/linux-4.4.14/drivers/net/wan/
H A Ddscc4.c26 * at http://www.afthd.tu-darmstadt.de/~dg1kjd/pciscc4 for a specific
/linux-4.4.14/drivers/net/xen-netback/
H A Dnetback.c1749 netdev_err(queue->vif->dev, "Unmap fail: nr_ops %tu ret %d\n", xenvif_tx_dealloc_action()
/linux-4.4.14/mm/
H A Dslub.c628 pr_err("INFO: Object 0x%p @offset=%tu fp=0x%p\n\n", print_trailer()
3433 pr_err("INFO: Object 0x%p @offset=%tu\n", p, p - addr); list_slab_objects()
/linux-4.4.14/drivers/atm/
H A Dfore200e.c5 Based on the PCA-200E driver from Uwe Dannowski (Uwe.Dannowski@inf.tu-dresden.de).
/linux-4.4.14/fs/
H A Dlocks.c13 * Kai Petzke (wpp@marie.physik.tu-berlin.de), 1994

Completed in 4894 milliseconds