Home
last modified time | relevance | path

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

12345678910>>...27

/kernel/linux/linux-5.10/drivers/gpu/drm/vboxvideo/
Dvbox_irq.c60 * Check that the position hints provided by the host are suitable for GNOME
61 * shell (i.e. all screens disjoint and hints for all enabled screens) and if
62 * not replace them with default ones. Providing valid hints improves the
105 /* Query the host for the most recent video mode hints. */
112 struct vbva_modehint *hints; in vbox_update_mode_hints() local
132 hints = &vbox->last_mode_hints[vbox_conn->vbox_crtc->crtc_id]; in vbox_update_mode_hints()
133 if (hints->magic != VBVAMODEHINT_MAGIC) in vbox_update_mode_hints()
136 disconnected = !(hints->enabled); in vbox_update_mode_hints()
138 vbox_conn->mode_hint.width = hints->cx; in vbox_update_mode_hints()
139 vbox_conn->mode_hint.height = hints->cy; in vbox_update_mode_hints()
[all …]
Dmodesetting.c87 * Get most recent video mode hints.
90 * @screens: The number of screens to query hints for, starting at 0.
91 * @hints: Array of vbva_modehint structures for receiving the hints.
94 struct vbva_modehint *hints) in hgsmi_get_mode_hints() argument
99 if (WARN_ON(!hints)) in hgsmi_get_mode_hints()
119 memcpy(hints, ((u8 *)p) + sizeof(struct vbva_query_mode_hints), size); in hgsmi_get_mode_hints()
/kernel/linux/linux-6.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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.6/lib/
Dobjagg.c51 struct objagg_hints *hints; member
231 /* In case there are no hints available, the root id is invalid. */ in objagg_obj_root_id_alloc()
232 if (!objagg->hints) { in objagg_obj_root_id_alloc()
244 min = objagg->hints->root_count; in objagg_obj_root_id_alloc()
259 if (!objagg->hints) in objagg_obj_root_id_free()
306 hnode = objagg_hints_lookup(objagg->hints, objagg_obj->obj); in objagg_obj_init_with_hints()
340 /* First, try to use hints if they are available and in objagg_obj_init()
492 * @objagg_hints: hints, can be NULL
533 objagg->hints = objagg_hints; in objagg_create()
570 if (objagg->hints) in objagg_destroy()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.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.
/kernel/linux/linux-5.10/include/net/
Dregulatory.h107 * domain programmed further regulatory hints shall only be considered
118 * domain is set, and all other regulatory hints will be ignored
122 * cfg80211 due to regulatory beacon hints. For more information on beacon
123 * hints read the documenation for regulatory_hint_found_beacon()
156 * beacon-hints, country-code IEs and hints from other devices on the same
158 * hints with other devices in the system. If a system contains several
162 * with non-locally originated hints.
/kernel/linux/linux-6.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()
/kernel/linux/linux-6.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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.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)
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/
Dmptcp_inq.c75 const struct addrinfo *hints, in xgetaddrinfo() argument
78 int err = getaddrinfo(node, service, hints, res); in xgetaddrinfo()
93 struct addrinfo hints = { in sock_listen_mptcp() local
99 hints.ai_family = pf; in sock_listen_mptcp()
104 xgetaddrinfo(listenaddr, port, &hints, &addr); in sock_listen_mptcp()
105 hints.ai_family = pf; in sock_listen_mptcp()
138 struct addrinfo hints = { in sock_connect_mptcp() local
145 hints.ai_family = pf; in sock_connect_mptcp()
147 xgetaddrinfo(remoteaddr, port, &hints, &addr); in sock_connect_mptcp()
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c107 const struct addrinfo *hints, in xgetaddrinfo() argument
110 int err = getaddrinfo(node, service, hints, res); in xgetaddrinfo()
147 struct addrinfo hints = { in sock_listen_mptcp() local
153 hints.ai_family = pf; in sock_listen_mptcp()
158 xgetaddrinfo(listenaddr, port, &hints, &addr); in sock_listen_mptcp()
159 hints.ai_family = pf; in sock_listen_mptcp()
197 struct addrinfo hints = { in sock_test_tcpulp() local
205 hints.ai_family = AF_INET; in sock_test_tcpulp()
207 xgetaddrinfo(remoteaddr, port, &hints, &addr); in sock_test_tcpulp()
234 struct addrinfo hints = { in sock_connect_mptcp() local
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dmshyperv.c52 if (ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED) in DEFINE_IDTENTRY_SYSVEC()
243 * Extract the features and hints in ms_hyperv_init_platform()
247 ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO); in ms_hyperv_init_platform()
249 pr_info("Hyper-V: features 0x%x, hints 0x%x, misc 0x%x\n", in ms_hyperv_init_platform()
250 ms_hyperv.features, ms_hyperv.hints, ms_hyperv.misc_features); in ms_hyperv_init_platform()
280 if (ms_hyperv.hints & HV_X64_ENLIGHTENED_VMCS_RECOMMENDED) { in ms_hyperv_init_platform()
/kernel/linux/linux-5.10/drivers/md/
Ddm-cache-metadata.h130 * policies are changed, then hints will be lost. If the machine crashes,
131 * hints will be lost.
133 * The hints are indexed by the cblock, but many policies will not
136 * structures and fill in the hints in whatever order it wishes.
/kernel/linux/linux-6.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.
/kernel/linux/linux-6.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()
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_sysfs.c274 snd_array_for_each(&codec->hints, i, hint) { in hints_show()
287 snd_array_for_each(&codec->hints, i, hint) { in get_hint()
343 if (codec->hints.used >= MAX_HINTS) in parse_hints()
346 hint = snd_array_new(&codec->hints); in parse_hints()
408 static DEVICE_ATTR_RW(hints);
635 .alias = "[hints]",
779 snd_array_init(&codec->hints, sizeof(struct hda_hint), 32); in snd_hda_sysfs_init()
792 /* clear hints */ in snd_hda_sysfs_clear()
793 snd_array_for_each(&codec->hints, i, hint) { in snd_hda_sysfs_clear()
796 snd_array_free(&codec->hints); in snd_hda_sysfs_clear()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_erp.c1307 struct objagg_hints *hints) in mlxsw_sp_acl_erp_table_create() argument
1317 hints, aregion); in mlxsw_sp_acl_erp_table_create()
1369 struct objagg_hints *hints, bool *p_rehash_needed) in mlxsw_sp_acl_erp_hints_check() argument
1386 hstats = objagg_hints_stats_get(hints); in mlxsw_sp_acl_erp_hints_check()
1388 dev_err_ratelimited(mlxsw_sp->bus_info->dev, "Failed to get ERP hints stats\n"); in mlxsw_sp_acl_erp_hints_check()
1410 struct objagg_hints *hints; in mlxsw_sp_acl_erp_rehash_hints_get() local
1415 hints = objagg_hints_get(erp_table->objagg, in mlxsw_sp_acl_erp_rehash_hints_get()
1418 if (IS_ERR(hints)) { in mlxsw_sp_acl_erp_rehash_hints_get()
1419 dev_err_ratelimited(mlxsw_sp->bus_info->dev, "Failed to create ERP hints\n"); in mlxsw_sp_acl_erp_rehash_hints_get()
1420 return ERR_CAST(hints); in mlxsw_sp_acl_erp_rehash_hints_get()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_erp.c1307 struct objagg_hints *hints) in mlxsw_sp_acl_erp_table_create() argument
1317 hints, aregion); in mlxsw_sp_acl_erp_table_create()
1369 struct objagg_hints *hints, bool *p_rehash_needed) in mlxsw_sp_acl_erp_hints_check() argument
1386 hstats = objagg_hints_stats_get(hints); in mlxsw_sp_acl_erp_hints_check()
1388 dev_err_ratelimited(mlxsw_sp->bus_info->dev, "Failed to get ERP hints stats\n"); in mlxsw_sp_acl_erp_hints_check()
1410 struct objagg_hints *hints; in mlxsw_sp_acl_erp_rehash_hints_get() local
1415 hints = objagg_hints_get(erp_table->objagg, in mlxsw_sp_acl_erp_rehash_hints_get()
1418 if (IS_ERR(hints)) { in mlxsw_sp_acl_erp_rehash_hints_get()
1419 dev_err_ratelimited(mlxsw_sp->bus_info->dev, "Failed to create ERP hints\n"); in mlxsw_sp_acl_erp_rehash_hints_get()
1420 return ERR_CAST(hints); in mlxsw_sp_acl_erp_rehash_hints_get()
[all …]

12345678910>>...27