Home
last modified time | relevance | path

Searched refs:sds (Results 1 – 4 of 4) sorted by relevance

/drivers/misc/habanalabs/common/
Dstate_dump.c184 struct hl_state_dump_specs *sds = &hdev->state_dump_specs; in hl_state_dump_get_sync_name() local
187 hash_for_each_possible(sds->so_id_to_str_tb, entry, in hl_state_dump_get_sync_name()
208 struct hl_state_dump_specs *sds = &hdev->state_dump_specs; in hl_state_dump_get_monitor_name() local
211 hash_for_each_possible(sds->monitor_id_to_str_tb, in hl_state_dump_get_monitor_name()
267 struct hl_state_dump_specs *sds = &hdev->state_dump_specs; in hl_state_dump_read_sync_objects() local
272 base_addr = sds->props[SP_SYNC_OBJ_BASE_ADDR] + in hl_state_dump_read_sync_objects()
273 sds->props[SP_NEXT_SYNC_OBJ_ADDR] * index; in hl_state_dump_read_sync_objects()
275 sync_objects = vmalloc(sds->props[SP_SYNC_OBJ_AMOUNT] * sizeof(u32)); in hl_state_dump_read_sync_objects()
279 for (i = 0; i < sds->props[SP_SYNC_OBJ_AMOUNT]; ++i) in hl_state_dump_read_sync_objects()
313 struct hl_state_dump_specs *sds = &hdev->state_dump_specs; in hl_state_dump_print_syncs_single_block() local
[all …]
/drivers/i2c/busses/
Di2c-pxa-pci.c106 struct ce4100_devices *sds; in ce4100_i2c_probe() local
116 sds = kzalloc(sizeof(*sds), GFP_KERNEL); in ce4100_i2c_probe()
117 if (!sds) in ce4100_i2c_probe()
120 for (i = 0; i < ARRAY_SIZE(sds->pdev); i++) { in ce4100_i2c_probe()
121 sds->pdev[i] = add_i2c_device(dev, i); in ce4100_i2c_probe()
122 if (IS_ERR(sds->pdev[i])) { in ce4100_i2c_probe()
123 ret = PTR_ERR(sds->pdev[i]); in ce4100_i2c_probe()
125 platform_device_unregister(sds->pdev[i]); in ce4100_i2c_probe()
129 pci_set_drvdata(dev, sds); in ce4100_i2c_probe()
133 kfree(sds); in ce4100_i2c_probe()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.c1071 struct qlcnic_host_sds_ring *sds; in qlcnic_83xx_add_rings() local
1094 sds = &recv_ctx->sds_rings[i]; in qlcnic_83xx_add_rings()
1095 sds->consumer = 0; in qlcnic_83xx_add_rings()
1096 memset(sds->desc_head, 0, STATUS_DESC_RINGSIZE(sds)); in qlcnic_83xx_add_rings()
1097 sds_mbx.phy_addr_low = LSD(sds->phys_addr); in qlcnic_83xx_add_rings()
1098 sds_mbx.phy_addr_high = MSD(sds->phys_addr); in qlcnic_83xx_add_rings()
1099 sds_mbx.sds_ring_size = sds->num_desc; in qlcnic_83xx_add_rings()
1128 sds = &recv_ctx->sds_rings[i]; in qlcnic_83xx_add_rings()
1129 sds->crb_sts_consumer = ahw->pci_base0 + in qlcnic_83xx_add_rings()
1136 sds->crb_intr_mask = ahw->pci_base0 + intr_mask; in qlcnic_83xx_add_rings()
[all …]
/drivers/misc/habanalabs/gaudi/
Dgaudi.c9162 struct hl_state_dump_specs *sds = &hdev->state_dump_specs; in gaudi_gen_sync_to_engine_map() local
9168 for (i = 0; i < sds->props[SP_NUM_OF_TPC_ENGINES]; ++i) { in gaudi_gen_sync_to_engine_map()
9173 reg_value = RREG32(sds->props[SP_TPC0_CFG_SO] + in gaudi_gen_sync_to_engine_map()
9174 sds->props[SP_NEXT_TPC] * i); in gaudi_gen_sync_to_engine_map()
9187 for (i = 0; i < sds->props[SP_NUM_OF_MME_ENGINES]; ++i) { in gaudi_gen_sync_to_engine_map()
9188 for (j = 0; j < sds->props[SP_SUB_MME_ENG_NUM]; ++j) { in gaudi_gen_sync_to_engine_map()
9195 reg_value = RREG32(sds->props[SP_MME_CFG_SO] + in gaudi_gen_sync_to_engine_map()
9196 sds->props[SP_NEXT_MME] * i + in gaudi_gen_sync_to_engine_map()
9205 i * sds->props[SP_SUB_MME_ENG_NUM] + j); in gaudi_gen_sync_to_engine_map()
9212 for (i = 0; i < sds->props[SP_NUM_OF_DMA_ENGINES]; ++i) { in gaudi_gen_sync_to_engine_map()
[all …]