Home
last modified time | relevance | path

Searched refs:nt (Results 1 – 25 of 84) sorted by relevance

1234

/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-novatek-nt35950.c92 static void nt35950_reset(struct nt35950 *nt) in nt35950_reset() argument
94 gpiod_set_value_cansleep(nt->reset_gpio, 1); in nt35950_reset()
96 gpiod_set_value_cansleep(nt->reset_gpio, 0); in nt35950_reset()
98 gpiod_set_value_cansleep(nt->reset_gpio, 1); in nt35950_reset()
109 static int nt35950_set_cmd2_page(struct nt35950 *nt, u8 page) in nt35950_set_cmd2_page() argument
115 ret = mipi_dsi_dcs_write_buffer(nt->dsi[0], mauc_cmd2_page, in nt35950_set_cmd2_page()
120 nt->last_page = page; in nt35950_set_cmd2_page()
131 static int nt35950_set_data_compression(struct nt35950 *nt, u8 comp_mode) in nt35950_set_data_compression() argument
136 u8 last_page = nt->last_page; in nt35950_set_data_compression()
141 ret = nt35950_set_cmd2_page(nt, 0); in nt35950_set_data_compression()
[all …]
H A Dpanel-novatek-nt35510.c394 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 …]
H A Dpanel-novatek-nt35560.c150 struct nt35560 *nt = bl_get_data(bl); in nt35560_set_brightness() local
151 struct mipi_dsi_device *dsi = to_mipi_dsi_device(nt->dev); in nt35560_set_brightness()
165 dev_err(nt->dev, "failed to disable display backlight (%d)\n", ret); in nt35560_set_brightness()
178 dev_dbg(nt->dev, "calculated duty cycle %02x\n", pwm_ratio); in nt35560_set_brightness()
182 dev_err(nt->dev, "failed to set display PWM ratio (%d)\n", ret); in nt35560_set_brightness()
198 dev_err(nt->dev, "failed to unlock CMD 2 (%d)\n", ret); in nt35560_set_brightness()
204 dev_err(nt->dev, "failed to enter page 1 (%d)\n", ret); in nt35560_set_brightness()
210 dev_err(nt->dev, "failed to disable MTP reload (%d)\n", ret); in nt35560_set_brightness()
215 dev_err(nt->dev, "failed to set PWM divisor (%d)\n", ret); in nt35560_set_brightness()
221 dev_err(nt->dev, "failed to lock CMD 2 (%d)\n", ret); in nt35560_set_brightness()
[all …]
/openbmc/linux/drivers/net/
H A Dnetconsole.c133 static void netconsole_target_get(struct netconsole_target *nt) in netconsole_target_get() argument
135 if (config_item_name(&nt->item)) in netconsole_target_get()
136 config_item_get(&nt->item); in netconsole_target_get()
139 static void netconsole_target_put(struct netconsole_target *nt) in netconsole_target_put() argument
141 if (config_item_name(&nt->item)) in netconsole_target_put()
142 config_item_put(&nt->item); in netconsole_target_put()
160 static void netconsole_target_get(struct netconsole_target *nt) in netconsole_target_get() argument
164 static void netconsole_target_put(struct netconsole_target *nt) in netconsole_target_put() argument
175 struct netconsole_target *nt; in alloc_and_init() local
177 nt = kzalloc(sizeof(*nt), GFP_KERNEL); in alloc_and_init()
[all …]
H A Dnlmon.c32 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()
/openbmc/linux/drivers/ntb/
H A Dntb_transport.c218 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 …]
/openbmc/linux/net/tipc/
H A Dname_distr.c90 struct name_table *nt = tipc_name_table(net); in tipc_named_publish() local
95 list_add_tail_rcu(&p->binding_node, &nt->node_scope); in tipc_named_publish()
98 write_lock_bh(&nt->cluster_scope_lock); in tipc_named_publish()
99 list_add_tail(&p->binding_node, &nt->cluster_scope); in tipc_named_publish()
100 write_unlock_bh(&nt->cluster_scope_lock); in tipc_named_publish()
106 msg_set_named_seqno(buf_msg(skb), nt->snd_nxt++); in tipc_named_publish()
120 struct name_table *nt = tipc_name_table(net); in tipc_named_withdraw() local
124 write_lock_bh(&nt->cluster_scope_lock); in tipc_named_withdraw()
126 write_unlock_bh(&nt->cluster_scope_lock); in tipc_named_withdraw()
135 msg_set_named_seqno(buf_msg(skb), nt->snd_nxt++); in tipc_named_withdraw()
[all …]
H A Dname_table.c260 struct name_table *nt = tipc_name_table(net); in tipc_service_create() local
275 hd = &nt->services[hash(ua->sr.type)]; in tipc_service_create()
464 struct name_table *nt = tipc_name_table(net); in tipc_service_find() local
468 service_head = &nt->services[hash(ua->sr.type)]; in tipc_service_find()
763 struct name_table *nt = tipc_name_table(net); in tipc_nametbl_publish() local
771 if (nt->local_publ_count >= TIPC_MAX_PUBL) { in tipc_nametbl_publish()
778 nt->local_publ_count++; in tipc_nametbl_publish()
781 rc_dests = nt->rc_dests; in tipc_nametbl_publish()
801 struct name_table *nt = tipc_name_table(net); in tipc_nametbl_withdraw() local
811 nt->local_publ_count--; in tipc_nametbl_withdraw()
[all …]
/openbmc/linux/arch/hexagon/lib/
H A Dmemset.S159 if (r2==#0) jump:nt .L1
164 if (p0.new) jump:nt .L3
179 if (!p0.new) jump:nt .L8
191 if (!p0.new) jump:nt .L10
197 if (p0.new) jump:nt .L1
202 if (!p0.new) jump:nt .L12
208 if (p0.new) jump:nt .L1
213 if (!p0.new) jump:nt .L14
216 if (r3==#0) jump:nt .L17
222 if (r3==#0) jump:nt .L17
[all …]
H A Dmemcpy_likely_aligned.S16 if (!p0) jump:nt .Lmemcpy_call
22 if (p0) jump:nt .Lmemcpy_call
/openbmc/u-boot/lib/efi_loader/
H A Defi_image_loader.c220 IMAGE_NT_HEADERS32 *nt; in efi_load_pe() local
240 nt = (void *) ((char *)efi + dos->e_lfanew); in efi_load_pe()
241 if (nt->Signature != IMAGE_NT_SIGNATURE) { in efi_load_pe()
247 if (machines[i] == nt->FileHeader.Machine) { in efi_load_pe()
254 __func__, nt->FileHeader.Machine); in efi_load_pe()
259 num_sections = nt->FileHeader.NumberOfSections; in efi_load_pe()
260 sections = (void *)&nt->OptionalHeader + in efi_load_pe()
261 nt->FileHeader.SizeOfOptionalHeader; in efi_load_pe()
270 if (nt->OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR64_MAGIC) { in efi_load_pe()
271 IMAGE_NT_HEADERS64 *nt64 = (void *)nt; in efi_load_pe()
[all …]
/openbmc/linux/Documentation/usb/
H A Dlinux-cdc-acm.inf28 [DriverInstall.nt]
30 CopyFiles=DriverCopyFiles.nt
31 AddReg=DriverInstall.nt.AddReg
33 [DriverCopyFiles.nt]
36 [DriverInstall.nt.AddReg]
41 [DriverInstall.nt.Services]
42 AddService=usbser, 0x00000002, DriverService.nt
44 [DriverService.nt]
/openbmc/linux/arch/hexagon/mm/
H A Dcopy_user_template.S20 if (!p0.new) jump:nt .Ldone
27 if (!p0.new) jump:nt .Loop_not_aligned_8
53 if (p0.new) jump:nt .Lalign
57 if (!p0.new) jump:nt .Loop_not_aligned_4
83 if (!p0.new) jump:nt .Loop_not_aligned
126 if (p0.new) jump:nt .Loop_not_aligned
/openbmc/linux/tools/testing/selftests/rcutorture/bin/
H A Dfunctions.sh311 echo $2 -smp cores=`expr \( $3 + $nt - 1 \) / $nt`,threads=$nt
/openbmc/linux/tools/perf/util/
H A Dthread_map.c184 struct perf_thread_map *threads = NULL, *nt; in thread_map__new_by_pid_str() local
214 nt = perf_thread_map__realloc(threads, total_tasks); in thread_map__new_by_pid_str()
215 if (nt == NULL) in thread_map__new_by_pid_str()
218 threads = nt; in thread_map__new_by_pid_str()
246 struct perf_thread_map *threads = NULL, *nt; in thread_map__new_by_tid_str() local
273 nt = perf_thread_map__realloc(threads, ntasks); in thread_map__new_by_tid_str()
275 if (nt == NULL) in thread_map__new_by_tid_str()
278 threads = nt; in thread_map__new_by_tid_str()
/openbmc/linux/net/ipv6/
H A Dip6_gre.c349 struct ip6_tnl *t, *nt; in ip6gre_tunnel_locate() local
374 nt = netdev_priv(dev); in ip6gre_tunnel_locate()
375 nt->parms = *parms; in ip6gre_tunnel_locate()
378 nt->dev = dev; in ip6gre_tunnel_locate()
379 nt->net = dev_net(dev); in ip6gre_tunnel_locate()
384 ip6gre_tnl_link_config(nt, 1); in ip6gre_tunnel_locate()
385 ip6gre_tunnel_link(ign, nt); in ip6gre_tunnel_locate()
386 return nt; in ip6gre_tunnel_locate()
1460 struct ip6_tnl *nt = netdev_priv(dev); in ip6gre_tnl_init_features() local
1466 flags = nt->parms.o_flags; in ip6gre_tnl_init_features()
[all …]
/openbmc/linux/drivers/mtd/ubi/
H A Dgluebi.c447 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()
H A Dblock.c538 struct ubi_notification *nt = ns_ptr; in ubiblock_notify() local
548 ubiblock_remove(&nt->vi); in ubiblock_notify()
551 ubiblock_resize(&nt->vi); in ubiblock_notify()
558 if (nt->vi.vol_type == UBI_STATIC_VOLUME) in ubiblock_notify()
559 ubiblock_resize(&nt->vi); in ubiblock_notify()
H A Dbuild.c159 struct ubi_notification nt; in ubi_volume_notify() local
161 ubi_do_get_device_info(ubi, &nt.di); in ubi_volume_notify()
162 ubi_do_get_volume_info(ubi, vol, &nt.vi); in ubi_volume_notify()
174 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify()
190 struct ubi_notification nt; in ubi_notify_all() local
193 ubi_do_get_device_info(ubi, &nt.di); in ubi_notify_all()
205 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all()
207 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all()
210 &nt); in ubi_notify_all()
/openbmc/qemu/tests/tcg/hexagon/
H A Dtest_fibonacci.S11 p0 = cmp.gt(r2, #0); if (!p0.new) jump:nt .LBB0_3
22 p0 = cmp.gt(r2, r5); if (p0.new) jump:nt .LBB0_2
/openbmc/qemu/target/hexagon/imported/
H A Dbranch.idef41 Q6INSN(TAG##t,"if (Pu4) "OPER":nt "OPER2,ATTRIB,DESCR,{fBRANCH_SPECULATE_STALL(fLSBOLD(PuV),,SPECUL…
42 Q6INSN(TAG##f,"if (!Pu4) "OPER":nt "OPER2,ATTRIB,DESCR,{fBRANCH_SPECULATE_STALL(fLSBOLDNOT(PuV),,SP…
53 Q6INSN(TAG##tnew,"if (Pu4.new) "OPER":nt "OPER2,ATTRIB,DESCR,{fBRANCH_SPECULATE_STALL(fLSBNEW(PuN),…
54 Q6INSN(TAG##fnew,"if (!Pu4.new) "OPER":nt "OPER2,ATTRIB,DESCR,{fBRANCH_SPECULATE_STALL(fLSBNEWNOT(P…
73 Q6INSN(J2_jumprz,"if (Rs32!=#0) jump:nt #r13:2",ATTRIBS(A_CJNEWDIR,A_ARCHV3),"direct conditional ju…
76 Q6INSN(J2_jumprnz,"if (Rs32==#0) jump:nt #r13:2",ATTRIBS(A_CJNEWDIR,A_ARCHV3),"direct conditional j…
85 Q6INSN(J2_jumprgtez,"if (Rs32>=#0) jump:nt #r13:2",ATTRIBS(A_CJNEWDIR,A_ARCHV3),"direct conditional…
91 Q6INSN(J2_jumprltez,"if (Rs32<=#0) jump:nt #r13:2",ATTRIBS(A_CJNEWDIR,A_ARCHV3),"direct conditional…
106 Q6INSN(J4_##TAG##_tp0_jump_nt, "p0="TST"; if (p0.new) jump:nt #r9:2", ATTRIBS(A_CJNEWDIR,A_NEWCMPJU…
107 Q6INSN(J4_##TAG##_fp0_jump_nt, "p0="TST"; if (!p0.new) jump:nt #r9:2", ATTRIBS(A_CJNEWDIR,A_NEWCMPJ…
[all …]
/openbmc/linux/net/ipv4/
H A Dip_tunnel.c332 struct ip_tunnel *nt; in ip_tunnel_create() local
347 nt = netdev_priv(dev); in ip_tunnel_create()
348 t_hlen = nt->hlen + sizeof(struct iphdr); in ip_tunnel_create()
354 ip_tunnel_add(itn, nt); in ip_tunnel_create()
355 return nt; in ip_tunnel_create()
1179 struct ip_tunnel *nt; in ip_tunnel_newlink() local
1185 nt = netdev_priv(dev); in ip_tunnel_newlink()
1186 itn = net_generic(net, nt->ip_tnl_net_id); in ip_tunnel_newlink()
1188 if (nt->collect_md) { in ip_tunnel_newlink()
1196 nt->net = net; in ip_tunnel_newlink()
[all …]
/openbmc/linux/net/switchdev/
H A Dswitchdev.c131 static int switchdev_port_attr_notify(enum switchdev_notifier_type nt, in switchdev_port_attr_notify() argument
144 rc = call_switchdev_blocking_notifiers(nt, dev, in switchdev_port_attr_notify()
223 static int switchdev_port_obj_notify(enum switchdev_notifier_type nt, in switchdev_port_obj_notify() argument
236 rc = call_switchdev_blocking_notifiers(nt, dev, &obj_info.info, extack); in switchdev_port_obj_notify()
352 enum switchdev_notifier_type nt, in switchdev_port_obj_act_is_deferred() argument
367 nt == SWITCHDEV_PORT_OBJ_ADD) || in switchdev_port_obj_act_is_deferred()
369 nt == SWITCHDEV_PORT_OBJ_DEL)) { in switchdev_port_obj_act_is_deferred()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dbuild.c185 struct ubi_notification nt; in ubi_volume_notify() local
187 ubi_do_get_device_info(ubi, &nt.di); in ubi_volume_notify()
188 ubi_do_get_volume_info(ubi, vol, &nt.vi); in ubi_volume_notify()
200 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify()
216 struct ubi_notification nt; in ubi_notify_all() local
222 ubi_do_get_device_info(ubi, &nt.di); in ubi_notify_all()
234 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all()
237 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all()
240 &nt); in ubi_notify_all()
/openbmc/linux/lib/zlib_dfltcc/
H A Ddfltcc_inflate.c46 return !param->nt; in dfltcc_was_inflate_used()
131 param->nt = 0; /* Honor history for the first block */ in dfltcc_inflate()

1234