Home
last modified time | relevance | path

Searched refs:misc_op (Results 1 – 13 of 13) sorted by relevance

/drivers/net/ethernet/hisilicon/hns/
A Dhns_dsaf_misc.c653 struct dsaf_misc_op *misc_op; in hns_misc_op_get() local
655 misc_op = devm_kzalloc(dsaf_dev->dev, sizeof(*misc_op), GFP_KERNEL); in hns_misc_op_get()
656 if (!misc_op) in hns_misc_op_get()
660 misc_op->cpld_set_led = hns_cpld_set_led; in hns_misc_op_get()
661 misc_op->cpld_reset_led = cpld_led_reset; in hns_misc_op_get()
664 misc_op->dsaf_reset = hns_dsaf_rst; in hns_misc_op_get()
667 misc_op->ppe_srst = hns_ppe_srst_by_port; in hns_misc_op_get()
670 misc_op->get_phy_if = hns_mac_get_phy_if; in hns_misc_op_get()
679 misc_op->dsaf_reset = hns_dsaf_rst_acpi; in hns_misc_op_get()
691 misc_op = NULL; in hns_misc_op_get()
[all …]
A Dhns_dsaf_ppe.c200 dsaf_dev->misc_op->ppe_comm_srst(dsaf_dev, 0); in hns_ppe_common_init_hw()
202 dsaf_dev->misc_op->ppe_comm_srst(dsaf_dev, 1); in hns_ppe_common_init_hw()
309 dsaf_dev->misc_op->ppe_srst(dsaf_dev, port, 0); in hns_ppe_init_hw()
311 dsaf_dev->misc_op->ppe_srst(dsaf_dev, port, 1); in hns_ppe_init_hw()
354 dsaf_dev->misc_op->ppe_srst(dsaf_dev, port, 0); in hns_ppe_uninit_hw()
A Dhns_dsaf_mac.c103 ret = mac_cb->dsaf_dev->misc_op->get_sfp_prsnt(mac_cb, in hns_mac_get_link_status()
569 mac_cb->dsaf_dev->misc_op->cpld_reset_led(mac_cb); in hns_mac_stop()
1038 mac_cb->phy_if = dsaf_dev->misc_op->get_phy_if(mac_cb); in hns_mac_get_cfg()
1053 mac_cb->dsaf_dev->misc_op->cpld_reset_led(mac_cb); in hns_mac_get_cfg()
1159 dsaf_dev->misc_op->cpld_reset_led(dsaf_dev->mac_cb[i]); in hns_mac_uninit()
1244 mac_cb->dsaf_dev->misc_op->cpld_set_led(mac_cb, (int)mac_cb->link, in hns_set_led_opt()
1254 return mac_cb->dsaf_dev->misc_op->cpld_set_led_id(mac_cb, status); in hns_cpld_led_set_id()
A Dhns_dsaf_gmac.c114 dsaf_dev->misc_op->ge_srst(dsaf_dev, mac_id, 0); in hns_gmac_free()
341 dsaf_dev->misc_op->ge_srst(dsaf_dev, port, 0); in hns_gmac_init()
343 dsaf_dev->misc_op->ge_srst(dsaf_dev, port, 1); in hns_gmac_init()
A Dhns_dsaf_xgmac.c213 dsaf_dev->misc_op->xge_srst(dsaf_dev, port, 0); in hns_xgmac_init()
215 dsaf_dev->misc_op->xge_srst(dsaf_dev, port, 1); in hns_xgmac_init()
417 dsaf_dev->misc_op->xge_srst(dsaf_dev, mac_id, 0); in hns_xgmac_free()
A Dhns_dsaf_main.h319 struct dsaf_misc_op *misc_op; member
A Dhns_dsaf_main.c196 dsaf_dev->misc_op = hns_misc_op_get(dsaf_dev); in hns_dsaf_get_cfg()
197 if (!dsaf_dev->misc_op) in hns_dsaf_get_cfg()
1406 dsaf_dev->misc_op->dsaf_reset(dsaf_dev, 0); in hns_dsaf_init_hw()
1408 dsaf_dev->misc_op->dsaf_reset(dsaf_dev, 1); in hns_dsaf_init_hw()
1436 dsaf_dev->misc_op->dsaf_reset(dsaf_dev, 0); in hns_dsaf_remove_hw()
A Dhns_ae_adapt.c793 ret = dsaf_dev->misc_op->cfg_serdes_loopback(vf_cb->mac_cb, in hns_ae_config_loopback()
/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_mes.c387 if (!adev->mes.funcs->misc_op) { in amdgpu_mes_rreg()
393 r = adev->mes.funcs->misc_op(&adev->mes, &op_input); in amdgpu_mes_rreg()
416 if (!adev->mes.funcs->misc_op) { in amdgpu_mes_wreg()
423 r = adev->mes.funcs->misc_op(&adev->mes, &op_input); in amdgpu_mes_wreg()
445 if (!adev->mes.funcs->misc_op) { in amdgpu_mes_reg_write_reg_wait()
452 r = adev->mes.funcs->misc_op(&adev->mes, &op_input); in amdgpu_mes_reg_write_reg_wait()
471 if (!adev->mes.funcs->misc_op) { in amdgpu_mes_set_shader_debugger()
495 r = adev->mes.funcs->misc_op(&adev->mes, &op_input); in amdgpu_mes_set_shader_debugger()
510 if (!adev->mes.funcs->misc_op) { in amdgpu_mes_flush_shader_debugger()
522 r = adev->mes.funcs->misc_op(&adev->mes, &op_input); in amdgpu_mes_flush_shader_debugger()
[all …]
A Damdgpu_mes.h365 int (*misc_op)(struct amdgpu_mes *mes, member
A Dmes_v11_0.c793 .misc_op = mes_v11_0_misc_op,
A Dmes_v12_0.c889 .misc_op = mes_v12_0_misc_op,
/drivers/gpu/drm/amd/include/
A Dmes_v12_api_def.h140 #define MES_ERR_CODE(api_err, opcode, misc_op, category) \ argument
142 misc_op << MES_SCH_ERROR_CODE_MISC_OP_SHIFT_12 | \

Completed in 43 milliseconds