/drivers/block/paride/ |
D | on26.c | 55 case 0: w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr() 61 case 1: w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr() 85 case 1: w0(1); P1; w0(r); P2; w0(0); P1; in on26_write_regr() 86 w0(val); P2; w0(val); P2; in on26_write_regr() 99 #define CCP(x) w0(0xfe);w0(0xaa);w0(0x55);w0(0);w0(0xff);\ 100 w0(0x87);w0(0x78);w0(x);w2(4);w2(5);w2(4);w0(0xff); 112 w0(2); P1; w0(8); P2; in on26_connect() 113 w0(2); P1; w0(x); P2; in on26_connect() 119 else { w0(4); P1; w0(4); P1; } in on26_disconnect() 121 w0(pi->saved_r0); in on26_disconnect() [all …]
|
D | dstr.c | 53 w0(0x81); P1; in dstr_read_regr() 54 if (pi->mode) { w0(0x11); } else { w0(1); } in dstr_read_regr() 55 P2; w0(r); P1; in dstr_read_regr() 62 case 1: w0(0); w2(0x26); a = r0(); w2(4); in dstr_read_regr() 80 w0(0x81); P1; in dstr_write_regr() 81 if (pi->mode >= 2) { w0(0x11); } else { w0(1); } in dstr_write_regr() 82 P2; w0(r); P1; in dstr_write_regr() 87 case 1: w0(val); w2(5); w2(7); w2(5); w2(4); in dstr_write_regr() 97 #define CCP(x) w0(0xff);w2(0xc);w2(4);\ 98 w0(0xaa);w0(0x55);w0(0);w0(0xff);w0(0x87);w0(0x78);\ [all …]
|
D | kbic.c | 53 case 0: w0(regr|0x18|s); w2(4); w2(6); w2(4); w2(1); w0(8); in kbic_read_regr() 54 a = r1(); w0(0x28); b = r1(); w2(4); in kbic_read_regr() 57 case 1: w0(regr|0x38|s); w2(4); w2(6); w2(4); w2(5); w0(8); in kbic_read_regr() 61 case 2: w0(regr|0x08|s); w2(4); w2(6); w2(4); w2(0xa5); w2(0xa1); in kbic_read_regr() 67 case 5: w0(0x20|s); w2(4); w2(6); w2(4); w3(regr); in kbic_read_regr() 85 case 2: w0(regr|0x10|s); w2(4); w2(6); w2(4); in kbic_write_regr() 86 w0(val); w2(5); w2(4); in kbic_write_regr() 91 case 5: w0(0x20|s); w2(4); w2(6); w2(4); w3(regr); in kbic_write_regr() 108 { w0(pi->saved_r0); in k951_disconnect() 112 #define CCP(x) w2(0xc4);w0(0xaa);w0(0x55);w0(0);w0(0xff);w0(0x87);\ [all …]
|
D | bpck.c | 56 case 0: w0(r & 0xf); w0(r); t2(2); t2(4); in bpck_read_regr() 62 case 1: w0(r & 0xf); w0(r); t2(2); in bpck_read_regr() 70 case 4: w0(r); w2(9); w2(0); w2(0x20); in bpck_read_regr() 88 case 1: w0(r); in bpck_write_regr() 90 w0(val); in bpck_write_regr() 96 case 4: w0(r); w2(9); w2(0); in bpck_write_regr() 97 w0(val); w2(1); w2(3); w2(0); in bpck_write_regr() 115 w0(0x40); t2(2); t2(1); in bpck_write_block() 116 for (i=0;i<count;i++) { w0(buf[i]); t2(4); } in bpck_write_block() 121 w0(0x40); t2(2); t2(1); in bpck_write_block() [all …]
|
D | epat.c | 57 case 2: w0(0x60+r); w2(1); w0(val); w2(4); in epat_write_regr() 76 case 0: w0(r); w2(1); w2(3); in epat_read_regr() 80 case 1: w0(0x40+r); w2(1); w2(4); in epat_read_regr() 81 a = r1(); b = r2(); w0(0xff); in epat_read_regr() 84 case 2: w0(0x20+r); w2(1); w2(0x25); in epat_read_regr() 103 case 0: w0(7); w2(1); w2(3); w0(0xff); in epat_read_block() 106 if (k == count-1) w0(0xfd); in epat_read_block() 113 w0(0); w2(4); in epat_read_block() 116 case 1: w0(0x47); w2(1); w2(5); w0(0xff); in epat_read_block() 119 if (k == count-1) w0(0xfd); in epat_read_block() [all …]
|
D | epia.c | 58 w0(r); w2(1); w2(3); w0(r); in epia_read_regr() 63 w0(r); w2(1); w0(r&0x37); in epia_read_regr() 64 w2(3); w2(5); w0(r|0xf0); in epia_read_regr() 69 w0(r); w2(1); w2(0X21); w2(0x23); in epia_read_regr() 93 w0(r); w2(1); w0(val); w2(3); w2(4); in epia_write_regr() 118 w2(4); w0(0xa0); w0(0x50); w0(0xc0); w0(0x30); w0(0xa0); w0(0); in epia_connect() 121 w0(0xa); w2(1); w2(4); w0(0x82); w2(4); w2(0xc); w2(4); in epia_connect() 130 w0(pi->saved_r0); in epia_disconnect() 132 w0(pi->saved_r0); in epia_disconnect() 142 case 0: w0(0x81); w2(1); w2(3); w0(0xc1); in epia_read_block() [all …]
|
D | fit2.c | 43 w2(0xc); w0(regr); w2(4); w0(val); w2(5); w0(0); w2(4); in fit2_write_regr() 55 w2(0xc); w0(r); w2(4); w2(5); in fit2_read_regr() 56 w0(0); a = r1(); in fit2_read_regr() 57 w0(1); b = r1(); in fit2_read_regr() 68 w2(0xc); w0(0x10); in fit2_read_block() 73 w0(0); a = r1(); w0(1); b = r1(); in fit2_read_block() 74 w0(3); c = r1(); w0(2); d = r1(); in fit2_read_block() 79 a = r1(); w0(3); b = r1(); in fit2_read_block() 80 w0(1); c = r1(); w0(0); d = r1(); in fit2_read_block() 95 w2(0xc); w0(0); in fit2_write_block() [all …]
|
D | comm.c | 53 case 0: w0(r); P1; w0(0); in comm_read_regr() 54 w2(6); l = r1(); w0(0x80); h = r1(); w2(4); in comm_read_regr() 57 case 1: w0(r+0x20); P1; in comm_read_regr() 58 w0(0); w2(0x26); h = r0(); w2(4); in comm_read_regr() 80 case 1: w0(r); P1; w0(val); P2; in comm_write_regr() 94 w2(4); w0(0xff); w2(6); in comm_connect() 95 w2(4); w0(0xaa); w2(6); in comm_connect() 96 w2(4); w0(0x00); w2(6); in comm_connect() 97 w2(4); w0(0x87); w2(6); in comm_connect() 98 w2(4); w0(0xe0); w2(0xc); w2(0xc); w2(4); in comm_connect() [all …]
|
D | fit3.c | 49 case 1: w2(0xc); w0(regr); w2(0x8); w2(0xc); in fit3_write_regr() 50 w0(val); w2(0xd); in fit3_write_regr() 51 w0(0); w2(0xc); in fit3_write_regr() 54 case 2: w2(0xc); w0(regr); w2(0x8); w2(0xc); in fit3_write_regr() 73 case 0: w2(0xc); w0(regr + 0x10); w2(0x8); w2(0xc); in fit3_read_regr() 79 case 1: w2(0xc); w0(regr + 0x90); w2(0x8); w2(0xc); in fit3_read_regr() 84 case 2: w2(0xc); w0(regr + 0x90); w2(0x8); w2(0xc); in fit3_read_regr() 101 case 0: w2(0xc); w0(0x10); w2(0x8); w2(0xc); in fit3_read_block() 113 case 1: w2(0xc); w0(0x90); w2(0x8); w2(0xc); in fit3_read_block() 125 case 2: w2(0xc); w0(0x90); w2(0x8); w2(0xc); in fit3_read_block() [all …]
|
D | aten.c | 44 w0(r); w2(0xe); w2(6); w0(val); w2(7); w2(6); w2(0xc); in aten_write_regr() 55 case 0: w0(r); w2(0xe); w2(6); in aten_read_regr() 57 a = r1(); w0(0x10); b = r1(); w2(0xc); in aten_read_regr() 61 w0(r); w2(0xe); w2(6); w0(0xff); in aten_read_regr() 76 case 0: w0(0x48); w2(0xe); w2(6); in aten_read_block() 79 a = r1(); w0(0x58); b = r1(); in aten_read_block() 80 w2(0); d = r1(); w0(0x48); c = r1(); in aten_read_block() 87 case 1: w0(0x58); w2(0xe); w2(6); in aten_read_block() 102 w0(0x88); w2(0xe); w2(6); in aten_write_block() 104 w0(buf[2*k+1]); w2(0xe); w2(6); in aten_write_block() [all …]
|
D | frpw.c | 54 w0(r); cec4; in frpw_read_regr() 69 w2(4); w0(r); cec4; in frpw_write_regr() 70 w0(val); in frpw_write_regr() 80 case 0: w2(4); w0(regr); cec4; in frpw_read_block_int() 90 w2(4); w0(regr + 0xc0); cec4; in frpw_read_block_int() 91 w0(0xff); in frpw_read_block_int() 100 case 2: w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int() 106 case 3: w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int() 114 case 4: w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int() 122 case 5: w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int() [all …]
|
D | friq.c | 40 #define CMD(x) w2(4);w0(0xff);w0(0xff);w0(0x73);w0(0x73);\ 41 w0(0xc9);w0(0xc9);w0(0x26);w0(0x26);w0(x);w0(x); 73 w0(val); in friq_write_regr() 94 w0(0xff); in friq_read_block_int() 146 w0(buf[k]); in friq_write_block() 179 w0(pi->saved_r0); in friq_disconnect() 189 w0(0xff); udelay(20); CMD(0x3d); /* turn the power on */ in friq_test_proto() 191 w0(pi->saved_r0); in friq_test_proto()
|
D | ktti.c | 38 w0(r); w2(0xb); w2(0xa); w2(3); w2(6); in ktti_write_regr() 39 w0(val); w2(3); w0(0); w2(6); w2(0xb); in ktti_write_regr() 48 w0(r); w2(0xb); w2(0xa); w2(9); w2(0xc); w2(9); in ktti_read_regr() 59 w0(0x10); w2(0xb); w2(0xa); w2(9); w2(0xc); w2(9); in ktti_read_block() 72 w0(0x10); w2(0xb); w2(0xa); w2(3); w2(6); in ktti_write_block() 73 w0(buf[2*k]); w2(3); in ktti_write_block() 74 w0(buf[2*k+1]); w2(6); in ktti_write_block() 83 w2(0xb); w2(0xa); w0(0); w2(3); w2(6); in ktti_connect() 88 { w2(0xb); w2(0xa); w0(0xa0); w2(3); w2(4); in ktti_disconnect() 89 w0(pi->saved_r0); in ktti_disconnect()
|
D | on20.c | 27 #define op(f) w2(4);w0(f);w2(5);w2(0xd);w2(5);w2(0xd);w2(5);w2(4); 28 #define vl(v) w2(4);w0(v);w2(5);w2(7);w2(5);w2(4); 75 w2(4);w0(0);w2(0xc);w2(4);w2(6);w2(4);w2(6);w2(4); in on20_connect() 82 { w2(4);w0(7);w2(4);w2(0xc);w2(4); in on20_disconnect() 83 w0(pi->saved_r0); in on20_disconnect() 110 for (k=0;k<count;k++) { w2(5); w0(buf[k]); w2(7); } in on20_write_block()
|
/drivers/nvme/host/ |
D | fc.h | 20 struct fcnvme_ls_rqst_w0 w0; member 40 acc->w0.ls_cmd = ls_cmd; in nvme_fc_format_rsp_hdr() 45 acc->rqst.w0.ls_cmd = rqst_ls_cmd; in nvme_fc_format_rsp_hdr() 173 discon_rqst->w0.ls_cmd = FCNVME_LS_DISCONNECT_ASSOC; in nvmefc_fmt_lsreq_discon_assoc()
|
D | fc.c | 1152 if (rjt->w0.ls_cmd == FCNVME_LS_RJT) in nvme_fc_send_ls_req() 1198 assoc_rqst->w0.ls_cmd = FCNVME_LS_CREATE_ASSOCIATION; in nvme_fc_connect_admin_queue() 1232 if (assoc_acc->hdr.w0.ls_cmd != FCNVME_LS_ACC) in nvme_fc_connect_admin_queue() 1244 else if (assoc_acc->hdr.rqst.w0.ls_cmd != FCNVME_LS_CREATE_ASSOCIATION) in nvme_fc_connect_admin_queue() 1314 conn_rqst->w0.ls_cmd = FCNVME_LS_CREATE_CONNECTION; in nvme_fc_connect_queue() 1347 if (conn_acc->hdr.w0.ls_cmd != FCNVME_LS_ACC) in nvme_fc_connect_queue() 1357 else if (conn_acc->hdr.rqst.w0.ls_cmd != FCNVME_LS_CREATE_CONNECTION) in nvme_fc_connect_queue() 1480 struct fcnvme_ls_rqst_w0 *w0 = &lsop->rqstbuf->w0; in nvme_fc_xmt_ls_rsp() local 1491 w0->ls_cmd, ret); in nvme_fc_xmt_ls_rsp() 1536 rqst->w0.ls_cmd, in nvme_fc_match_disconn_ls() [all …]
|
/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 373 u32 w0, err; in ioc3_rx() local 381 w0 = be32_to_cpu(rxb->w0); in ioc3_rx() 383 while (w0 & ERXBUF_V) { in ioc3_rx() 386 len = ((w0 >> ERXBUF_BYTECNT_SHIFT) & 0x7ff) - 4; in ioc3_rx() 402 w0 & ERXBUF_IPCKSUM_MASK, in ioc3_rx() 431 rxb->w0 = 0; /* Clear valid flag */ in ioc3_rx() 438 w0 = be32_to_cpu(rxb->w0); in ioc3_rx() 683 rxb->w0 = 0; /* Clear valid flag */ in ioc3_alloc_rx_bufs() 988 u32 w0 = 0; in ioc3_start_xmit() local 1032 w0 = ETXD_DOCHECKSUM | (csoff << ETXD_CHKOFF_SHIFT); in ioc3_start_xmit() [all …]
|
/drivers/crypto/hisilicon/sec/ |
D | sec_algs.c | 133 req->w0 |= cfg->c_mode << SEC_BD_W0_C_MODE_S; in sec_alg_skcipher_init_template() 136 req->w0 |= cfg->c_width << SEC_BD_W0_C_WIDTH_S; in sec_alg_skcipher_init_template() 438 icv_or_skey_en = (sec_resp->w0 & SEC_BD_W0_ICV_OR_SKEY_EN_M) >> in sec_skcipher_alg_callback() 458 if (sec_req_el->req.w0 & SEC_BD_W0_DE) in sec_skcipher_alg_callback() 647 req->w0 &= ~SEC_BD_W0_CIPHER_M; in sec_alg_alloc_and_fill_el() 649 req->w0 |= SEC_CIPHER_ENCRYPT << SEC_BD_W0_CIPHER_S; in sec_alg_alloc_and_fill_el() 651 req->w0 |= SEC_CIPHER_DECRYPT << SEC_BD_W0_CIPHER_S; in sec_alg_alloc_and_fill_el() 653 req->w0 &= ~SEC_BD_W0_C_GRAN_SIZE_19_16_M; in sec_alg_alloc_and_fill_el() 654 req->w0 |= ((el_size >> 16) << SEC_BD_W0_C_GRAN_SIZE_19_16_S) & in sec_alg_alloc_and_fill_el() 657 req->w0 &= ~SEC_BD_W0_C_GRAN_SIZE_21_20_M; in sec_alg_alloc_and_fill_el() [all …]
|
/drivers/fsi/ |
D | fsi-sbefifo.c | 149 u32 w0, w1, w2, i; in __sbefifo_dump_ffdc() local 154 w0 = be32_to_cpu(*(ffdc++)); in __sbefifo_dump_ffdc() 158 if ((w0 >> 16) != 0xFFDC) { in __sbefifo_dump_ffdc() 160 w0, w1, w2); in __sbefifo_dump_ffdc() 163 w0 &= 0xffff; in __sbefifo_dump_ffdc() 164 if (w0 > ffdc_sz) { in __sbefifo_dump_ffdc() 166 w0, ffdc_sz); in __sbefifo_dump_ffdc() 167 w0 = ffdc_sz; in __sbefifo_dump_ffdc() 179 for (i = 0; i < w0; i++) { in __sbefifo_dump_ffdc() 186 if ((i & 3) == 3 || i == (w0 - 1)) { in __sbefifo_dump_ffdc()
|
/drivers/misc/sgi-gru/ |
D | gruhandles.c | 43 unsigned long *w0 = h; in start_instruction() local 46 *w0 = *w0 | 0x20001; in start_instruction()
|
/drivers/firewire/ |
D | net.c | 71 u32 w0; member 75 #define fwnet_get_hdr_lf(h) (((h)->w0 & 0xc0000000) >> 30) 76 #define fwnet_get_hdr_ether_type(h) (((h)->w0 & 0x0000ffff)) 77 #define fwnet_get_hdr_dg_size(h) ((((h)->w0 & 0x0fff0000) >> 16) + 1) 78 #define fwnet_get_hdr_fg_off(h) (((h)->w0 & 0x00000fff)) 91 hdr->w0 = fwnet_set_hdr_lf(RFC2374_HDR_UNFRAG) in fwnet_make_uf_hdr() 98 hdr->w0 = fwnet_set_hdr_lf(RFC2374_HDR_FIRSTFRAG) in fwnet_make_ff_hdr() 107 hdr->w0 = fwnet_set_hdr_lf(lf) in fwnet_make_sf_hdr() 589 hdr.w0 = be32_to_cpu(buf[0]); in fwnet_incoming_packet() 868 ptask->outstanding_pkts, lf, ptask->hdr.w0, in fwnet_transmit_packet_done() [all …]
|
/drivers/crypto/cavium/nitrox/ |
D | nitrox_aead.c | 49 flags.w0.aes_keylen = aes_keylen; in nitrox_aes_gcm_setkey() 67 flags.w0.mac_len = authsize; in nitrox_aead_setauthsize() 317 flags->w0.cipher_type = CIPHER_AES_GCM; in nitrox_gcm_common_init() 318 flags->w0.hash_type = AUTH_NULL; in nitrox_gcm_common_init() 319 flags->w0.iv_source = IV_FROM_DPTR; in nitrox_gcm_common_init() 321 flags->w0.auth_input_type = 1; in nitrox_gcm_common_init()
|
D | nitrox_skcipher.c | 187 flags->w0.cipher_type = cipher_type; in nitrox_skcipher_setkey() 188 flags->w0.aes_keylen = aes_keylen; in nitrox_skcipher_setkey() 189 flags->w0.iv_source = IV_FROM_DPTR; in nitrox_skcipher_setkey() 190 flags->f = cpu_to_be64(*(u64 *)&flags->w0); in nitrox_skcipher_setkey()
|
/drivers/gpu/drm/ingenic/ |
D | ingenic-ipu.c | 121 s32 w0, w1, w2, w3; /* Pixel weights at X (or Y) offsets -1,0,1,2 */ in jz4760_set_coefs() local 133 w0 = 0; in jz4760_set_coefs() 148 w0 = F2I(f_h + 512 * cubic_conv(f_a, I2F(512 + weight) / 512)); in jz4760_set_coefs() 152 w0 = clamp_val(w0, -1024, 1023); in jz4760_set_coefs() 159 ((w0 & JZ4760_IPU_RSZ_COEF_MASK) << JZ4760_IPU_RSZ_COEF20_LSB); in jz4760_set_coefs()
|
/drivers/nvme/target/ |
D | fc.c | 1694 sizeof(*acc), rqst->w0.ls_cmd, in nvmet_fc_ls_create_association() 1787 sizeof(*acc), rqst->w0.ls_cmd, in nvmet_fc_ls_create_connection() 1849 sizeof(*acc), rqst->w0.ls_cmd, in nvmet_fc_ls_disconnect() 1894 rqst->w0.ls_cmd, in nvmet_fc_ls_disconnect() 1944 struct fcnvme_ls_rqst_w0 *w0 = &iod->rqstbuf->rq_cr_assoc.w0; in nvmet_fc_handle_ls_rqst() local 1961 switch (w0->ls_cmd) { in nvmet_fc_handle_ls_rqst() 1976 sizeof(*iod->rspbuf), w0->ls_cmd, in nvmet_fc_handle_ls_rqst() 2023 struct fcnvme_ls_rqst_w0 *w0 = (struct fcnvme_ls_rqst_w0 *)lsreqbuf; in nvmet_fc_rcv_ls_req() local 2028 (w0->ls_cmd <= NVME_FC_LAST_LS_CMD_VALUE) ? in nvmet_fc_rcv_ls_req() 2029 nvmefc_ls_names[w0->ls_cmd] : "", in nvmet_fc_rcv_ls_req() [all …]
|