Lines Matching refs:cmd_desc
81 #define COMMAND_RING_SIZE (COMMAND_ENTRIES * sizeof(struct cmd_desc))
248 struct cmd_desc cmd[COMMAND_ENTRIES] __3xp_aligned;
341 *index += count * sizeof(struct cmd_desc); in typhoon_inc_index()
342 *index %= num_entries * sizeof(struct cmd_desc); in typhoon_inc_index()
463 struct cmd_desc *cmd; in typhoon_hello()
470 cmd = (struct cmd_desc *)(ring->ringBase + ring->lastWrite); in typhoon_hello()
545 lastWrite /= sizeof(struct cmd_desc); in typhoon_num_free()
546 lastRead /= sizeof(struct cmd_desc); in typhoon_num_free()
576 typhoon_issue_command(struct typhoon *tp, int num_cmd, struct cmd_desc *cmd, in typhoon_issue_command()
619 struct cmd_desc *wrap_ptr = cmd; in typhoon_issue_command()
862 struct cmd_desc xp_cmd; in typhoon_set_rx_mode()
902 struct cmd_desc xp_cmd; in typhoon_do_get_stats()
973 struct cmd_desc xp_cmd; in typhoon_get_drvinfo()
1065 struct cmd_desc xp_cmd; in typhoon_set_link_ksettings()
1809 struct cmd_desc xp_cmd; in typhoon_sleep()
1867 struct cmd_desc xp_cmd; in typhoon_start_runtime()
1960 struct cmd_desc xp_cmd; in typhoon_stop_runtime()
2153 struct cmd_desc xp_cmd; in typhoon_suspend()
2273 struct cmd_desc xp_cmd; in typhoon_init_one()