/linux/drivers/gpu/drm/i915/display/ |
A D | intel_ddi_buf_trans.c | 1045 int *n_entries) in hsw_get_buf_trans() argument 1058 int *n_entries) in bdw_get_buf_trans() argument 1088 *n_entries = skl_buf_trans_num_entries(encoder->port, *n_entries); in _skl_get_buf_trans_dp() 1210 n_entries); in icl_get_combo_buf_trans_dp() 1234 int *n_entries) in icl_get_combo_buf_trans() argument 1247 int *n_entries) in icl_get_mg_buf_trans_dp() argument 1283 int *n_entries) in ehl_get_combo_buf_trans() argument 1310 int *n_entries) in jsl_get_combo_buf_trans() argument 1369 int *n_entries) in tgl_get_combo_buf_trans() argument 1416 int *n_entries) in dg1_get_combo_buf_trans() argument [all …]
|
A D | intel_ddi.c | 108 int i, n_entries; in hsw_prepare_dp_ddi_buffers() local 121 for (i = 0; i < n_entries; i++) { in hsw_prepare_dp_ddi_buffers() 140 int n_entries; in hsw_prepare_hdmi_ddi_buffers() local 976 int n_entries; in skl_ddi_set_iboost() local 1002 int n_entries; in intel_ddi_dp_voltage_max() local 1007 n_entries = 1; in intel_ddi_dp_voltage_max() 1045 int n_entries, ln; in icl_ddi_combo_vswing_program() local 1159 int n_entries, ln; in icl_mg_phy_set_signal_levels() local 1281 int n_entries, ln; in tgl_dkl_phy_set_signal_levels() local 1360 int level, n_entries; in intel_ddi_level() local [all …]
|
A D | intel_fdi.c | 768 int n_entries; in hsw_fdi_link_train() local 770 encoder->get_buf_trans(encoder, crtc_state, &n_entries); in hsw_fdi_link_train() 802 for (i = 0; i < n_entries * 2; i++) { in hsw_fdi_link_train() 851 if (i == n_entries * 2 - 1) { in hsw_fdi_link_train()
|
A D | intel_bios.c | 1561 int n_entries; in map_ddc_pin() local 1565 n_entries = ARRAY_SIZE(adls_ddc_pin_map); in map_ddc_pin() 1570 n_entries = ARRAY_SIZE(rkl_pch_tgp_ddc_pin_map); in map_ddc_pin() 1573 n_entries = ARRAY_SIZE(gen9bc_tgp_ddc_pin_map); in map_ddc_pin() 1576 n_entries = ARRAY_SIZE(icp_ddc_pin_map); in map_ddc_pin() 1579 n_entries = ARRAY_SIZE(cnp_ddc_pin_map); in map_ddc_pin() 1585 if (vbt_pin < n_entries && ddc_pin_map[vbt_pin] != 0) in map_ddc_pin()
|
A D | intel_snps_phy.c | 62 int n_entries, ln; in intel_snps_phy_set_signal_levels() local 64 trans = encoder->get_buf_trans(encoder, crtc_state, &n_entries); in intel_snps_phy_set_signal_levels()
|
/linux/kernel/trace/ |
A D | tracing_map.c | 936 unsigned int n_entries) in tracing_map_destroy_sort_entries() argument 940 for (i = 0; i < n_entries; i++) in tracing_map_destroy_sort_entries() 968 if (n_entries < 2) in detect_dups() 1000 unsigned int n_entries, in sort_secondary() argument 1024 if (i < n_entries - 2) in sort_secondary() 1076 int i, n_entries, ret; in tracing_map_sort_entries() local 1092 if (!entries[n_entries++]) { in tracing_map_sort_entries() 1098 if (n_entries == 0) { in tracing_map_sort_entries() 1103 if (n_entries == 1) { in tracing_map_sort_entries() 1123 n_entries, in tracing_map_sort_entries() [all …]
|
A D | tracing_map.h | 287 unsigned int n_entries);
|
A D | trace_events_hist.c | 5187 int i, n_entries; in print_entries() local 5192 if (n_entries < 0) in print_entries() 5193 return n_entries; in print_entries() 5195 for (i = 0; i < n_entries; i++) in print_entries() 5200 tracing_map_destroy_sort_entries(sort_entries, n_entries); in print_entries() 5202 return n_entries; in print_entries() 5209 int n_entries; in hist_trigger_show() local 5219 n_entries = print_entries(m, hist_data); in hist_trigger_show() 5220 if (n_entries < 0) in hist_trigger_show() 5221 n_entries = 0; in hist_trigger_show() [all …]
|
/linux/net/ipv4/ |
A D | udp_tunnel_nic.c | 136 for (j = 0; j < info->tables[i].n_entries; j++) in udp_tunnel_nic_is_empty() 156 for (j = 0; j < table->n_entries; j++) in udp_tunnel_nic_should_replay() 245 for (j = 0; j < info->tables[i].n_entries; j++) in udp_tunnel_nic_device_sync_by_port() 259 for (j = 0; j < info->tables[i].n_entries; j++) in udp_tunnel_nic_device_sync_by_table() 262 if (j == info->tables[i].n_entries) in udp_tunnel_nic_device_sync_by_table() 440 for (j = 0; j < table->n_entries; j++) in udp_tunnel_nic_try_existing() 475 for (j = 0; j < table->n_entries; j++) { in udp_tunnel_nic_add_new() 688 for (j = 0; j < info->tables[i].n_entries; j++) in udp_tunnel_nic_replay() 780 WARN_ON(!info->tables[0].n_entries)) in udp_tunnel_nic_register() 789 if (!info->tables[i].n_entries) in udp_tunnel_nic_register() [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_mocs.c | 23 unsigned int n_entries; member 435 table->n_entries = GEN9_NUM_MOCS_ENTRIES; in get_mocs_settings() 441 table->n_entries = GEN9_NUM_MOCS_ENTRIES; in get_mocs_settings() 447 table->n_entries = GEN9_NUM_MOCS_ENTRIES; in get_mocs_settings() 454 table->n_entries = GEN9_NUM_MOCS_ENTRIES; in get_mocs_settings() 459 table->n_entries = GEN9_NUM_MOCS_ENTRIES; in get_mocs_settings() 465 table->n_entries = GEN9_NUM_MOCS_ENTRIES; in get_mocs_settings() 468 table->n_entries = GEN9_NUM_MOCS_ENTRIES; in get_mocs_settings() 472 table->n_entries = GEN9_NUM_MOCS_ENTRIES; in get_mocs_settings() 480 if (GEM_DEBUG_WARN_ON(table->size > table->n_entries)) in get_mocs_settings() [all …]
|
A D | selftest_mocs.c | 143 return read_regs(rq, addr, table->n_entries, offset); in read_mocs_table() 155 return read_regs(rq, addr, (table->n_entries + 1) / 2, offset); in read_l3cc_table()
|
/linux/drivers/md/ |
A D | dm-stats.c | 46 size_t n_entries; member 245 sector_t n_entries; in dm_stats_create() local 258 n_entries = end - start; in dm_stats_create() 259 if (dm_sector_div64(n_entries, step)) in dm_stats_create() 260 n_entries++; in dm_stats_create() 262 if (n_entries != (size_t)n_entries || !(size_t)(n_entries + 1)) in dm_stats_create() 286 s->n_entries = n_entries; in dm_stats_create() 313 for (ni = 0; ni < n_entries; ni++) { in dm_stats_create() 325 for (ni = 0; ni < n_entries; ni++) { in dm_stats_create() 825 idx_end > s->n_entries) in dm_stats_print() [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
A D | cmsg.c | 204 unsigned int i, count, n_entries; in nfp_bpf_ctrl_op_cache_get() local 207 n_entries = nfp_bpf_ctrl_op_cache_fill(op) ? bpf->cmsg_cache_cnt : 1; in nfp_bpf_ctrl_op_cache_get() 212 n_entries = 1; in nfp_bpf_ctrl_op_cache_get() 246 n_entries = 0; in nfp_bpf_ctrl_op_cache_get() 258 return n_entries; in nfp_bpf_ctrl_op_cache_get() 296 unsigned int n_entries, reply_entries, count; in nfp_bpf_ctrl_entry_op() local 310 n_entries = nfp_bpf_ctrl_op_cache_get(nfp_map, op, key, out_key, in nfp_bpf_ctrl_entry_op() 312 if (!n_entries) in nfp_bpf_ctrl_entry_op() 323 req->count = cpu_to_be32(n_entries); in nfp_bpf_ctrl_entry_op() 353 if (n_entries > 1 && count) in nfp_bpf_ctrl_entry_op()
|
/linux/kernel/bpf/ |
A D | lpm_trie.c | 34 size_t n_entries; member 324 if (trie->n_entries == trie->map.max_entries) { in trie_update_elem() 335 trie->n_entries++; in trie_update_elem() 378 trie->n_entries--; in trie_update_elem() 421 trie->n_entries--; in trie_update_elem() 479 trie->n_entries--; in trie_delete_elem()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | dtl.c | 172 long int n_entries; in dtl_enable() local 187 n_entries = dtl_buf_entries; in dtl_enable() 200 dtl->buf_entries = n_entries; in dtl_enable()
|
/linux/net/ethtool/ |
A D | tunnels.c | 55 if (!info->tables[i].n_entries) in ethnl_tunnel_info_reply_size() 99 if (!info->tables[i].n_entries) in ethnl_tunnel_info_fill_reply() 107 info->tables[i].n_entries)) in ethnl_tunnel_info_fill_reply()
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | dp.c | 481 int align_bytes, n_entries; in ath11k_dp_scatter_idle_link_desc_setup() local 512 n_entries = (DP_LINK_DESC_ALLOC_SIZE_THRESH - align_bytes) / in ath11k_dp_scatter_idle_link_desc_setup() 515 while (n_entries) { in ath11k_dp_scatter_idle_link_desc_setup() 517 n_entries--; in ath11k_dp_scatter_idle_link_desc_setup() 655 u32 entry_sz, align_bytes, n_entries; in ath11k_dp_link_desc_setup() local 713 n_entries = (link_desc_banks[i].size - align_bytes) / in ath11k_dp_link_desc_setup() 716 while (n_entries && in ath11k_dp_link_desc_setup() 720 n_entries--; in ath11k_dp_link_desc_setup()
|
/linux/drivers/net/netdevsim/ |
A D | udp_tunnels.c | 97 .n_entries = NSIM_UDP_TUNNEL_N_PORTS, 101 .n_entries = NSIM_UDP_TUNNEL_N_PORTS,
|
/linux/drivers/iio/temperature/ |
A D | ltc2983.c | 389 u8 index, n_entries, tbl = 0; in __ltc2983_custom_sensor_new() local 398 n_entries = of_property_count_elems_of_size(np, propname, e_size); in __ltc2983_custom_sensor_new() 400 if (!n_entries || (n_entries % 2) != 0) { in __ltc2983_custom_sensor_new() 409 new_custom->size = n_entries * n_size; in __ltc2983_custom_sensor_new() 430 for (index = 0; index < n_entries; index++) { in __ltc2983_custom_sensor_new()
|
/linux/virt/kvm/ |
A D | eventfd.c | 252 int n_entries; in irqfd_update() local 254 n_entries = kvm_irq_map_gsi(kvm, entries, irqfd->gsi); in irqfd_update() 259 if (n_entries == 1) in irqfd_update()
|
/linux/drivers/tty/serial/ |
A D | serial-tegra.c | 1440 int n_entries; in tegra_uart_parse_dt() local 1463 n_entries = of_property_count_u32_elems(np, "nvidia,adjust-baud-rates"); in tegra_uart_parse_dt() 1464 if (n_entries > 0) { in tegra_uart_parse_dt() 1465 tup->n_adjustable_baud_rates = n_entries / 3; in tegra_uart_parse_dt() 1471 for (count = 0, index = 0; count < n_entries; count += 3, in tegra_uart_parse_dt()
|
/linux/drivers/misc/sgi-xp/ |
A D | xpc_uv.c | 964 head->n_entries = 0; in xpc_init_fifo_uv() 980 head->n_entries--; in xpc_get_fifo_entry_uv() 981 BUG_ON(head->n_entries < 0); in xpc_get_fifo_entry_uv() 1002 head->n_entries++; in xpc_put_fifo_entry_uv() 1009 return head->n_entries; in xpc_n_of_fifo_entries_uv()
|
A D | xpc.h | 252 int n_entries; member
|
/linux/include/net/ |
A D | udp_tunnel.h | 267 unsigned int n_entries; member
|
/linux/drivers/scsi/elx/libefc_sli/ |
A D | sli4.c | 500 size_t size, u32 n_entries, u32 align) in __sli_queue_init() argument 509 q->dma.size = size * n_entries; in __sli_queue_init() 518 memset(q->dma.virt, 0, size * n_entries); in __sli_queue_init() 524 q->length = n_entries; in __sli_queue_init() 534 q->proc_limit = n_entries / 2; in __sli_queue_init() 546 u32 n_entries, u32 buffer_size, in sli_fc_rq_alloc() argument 550 n_entries, SLI_PAGE_SIZE)) in sli_fc_rq_alloc() 583 u32 n_entries, u32 header_buffer_size, in sli_fc_rq_set_alloc() argument 594 SLI4_RQE_SIZE, n_entries, in sli_fc_rq_set_alloc() 764 struct sli4_queue *q, u32 n_entries, in sli_queue_alloc() argument [all …]
|