Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/bus/fsl-mc/
Dfsl-mc-uapi.c375 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-6.1.9/drivers/net/ethernet/i825xx/
Dsun3_82586.c408 volatile struct mcsetup_cmd_struct *mc_cmd; in init586() local
526 mc_cmd = (struct mcsetup_cmd_struct *) ptr; in init586()
527 mc_cmd->cmd_status = 0; in init586()
528 mc_cmd->cmd_cmd = swab16(CMD_MCSETUP | CMD_LAST); in init586()
529 mc_cmd->cmd_link = 0xffff; in init586()
530 mc_cmd->mc_cnt = swab16(num_addrs * 6); in init586()
534 memcpy((char *) mc_cmd->mc_list[i++], in init586()
537 p->scb->cbl_offset = make16(mc_cmd); in init586()
541 WAIT_4_STAT_COMPL(mc_cmd); in init586()
543 if( (swab16(mc_cmd->cmd_status) & (STAT_COMPL|STAT_OK)) != (STAT_COMPL|STAT_OK) ) in init586()
Dlib82596.c220 struct mc_cmd { struct
307 struct mc_cmd mc_cmd __attribute__((aligned(32))); member
1404 struct mc_cmd *cmd; in set_multicast_list()
1406 cmd = &dma->mc_cmd; in set_multicast_list()
1421 dma_sync_dev(dev, &dma->mc_cmd, sizeof(struct mc_cmd)); in set_multicast_list()
D82596.c247 struct mc_cmd { struct
323 struct mc_cmd mc_cmd; member
1487 struct mc_cmd *cmd; in set_multicast_list()
1489 if (wait_cfg(dev, &lp->mc_cmd.cmd, 1000, "multicast list change request timed out")) in set_multicast_list()
1491 cmd = &lp->mc_cmd; in set_multicast_list()