Home
last modified time | relevance | path

Searched full:hints (Results 1 – 25 of 357) sorted by relevance

12345678910>>...15

/Linux-v6.6/drivers/gpu/drm/vboxvideo/
Dvbox_irq.c61 * Check that the position hints provided by the host are suitable for GNOME
62 * shell (i.e. all screens disjoint and hints for all enabled screens) and if
63 * not replace them with default ones. Providing valid hints improves the
106 /* Query the host for the most recent video mode hints. */
113 struct vbva_modehint *hints; in vbox_update_mode_hints() local
133 hints = &vbox->last_mode_hints[vbox_conn->vbox_crtc->crtc_id]; in vbox_update_mode_hints()
134 if (hints->magic != VBVAMODEHINT_MAGIC) in vbox_update_mode_hints()
137 disconnected = !(hints->enabled); in vbox_update_mode_hints()
139 vbox_conn->mode_hint.width = hints->cx; in vbox_update_mode_hints()
140 vbox_conn->mode_hint.height = hints->cy; in vbox_update_mode_hints()
[all …]
Dmodesetting.c91 * hgsmi_get_mode_hints - Get most recent video mode hints.
94 * @screens: The number of screens to query hints for, starting at 0.
95 * @hints: Array of vbva_modehint structures for receiving the hints.
98 struct vbva_modehint *hints) in hgsmi_get_mode_hints() argument
103 if (WARN_ON(!hints)) in hgsmi_get_mode_hints()
123 memcpy(hints, ((u8 *)p) + sizeof(struct vbva_query_mode_hints), size); in hgsmi_get_mode_hints()
Dvboxvideo.h167 /* Query most recent mode hints sent */
185 * Returns VINF_SUCCESS if the host can report mode hints via VBVA.
374 /* The guest can read video mode hints sent via VBVA. */
386 /* Query the most recent mode hints received from the host. */
388 /* The maximum number of screens to return hints for. */
/Linux-v6.6/drivers/misc/sgi-gru/
Dgru_instructions.h348 /* Convert "hints" to IMA */
360 unsigned int tri0, int iaa, unsigned long hints) in gru_vload_phys() argument
368 (unsigned long)tri0, CB_IMA(hints))); in gru_vload_phys()
372 unsigned int tri0, int iaa, unsigned long hints) in gru_vstore_phys() argument
380 (unsigned long)tri0, CB_IMA(hints))); in gru_vstore_phys()
385 unsigned long stride, unsigned long hints) in gru_vload() argument
393 (unsigned long)tri0, CB_IMA(hints))); in gru_vload()
398 unsigned long stride, unsigned long hints) in gru_vstore() argument
406 tri0, CB_IMA(hints))); in gru_vstore()
411 unsigned long nelem, unsigned long hints) in gru_ivload() argument
[all …]
/Linux-v6.6/lib/
Dobjagg.c51 struct objagg_hints *hints; member
228 /* In case there are no hints available, the root id is invalid. */ in objagg_obj_root_id_alloc()
229 if (!objagg->hints) { in objagg_obj_root_id_alloc()
241 min = objagg->hints->root_count; in objagg_obj_root_id_alloc()
256 if (!objagg->hints) in objagg_obj_root_id_free()
303 hnode = objagg_hints_lookup(objagg->hints, objagg_obj->obj); in objagg_obj_init_with_hints()
337 /* First, try to use hints if they are available and in objagg_obj_init()
489 * @objagg_hints: hints, can be NULL
530 objagg->hints = objagg_hints; in objagg_create()
567 if (objagg->hints) in objagg_destroy()
[all …]
Dtest_objagg.c912 struct objagg_hints *hints; in test_hints_case() local
941 hints = objagg_hints_get(objagg, OBJAGG_OPT_ALGO_SIMPLE_GREEDY); in test_hints_case()
942 if (IS_ERR(hints)) { in test_hints_case()
943 err = PTR_ERR(hints); in test_hints_case()
947 pr_debug_hints_stats(hints); in test_hints_case()
948 err = check_expect_hints_stats(hints, &hints_case->expect_stats_hints, in test_hints_case()
951 pr_err("Hints stats: %s\n", errmsg); in test_hints_case()
955 objagg2 = objagg_create(&delta_ops, hints, &world2); in test_hints_case()
985 objagg_hints_put(hints); in test_hints_case()
/Linux-v6.6/include/net/
Dregulatory.h110 * domain programmed further regulatory hints shall only be considered
121 * domain is set, and all other regulatory hints will be ignored
125 * cfg80211 due to regulatory beacon hints. For more information on beacon
126 * hints read the documenation for regulatory_hint_found_beacon()
148 * beacon-hints, country-code IEs and hints from other devices on the same
150 * hints with other devices in the system. If a system contains several
154 * with non-locally originated hints.
/Linux-v6.6/arch/arm64/hyperv/
Dmshyperv.c44 /* Get the features and hints from Hyper-V */ in hyperv_init()
51 ms_hyperv.hints = result.as32.a; in hyperv_init()
53 pr_info("Hyper-V: privilege flags low 0x%x, high 0x%x, hints 0x%x, misc 0x%x\n", in hyperv_init()
54 ms_hyperv.features, ms_hyperv.priv_high, ms_hyperv.hints, in hyperv_init()
/Linux-v6.6/tools/usb/usbip/src/
Dusbip_network.c263 struct addrinfo hints, *res, *rp; in usbip_net_tcp_connect() local
267 memset(&hints, 0, sizeof(hints)); in usbip_net_tcp_connect()
268 hints.ai_family = AF_UNSPEC; in usbip_net_tcp_connect()
269 hints.ai_socktype = SOCK_STREAM; in usbip_net_tcp_connect()
272 ret = getaddrinfo(hostname, service, &hints, &res); in usbip_net_tcp_connect()
Dusbipd.c428 struct addrinfo hints, *ai_head; in do_getaddrinfo() local
431 memset(&hints, 0, sizeof(hints)); in do_getaddrinfo()
432 hints.ai_family = ai_family; in do_getaddrinfo()
433 hints.ai_socktype = SOCK_STREAM; in do_getaddrinfo()
434 hints.ai_flags = AI_PASSIVE; in do_getaddrinfo()
436 rc = getaddrinfo(host, usbip_port_string, &hints, &ai_head); in do_getaddrinfo()
/Linux-v6.6/net/wireless/
DKconfig126 bool "cfg80211 regulatory support for cellular base station hints"
129 This option enables support for parsing regulatory hints
131 claims support for parsing cellular base station hints the
132 regulatory core will allow and parse these regulatory hints.
133 The regulatory core will only apply these regulatory hints on
Dreg.h68 * regulatory_hint_found_beacon - hints a beacon was found on a channel
90 * regulatory_hint_country_ie - hints a country IE as a regulatory domain
125 * beacon regulatory hints. The ieee80211_regdom module parameter will always
/Linux-v6.6/include/uapi/linux/
Dioprio.h67 * optionally define I/O hints for any combination of I/O priority class and
69 * the target I/O device being used, hints can influence how I/Os are processed
81 * I/O hints.
93 * one of these hints set will have the duration limit index (dld field)
/Linux-v6.6/tools/testing/selftests/net/mptcp/
Dmptcp_inq.c74 const struct addrinfo *hints, in xgetaddrinfo() argument
77 int err = getaddrinfo(node, service, hints, res); in xgetaddrinfo()
92 struct addrinfo hints = { in sock_listen_mptcp() local
98 hints.ai_family = pf; in sock_listen_mptcp()
103 xgetaddrinfo(listenaddr, port, &hints, &addr); in sock_listen_mptcp()
104 hints.ai_family = pf; in sock_listen_mptcp()
137 struct addrinfo hints = { in sock_connect_mptcp() local
144 hints.ai_family = pf; in sock_connect_mptcp()
146 xgetaddrinfo(remoteaddr, port, &hints, &addr); in sock_connect_mptcp()
Dmptcp_sockopt.c162 const struct addrinfo *hints, in xgetaddrinfo() argument
165 int err = getaddrinfo(node, service, hints, res); in xgetaddrinfo()
180 struct addrinfo hints = { in sock_listen_mptcp() local
186 hints.ai_family = pf; in sock_listen_mptcp()
191 xgetaddrinfo(listenaddr, port, &hints, &addr); in sock_listen_mptcp()
192 hints.ai_family = pf; in sock_listen_mptcp()
225 struct addrinfo hints = { in sock_connect_mptcp() local
232 hints.ai_family = pf; in sock_connect_mptcp()
234 xgetaddrinfo(remoteaddr, port, &hints, &addr); in sock_connect_mptcp()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_erp.c1223 /* For hints purposes, two objects are considered equal in mlxsw_sp_acl_erp_hints_obj_cmp()
1318 struct objagg_hints *hints) in mlxsw_sp_acl_erp_table_create() argument
1328 hints, aregion); in mlxsw_sp_acl_erp_table_create()
1380 struct objagg_hints *hints, bool *p_rehash_needed) in mlxsw_sp_acl_erp_hints_check() argument
1397 hstats = objagg_hints_stats_get(hints); in mlxsw_sp_acl_erp_hints_check()
1399 dev_err_ratelimited(mlxsw_sp->bus_info->dev, "Failed to get ERP hints stats\n"); in mlxsw_sp_acl_erp_hints_check()
1421 struct objagg_hints *hints; in mlxsw_sp_acl_erp_rehash_hints_get() local
1426 hints = objagg_hints_get(erp_table->objagg, in mlxsw_sp_acl_erp_rehash_hints_get()
1429 if (IS_ERR(hints)) { in mlxsw_sp_acl_erp_rehash_hints_get()
1430 dev_err_ratelimited(mlxsw_sp->bus_info->dev, "Failed to create ERP hints\n"); in mlxsw_sp_acl_erp_rehash_hints_get()
[all …]
/Linux-v6.6/drivers/md/
Ddm-cache-metadata.h131 * policies are changed, then hints will be lost. If the machine crashes,
132 * hints will be lost.
134 * The hints are indexed by the cblock, but many policies will not
137 * structures and fill in the hints in whatever order it wishes.
/Linux-v6.6/sound/pci/hda/
Dhda_sysfs.c273 snd_array_for_each(&codec->hints, i, hint) { in hints_show()
286 snd_array_for_each(&codec->hints, i, hint) { in get_hint()
342 if (codec->hints.used >= MAX_HINTS) in parse_hints()
345 hint = snd_array_new(&codec->hints); in parse_hints()
405 static DEVICE_ATTR_RW(hints);
632 .alias = "[hints]",
776 snd_array_init(&codec->hints, sizeof(struct hda_hint), 32); in snd_hda_sysfs_init()
789 /* clear hints */ in snd_hda_sysfs_clear()
790 snd_array_for_each(&codec->hints, i, hint) { in snd_hda_sysfs_clear()
793 snd_array_free(&codec->hints); in snd_hda_sysfs_clear()
/Linux-v6.6/arch/x86/kernel/cpu/
Dmshyperv.c126 if (ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED) in DEFINE_IDTENTRY_SYSVEC()
363 * Extract the features and hints in ms_hyperv_init_platform()
368 ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO); in ms_hyperv_init_platform()
372 pr_info("Hyper-V: privilege flags low 0x%x, high 0x%x, hints 0x%x, misc 0x%x\n", in ms_hyperv_init_platform()
373 ms_hyperv.features, ms_hyperv.priv_high, ms_hyperv.hints, in ms_hyperv_init_platform()
402 if (ms_hyperv.hints & HV_X64_HYPERV_NESTED) { in ms_hyperv_init_platform()
448 ms_hyperv.hints &= ~HV_X64_APIC_ACCESS_RECOMMENDED; in ms_hyperv_init_platform()
458 ms_hyperv.hints &= ~HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED; in ms_hyperv_init_platform()
/Linux-v6.6/arch/mips/include/asm/
Dprefetch.h22 * RM7000 version 1.0 interprets all hints as Pref_Load; version 2.0 implements
31 * Finally MIPS32 and MIPS64 implement all of the following hints.
/Linux-v6.6/tools/testing/selftests/bpf/
Dxdping.c90 struct addrinfo *a, hints = { .ai_family = AF_INET }; in main() local
158 /* Only supports IPv4; see hints initiailization above. */ in main()
159 if (getaddrinfo(argv[optind], NULL, &hints, &a) || !a) { in main()
/Linux-v6.6/tools/testing/selftests/net/
Dcmsg_sender.c417 struct addrinfo hints, *ai; in main() local
430 memset(&hints, 0, sizeof(hints)); in main()
431 hints.ai_family = opt.sock.family; in main()
434 err = getaddrinfo(opt.host, opt.service, &hints, &ai); in main()
/Linux-v6.6/arch/ia64/kernel/
Dpalinfo.c260 "\tStore hints : ", cci.pcci_ld_latency); in cache_info()
267 seq_puts(m, "\n\tLoad hints : "); in cache_info()
425 pal_hints_u_t hints; in register_info() local
442 if (ia64_pal_rse_info(&phys_stacked, &hints) == 0) in register_info()
445 "RSE load/store hints : %ld (%s)\n", in register_info()
446 phys_stacked, hints.ph_data, in register_info()
447 hints.ph_data < RSE_HINTS_COUNT ? rse_hints[hints.ph_data]: "(??)"); in register_info()
/Linux-v6.6/arch/x86/hyperv/
Dhv_apic.c115 if (!(ms_hyperv.hints & HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED)) in __send_ipi_mask_ex()
291 if (ms_hyperv.hints & HV_X64_CLUSTER_IPI_RECOMMENDED) { in hv_apic_init()
306 if (ms_hyperv.hints & HV_X64_APIC_ACCESS_RECOMMENDED) { in hv_apic_init()
/Linux-v6.6/drivers/net/wwan/iosm/
Diosm_ipc_mux.h105 u8 ipv4v6_hints; /* 0: IPv4/IPv6 hints not supported.*/
106 /* 1: IPv4/IPv6 hints supported*/
117 u8 ipv4v6_hints; /* 0: IPv4/IPv6 hints not supported */
118 /* 1: IPv4/IPv6 hints supported */

12345678910>>...15