/drivers/gpu/drm/i915/ |
D | i915_query.c | 35 struct drm_i915_query_topology_info topo; in query_topology_info() local 50 total_length = sizeof(topo) + slice_length + subslice_length + in query_topology_info() 53 ret = copy_query_item(&topo, sizeof(topo), total_length, in query_topology_info() 58 if (topo.flags != 0) in query_topology_info() 61 memset(&topo, 0, sizeof(topo)); in query_topology_info() 62 topo.max_slices = sseu->max_slices; in query_topology_info() 63 topo.max_subslices = sseu->max_subslices; in query_topology_info() 64 topo.max_eus_per_subslice = sseu->max_eus_per_subslice; in query_topology_info() 66 topo.subslice_offset = slice_length; in query_topology_info() 67 topo.subslice_stride = sseu->ss_stride; in query_topology_info() [all …]
|
/drivers/staging/greybus/ |
D | audio_gb.c | 16 struct gb_audio_topology *topo; in gb_audio_gb_get_topology() local 26 if (size < sizeof(*topo)) in gb_audio_gb_get_topology() 29 topo = kzalloc(size, GFP_KERNEL); in gb_audio_gb_get_topology() 30 if (!topo) in gb_audio_gb_get_topology() 34 topo, size); in gb_audio_gb_get_topology() 36 kfree(topo); in gb_audio_gb_get_topology() 40 *topology = topo; in gb_audio_gb_get_topology()
|
/drivers/media/mc/ |
D | mc-device.c | 232 struct media_v2_topology *topo = arg; in media_device_get_topology() local 244 topo->topology_version = mdev->topology_version; in media_device_get_topology() 248 uentity = media_get_uptr(topo->ptr_entities); in media_device_get_topology() 254 if (i > topo->num_entities) { in media_device_get_topology() 271 topo->num_entities = i; in media_device_get_topology() 272 topo->reserved1 = 0; in media_device_get_topology() 276 uintf = media_get_uptr(topo->ptr_interfaces); in media_device_get_topology() 282 if (i > topo->num_interfaces) { in media_device_get_topology() 307 topo->num_interfaces = i; in media_device_get_topology() 308 topo->reserved2 = 0; in media_device_get_topology() [all …]
|
/drivers/ntb/hw/intel/ |
D | ntb_hw_gen3.c | 187 switch (ndev->ntb.topo) { in gen3_init_ntb() 194 if (ndev->ntb.topo == NTB_TOPO_B2B_USD) { in gen3_init_ntb() 240 ndev->ntb.topo = xeon_ppd_topo(ndev, ppd); in gen3_init_dev() 242 ntb_topo_string(ndev->ntb.topo)); in gen3_init_dev() 243 if (ndev->ntb.topo == NTB_TOPO_NONE) in gen3_init_dev() 281 ntb_topo_string(ndev->ntb.topo)); in ndev_ntb3_debugfs_read() 347 if (ntb_topo_is_b2b(ndev->ntb.topo)) { in ndev_ntb3_debugfs_read()
|
D | ntb_hw_gen4.c | 141 if (ndev->ntb.topo == NTB_TOPO_B2B_USD) in gen4_init_ntb() 199 ndev->ntb.topo = gen4_ppd_topo(ndev, ppd1); in gen4_init_dev() 201 ndev->ntb.topo = spr_ppd_topo(ndev, ppd1); in gen4_init_dev() 203 ntb_topo_string(ndev->ntb.topo)); in gen4_init_dev() 204 if (ndev->ntb.topo == NTB_TOPO_NONE) in gen4_init_dev() 245 ntb_topo_string(ndev->ntb.topo)); in ndev_ntb4_debugfs_read()
|
D | ntb_hw_gen1.c | 152 if (!ntb_topo_is_b2b(ndev->ntb.topo)) in ndev_reset_unsafe_flags() 519 ntb_topo_string(ndev->ntb.topo)); in ndev_ntb_debugfs_read() 651 if (ntb_topo_is_b2b(ndev->ntb.topo)) { in ndev_ntb_debugfs_read() 974 if (ndev->ntb.topo == NTB_TOPO_SEC) in intel_ntb_link_enable() 1003 if (ndev->ntb.topo == NTB_TOPO_SEC) in intel_ntb_link_disable() 1242 if (ndev->ntb.topo == NTB_TOPO_SEC) in xeon_link_is_up() 1552 switch (ndev->ntb.topo) { in xeon_init_ntb() 1612 if (ndev->ntb.topo == NTB_TOPO_B2B_USD) { in xeon_init_ntb() 1724 ndev->ntb.topo = xeon_ppd_topo(ndev, ppd); in xeon_init_dev() 1726 ntb_topo_string(ndev->ntb.topo)); in xeon_init_dev() [all …]
|
/drivers/ntb/hw/amd/ |
D | ntb_hw_amd.c | 206 if (ndev->ntb.topo == NTB_TOPO_SEC) { in amd_ntb_get_link_status() 227 } else if (ndev->ntb.topo == NTB_TOPO_PRI) { in amd_ntb_get_link_status() 295 if (ndev->ntb.topo == NTB_TOPO_PRI) { in amd_link_is_up() 352 if (ndev->ntb.topo == NTB_TOPO_SEC) in amd_ntb_link_enable() 368 if (ndev->ntb.topo == NTB_TOPO_SEC) in amd_ntb_link_disable() 864 ntb_topo_string(ndev->ntb.topo)); in ndev_debugfs_read() 963 ndev->ntb.topo = NTB_TOPO_NONE; in ndev_init_struct() 1069 switch (ndev->ntb.topo) { in amd_init_ntb() 1073 if (ndev->ntb.topo == NTB_TOPO_PRI) { in amd_init_ntb() 1117 ndev->ntb.topo = amd_get_topo(ndev); in amd_init_dev() [all …]
|
/drivers/ntb/ |
D | core.c | 209 switch (ntb->topo) { in ntb_default_port_number() 233 switch (ntb->topo) { in ntb_default_peer_port_number()
|
/drivers/gpu/drm/ |
D | drm_edid.c | 5939 num_v_tile = (tile->topo[0] & 0xf) | (tile->topo[2] & 0x30); in drm_parse_tiled_block() 5940 num_h_tile = (tile->topo[0] >> 4) | ((tile->topo[2] >> 2) & 0x30); in drm_parse_tiled_block() 5941 tile_v_loc = (tile->topo[1] & 0xf) | ((tile->topo[2] & 0x3) << 4); in drm_parse_tiled_block() 5942 tile_h_loc = (tile->topo[1] >> 4) | (((tile->topo[2] >> 2) & 0x3) << 4); in drm_parse_tiled_block()
|
/drivers/ntb/hw/epf/ |
D | ntb_hw_epf.c | 540 ndev->ntb.topo = NTB_TOPO_NONE; in ntb_epf_init_struct()
|
/drivers/ntb/hw/mscc/ |
D | ntb_hw_switchtec.c | 845 sndev->ntb.topo = NTB_TOPO_SWITCH; in switchtec_ntb_init_sndev() 1133 sndev->ntb.topo = NTB_TOPO_CROSSLINK; in switchtec_ntb_init_crosslink()
|
/drivers/scsi/bfa/ |
D | bfa_svc.h | 530 enum bfa_port_topology topo);
|
/drivers/scsi/qla2xxx/ |
D | qla_init.c | 3034 uint16_t loop_id, topo, sw_cap; in qla2x00_isp_firmware() local 3049 &area, &domain, &topo, &sw_cap); in qla2x00_isp_firmware() 5003 uint16_t topo; in qla2x00_configure_hba() local 5016 &loop_id, &al_pa, &area, &domain, &topo, &sw_cap); in qla2x00_configure_hba() 5038 if (topo == 4) { in qla2x00_configure_hba() 5050 switch (topo) { in qla2x00_configure_hba() 5083 "HBA in unknown topology %x, using NL.\n", topo); in qla2x00_configure_hba() 5098 if (topo != 2) in qla2x00_configure_hba() 5100 } else if (!(topo == 2 && ha->flags.n2n_bigger)) in qla2x00_configure_hba()
|
D | qla_bsg.c | 2278 uint16_t loop_id, topo, sw_cap; in qla27xx_get_bbcr_data() local 2294 &area, &domain, &topo, &sw_cap); in qla27xx_get_bbcr_data()
|
/drivers/ntb/hw/idt/ |
D | ntb_hw_idt.c | 2285 ndev->ntb.topo = NTB_TOPO_SWITCH; in idt_register_device()
|