/drivers/scsi/arm/ |
D | acornscsi-io.S | 30 subs r2, r2, #16 46 acornscsi_in8: adds r2, r2, #8 55 sub r2, r2, #8 57 acornscsi_in4: adds r2, r2, #4 64 sub r2, r2, #4 66 acornscsi_in2: adds r2, r2, #2 82 subs r2, r2, #16 106 acornscsi_out8: adds r2, r2, #8 120 sub r2, r2, #8 121 acornscsi_out4: adds r2, r2, #4 [all …]
|
/drivers/gpu/drm/nouveau/core/engine/graph/fuc/ |
D | hub.fuc | 80 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 …]
|
D | gpc.fuc | 89 mov $r2 NV_PGRAPH_GPCX_GPCCS_ACCESS_FIFO 90 nv_iowr(NV_PGRAPH_GPCX_GPCCS_ACCESS, 0, $r2) 98 mov $r2 NV_PGRAPH_GPCX_GPCCS_INTR_EN_SET_FIFO 99 nv_iowr(NV_PGRAPH_GPCX_GPCCS_INTR_EN_SET, 0, $r2) 105 nv_iord($r2, NV_PGRAPH_GPCX_GPCCS_UNITS, 0) 107 and $r2 0x1f 108 shl b32 $r3 $r2 110 st b32 D[$r0 + #tpc_count] $r2 112 nv_iord($r2, NV_PGRAPH_GPCX_GPCCS_MYINDEX, 0) 113 st b32 D[$r0 + #gpc_id] $r2 [all …]
|
/drivers/ata/ |
D | pata_hpt3x3.c | 40 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/core/engine/copy/fuc/ |
D | nva3.fuc | 151 movw $r2 0xfff3 152 sethi $r2 0 153 iowr I[$r1 + 0x300] $r2 156 or $r2 0xc 157 iowr I[$r1] $r2 162 mov $r2 3 163 iowr I[$r1] $r2 175 and $r2 $r1 0x00000008 179 and $r2 $r1 0x00000004 251 mov $r2 0x1400 [all …]
|
/drivers/gpu/drm/i915/ |
D | intel_ddi.c | 446 unsigned p, n2, r2; member 524 unsigned r2, unsigned n2, unsigned p, in wrpll_update_rnp() argument 533 best->r2 = r2; in wrpll_update_rnp() 551 a = freq2k * budget * p * r2; in wrpll_update_rnp() 552 b = freq2k * budget * best->p * best->r2; in wrpll_update_rnp() 553 diff = abs_diff(freq2k * p * r2, LC_FREQ_2K * n2); in wrpll_update_rnp() 554 diff_best = abs_diff(freq2k * best->p * best->r2, in wrpll_update_rnp() 561 if (best->p * best->r2 * diff < p * r2 * diff_best) { in wrpll_update_rnp() 564 best->r2 = r2; in wrpll_update_rnp() 570 best->r2 = r2; in wrpll_update_rnp() [all …]
|
/drivers/gpu/drm/nouveau/core/engine/crypt/fuc/ |
D | nv98.fuc | 112 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/core/subdev/pwr/fuc/ |
D | host.fuc | 68 nv_iord($r2, NV_PPWR_FIFO_PUT(0)) 69 cmp b32 $r1 $r2 109 nv_iord($r2, NV_PPWR_RFIFO_PUT) 111 cmp b32 $r1 $r2 114 and $r3 $r2 #rfifo_qmaskp 124 add b32 $r2 0x1 125 and $r2 #rfifo_qmaskf 126 nv_iowr(NV_PPWR_RFIFO_PUT, $r2) 129 mov $r2 NV_PPWR_INTR_TRIGGER_USER0 130 nv_iowr(NV_PPWR_INTR_TRIGGER, $r2)
|
D | arith.fuc | 54 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
|
D | i2c_.fuc | 80 // $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/media/platform/soc_camera/ |
D | soc_scale_crop.c | 27 static bool is_smaller(const struct v4l2_rect *r1, const struct v4l2_rect *r2) in is_smaller() argument 29 return r1->width < r2->width || r1->height < r2->height; in is_smaller() 33 static bool is_inside(const struct v4l2_rect *r1, const struct v4l2_rect *r2) in is_inside() argument 35 return r1->left > r2->left || r1->top > r2->top || in is_inside() 36 r1->left + r1->width < r2->left + r2->width || in is_inside() 37 r1->top + r1->height < r2->top + r2->height; in is_inside()
|
/drivers/md/persistent-data/ |
D | dm-space-map-metadata.c | 253 static int combine_errors(int r1, int r2) in combine_errors() argument 255 return r1 ? r1 : r2; in combine_errors() 384 int r, r2; in sm_metadata_set_count() local 395 r2 = out(smm); in sm_metadata_set_count() 397 return combine_errors(r, r2); in sm_metadata_set_count() 402 int r, r2 = 0; in sm_metadata_inc_block() local 411 r2 = out(smm); in sm_metadata_inc_block() 414 return combine_errors(r, r2); in sm_metadata_inc_block() 419 int r, r2 = 0; in sm_metadata_dec_block() local 428 r2 = out(smm); in sm_metadata_dec_block() [all …]
|
D | dm-btree-spine.c | 140 int r2 = unlock_block(s->info, s->nodes[i]); in exit_ro_spine() local 141 if (r2 < 0) in exit_ro_spine() 142 r = r2; in exit_ro_spine() 197 int r2 = unlock_block(s->info, s->nodes[i]); in exit_shadow_spine() local 198 if (r2 < 0) in exit_shadow_spine() 199 r = r2; in exit_shadow_spine()
|
/drivers/regulator/ |
D | ltc3589.c | 91 unsigned int r2; member 292 desc->r2 = vdiv[1]; in ltc3589_parse_regulators_dt() 438 static inline unsigned int ltc3589_scale(unsigned int uV, u32 r1, u32 r2) in ltc3589_scale() argument 444 do_div(tmp, r2); in ltc3589_scale() 452 if (!rdesc->r1 || !rdesc->r2) in ltc3589_apply_fb_voltage_divider() 455 desc->min_uV = ltc3589_scale(desc->min_uV, rdesc->r1, rdesc->r2); in ltc3589_apply_fb_voltage_divider() 456 desc->uV_step = ltc3589_scale(desc->uV_step, rdesc->r1, rdesc->r2); in ltc3589_apply_fb_voltage_divider() 457 desc->fixed_uV = ltc3589_scale(desc->fixed_uV, rdesc->r1, rdesc->r2); in ltc3589_apply_fb_voltage_divider()
|
/drivers/media/platform/vivid/ |
D | vivid-vid-common.c | 334 bool rect_same_size(const struct v4l2_rect *r1, const struct v4l2_rect *r2) in rect_same_size() argument 336 return r1->width == r2->width && r1->height == r2->height; in rect_same_size() 371 bool rect_overlap(const struct v4l2_rect *r1, const struct v4l2_rect *r2) in rect_overlap() argument 378 if (r1->left >= r2->left + r2->width || in rect_overlap() 379 r2->left >= r1->left + r1->width) in rect_overlap() 386 if (r1->top >= r2->top + r2->height || in rect_overlap() 387 r2->top >= r1->top + r1->height) in rect_overlap()
|
D | vivid-vid-common.h | 40 bool rect_overlap(const struct v4l2_rect *r1, const struct v4l2_rect *r2); 45 bool rect_same_size(const struct v4l2_rect *r1, const struct v4l2_rect *r2);
|
/drivers/block/drbd/ |
D | drbd_debugfs.c | 609 struct drbd_request *r1, *r2; in connection_oldest_requests_show() local 618 r2 = connection->req_ack_pending; in connection_oldest_requests_show() 619 if (r2 && r2 != r1) { in connection_oldest_requests_show() 620 r1 = r2; in connection_oldest_requests_show() 623 r2 = connection->req_not_net_done; in connection_oldest_requests_show() 624 if (r2 && r2 != r1) in connection_oldest_requests_show() 625 seq_print_minor_vnr_req(m, r2, now); in connection_oldest_requests_show() 740 struct drbd_request *r1, *r2; in device_oldest_requests_show() local 752 r2 = list_first_entry_or_null(&device->pending_completion[i], in device_oldest_requests_show() 756 if (r2 && r2 != r1) in device_oldest_requests_show() [all …]
|
/drivers/gpu/drm/ |
D | drm_rect.c | 42 bool drm_rect_intersect(struct drm_rect *r1, const struct drm_rect *r2) in drm_rect_intersect() argument 44 r1->x1 = max(r1->x1, r2->x1); in drm_rect_intersect() 45 r1->y1 = max(r1->y1, r2->y1); in drm_rect_intersect() 46 r1->x2 = min(r1->x2, r2->x2); in drm_rect_intersect() 47 r1->y2 = min(r1->y2, r2->y2); in drm_rect_intersect()
|
/drivers/media/tuners/ |
D | mc44s803.c | 221 u32 r1, r2, n1, n2, lo1, lo2, freq, val; in mc44s803_set_params() local 227 r2 = MC44S803_OSC / 100000; in mc44s803_set_params() 235 lo2 = ((60 * n2) + (r2 / 2)) / r2; in mc44s803_set_params() 242 MC44S803_REG_SM(r2-1, MC44S803_R2) | in mc44s803_set_params()
|
/drivers/watchdog/ |
D | ts72xx_wdt.c | 393 struct resource *r1, *r2; in ts72xx_wdt_probe() local 405 r2 = platform_get_resource(pdev, IORESOURCE_MEM, 1); in ts72xx_wdt_probe() 406 wdt->feed_reg = devm_ioremap_resource(&pdev->dev, r2); in ts72xx_wdt_probe()
|
/drivers/scsi/aacraid/ |
D | sa.c | 159 u32 *ret, u32 *r1, u32 *r2, u32 *r3, u32 *r4) in sa_sync_cmd() argument 217 if (r2) in sa_sync_cmd() 218 *r2 = sa_readl(dev, Mailbox2); in sa_sync_cmd()
|
/drivers/infiniband/hw/cxgb4/ |
D | t4fw_ri_api.h | 138 __be32 r2; member 147 __be16 r2; member 534 __be64 r2; member 577 __be64 r2; member 592 __u8 r2[3]; member 678 __be32 r2; member
|
/drivers/block/paride/ |
D | epia.c | 65 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()
|
/drivers/isdn/gigaset/ |
D | usb-gigaset.c | 181 int r, r2; in set_value() local 199 r2 = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), 0x19, 0x41, in set_value() 201 if (r2 < 0) in set_value() 202 dev_err(&udev->dev, "error %d on request 0x19\n", -r2); in set_value() 204 return r < 0 ? r : (r2 < 0 ? r2 : 0); in set_value()
|
/drivers/ipack/devices/ |
D | scc2698.h | 61 u8 da, r2; /* reserved */ member 83 u8 de, r2; /* reserved */ member
|