Lines Matching refs:mcp
875 * mcp.RWportnum port number and write indication bit (0x80)
876 * mcp.offset offset of register
877 * mcp.value write value going in and read value returning
890 c4_musycc_rw (ci_t * ci, struct c4_musycc_param * mcp)
896 int offset = mcp->offset % 0x800; /* group relative address
897 * offset, mcp->portnum is
906 portnum = (mcp->offset % 0x6000) / 0x800;
910 if (mcp->offset >= 0x6000)
916 if (mcp->offset < 0x6000) /* non MsgDesc Tbl accesses might require
936 if (mcp->RWportnum & 0x80)
939 if (mcp->value == data)
941 ci->devname, (mcp->RWportnum & 0x7));
944 *dpr = mcp->value;
946 pci_write_32 ((u_int32_t *) dph, mcp->value);
948 mcp->value = data; /* return the read value (or the 'old