Searched refs:mc_cmd (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/bus/fsl-mc/ |
D | fsl-mc-uapi.c | 375 struct fsl_mc_command *mc_cmd) in fsl_mc_command_check() argument 385 cmdid = mc_cmd_hdr_read_cmdid(mc_cmd); in fsl_mc_command_check() 399 mc_cmd_max_size = sizeof(*mc_cmd); in fsl_mc_command_check() 400 mc_cmd_end = ((char *)mc_cmd) + desc->size; in fsl_mc_command_check() 413 token_provided = mc_cmd_hdr_read_token(mc_cmd) ? true : false; in fsl_mc_command_check() 416 cmdid, mc_cmd_hdr_read_token(mc_cmd)); in fsl_mc_command_check() 448 struct fsl_mc_command mc_cmd; in fsl_mc_uapi_send_command() local 451 error = copy_from_user(&mc_cmd, (void __user *)arg, sizeof(mc_cmd)); in fsl_mc_uapi_send_command() 455 error = fsl_mc_command_check(mc_dev, &mc_cmd); in fsl_mc_uapi_send_command() 459 error = mc_send_command(mc_io, &mc_cmd); in fsl_mc_uapi_send_command() [all …]
|
/Linux-v6.6/drivers/net/ethernet/i825xx/ |
D | sun3_82586.c | 409 volatile struct mcsetup_cmd_struct *mc_cmd; in init586() local 527 mc_cmd = (struct mcsetup_cmd_struct *) ptr; in init586() 528 mc_cmd->cmd_status = 0; in init586() 529 mc_cmd->cmd_cmd = swab16(CMD_MCSETUP | CMD_LAST); in init586() 530 mc_cmd->cmd_link = 0xffff; in init586() 531 mc_cmd->mc_cnt = swab16(num_addrs * 6); in init586() 535 memcpy((char *) mc_cmd->mc_list[i++], in init586() 538 p->scb->cbl_offset = make16(mc_cmd); in init586() 542 WAIT_4_STAT_COMPL(mc_cmd); in init586() 544 if( (swab16(mc_cmd->cmd_status) & (STAT_COMPL|STAT_OK)) != (STAT_COMPL|STAT_OK) ) in init586()
|
D | lib82596.c | 219 struct mc_cmd { struct 306 struct mc_cmd mc_cmd __attribute__((aligned(32))); member 1403 struct mc_cmd *cmd; in set_multicast_list() 1405 cmd = &dma->mc_cmd; in set_multicast_list() 1420 dma_sync_dev(dev, &dma->mc_cmd, sizeof(struct mc_cmd)); in set_multicast_list()
|
D | 82596.c | 246 struct mc_cmd { struct 322 struct mc_cmd mc_cmd; member 1486 struct mc_cmd *cmd; in set_multicast_list() 1488 if (wait_cfg(dev, &lp->mc_cmd.cmd, 1000, "multicast list change request timed out")) in set_multicast_list() 1490 cmd = &lp->mc_cmd; in set_multicast_list()
|