Home
last modified time | relevance | path

Searched refs:r2 (Results 1 – 25 of 80) sorted by relevance

1234

/drivers/memory/
Dti-emif-sram-pm.S54 ldr r2, [r4, #EMIF_PM_REGS_VIRT_OFFSET]
58 str r1, [r2, #EMIF_SDCFG_VAL_OFFSET]
61 str r1, [r2, #EMIF_REF_CTRL_VAL_OFFSET]
64 str r1, [r2, #EMIF_TIMING1_VAL_OFFSET]
67 str r1, [r2, #EMIF_TIMING2_VAL_OFFSET]
70 str r1, [r2, #EMIF_TIMING3_VAL_OFFSET]
73 str r1, [r2, #EMIF_PMCR_VAL_OFFSET]
76 str r1, [r2, #EMIF_PMCR_SHDW_VAL_OFFSET]
79 str r1, [r2, #EMIF_ZQCFG_VAL_OFFSET]
82 str r1, [r2, #EMIF_DDR_PHY_CTLR_1_OFFSET]
[all …]
/drivers/scsi/arm/
Dacornscsi-io.S27 subs r2, r2, #16
43 acornscsi_in8: adds r2, r2, #8
52 sub r2, r2, #8
54 acornscsi_in4: adds r2, r2, #4
61 sub r2, r2, #4
63 acornscsi_in2: adds r2, r2, #2
79 subs r2, r2, #16
103 acornscsi_out8: adds r2, r2, #8
117 sub r2, r2, #8
118 acornscsi_out4: adds r2, r2, #4
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dhub.fuc80 mov $r2 NV_PGRAPH_FECS_ACCESS_FIFO
81 nv_iowr(NV_PGRAPH_FECS_ACCESS, 0, $r2)
87 clear b32 $r2
88 nv_iowr(NV_PGRAPH_FECS_INTR_ROUTE, 0, $r2)
91 mov $r2 0x2003 // { HUB_CHSW_PULSE, ZERO } -> intr 8
92 nv_iowr(NV_PGRAPH_FECS_IROUTE, 0, $r2)
98 mov $r2 0x2004 // { 0x04, ZERO } -> intr 9
99 nv_iowr(NV_PGRAPH_FECS_IROUTE, 1, $r2)
100 mov $r2 0x200b // { HUB_FIRMWARE_MTHD, ZERO } -> intr 10
101 nv_iowr(NV_PGRAPH_FECS_IROUTE, 2, $r2)
[all …]
Dgpc.fuc134 mov $r2 NV_PGRAPH_GPCX_GPCCS_ACCESS_FIFO
135 nv_iowr(NV_PGRAPH_GPCX_GPCCS_ACCESS, 0, $r2)
143 mov $r2 NV_PGRAPH_GPCX_GPCCS_INTR_EN_SET_FIFO
144 nv_iowr(NV_PGRAPH_GPCX_GPCCS_INTR_EN_SET, 0, $r2)
150 nv_iord($r2, NV_PGRAPH_GPCX_GPCCS_UNITS, 0)
152 and $r2 0x1f
153 shl b32 $r3 $r2
155 st b32 D[$r0 + #tpc_count] $r2
159 nv_iord($r2, NV_PGRAPH_GPCX_GPCCS_MYINDEX, 0)
160 st b32 D[$r0 + #gpc_id] $r2
[all …]
/drivers/ata/
Dpata_hpt3x3.c40 u32 r1, r2; in hpt3x3_set_piomode() local
44 pci_read_config_dword(pdev, 0x48, &r2); in hpt3x3_set_piomode()
48 r2 &= ~(0x11 << dn); /* Clear MWDMA and UDMA bits */ in hpt3x3_set_piomode()
51 pci_write_config_dword(pdev, 0x48, r2); in hpt3x3_set_piomode()
70 u32 r1, r2; in hpt3x3_set_dmamode() local
75 pci_read_config_dword(pdev, 0x48, &r2); in hpt3x3_set_dmamode()
79 r2 &= ~(0x11 << dn); /* Clear MWDMA and UDMA bits */ in hpt3x3_set_dmamode()
82 r2 |= (0x01 << dn); /* Ultra mode */ in hpt3x3_set_dmamode()
84 r2 |= (0x10 << dn); /* MWDMA */ in hpt3x3_set_dmamode()
87 pci_write_config_dword(pdev, 0x48, r2); in hpt3x3_set_dmamode()
/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/
Dcom.fuc144 movw $r2 0xfff3
145 sethi $r2 0
146 iowr I[$r1 + 0x300] $r2
149 or $r2 0xc
150 iowr I[$r1] $r2
155 mov $r2 3
156 iowr I[$r1] $r2
168 and $r2 $r1 0x00000008
172 and $r2 $r1 0x00000004
244 mov $r2 0x1400
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/
Dg98.fuc0s112 mov $r2 0x400
113 iowr I[$r2 + 0x300] $r1
117 iowr I[$r2] $r1
121 mov $r2 0x1200
122 iowr I[$r2] $r1
138 and $r2 $r1 0x8
139 cmpu b32 $r2 0
143 mov $r2 0x7700
144 mov $xtargets $r2
147 mov $r2 0
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dhost.fuc68 nv_iord($r2, NV_PPWR_FIFO_PUT(0))
69 cmp b32 $r1 $r2
108 nv_iord($r2, NV_PPWR_RFIFO_PUT)
110 cmp b32 $r1 $r2
113 and $r3 $r2 #rfifo_qmaskp
123 add b32 $r2 0x1
124 and $r2 #rfifo_qmaskf
125 nv_iowr(NV_PPWR_RFIFO_PUT, $r2)
128 mov $r2 NV_PPWR_INTR_TRIGGER_USER0
129 nv_iowr(NV_PPWR_INTR_TRIGGER, $r2)
Darith.fuc54 push $r2 // B_hi
59 shr b32 $r2 $r13 16
77 mulu $r3 $r14 $r2 // tmp0 = A_lo * B_hi
86 mulu $r3 $r1 $r2 // tmp0 = A_hi * B_hi
91 pop $r2
Di2c_.fuc80 // $r2 - sda line
95 nv_iowr(NV_PPWR_OUTPUT_SET, $r2)
98 nv_iowr(NV_PPWR_OUTPUT_CLR, $r2)
113 and $r3 $r2
203 // $r2 - sda line
218 // $r2 - sda line
318 ld b32 $r2 D[$r3]
/drivers/md/persistent-data/
Ddm-space-map-metadata.c263 static int combine_errors(int r1, int r2) in combine_errors() argument
265 return r1 ? r1 : r2; in combine_errors()
394 int r, r2; in sm_metadata_set_count() local
405 r2 = out(smm); in sm_metadata_set_count()
407 return combine_errors(r, r2); in sm_metadata_set_count()
412 int r, r2 = 0; in sm_metadata_inc_blocks() local
423 r2 = out(smm); in sm_metadata_inc_blocks()
426 return combine_errors(r, r2); in sm_metadata_inc_blocks()
431 int r, r2 = 0; in sm_metadata_dec_blocks() local
440 r2 = out(smm); in sm_metadata_dec_blocks()
[all …]
/drivers/net/dsa/
Dqca8k.c80 qca8k_split_addr(u32 regaddr, u16 *r1, u16 *r2, u16 *page) in qca8k_split_addr() argument
86 *r2 = regaddr & 0x7; in qca8k_split_addr()
155 u16 r1, r2, page; in qca8k_read() local
158 qca8k_split_addr(reg, &r1, &r2, &page); in qca8k_read()
166 ret = qca8k_mii_read32(bus, 0x10 | r2, r1, val); in qca8k_read()
177 u16 r1, r2, page; in qca8k_write() local
180 qca8k_split_addr(reg, &r1, &r2, &page); in qca8k_write()
188 qca8k_mii_write32(bus, 0x10 | r2, r1, val); in qca8k_write()
199 u16 r1, r2, page; in qca8k_rmw() local
203 qca8k_split_addr(reg, &r1, &r2, &page); in qca8k_rmw()
[all …]
/drivers/block/drbd/
Ddrbd_debugfs.c577 struct drbd_request *r1, *r2; in connection_oldest_requests_show() local
586 r2 = connection->req_ack_pending; in connection_oldest_requests_show()
587 if (r2 && r2 != r1) { in connection_oldest_requests_show()
588 r1 = r2; in connection_oldest_requests_show()
591 r2 = connection->req_not_net_done; in connection_oldest_requests_show()
592 if (r2 && r2 != r1) in connection_oldest_requests_show()
593 seq_print_minor_vnr_req(m, r2, now); in connection_oldest_requests_show()
695 struct drbd_request *r1, *r2; in device_oldest_requests_show() local
707 r2 = list_first_entry_or_null(&device->pending_completion[i], in device_oldest_requests_show()
711 if (r2 && r2 != r1) in device_oldest_requests_show()
[all …]
/drivers/gpu/drm/
Ddrm_rect.c44 bool drm_rect_intersect(struct drm_rect *r1, const struct drm_rect *r2) in drm_rect_intersect() argument
46 r1->x1 = max(r1->x1, r2->x1); in drm_rect_intersect()
47 r1->y1 = max(r1->y1, r2->y1); in drm_rect_intersect()
48 r1->x2 = min(r1->x2, r2->x2); in drm_rect_intersect()
49 r1->y2 = min(r1->y2, r2->y2); in drm_rect_intersect()
/drivers/media/tuners/
Dmc44s803.c205 u32 r1, r2, n1, n2, lo1, lo2, freq, val; in mc44s803_set_params() local
211 r2 = MC44S803_OSC / 100000; in mc44s803_set_params()
219 lo2 = ((60 * n2) + (r2 / 2)) / r2; in mc44s803_set_params()
226 MC44S803_REG_SM(r2-1, MC44S803_R2) | in mc44s803_set_params()
/drivers/infiniband/hw/cxgb4/
Dt4fw_ri_api.h140 __be32 r2; member
149 __be16 r2; member
604 __u8 r2; member
635 __be64 r2; member
650 __u8 r2[3]; member
736 __be32 r2; member
748 __be32 r2; member
/drivers/firmware/
Dtrusted_foundations.c40 register u32 r2 asm("r2") = arg2; in tf_generic_smc()
53 : "r" (r0), "r" (r1), "r" (r2) in tf_generic_smc()
/drivers/gpu/drm/i915/display/
Dintel_dpll_mgr.c689 unsigned p, n2, r2; member
767 unsigned int r2, unsigned int n2, in hsw_wrpll_update_rnp() argument
777 best->r2 = r2; in hsw_wrpll_update_rnp()
795 a = freq2k * budget * p * r2; in hsw_wrpll_update_rnp()
796 b = freq2k * budget * best->p * best->r2; in hsw_wrpll_update_rnp()
797 diff = abs_diff(freq2k * p * r2, LC_FREQ_2K * n2); in hsw_wrpll_update_rnp()
798 diff_best = abs_diff(freq2k * best->p * best->r2, in hsw_wrpll_update_rnp()
805 if (best->p * best->r2 * diff < p * r2 * diff_best) { in hsw_wrpll_update_rnp()
808 best->r2 = r2; in hsw_wrpll_update_rnp()
814 best->r2 = r2; in hsw_wrpll_update_rnp()
[all …]
/drivers/scsi/aacraid/
Dsa.c154 u32 *ret, u32 *r1, u32 *r2, u32 *r3, u32 *r4) in sa_sync_cmd() argument
212 if (r2) in sa_sync_cmd()
213 *r2 = sa_readl(dev, Mailbox2); in sa_sync_cmd()
/drivers/media/i2c/ccs/
Dccs-data.c247 const struct __ccs_data_block_regs2 *r2 = payload; in ccs_data_parse_regs() local
249 if (!is_contained(r2, endp)) in ccs_data_parse_regs()
252 addr += ((u16)(r2->reg_len & in ccs_data_parse_regs()
254 + r2->addr; in ccs_data_parse_regs()
255 len = ((r2->reg_len & CCS_DATA_BLOCK_REGS_2_LEN_MASK) in ccs_data_parse_regs()
258 if (!is_contained_with_headroom(r2, len, endp)) in ccs_data_parse_regs()
261 data = r2 + 1; in ccs_data_parse_regs()
/drivers/block/paride/
Depia.c65 a = r1(); b = r2(); w2(4); in epia_read_regr()
116 pi->saved_r2 = r2(); in epia_connect()
158 a = r1(); b = r2(); in epia_read_block()
Depat.c81 a = r1(); b = r2(); w0(0xff); in epat_read_regr()
121 a = r1(); b = r2(); in epat_read_block()
216 pi->saved_r2 = r2(); in epat_connect()
/drivers/ipack/devices/
Dscc2698.h58 u8 da, r2; /* reserved */ member
80 u8 de, r2; /* reserved */ member
/drivers/net/wireless/broadcom/b43/
Dradio_2059.c47 #define PHYREGS(r0, r1, r2, r3, r4, r5) \ argument
50 .phy_regs.bw3 = r2, \
/drivers/firmware/arm_scmi/
Dclock.c130 const u64 *r1 = _r1, *r2 = _r2; in rate_cmp_func() local
132 if (*r1 < *r2) in rate_cmp_func()
134 else if (*r1 == *r2) in rate_cmp_func()

1234