/linux-4.4.14/drivers/gpu/drm/msm/ |
D | msm_rd.c | 97 static void rd_write(struct msm_rd_state *rd, const void *buf, int sz) in rd_write() argument 99 struct circ_buf *fifo = &rd->fifo; in rd_write() 106 wait_event(rd->fifo_event, circ_space(&rd->fifo) > 0); in rd_write() 108 n = min(sz, circ_space_to_end(&rd->fifo)); in rd_write() 115 wake_up_all(&rd->fifo_event); in rd_write() 119 static void rd_write_section(struct msm_rd_state *rd, in rd_write_section() argument 122 rd_write(rd, &type, 4); in rd_write_section() 123 rd_write(rd, &sz, 4); in rd_write_section() 124 rd_write(rd, buf, sz); in rd_write_section() 130 struct msm_rd_state *rd = file->private_data; in rd_read() local [all …]
|
/linux-4.4.14/arch/arm/net/ |
D | bpf_jit_32.h | 135 #define _AL3_R(op, rd, rn, rm) ((op ## _R) | (rd) << 12 | (rn) << 16 | (rm)) argument 137 #define _AL3_I(op, rd, rn, imm) ((op ## _I) | (rd) << 12 | (rn) << 16 | (imm)) argument 139 #define ARM_ADD_R(rd, rn, rm) _AL3_R(ARM_INST_ADD, rd, rn, rm) argument 140 #define ARM_ADD_I(rd, rn, imm) _AL3_I(ARM_INST_ADD, rd, rn, imm) argument 142 #define ARM_AND_R(rd, rn, rm) _AL3_R(ARM_INST_AND, rd, rn, rm) argument 143 #define ARM_AND_I(rd, rn, imm) _AL3_I(ARM_INST_AND, rd, rn, imm) argument 145 #define ARM_BIC_R(rd, rn, rm) _AL3_R(ARM_INST_BIC, rd, rn, rm) argument 146 #define ARM_BIC_I(rd, rn, imm) _AL3_I(ARM_INST_BIC, rd, rn, imm) argument 155 #define ARM_EOR_R(rd, rn, rm) _AL3_R(ARM_INST_EOR, rd, rn, rm) argument 156 #define ARM_EOR_I(rd, rn, imm) _AL3_I(ARM_INST_EOR, rd, rn, imm) argument [all …]
|
D | bpf_jit_32.c | 325 static inline void emit_mov_i_no8m(int rd, u32 val, struct jit_ctx *ctx) in emit_mov_i_no8m() argument 328 emit(ARM_LDR_I(rd, ARM_PC, imm_offset(val, ctx)), ctx); in emit_mov_i_no8m() 330 emit(ARM_MOVW(rd, val & 0xffff), ctx); in emit_mov_i_no8m() 332 emit(ARM_MOVT(rd, val >> 16), ctx); in emit_mov_i_no8m() 336 static inline void emit_mov_i(int rd, u32 val, struct jit_ctx *ctx) in emit_mov_i() argument 341 emit(ARM_MOV_I(rd, imm12), ctx); in emit_mov_i() 343 emit_mov_i_no8m(rd, val, ctx); in emit_mov_i() 465 static inline void emit_udivmod(u8 rd, u8 rm, u8 rn, struct jit_ctx *ctx, in emit_udivmod() argument 471 emit(ARM_UDIV(rd, rm, rn), ctx); in emit_udivmod() 474 emit(ARM_MLS(rd, rn, ARM_R3, rm), ctx); in emit_udivmod() [all …]
|
/linux-4.4.14/arch/arm/include/debug/ |
D | samsung.S | 16 .macro fifo_level_s5pv210 rd, rx 17 ldr \rd, [\rx, # S3C2410_UFSTAT] 18 and \rd, \rd, #S5PV210_UFSTAT_TXMASK 21 .macro fifo_full_s5pv210 rd, rx 22 ldr \rd, [\rx, # S3C2410_UFSTAT] 23 tst \rd, #S5PV210_UFSTAT_TXFULL 29 .macro fifo_level_s3c2440 rd, rx 30 ldr \rd, [\rx, # S3C2410_UFSTAT] 31 and \rd, \rd, #S3C2440_UFSTAT_TXMASK 38 .macro fifo_full_s3c2440 rd, rx [all …]
|
D | 8250.S | 18 .macro store, rd, rx:vararg 19 ARM_BE8(rev \rd, \rd) 20 str \rd, \rx 21 ARM_BE8(rev \rd, \rd) 24 .macro load, rd, rx:vararg 25 ldr \rd, \rx 26 ARM_BE8(rev \rd, \rd) 29 .macro store, rd, rx:vararg 30 strb \rd, \rx 33 .macro load, rd, rx:vararg [all …]
|
D | msm.S | 23 .macro senduart, rd, rx 24 ARM_BE8(rev \rd, \rd ) 26 str \rd, [\rx, #0x70] 29 .macro waituart, rd, rx 31 ldr \rd, [\rx, #0x08] 32 ARM_BE8(rev \rd, \rd ) 33 tst \rd, #0x08 36 1001: ldr \rd, [\rx, #0x14] 37 ARM_BE8(rev \rd, \rd ) 38 tst \rd, #0x80 [all …]
|
D | icedcc.S | 19 .macro senduart, rd, rx 20 mcr p14, 0, \rd, c0, c5, 0 23 .macro busyuart, rd, rx 30 .macro waituart, rd, rx 31 mov \rd, #0x2000000 33 subs \rd, \rd, #1 43 .macro senduart, rd, rx 44 mcr p14, 0, \rd, c8, c0, 0 47 .macro busyuart, rd, rx 54 .macro waituart, rd, rx [all …]
|
D | pl01x.S | 29 .macro senduart,rd,rx 30 strb \rd, [\rx, #UART01x_DR] 33 .macro waituart,rd,rx 34 1001: ldr \rd, [\rx, #UART01x_FR] 35 ARM_BE8( rev \rd, \rd ) 36 tst \rd, #UART01x_FR_TXFF 40 .macro busyuart,rd,rx 41 1001: ldr \rd, [\rx, #UART01x_FR] 42 ARM_BE8( rev \rd, \rd ) 43 tst \rd, #UART01x_FR_BUSY
|
D | renesas-scif.S | 35 .macro waituart, rd, rx 36 1001: ldrh \rd, [\rx, #FSR] 37 tst \rd, #TDFE 41 .macro senduart, rd, rx 42 strb \rd, [\rx, #FTDR] 43 ldrh \rd, [\rx, #FSR] 44 bic \rd, \rd, #TEND 45 strh \rd, [\rx, #FSR] 48 .macro busyuart, rd, rx 49 1001: ldrh \rd, [\rx, #FSR] [all …]
|
D | zynq.S | 40 .macro senduart,rd,rx 41 strb \rd, [\rx, #UART_FIFO_OFFSET] @ TXDATA 44 .macro waituart,rd,rx 45 1001: ldr \rd, [\rx, #UART_SR_OFFSET] 46 ARM_BE8( rev \rd, \rd ) 47 tst \rd, #UART_SR_TXEMPTY 51 .macro busyuart,rd,rx 52 1002: ldr \rd, [\rx, #UART_SR_OFFSET] @ get status register 53 ARM_BE8( rev \rd, \rd ) 54 tst \rd, #UART_SR_TXFULL @
|
D | bcm63xx.S | 18 .macro senduart, rd, rx 20 strb \rd, [\rx, #UART_FIFO_REG] 23 .macro waituart, rd, rx 24 1001: ldr \rd, [\rx, #UART_IR_REG] 25 tst \rd, #(1 << UART_IR_TXEMPTY) 29 .macro busyuart, rd, rx 30 1002: ldr \rd, [\rx, #UART_IR_REG] 31 tst \rd, #(1 << UART_IR_TXTRESH)
|
D | netx.S | 22 .macro senduart,rd,rx 23 str \rd, [\rx, #UART_DATA] 26 .macro busyuart,rd,rx 27 1002: ldr \rd, [\rx, #UART_FLAG] 28 tst \rd, #UART_FLAG_BUSY 32 .macro waituart,rd,rx 33 1001: ldr \rd, [\rx, #UART_FLAG] 34 tst \rd, #UART_FLAG_BUSY
|
D | meson.S | 21 .macro senduart,rd,rx 22 str \rd, [\rx, #MESON_AO_UART_WFIFO] 25 .macro busyuart,rd,rx 26 1002: ldr \rd, [\rx, #MESON_AO_UART_STATUS] 27 tst \rd, #MESON_AO_UART_TX_FIFO_EMPTY 31 .macro waituart,rd,rx 32 1001: ldr \rd, [\rx, #MESON_AO_UART_STATUS] 33 tst \rd, #MESON_AO_UART_TX_FIFO_FULL
|
D | efm32.S | 31 .macro senduart,rd,rx 32 strb \rd, [\rx, #UARTn_TXDATA] 35 .macro waituart,rd,rx 36 1001: ldr \rd, [\rx, #UARTn_STATUS] 37 tst \rd, #UARTn_STATUS_TXBL 41 .macro busyuart,rd,rx 42 1001: ldr \rd, [\rx, UARTn_STATUS] 43 tst \rd, #UARTn_STATUS_TXC
|
D | s3c24xx.S | 24 .macro fifo_full_s3c2410 rd, rx 25 ldr \rd, [\rx, # S3C2410_UFSTAT] 26 tst \rd, #S3C2410_UFSTAT_TXFULL 29 .macro fifo_level_s3c2410 rd, rx 30 ldr \rd, [\rx, # S3C2410_UFSTAT] 31 and \rd, \rd, #S3C2410_UFSTAT_TXMASK
|
D | sti.S | 47 .macro senduart,rd,rx 48 strb \rd, [\rx, #ASC_TX_BUF_OFF] 51 .macro waituart,rd,rx 52 1001: ldr \rd, [\rx, #ASC_STA_OFF] 53 tst \rd, #ASC_STA_TX_FULL 57 .macro busyuart,rd,rx 58 1001: ldr \rd, [\rx, #ASC_STA_OFF] 59 tst \rd, #ASC_STA_TX_EMPTY
|
D | ks8695.S | 26 .macro senduart, rd, rx 27 str \rd, [\rx, #KS8695_URTH] @ Write to Transmit Holding Register 30 .macro busyuart, rd, rx 31 1001: ldr \rd, [\rx, #KS8695_URLS] @ Read Line Status Register 32 tst \rd, #URLS_URTE @ Holding & Shift registers empty? 36 .macro waituart, rd, rx 37 1001: ldr \rd, [\rx, #KS8695_URLS] @ Read Line Status Register 38 tst \rd, #URLS_URTHRE @ Holding Register empty?
|
D | vt8500.S | 24 .macro senduart,rd,rx 25 strb \rd, [\rx, #0] 28 .macro busyuart,rd,rx 29 1001: ldr \rd, [\rx, #0x1c] 30 ands \rd, \rd, #0x2 34 .macro waituart,rd,rx
|
D | at91.S | 30 .macro senduart,rd,rx 31 strb \rd, [\rx, #(AT91_DBGU_THR)] @ Write to Transmitter Holding Register 34 .macro waituart,rd,rx 35 1001: ldr \rd, [\rx, #(AT91_DBGU_SR)] @ Read Status Register 36 tst \rd, #AT91_DBGU_TXRDY @ DBGU_TXRDY = 1 when ready to transmit 40 .macro busyuart,rd,rx 41 1001: ldr \rd, [\rx, #(AT91_DBGU_SR)] @ Read Status Register 42 tst \rd, #AT91_DBGU_TXEMPTY @ DBGU_TXEMPTY = 1 when transmission complete
|
D | omap2plus.S | 174 .macro senduart,rd,rx 175 orr \rd, \rd, \rx, lsl #24 @ preserve LSR reg offset 177 strb \rd, [\rx] @ send lower byte of rd 178 orr \rx, \rx, \rd, lsr #24 @ restore original rx (LSR) 179 bic \rd, \rd, #(0xff << 24) @ restore original rd 182 .macro busyuart,rd,rx 183 1001: ldrb \rd, [\rx] @ rx contains UART_LSR address 184 and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE) 185 teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE) 189 .macro waituart,rd,rx
|
D | digicolor.S | 24 .macro senduart,rd,rx 25 strb \rd, [\rx, #UA0_EMI_REC] 28 .macro waituart,rd,rx 31 .macro busyuart,rd,rx 32 1001: ldrb \rd, [\rx, #UA0_STATUS] 33 tst \rd, #UA0_STATUS_TX_READY
|
D | asm9260.S | 18 .macro waituart,rd,rx 21 .macro senduart,rd,rx 22 str \rd, [\rx, #0x50] @ TXDATA 25 .macro busyuart,rd,rx 26 1002: ldr \rd, [\rx, #0x60] @ STAT 27 tst \rd, #1 << 27 @ TXEMPTY
|
D | sirf.S | 26 .macro senduart,rd,rx 27 str \rd, [\rx, #SIRF_LLUART_TXFIFO_DATA] 30 .macro busyuart,rd,rx 33 .macro waituart,rd,rx 34 1001: ldr \rd, [\rx, #SIRF_LLUART_TXFIFO_STATUS] 35 tst \rd, #SIRF_LLUART_TXFIFO_EMPTY
|
D | clps711x.S | 27 .macro waituart,rd,rx 30 .macro senduart,rd,rx 31 str \rd, [\rx, #UARTDR] 34 .macro busyuart,rd,rx 35 1001: ldr \rd, [\rx, #SYSFLG] 36 tst \rd, #SYSFLG_UBUSY
|
D | imx.S | 36 .macro senduart,rd,rx 37 str \rd, [\rx, #0x40] @ TXDATA 40 .macro waituart,rd,rx 43 .macro busyuart,rd,rx 44 1002: ldr \rd, [\rx, #0x98] @ SR2 45 tst \rd, #1 << 3 @ TXDC
|
D | sa1100.S | 54 .macro senduart,rd,rx 55 str \rd, [\rx, #UTDR] 58 .macro waituart,rd,rx 59 1001: ldr \rd, [\rx, #UTSR1] 60 tst \rd, #UTSR1_TNF 64 .macro busyuart,rd,rx 65 1001: ldr \rd, [\rx, #UTSR1] 66 tst \rd, #UTSR1_TBY
|
D | vf.S | 26 .macro senduart, rd, rx 27 strb \rd, [\rx, #0x7] @ Data Register 30 .macro busyuart, rd, rx 31 1001: ldrb \rd, [\rx, #0x4] @ Status Register 1 32 tst \rd, #1 << 6 @ TC 36 .macro waituart,rd,rx
|
D | tegra.S | 174 .macro senduart, rd, rx 176 strneb \rd, [\rx, #UART_TX << UART_SHIFT] 180 .macro busyuart, rd, rx 183 1001: ldrb \rd, [\rx, #UART_LSR << UART_SHIFT] 184 and \rd, \rd, #UART_LSR_THRE 185 teq \rd, #UART_LSR_THRE 190 .macro waituart, rd, rx 194 1001: ldrb \rd, [\rx, #UART_MSR << UART_SHIFT] 195 tst \rd, #UART_MSR_CTS
|
/linux-4.4.14/kernel/time/ |
D | sched_clock.c | 100 struct clock_read_data *rd; in sched_clock() local 104 rd = cd.read_data + (seq & 1); in sched_clock() 106 cyc = (rd->read_sched_clock() - rd->epoch_cyc) & in sched_clock() 107 rd->sched_clock_mask; in sched_clock() 108 res = rd->epoch_ns + cyc_to_ns(cyc, rd->mult, rd->shift); in sched_clock() 124 static void update_clock_read_data(struct clock_read_data *rd) in update_clock_read_data() argument 127 cd.read_data[1] = *rd; in update_clock_read_data() 133 cd.read_data[0] = *rd; in update_clock_read_data() 146 struct clock_read_data rd; in update_sched_clock() local 148 rd = cd.read_data[0]; in update_sched_clock() [all …]
|
/linux-4.4.14/drivers/powercap/ |
D | intel_rapl.c | 192 void (*set_floor_freq)(struct rapl_domain *rd, bool mode); 228 static int rapl_read_data_raw(struct rapl_domain *rd, 231 static int rapl_write_data_raw(struct rapl_domain *rd, 234 static u64 rapl_unit_xlate(struct rapl_domain *rd, int package, 291 struct rapl_domain *rd; in get_energy_counter() local 298 rd = power_zone_to_rapl_domain(power_zone); in get_energy_counter() 300 if (!rapl_read_data_raw(rd, ENERGY_COUNTER, true, &energy_now)) { in get_energy_counter() 313 struct rapl_domain *rd = power_zone_to_rapl_domain(pcd_dev); in get_max_energy_counter() local 315 *energy = rapl_unit_xlate(rd, 0, ENERGY_UNIT, ENERGY_STATUS_MASK, 0); in get_max_energy_counter() 321 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in release_zone() local [all …]
|
/linux-4.4.14/fs/jffs2/ |
D | write.c | 206 struct jffs2_raw_dirent *rd, const unsigned char *name, in jffs2_write_dirent() argument 218 je32_to_cpu(rd->pino), name, name, je32_to_cpu(rd->ino), in jffs2_write_dirent() 219 je32_to_cpu(rd->name_crc)); in jffs2_write_dirent() 221 D1(if(je32_to_cpu(rd->hdr_crc) != crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dirent() 231 je32_to_cpu(rd->pino), name, name, je32_to_cpu(rd->ino), in jffs2_write_dirent() 232 je32_to_cpu(rd->name_crc)); in jffs2_write_dirent() 237 vecs[0].iov_base = rd; in jffs2_write_dirent() 238 vecs[0].iov_len = sizeof(*rd); in jffs2_write_dirent() 246 fd->version = je32_to_cpu(rd->version); in jffs2_write_dirent() 247 fd->ino = je32_to_cpu(rd->ino); in jffs2_write_dirent() [all …]
|
D | dir.c | 284 struct jffs2_raw_dirent *rd; in jffs2_symlink() local 378 ret = jffs2_reserve_space(c, sizeof(*rd)+namelen, &alloclen, in jffs2_symlink() 383 rd = jffs2_alloc_raw_dirent(); in jffs2_symlink() 384 if (!rd) { in jffs2_symlink() 394 rd->magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_symlink() 395 rd->nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_symlink() 396 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_symlink() 397 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink() 399 rd->pino = cpu_to_je32(dir_i->i_ino); in jffs2_symlink() 400 rd->version = cpu_to_je32(++dir_f->highest_version); in jffs2_symlink() [all …]
|
D | readinode.c | 587 struct jffs2_raw_dirent *rd, size_t read, in read_direntry() argument 596 crc = crc32(0, rd, sizeof(*rd) - 8); in read_direntry() 597 if (unlikely(crc != je32_to_cpu(rd->node_crc))) { in read_direntry() 599 ref_offset(ref), je32_to_cpu(rd->node_crc), crc); in read_direntry() 610 if (unlikely(PAD((rd->nsize + sizeof(*rd))) != PAD(je32_to_cpu(rd->totlen)))) { in read_direntry() 612 ref_offset(ref), rd->nsize, je32_to_cpu(rd->totlen)); in read_direntry() 625 ref->flash_offset = ref_offset(ref) | dirent_node_state(rd); in read_direntry() 629 fd = jffs2_alloc_full_dirent(rd->nsize + 1); in read_direntry() 634 fd->version = je32_to_cpu(rd->version); in read_direntry() 635 fd->ino = je32_to_cpu(rd->ino); in read_direntry() [all …]
|
D | gc.c | 834 struct jffs2_raw_dirent rd; in jffs2_garbage_collect_dirent() local 838 rd.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_garbage_collect_dirent() 839 rd.nodetype = cpu_to_je16(JFFS2_NODETYPE_DIRENT); in jffs2_garbage_collect_dirent() 840 rd.nsize = strlen(fd->name); in jffs2_garbage_collect_dirent() 841 rd.totlen = cpu_to_je32(sizeof(rd) + rd.nsize); in jffs2_garbage_collect_dirent() 842 rd.hdr_crc = cpu_to_je32(crc32(0, &rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_dirent() 844 rd.pino = cpu_to_je32(f->inocache->ino); in jffs2_garbage_collect_dirent() 845 rd.version = cpu_to_je32(++f->highest_version); in jffs2_garbage_collect_dirent() 846 rd.ino = cpu_to_je32(fd->ino); in jffs2_garbage_collect_dirent() 850 rd.mctime = cpu_to_je32(JFFS2_F_I_MTIME(f)); in jffs2_garbage_collect_dirent() [all …]
|
D | scan.c | 49 struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s); 1040 struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s) in jffs2_scan_dirent_node() argument 1052 crc = crc32(0, rd, sizeof(*rd)-8); in jffs2_scan_dirent_node() 1054 if (crc != je32_to_cpu(rd->node_crc)) { in jffs2_scan_dirent_node() 1056 __func__, ofs, je32_to_cpu(rd->node_crc), crc); in jffs2_scan_dirent_node() 1058 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rd->totlen))))) in jffs2_scan_dirent_node() 1063 pseudo_random += je32_to_cpu(rd->version); in jffs2_scan_dirent_node() 1066 checkedlen = strnlen(rd->name, rd->nsize); in jffs2_scan_dirent_node() 1067 if (checkedlen < rd->nsize) { in jffs2_scan_dirent_node() 1075 memcpy(&fd->name, rd->name, checkedlen); in jffs2_scan_dirent_node() [all …]
|
D | summary.c | 133 int jffs2_sum_add_dirent_mem(struct jffs2_summary *s, struct jffs2_raw_dirent *rd, in jffs2_sum_add_dirent_mem() argument 137 kmalloc(sizeof(struct jffs2_sum_dirent_mem) + rd->nsize, GFP_KERNEL); in jffs2_sum_add_dirent_mem() 142 temp->nodetype = rd->nodetype; in jffs2_sum_add_dirent_mem() 143 temp->totlen = rd->totlen; in jffs2_sum_add_dirent_mem() 145 temp->pino = rd->pino; in jffs2_sum_add_dirent_mem() 146 temp->version = rd->version; in jffs2_sum_add_dirent_mem() 147 temp->ino = rd->ino; in jffs2_sum_add_dirent_mem() 148 temp->nsize = rd->nsize; in jffs2_sum_add_dirent_mem() 149 temp->type = rd->type; in jffs2_sum_add_dirent_mem() 152 memcpy(temp->name, rd->name, rd->nsize); in jffs2_sum_add_dirent_mem()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | head_32.h | 12 rd %psr, %l0; b label; rd %wim, %l3; nop; 15 #define SRMMU_TFAULT rd %psr, %l0; rd %wim, %l3; b srmmu_fault; mov 1, %l7; 16 #define SRMMU_DFAULT rd %psr, %l0; rd %wim, %l3; b srmmu_fault; mov 0, %l7; 20 rd %psr, %l0; mov num, %l7; b bad_trap_handler; rd %wim, %l3; 37 rd %psr, %l0; 41 rd %psr,%l0; \ 48 rd %psr,%l0; \ 58 b getcc_trap_handler; rd %psr, %l0; nop; nop; 62 b setcc_trap_handler; rd %psr, %l0; nop; nop; 66 rd %psr, %i0; jmp %l2; rett %l2 + 4; nop; [all …]
|
D | backoff.h | 56 88: rd %ccr, %g0; \ 57 rd %ccr, %g0; \ 58 rd %ccr, %g0; \
|
D | visasm.h | 15 rd %fprs, %o5; \ 37 rd %fprs, %o5; \
|
D | winmacro.h | 77 rd %y, %scratch; \ 107 661: rd %tbr, %idreg; \ 118 rd %asr17, %idreg; \
|
/linux-4.4.14/drivers/media/tuners/ |
D | qt1010.c | 64 qt1010_i2c_oper_t rd[48] = { in qt1010_set_params() local 136 rd[2].val = reg05; in qt1010_set_params() 139 rd[4].val = (freq + QT1010_OFFSET) / FREQ1; in qt1010_set_params() 142 if (mod1 < 8000000) rd[6].val = 0x1d; in qt1010_set_params() 143 else rd[6].val = 0x1c; in qt1010_set_params() 146 if (mod1 < 1*FREQ2) rd[7].val = 0x09; /* +0 MHz */ in qt1010_set_params() 147 else if (mod1 < 2*FREQ2) rd[7].val = 0x08; /* +4 MHz */ in qt1010_set_params() 148 else if (mod1 < 3*FREQ2) rd[7].val = 0x0f; /* +8 MHz */ in qt1010_set_params() 149 else if (mod1 < 4*FREQ2) rd[7].val = 0x0e; /* +12 MHz */ in qt1010_set_params() 150 else if (mod1 < 5*FREQ2) rd[7].val = 0x0d; /* +16 MHz */ in qt1010_set_params() [all …]
|
/linux-4.4.14/drivers/net/irda/ |
D | vlsi_ir.c | 139 struct ring_descr *rd; in vlsi_ring_debug() local 143 __func__, r, r->size, r->mask, r->len, r->dir, r->rd[0].hw); in vlsi_ring_debug() 147 rd = &r->rd[i]; in vlsi_ring_debug() 149 printk("skb=%p data=%p hw=%p\n", rd->skb, rd->buf, rd->hw); in vlsi_ring_debug() 151 __func__, (unsigned) rd_get_status(rd), in vlsi_ring_debug() 152 (unsigned) rd_get_count(rd), (unsigned) rd_get_addr(rd)); in vlsi_ring_debug() 298 struct ring_descr *rd; in vlsi_proc_ring() local 303 r->size, r->mask, r->len, r->dir, r->rd[0].hw); in vlsi_proc_ring() 314 rd = &r->rd[h]; in vlsi_proc_ring() 315 j = (unsigned) rd_get_count(rd); in vlsi_proc_ring() [all …]
|
D | vlsi_ir.h | 594 static inline int rd_is_active(struct ring_descr *rd) in rd_is_active() argument 596 return (rd->hw->rd_status & RD_ACTIVE) != 0; in rd_is_active() 599 static inline void rd_activate(struct ring_descr *rd) in rd_activate() argument 601 rd->hw->rd_status |= RD_ACTIVE; in rd_activate() 604 static inline void rd_set_status(struct ring_descr *rd, u8 s) in rd_set_status() argument 606 rd->hw->rd_status = s; /* may pass ownership to the hardware */ in rd_set_status() 609 static inline void rd_set_addr_status(struct ring_descr *rd, dma_addr_t a, u8 s) in rd_set_addr_status() argument 627 rd->hw->rd_addr = cpu_to_le32(a); in rd_set_addr_status() 629 rd_set_status(rd, s); /* may pass ownership to the hardware */ in rd_set_addr_status() 632 static inline void rd_set_count(struct ring_descr *rd, u16 c) in rd_set_count() argument [all …]
|
/linux-4.4.14/arch/arm/mach-tegra/ |
D | sleep.h | 62 .macro cpu_to_halt_reg rd, rcpu 64 subne \rd, \rcpu, #1 65 movne \rd, \rd, lsl #3 66 addne \rd, \rd, #0x14 67 moveq \rd, #0 71 .macro cpu_to_csr_reg rd, rcpu 73 subne \rd, \rcpu, #1 74 movne \rd, \rd, lsl #3 75 addne \rd, \rd, #0x18 76 moveq \rd, #8 [all …]
|
D | sleep-tegra30.S | 83 .macro emc_device_mask, rd, base 84 ldr \rd, [\base, #EMC_ADR_CFG] 85 tst \rd, #0x1 86 moveq \rd, #(0x1 << 8) @ just 1 device 87 movne \rd, #(0x3 << 8) @ 2 devices 90 .macro emc_timing_update, rd, base 91 mov \rd, #1 92 str \rd, [\base, #EMC_TIMING_CONTROL] 94 ldr \rd, [\base, #EMC_EMC_STATUS] 95 tst \rd, #(0x1<<23) @ wait EMC_STATUS_TIMING_UPDATE_STALLED is clear [all …]
|
D | sleep-tegra20.S | 56 .macro pll_enable, rd, r_car_base, pll_base 57 ldr \rd, [\r_car_base, #\pll_base] 58 tst \rd, #(1 << 30) 59 orreq \rd, \rd, #(1 << 30) 60 streq \rd, [\r_car_base, #\pll_base] 63 .macro emc_device_mask, rd, base 64 ldr \rd, [\base, #EMC_ADR_CFG] 65 tst \rd, #(0x3 << 24) 66 moveq \rd, #(0x1 << 8) @ just 1 device 67 movne \rd, #(0x3 << 8) @ 2 devices
|
/linux-4.4.14/arch/unicore32/mm/ |
D | proc-macros.S | 41 .macro vma_vm_mm, rd, rn 42 ldw \rd, [\rn+], #VMA_VM_MM 48 .macro vma_vm_flags, rd, rn 49 ldw \rd, [\rn+], #VMA_VM_FLAGS 52 .macro tsk_mm, rd, rn 53 ldw \rd, [\rn+], #TI_TASK 54 ldw \rd, [\rd+], #TSK_ACTIVE_MM 60 .macro act_mm, rd 61 andn \rd, sp, #8128 62 andn \rd, \rd, #63 [all …]
|
D | alignment.c | 217 unsigned int rd = RD_BITS(instr); in do_alignment_ldrhstrh() local 231 regs->uregs[rd] = val; in do_alignment_ldrhstrh() 233 put16_unaligned_check(regs->uregs[rd], addr); in do_alignment_ldrhstrh() 252 unsigned int rd = RD_BITS(instr); in do_alignment_ldrstr() local 258 get32_unaligned_check(regs->uregs[rd], addr); in do_alignment_ldrstr() 260 put32_unaligned_check(regs->uregs[rd], addr); in do_alignment_ldrstr() 265 get32t_unaligned_check(regs->uregs[rd], addr); in do_alignment_ldrstr() 267 put32t_unaligned_check(regs->uregs[rd], addr); in do_alignment_ldrstr() 291 unsigned int rd, rn, pc_correction, reg_correction, nr_regs, regbits; in do_alignment_ldmstm() local 330 for (regbits = REGMASK_BITS(instr), rd = 0; regbits; in do_alignment_ldmstm() [all …]
|
/linux-4.4.14/arch/unicore32/kernel/ |
D | debug-macro.S | 17 .macro put_word_ocd, rd, rx=r16 21 movc p1.c1, \rd, #1 29 .macro senduart, rd, rx 30 put_word_ocd \rd, \rx 33 .macro busyuart, rd, rx 36 .macro waituart, rd, rx 73 .macro senduart,rd,rx 74 str \rd, [\rx, #UART_THR_OFFSET] 77 .macro waituart,rd,rx 78 1001: ldr \rd, [\rx, #UART_LSR_OFFSET] [all …]
|
/linux-4.4.14/arch/arm/lib/ |
D | io-writesb.S | 13 .macro outword, rd 15 strb \rd, [r0] 16 mov \rd, \rd, lsr #8 17 strb \rd, [r0] 18 mov \rd, \rd, lsr #8 19 strb \rd, [r0] 20 mov \rd, \rd, lsr #8 21 strb \rd, [r0] 23 mov lr, \rd, lsr #24 25 mov lr, \rd, lsr #16 [all …]
|
D | io-writesw-armv4.S | 13 .macro outword, rd 15 strh \rd, [r0] 16 mov \rd, \rd, lsr #16 17 strh \rd, [r0] 19 mov lr, \rd, lsr #16 21 strh \rd, [r0]
|
D | io-readsw-armv4.S | 13 .macro pack, rd, hw1, hw2 15 orr \rd, \hw1, \hw2, lsl #16 17 orr \rd, \hw2, \hw1, lsl #16
|
/linux-4.4.14/arch/powerpc/lib/ |
D | sstep.c | 533 static void __kprobes set_cr0(struct pt_regs *regs, int rd) in set_cr0() argument 535 long val = regs->gpr[rd]; in set_cr0() 550 static void __kprobes add_with_carry(struct pt_regs *regs, int rd, in add_with_carry() argument 558 regs->gpr[rd] = val; in add_with_carry() 645 unsigned int opcode, ra, rb, rd, spr, u; in analyse_instr() local 690 rd = (instr >> 21) & 0x1c; in analyse_instr() 693 regs->ccr = (regs->ccr & ~(0xfUL << rd)) | (val << rd); in analyse_instr() 729 rd = (instr >> 21) & 0x1f; in analyse_instr() 733 regs->ccr = (regs->ccr & ~(1UL << (31 - rd))) | in analyse_instr() 734 (val << (31 - rd)); in analyse_instr() [all …]
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | dib3000mb.c | 355 rd(DIB3000MB_REG_AS_IRQ_PENDING), in dib3000mb_set_frontend() 356 rd(DIB3000MB_REG_LOCK2_VALUE))) < 0 && as_count++ < 100) in dib3000mb_set_frontend() 462 if (!rd(DIB3000MB_REG_TPS_LOCK)) in dib3000mb_get_frontend() 465 dds_val = ((rd(DIB3000MB_REG_DDS_VALUE_MSB) & 0xff) << 16) + rd(DIB3000MB_REG_DDS_VALUE_LSB); in dib3000mb_get_frontend() 466 …deb_getf("DDS_VAL: %x %x %x",dds_val, rd(DIB3000MB_REG_DDS_VALUE_MSB), rd(DIB3000MB_REG_DDS_VALUE_… in dib3000mb_get_frontend() 474 dds_val = ((rd(DIB3000MB_REG_DDS_FREQ_MSB) & 0xff) << 16) + rd(DIB3000MB_REG_DDS_FREQ_LSB); in dib3000mb_get_frontend() 475 …deb_getf("DDS_FREQ: %x %x %x",dds_val, rd(DIB3000MB_REG_DDS_FREQ_MSB), rd(DIB3000MB_REG_DDS_FREQ_L… in dib3000mb_get_frontend() 490 switch ((tps_val = rd(DIB3000MB_REG_TPS_QAM))) { in dib3000mb_get_frontend() 509 if (rd(DIB3000MB_REG_TPS_HRCH)) { in dib3000mb_get_frontend() 513 switch ((tps_val = rd(DIB3000MB_REG_TPS_VIT_ALPHA))) { in dib3000mb_get_frontend() [all …]
|
D | dib3000mb_priv.h | 22 #define rd(reg) dib3000_read_reg(state,reg) macro 34 #define set_or(reg,val) wr(reg,rd(reg) | val) 36 #define set_and(reg,val) wr(reg,rd(reg) & val)
|
D | s921.c | 226 struct regdata *rd, int size) in s921_i2c_writeregdata() argument 231 rc = s921_i2c_writereg(state, i2c_addr, rd[i].reg, rd[i].data); in s921_i2c_writeregdata()
|
/linux-4.4.14/arch/arm/mm/ |
D | proc-macros.S | 13 .macro vma_vm_mm, rd, rn 14 ldr \rd, [\rn, #VMA_VM_MM] 20 .macro vma_vm_flags, rd, rn 21 ldr \rd, [\rn, #VMA_VM_FLAGS] 24 .macro tsk_mm, rd, rn 25 ldr \rd, [\rn, #TI_TASK] 26 ldr \rd, [\rd, #TSK_ACTIVE_MM] 32 .macro act_mm, rd 33 bic \rd, sp, #8128 34 bic \rd, \rd, #63 [all …]
|
D | alignment.c | 344 unsigned int rd = RD_BITS(instr); in do_alignment_ldrhstrh() local 359 regs->uregs[rd] = val; in do_alignment_ldrhstrh() 361 put16_unaligned_check(regs->uregs[rd], addr); in do_alignment_ldrhstrh() 377 regs->uregs[rd] = val; in do_alignment_ldrhstrh() 380 put16t_unaligned_check(regs->uregs[rd], addr); in do_alignment_ldrhstrh() 394 unsigned int rd = RD_BITS(instr); in do_alignment_ldrdstrd() local 402 } else if (((rd & 1) == 1) || (rd == 14)) in do_alignment_ldrdstrd() 406 rd2 = rd + 1; in do_alignment_ldrdstrd() 417 regs->uregs[rd] = val; in do_alignment_ldrdstrd() 421 put32_unaligned_check(regs->uregs[rd], addr); in do_alignment_ldrdstrd() [all …]
|
D | proc-xscale.S | 71 .macro cpwait, rd 72 mrc p15, 0, \rd, c2, c0, 0 @ arbitrary read of cp15 73 mov \rd, \rd @ wait for completion 77 .macro cpwait_ret, lr, rd 78 mrc p15, 0, \rd, c2, c0, 0 @ arbitrary read of cp15 79 sub pc, \lr, \rd, LSR #32 @ wait for completion and 88 .macro clean_d_cache, rd, rs 90 ldr \rd, [\rs] 91 eor \rd, \rd, #CACHESIZE 92 str \rd, [\rs] [all …]
|
D | abort-lv4t.S | 36 /* 0 */ b .data_arm_lateldrhpost @ ldrh rd, [rn], #m/rm 37 /* 1 */ b .data_arm_lateldrhpre @ ldrh rd, [rn, #m/rm] 40 /* 4 */ b .data_arm_lateldrpostconst @ ldr rd, [rn], #m 41 /* 5 */ b .data_arm_lateldrpreconst @ ldr rd, [rn, #m] 42 /* 6 */ b .data_arm_lateldrpostreg @ ldr rd, [rn], rm 43 /* 7 */ b .data_arm_lateldrprereg @ ldr rd, [rn, rm] 48 /* c */ b do_DataAbort @ ldc rd, [rn], #m @ Same as ldr rd, [rn], #m 49 /* d */ b do_DataAbort @ ldc rd, [rn, #m]
|
D | proc-xsc3.S | 58 .macro cpwait_ret, lr, rd 59 mrc p15, 0, \rd, c2, c0, 0 @ arbitrary read of cp15 60 sub pc, \lr, \rd, LSR #32 @ wait for completion and 68 .macro clean_d_cache rd, rs 69 mov \rd, #0x1f00 70 orr \rd, \rd, #0x00e0 71 1: mcr p15, 0, \rd, c7, c14, 2 @ clean/invalidate L1 D line 72 adds \rd, \rd, #0x40000000 74 subs \rd, \rd, #0x20
|
/linux-4.4.14/arch/tile/kernel/ |
D | unaligned.c | 179 static void find_regs(tilegx_bundle_bits bundle, uint64_t *rd, uint64_t *ra, in find_regs() argument 202 if (rd) { in find_regs() 204 *rd = reg; in find_regs() 205 alias_reg_map = (1ULL << *rd) | (1ULL << *ra); in find_regs() 250 if (rd) { in find_regs() 254 *rd = reg; in find_regs() 255 alias_reg_map = (1ULL << *rd) | (1ULL << *ra); in find_regs() 316 static bool check_regs(uint64_t rd, uint64_t ra, uint64_t rb, in check_regs() argument 326 if (rd != -1) { in check_regs() 327 if ((rd >= 56) && (rd != TREG_ZERO)) in check_regs() [all …]
|
D | head_64.S | 30 #define GET_FIRST_INT(rd, rs) shrsi rd, rs, 32 argument 31 #define GET_SECOND_INT(rd, rs) addxi rd, rs, 0 argument 33 #define GET_FIRST_INT(rd, rs) addxi rd, rs, 0 argument 34 #define GET_SECOND_INT(rd, rs) shrsi rd, rs, 32 argument
|
/linux-4.4.14/drivers/media/pci/cobalt/ |
D | cobalt-cpld.c | 39 u32 rd; in cpld_info_ver3() local 78 rd = cpld_read(cobalt, 0x3c); in cpld_info_ver3() 79 tmp = (rd * 33 * 1000) / (483 * 10); in cpld_info_ver3() 81 rd = cpld_read(cobalt, 0x40); in cpld_info_ver3() 82 tmp = (rd * 74 * 2197) / (27 * 1000); in cpld_info_ver3() 84 rd = cpld_read(cobalt, 0x44); in cpld_info_ver3() 85 tmp = (rd * 74 * 2197) / (47 * 1000); in cpld_info_ver3() 87 rd = cpld_read(cobalt, 0x48); in cpld_info_ver3() 88 tmp = (rd * 57 * 2197) / (47 * 1000); in cpld_info_ver3() 90 rd = cpld_read(cobalt, 0x4c); in cpld_info_ver3() [all …]
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-pasemi.c | 120 u32 rd; in pasemi_i2c_xfer_msg() local 135 rd = RXFIFO_RD(smbus); in pasemi_i2c_xfer_msg() 136 if (rd & MRXFIFO_EMPTY) { in pasemi_i2c_xfer_msg() 140 msg->buf[i] = rd & MRXFIFO_DATA_M; in pasemi_i2c_xfer_msg() 179 unsigned int rd; in pasemi_smb_xfer() local 228 rd = RXFIFO_RD(smbus); in pasemi_smb_xfer() 229 len = min_t(u8, (rd & MRXFIFO_DATA_M), in pasemi_smb_xfer() 260 rd = RXFIFO_RD(smbus); in pasemi_smb_xfer() 261 len = min_t(u8, (rd & MRXFIFO_DATA_M), in pasemi_smb_xfer() 281 rd = RXFIFO_RD(smbus); in pasemi_smb_xfer() [all …]
|
/linux-4.4.14/arch/arm/mach-footbridge/include/mach/ |
D | debug-macro.S | 31 .macro senduart,rd,rx 32 str \rd, [\rx, #0x160] @ UARTDR 35 .macro busyuart,rd,rx 36 1001: ldr \rd, [\rx, #0x178] @ UARTFLG 37 tst \rd, #1 << 3 41 .macro waituart,rd,rx
|
/linux-4.4.14/drivers/scsi/ |
D | raid_class.c | 83 struct raid_data *rd; in raid_setup() local 87 rd = kzalloc(sizeof(*rd), GFP_KERNEL); in raid_setup() 88 if (!rd) in raid_setup() 91 INIT_LIST_HEAD(&rd->component_list); in raid_setup() 92 dev_set_drvdata(cdev, rd); in raid_setup() 100 struct raid_data *rd = dev_get_drvdata(cdev); in raid_remove() local 104 list_for_each_entry_safe(rc, next, &rd->component_list, node) { in raid_remove() 110 kfree(rd); in raid_remove() 181 struct raid_data *rd = dev_get_drvdata(dev); \ 190 name = raid_##states##_name(rd->attr); \ [all …]
|
/linux-4.4.14/net/wireless/ |
D | reg.c | 336 static void update_world_regdomain(const struct ieee80211_regdomain *rd) in update_world_regdomain() argument 344 reset_regdomains(false, rd); in update_world_regdomain() 346 cfg80211_world_regdom = rd; in update_world_regdomain() 647 reg_get_max_bandwidth_from_range(const struct ieee80211_regdomain *rd, in reg_get_max_bandwidth_from_range() argument 655 for (idx = 0; idx < rd->n_reg_rules; idx++) in reg_get_max_bandwidth_from_range() 656 if (rule == &rd->reg_rules[idx]) in reg_get_max_bandwidth_from_range() 659 if (idx == rd->n_reg_rules) in reg_get_max_bandwidth_from_range() 666 tmp = &rd->reg_rules[--no]; in reg_get_max_bandwidth_from_range() 681 while (no < rd->n_reg_rules - 1) { in reg_get_max_bandwidth_from_range() 682 tmp = &rd->reg_rules[++no]; in reg_get_max_bandwidth_from_range() [all …]
|
D | reg.h | 54 int set_regdom(const struct ieee80211_regdomain *rd, 57 unsigned int reg_get_max_bandwidth(const struct ieee80211_regdomain *rd,
|
/linux-4.4.14/include/linux/ |
D | raid_class.h | 59 struct raid_data *rd; \ 61 rd = dev_get_drvdata(device); \ 62 rd->attr = value; \ 68 struct raid_data *rd; \ 70 rd = dev_get_drvdata(device); \ 71 return rd->attr; \
|
D | hdlcdrv.h | 27 unsigned rd, wr; member 33 unsigned int rd; member 163 ret = !((HDLCDRV_HDLCBUFFER - 1 + hb->rd - hb->wr) % HDLCDRV_HDLCBUFFER); in hdlcdrv_hbuf_full() 176 ret = (hb->rd == hb->wr); in hdlcdrv_hbuf_empty() 190 if (hb->rd == hb->wr) in hdlcdrv_hbuf_get() 193 newr = (hb->rd+1) % HDLCDRV_HDLCBUFFER; in hdlcdrv_hbuf_get() 194 val = hb->buf[hb->rd]; in hdlcdrv_hbuf_get() 195 hb->rd = newr; in hdlcdrv_hbuf_get() 211 if (newp != hb->rd) { in hdlcdrv_hbuf_put()
|
/linux-4.4.14/Documentation/blockdev/ |
D | README.DAC960 | 83 is referred to as /dev/rd/cCdD, and the partitions are called /dev/rd/cCdDp1 84 through /dev/rd/cCdDp7. For example, partition 3 of Logical Drive 5 on 85 Controller 2 is referred to as /dev/rd/c2d5p3. Note that unlike with SCSI 285 special files created in the /proc/rd/... hierarchy along with the normal 289 controller is always available for controller N in /proc/rd/cN/initial_status, 291 /proc/rd/cN/current_status. In addition, status changes are also logged by the 294 is also available in /proc/rd/cN/current_status, and progress messages are 298 available in /proc/rd/cN/initial_status and /proc/rd/cN/current_status has been 333 /dev/rd/c0d0: RAID-5, Online, 89640960 blocks, Write Thru 337 /proc/rd/status returns "OK" when all DAC960 controllers in the system are [all …]
|
/linux-4.4.14/fs/hfs/ |
D | dir.c | 62 struct hfs_readdir_data *rd; in hfs_readdir() local 155 rd = file->private_data; in hfs_readdir() 156 if (!rd) { in hfs_readdir() 157 rd = kmalloc(sizeof(struct hfs_readdir_data), GFP_KERNEL); in hfs_readdir() 158 if (!rd) { in hfs_readdir() 162 file->private_data = rd; in hfs_readdir() 163 rd->file = file; in hfs_readdir() 164 list_add(&rd->list, &HFS_I(inode)->open_dir_list); in hfs_readdir() 166 memcpy(&rd->key, &fd.key, sizeof(struct hfs_cat_key)); in hfs_readdir() 174 struct hfs_readdir_data *rd = file->private_data; in hfs_dir_release() local [all …]
|
/linux-4.4.14/arch/arm/common/ |
D | icst.c | 54 unsigned int i = 0, rd, best = (unsigned int)-1; in icst_hz_to_vco() local 77 for (rd = p->rd_min; rd <= p->rd_max; rd++) { in icst_hz_to_vco() 82 fref_div = (2 * p->ref) / rd; in icst_hz_to_vco() 95 vco.r = rd - 2; in icst_hz_to_vco()
|
/linux-4.4.14/arch/mips/include/asm/ |
D | uasm.h | 201 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument 204 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument 205 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument 206 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument 213 # define UASM_i_SUBU(buf, rs, rt, rd) uasm_i_dsubu(buf, rs, rt, rd) argument 217 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_addu(buf, rs, rt, rd) argument 220 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_lwx(buf, rs, rt, rd) argument 221 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_mfc0(buf, rt, rd) argument 222 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_mtc0(buf, rt, rd) argument 229 # define UASM_i_SUBU(buf, rs, rt, rd) uasm_i_subu(buf, rs, rt, rd) argument
|
D | asm.h | 178 #define MOVN(rd, rs, rt) \ argument 182 move rd, rs; \ 185 #define MOVZ(rd, rs, rt) \ argument 189 move rd, rs; \ 194 #define MOVN(rd, rs, rt) \ argument 198 move rd, rs; \ 201 #define MOVZ(rd, rs, rt) \ argument 205 move rd, rs; \ 211 #define MOVN(rd, rs, rt) \ argument 212 movn rd, rs, rt [all …]
|
D | mipsmtregs.h | 329 #define mttgpr(rd,v) \ argument 336 " # mttgpr $1, " #rd " \n" \ 337 " .word 0x41810020 | (" #rd " << 11) \n" \ 342 #define mttc0(rd, sel, v) \ argument 349 " # mttc0 %0," #rd ", " #sel " \n" \ 350 " .word 0x41810000 | (" #rd " << 11) | " #sel " \n" \ 357 #define mttr(rd, u, sel, v) \ argument 360 "mttr %0," #rd ", " #u ", " #sel \
|
D | asmmacro.h | 176 .macro _EXT rd, rs, p, s 177 ext \rd, \rs, \p, \s 180 .macro _EXT rd, rs, p, s 181 srl \rd, \rs, \p 182 andi \rd, \rd, (1 << \s) - 1 205 .macro MFTR rt=0, rd=0, u=0, sel=0 206 .word 0x41000000 | (\rt << 16) | (\rd << 11) | (\u << 5) | (\sel) 209 .macro MTTR rt=0, rd=0, u=0, sel=0 210 .word 0x41800000 | (\rt << 16) | (\rd << 11) | (\u << 5) | (\sel) 217 .macro _cfcmsa rd, cs [all …]
|
/linux-4.4.14/arch/arm/probes/kprobes/ |
D | actions-arm.c | 167 int rd = (insn >> 12) & 0xf; in emulate_rd12rn16rm0rs8_rwflags() local 172 register unsigned long rdv asm("r0") = regs->uregs[rd]; in emulate_rd12rn16rm0rs8_rwflags() 190 if (rd == 15) in emulate_rd12rn16rm0rs8_rwflags() 193 regs->uregs[rd] = rdv; in emulate_rd12rn16rm0rs8_rwflags() 201 int rd = (insn >> 12) & 0xf; in emulate_rd12rn16rm0_rwflags_nopc() local 205 register unsigned long rdv asm("r0") = regs->uregs[rd]; in emulate_rd12rn16rm0_rwflags_nopc() 220 regs->uregs[rd] = rdv; in emulate_rd12rn16rm0_rwflags_nopc() 229 int rd = (insn >> 16) & 0xf; in emulate_rd16rn12rm0rs8_rwflags_nopc() local 234 register unsigned long rdv asm("r2") = regs->uregs[rd]; in emulate_rd16rn12rm0rs8_rwflags_nopc() 250 regs->uregs[rd] = rdv; in emulate_rd16rn12rm0rs8_rwflags_nopc() [all …]
|
D | actions-thumb.c | 50 int rd = (insn >> 8) & 0xf; in t32_simulate_mrs() local 52 regs->uregs[rd] = regs->ARM_cpsr & mask; in t32_simulate_mrs() 217 int rd = (insn >> 8) & 0xf; in t32_emulate_rd8rn16rm0_rwflags() local 221 register unsigned long rdv asm("r1") = regs->uregs[rd]; in t32_emulate_rd8rn16rm0_rwflags() 236 regs->uregs[rd] = rdv; in t32_emulate_rd8rn16rm0_rwflags() 245 int rd = (insn >> 8) & 0xf; in t32_emulate_rd8pc16_noflags() local 247 register unsigned long rdv asm("r1") = regs->uregs[rd]; in t32_emulate_rd8pc16_noflags() 257 regs->uregs[rd] = rdv; in t32_emulate_rd8pc16_noflags() 264 int rd = (insn >> 8) & 0xf; in t32_emulate_rd8rn16_noflags() local 267 register unsigned long rdv asm("r1") = regs->uregs[rd]; in t32_emulate_rd8rn16_noflags() [all …]
|
/linux-4.4.14/arch/mips/kvm/ |
D | dyntrans.c | 75 int32_t rt, rd, sel; in kvm_mips_trans_mfc0() local 80 rd = (inst >> 11) & 0x1f; in kvm_mips_trans_mfc0() 83 if ((rd == MIPS_CP0_ERRCTL) && (sel == 0)) { in kvm_mips_trans_mfc0() 91 reg[rd][sel]) + offsetof(struct kvm_mips_commpage, in kvm_mips_trans_mfc0() 117 int32_t rt, rd, sel; in kvm_mips_trans_mtc0() local 122 rd = (inst >> 11) & 0x1f; in kvm_mips_trans_mtc0() 128 reg[rd][sel]) + offsetof(struct kvm_mips_commpage, cop0); in kvm_mips_trans_mtc0()
|
D | emulate.c | 65 arch->gprs[insn.r_format.rd] = epc + 8; in kvm_compute_return_epc() 982 int32_t rt, rd, copz, sel, co_bit, op; in kvm_mips_emulate_CP0() local 997 rd = (inst >> 11) & 0x1f; in kvm_mips_emulate_CP0() 1032 cop0->stat[rd][sel]++; in kvm_mips_emulate_CP0() 1035 if ((rd == MIPS_CP0_COUNT) && (sel == 0)) { in kvm_mips_emulate_CP0() 1037 } else if ((rd == MIPS_CP0_ERRCTL) && (sel == 0)) { in kvm_mips_emulate_CP0() 1043 vcpu->arch.gprs[rt] = cop0->reg[rd][sel]; in kvm_mips_emulate_CP0() 1052 pc, rd, sel, rt, vcpu->arch.gprs[rt]); in kvm_mips_emulate_CP0() 1057 vcpu->arch.gprs[rt] = cop0->reg[rd][sel]; in kvm_mips_emulate_CP0() 1062 cop0->stat[rd][sel]++; in kvm_mips_emulate_CP0() [all …]
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
D | rt2x00usb.c | 172 struct rt2x00_async_read_data *rd = urb->context; in rt2x00usb_register_read_async_cb() local 173 if (rd->callback(rd->rt2x00dev, urb->status, le32_to_cpu(rd->reg))) { in rt2x00usb_register_read_async_cb() 175 kfree(rd); in rt2x00usb_register_read_async_cb() 177 kfree(rd); in rt2x00usb_register_read_async_cb() 186 struct rt2x00_async_read_data *rd; in rt2x00usb_register_read_async() local 188 rd = kmalloc(sizeof(*rd), GFP_ATOMIC); in rt2x00usb_register_read_async() 189 if (!rd) in rt2x00usb_register_read_async() 194 kfree(rd); in rt2x00usb_register_read_async() 198 rd->rt2x00dev = rt2x00dev; in rt2x00usb_register_read_async() 199 rd->callback = callback; in rt2x00usb_register_read_async() [all …]
|
/linux-4.4.14/arch/microblaze/include/asm/ |
D | page.h | 185 #define tophys(rd, rs) addik rd, rs, 0 argument 186 #define tovirt(rd, rs) addik rd, rs, 0 argument 192 #define tophys(rd, rs) \ argument 193 addik rd, rs, (CONFIG_KERNEL_BASE_ADDR - CONFIG_KERNEL_START) 194 #define tovirt(rd, rs) \ argument 195 addik rd, rs, (CONFIG_KERNEL_START - CONFIG_KERNEL_BASE_ADDR)
|
/linux-4.4.14/drivers/clk/samsung/ |
D | clk.c | 26 struct samsung_clk_reg_dump *rd, in samsung_clk_save() argument 29 for (; num_regs > 0; --num_regs, ++rd) in samsung_clk_save() 30 rd->value = readl(base + rd->offset); in samsung_clk_save() 34 const struct samsung_clk_reg_dump *rd, in samsung_clk_restore() argument 37 for (; num_regs > 0; --num_regs, ++rd) in samsung_clk_restore() 38 writel(rd->value, base + rd->offset); in samsung_clk_restore() 45 struct samsung_clk_reg_dump *rd; in samsung_clk_alloc_reg_dump() local 48 rd = kcalloc(nr_rdump, sizeof(*rd), GFP_KERNEL); in samsung_clk_alloc_reg_dump() 49 if (!rd) in samsung_clk_alloc_reg_dump() 53 rd[i].offset = rdump[i]; in samsung_clk_alloc_reg_dump() [all …]
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | ppc_asm.h | 480 #define toreal(rd) argument 481 #define fromreal(rd) argument 489 #define tophys(rd,rs) \ argument 490 addis rd,rs,0 492 #define tovirt(rd,rs) \ argument 493 addis rd,rs,0 496 #define toreal(rd) /* we can access c000... in real mode */ argument 497 #define fromreal(rd) argument 499 #define tophys(rd,rs) \ argument 500 clrldi rd,rs,2 [all …]
|
/linux-4.4.14/arch/arm64/mm/ |
D | proc-macros.S | 25 .macro vma_vm_mm, rd, rn 26 ldr \rd, [\rn, #VMA_VM_MM] 32 .macro mmid, rd, rn 33 ldr \rd, [\rn, #MM_CONTEXT_ID]
|
/linux-4.4.14/arch/arm/include/asm/ |
D | vfpmacros.h | 11 .macro VFPFMRX, rd, sysreg, cond in toolkits() 12 MRC\cond p10, 7, \rd, \sysreg, cr0, 0 @ FMRX \rd, \sysreg in toolkits() 15 .macro VFPFMXR, sysreg, rd, cond in toolkits() 16 MCR\cond p10, 7, \rd, \sysreg, cr0, 0 @ FMXR \sysreg, \rd in toolkits()
|
D | assembler.h | 190 .macro badr\c, rd, sym 192 adr\c \rd, \sym + 1 194 adr\c \rd, \sym 202 .macro get_thread_info, rd 203 ARM( mov \rd, sp, lsr #THREAD_SIZE_ORDER + PAGE_SHIFT ) 204 THUMB( mov \rd, sp ) 205 THUMB( lsr \rd, \rd, #THREAD_SIZE_ORDER + PAGE_SHIFT ) 206 mov \rd, \rd, lsl #THREAD_SIZE_ORDER + PAGE_SHIFT
|
/linux-4.4.14/arch/sparc/kernel/ |
D | unaligned_64.c | 104 unsigned int rd, int from_kernel) in maybe_flush_windows() argument 106 if (rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows() 169 unsigned int insn, unsigned int rd) in compute_effective_address() argument 177 maybe_flush_windows(rs1, 0, rd, from_kernel); in compute_effective_address() 180 maybe_flush_windows(rs1, rs2, rd, from_kernel); in compute_effective_address() 398 int ret, rd = ((insn >> 25) & 0x1f); in handle_popc() local 403 maybe_flush_windows(0, 0, rd, from_kernel); in handle_popc() 406 maybe_flush_windows(0, insn & 0x1f, rd, from_kernel); in handle_popc() 410 if (rd < 16) { in handle_popc() 411 if (rd) in handle_popc() [all …]
|
D | unaligned_32.c | 71 unsigned int rd) in maybe_flush_windows() argument 73 if(rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows() 139 unsigned int rd = (insn >> 25) & 0x1f; in compute_effective_address() local 142 maybe_flush_windows(rs1, 0, rd); in compute_effective_address() 145 maybe_flush_windows(rs1, rs2, rd); in compute_effective_address() 155 unsigned int rd = (insn >> 25) & 0x1f; in safe_compute_effective_address() local 158 maybe_flush_windows(rs1, 0, rd); in safe_compute_effective_address() 161 maybe_flush_windows(rs1, rs2, rd); in safe_compute_effective_address()
|
D | trampoline_32.S | 69 rd %psr, %g1 130 rd %psr, %g1 173 rd %asr17,%g3 186 rd %psr, %g1
|
D | entry.S | 174 rd %wim, %l3 258 rd %tbr, %reg; \ 883 rd %psr, %g4 886 rd %wim, %g5 902 rd %psr, %g4 907 rd %wim, %g5 925 rd %psr, %g4 927 rd %wim, %g5 989 rd %psr, %l1 1013 rd %wim, %l3 [all …]
|
D | visemul.c | 140 unsigned int rd, int from_kernel) in maybe_flush_windows() argument 142 if (rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows() 203 static void store_reg(struct pt_regs *regs, unsigned long val, unsigned long rd) in store_reg() argument 205 if (rd < 16) { in store_reg() 206 unsigned long *rd_kern = __fetch_reg_addr_kern(rd, regs); in store_reg() 210 unsigned long __user *rd_user = __fetch_reg_addr_user(rd, regs); in store_reg() 450 unsigned long rs1, rs2, *rd, rd_val; in pdist() local 455 rd = fpd_regaddr(f, RD(insn)); in pdist() 457 rd_val = *rd; in pdist() 473 *rd = rd_val; in pdist()
|
D | winfixup.S | 32 rd %pc, %g7 101 rd %pc, %g7 117 rd %pc, %g7 144 rd %pc, %g7
|
D | sun4v_tlb_miss.S | 267 rd %pc, %g7 283 rd %pc, %g7 299 rd %pc, %g7 315 rd %pc, %g7 349 rd %pc, %g7 359 rd %pc, %g7 373 rd %pc, %g7 389 rd %pc, %g7
|
D | kprobes.c | 251 unsigned long rd = ((insn >> 25) & 0x1f); in retpc_fixup() local 253 if (rd <= 15) { in retpc_fixup() 254 slot = ®s->u_regs[rd]; in retpc_fixup() 259 rd -= 16; in retpc_fixup() 262 slot += rd; in retpc_fixup()
|
D | head_32.S | 158 rd %tbr, %g1 208 rd %psr, %g3 241 rd %psr, %g3 ! DO NOT TOUCH %g3 435 rd %asr17, %g1 477 rd %psr, %o1 565 rd %psr, %g3 653 rd %psr, %g3
|
D | sun4v_ivec.S | 192 rd %pc, %g7 221 rd %pc, %g7 303 rd %pc, %g7 332 rd %pc, %g7
|
D | wof.S | 206 rd %psr, %glob_tmp 230 rd %wim, %twin_tmp 363 rd %psr, %glob_tmp
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | omap3430-sdp.dts | 67 gpmc,cs-rd-off-ns = <186>; 70 gpmc,adv-rd-off-ns = <48>; 76 gpmc,rd-cycle-ns = <186>; 113 gpmc,cs-rd-off-ns = <36>; 116 gpmc,adv-rd-off-ns = <24>; 122 gpmc,rd-cycle-ns = <72>; 158 gpmc,cs-rd-off-ns = <84>; 161 gpmc,adv-rd-off-ns = <18>; 167 gpmc,rd-cycle-ns = <108>;
|
D | omap-gpmc-smsc911x.dtsi | 30 gpmc,cs-rd-off-ns = <150>; 33 gpmc,adv-rd-off-ns = <15>; 39 gpmc,rd-cycle-ns = <155>;
|
D | omap-gpmc-smsc9221.dtsi | 33 gpmc,cs-rd-off-ns = <42>; 36 gpmc,adv-rd-off-ns = <12>; 42 gpmc,rd-cycle-ns = <60>;
|
D | omap2420-h4.dts | 35 gpmc,cs-rd-off-ns = <160>; 38 gpmc,adv-rd-off-ns = <50>; 44 gpmc,rd-cycle-ns = <170>;
|
D | omap3-overo-tobiduo-common.dtsi | 33 gpmc,cs-rd-off-ns = <42>; 36 gpmc,adv-rd-off-ns = <12>; 42 gpmc,rd-cycle-ns = <60>;
|
D | omap2430-sdp.dts | 52 gpmc,cs-rd-off-ns = <187>; 55 gpmc,adv-rd-off-ns = <48>; 61 gpmc,rd-cycle-ns = <187>;
|
D | omap2420-n8x0-common.dtsi | 59 gpmc,cs-rd-off-ns = <127>; 62 gpmc,adv-rd-off-ns = <18>; 68 gpmc,rd-cycle-ns = <145>;
|
D | omap-zoom-common.dtsi | 32 gpmc,cs-rd-off-ns = <155>; 35 gpmc,adv-rd-off-ns = <40>; 41 gpmc,rd-cycle-ns = <155>;
|
D | omap3-sb-t35.dtsi | 114 gpmc,cs-rd-off-ns = <150>; 117 gpmc,adv-rd-off-ns = <15>; 123 gpmc,rd-cycle-ns = <155>;
|
D | omap3-devkit8000-common.dtsi | 214 gpmc,cs-rd-off-ns = <44>; 217 gpmc,adv-rd-off-ns = <34>; 222 gpmc,rd-cycle-ns = <82>; 276 gpmc,cs-rd-off-ns = <180>; 279 gpmc,adv-rd-off-ns = <18>; 285 gpmc,rd-cycle-ns = <186>;
|
D | dm8168-evm.dts | 97 gpmc,cs-rd-off-ns = <44>; 100 gpmc,adv-rd-off-ns = <34>; 107 gpmc,rd-cycle-ns = <82>;
|
D | logicpd-torpedo-som.dtsi | 47 gpmc,cs-rd-off-ns = <44>; 50 gpmc,adv-rd-off-ns = <34>; 55 gpmc,rd-cycle-ns = <82>;
|
D | omap3-n950-n9.dtsi | 139 gpmc,cs-rd-off-ns = <87>; 142 gpmc,adv-rd-off-ns = <10>; 148 gpmc,rd-cycle-ns = <112>;
|
D | omap4-duovero-parlor.dts | 148 gpmc,cs-rd-off-ns = <50>; 151 gpmc,adv-rd-off-ns = <10>; 157 gpmc,rd-cycle-ns = <50>;
|
D | omap3-lilly-a83x.dtsi | 376 gpmc,cs-rd-off-ns = <100>; 379 gpmc,adv-rd-off-ns = <100>; 385 gpmc,rd-cycle-ns = <100>; 429 gpmc,cs-rd-off-ns = <60>; 432 gpmc,adv-rd-off-ns = <10>; 438 gpmc,rd-cycle-ns = <100>;
|
D | omap3-igep.dtsi | 106 gpmc,cs-rd-off-ns = <44>; 109 gpmc,adv-rd-off-ns = <34>; 114 gpmc,rd-cycle-ns = <82>;
|
D | omap3-lilly-dbb056.dts | 140 gpmc,cs-rd-off-ns = <65>; 143 gpmc,adv-rd-off-ns = <10>; 149 gpmc,rd-cycle-ns = <100>;
|
D | am335x-chilisom.dtsi | 218 gpmc,cs-rd-off-ns = <44>; 221 gpmc,adv-rd-off-ns = <34>; 228 gpmc,rd-cycle-ns = <82>;
|
D | omap3-evm-37xx.dts | 169 gpmc,cs-rd-off-ns = <44>; 172 gpmc,adv-rd-off-ns = <34>; 177 gpmc,rd-cycle-ns = <82>;
|
/linux-4.4.14/arch/arm64/kvm/ |
D | sys_regs.c | 248 const struct sys_reg_desc *rd) in trap_bvr() argument 250 u64 *dbg_reg = &vcpu->arch.vcpu_debug_state.dbg_bvr[rd->reg]; in trap_bvr() 257 trace_trap_reg(__func__, rd->reg, p->is_write, *dbg_reg); in trap_bvr() 262 static int set_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bvr() argument 265 __u64 *r = &vcpu->arch.vcpu_debug_state.dbg_bvr[rd->reg]; in set_bvr() 272 static int get_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bvr() argument 275 __u64 *r = &vcpu->arch.vcpu_debug_state.dbg_bvr[rd->reg]; in get_bvr() 283 const struct sys_reg_desc *rd) in reset_bvr() argument 285 vcpu->arch.vcpu_debug_state.dbg_bvr[rd->reg] = rd->val; in reset_bvr() 290 const struct sys_reg_desc *rd) in trap_bcr() argument [all …]
|
D | sys_regs.h | 60 int (*get_user)(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, 62 int (*set_user)(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd,
|
/linux-4.4.14/arch/sparc/math-emu/ |
D | math_64.c | 358 argp rs1 = NULL, rs2 = NULL, rd = NULL; in do_mathemu() local 415 case 1: rd = (argp)&f->regs[freg]; in do_mathemu() 456 case FMOVQ: rd->q[0] = rs2->q[0]; rd->q[1] = rs2->q[1]; break; in do_mathemu() 457 case FABSQ: rd->q[0] = rs2->q[0] & 0x7fffffffffffffffUL; rd->q[1] = rs2->q[1]; break; in do_mathemu() 458 case FNEGQ: rd->q[0] = rs2->q[0] ^ 0x8000000000000000UL; rd->q[1] = rs2->q[1]; break; in do_mathemu() 506 case 1: rd->s = IR; break; in do_mathemu() 507 case 2: rd->d = XR; break; in do_mathemu() 508 case 5: FP_PACK_SP (rd, SR); break; in do_mathemu() 509 case 6: FP_PACK_DP (rd, DR); break; in do_mathemu() 510 case 7: FP_PACK_QP (rd, QR); break; in do_mathemu()
|
D | math_32.c | 283 argp rs1 = NULL, rs2 = NULL, rd = NULL; in do_one_mathemu() local 418 rd = (void *)&fregs[freg]; in do_one_mathemu() 451 case FMOVS: rd->s = rs2->s; break; in do_one_mathemu() 452 case FABSS: rd->s = rs2->s & 0x7fffffff; break; in do_one_mathemu() 453 case FNEGS: rd->s = rs2->s ^ 0x80000000; break; in do_one_mathemu() 505 case 1: rd->s = IR; break; in do_one_mathemu() 506 case 5: FP_PACK_SP (rd, SR); break; in do_one_mathemu() 507 case 6: FP_PACK_DP (rd, DR); break; in do_one_mathemu() 508 case 7: FP_PACK_QP (rd, QR); break; in do_one_mathemu()
|
/linux-4.4.14/drivers/of/ |
D | dynamic.c | 243 struct of_reconfig_data rd; in of_attach_node() local 246 memset(&rd, 0, sizeof(rd)); in of_attach_node() 247 rd.dn = np; in of_attach_node() 257 of_reconfig_notify(OF_RECONFIG_ATTACH_NODE, &rd); in of_attach_node() 295 struct of_reconfig_data rd; in of_detach_node() local 299 memset(&rd, 0, sizeof(rd)); in of_detach_node() 300 rd.dn = np; in of_detach_node() 310 of_reconfig_notify(OF_RECONFIG_DETACH_NODE, &rd); in of_detach_node() 506 struct of_reconfig_data rd; in __of_changeset_entry_notify() local 518 memset(&rd, 0, sizeof(rd)); in __of_changeset_entry_notify() [all …]
|
D | platform.c | 521 struct of_reconfig_data *rd = arg; in of_platform_notify() local 525 switch (of_reconfig_get_state_change(action, rd)) { in of_platform_notify() 528 if (!of_node_check_flag(rd->dn->parent, OF_POPULATED_BUS)) in of_platform_notify() 532 if (of_node_check_flag(rd->dn, OF_POPULATED)) in of_platform_notify() 536 pdev_parent = of_find_device_by_node(rd->dn->parent); in of_platform_notify() 537 pdev = of_platform_device_create(rd->dn, NULL, in of_platform_notify() 543 __func__, rd->dn->full_name); in of_platform_notify() 552 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_platform_notify() 556 pdev = of_find_device_by_node(rd->dn); in of_platform_notify()
|
/linux-4.4.14/drivers/hid/ |
D | hid-sony.c | 1165 static void sixaxis_parse_report(struct sony_sc *sc, __u8 *rd, int size) in sixaxis_parse_report() argument 1180 if (rd[offset] >= 0xee) { in sixaxis_parse_report() 1182 battery_charging = !(rd[offset] & 0x01); in sixaxis_parse_report() 1185 __u8 index = rd[offset] <= 5 ? rd[offset] : 5; in sixaxis_parse_report() 1198 static void dualshock4_parse_report(struct sony_sc *sc, __u8 *rd, int size) in dualshock4_parse_report() argument 1217 cable_state = (rd[offset] >> 4) & 0x01; in dualshock4_parse_report() 1218 battery_capacity = rd[offset] & 0x0F; in dualshock4_parse_report() 1257 x = rd[offset+1] | ((rd[offset+2] & 0xF) << 8); in dualshock4_parse_report() 1258 y = ((rd[offset+2] & 0xF0) >> 4) | (rd[offset+3] << 4); in dualshock4_parse_report() 1262 !(rd[offset] >> 7)); in dualshock4_parse_report() [all …]
|
/linux-4.4.14/drivers/gpu/drm/udl/ |
D | udl_dmabuf.c | 79 struct scatterlist *rd, *wr; in udl_map_dma_buf() local 117 rd = obj->sg->sgl; in udl_map_dma_buf() 120 sg_set_page(wr, sg_page(rd), rd->length, rd->offset); in udl_map_dma_buf() 121 rd = sg_next(rd); in udl_map_dma_buf()
|
/linux-4.4.14/drivers/video/fbdev/omap/ |
D | lcd_mipid.c | 355 } *rd, rd_ctrl[7] = { in ls041y3_esd_check_mode2() local 365 rd = rd_ctrl; in ls041y3_esd_check_mode2() 366 for (i = 0; i < 3; i++, rd++) in ls041y3_esd_check_mode2() 367 mipid_write(md, rd->cmd, (u8 *)rd->wbuf, rd->wlen); in ls041y3_esd_check_mode2() 370 mipid_read(md, rd->cmd, rbuf, 2); in ls041y3_esd_check_mode2() 371 rd++; in ls041y3_esd_check_mode2() 373 for (i = 0; i < 3; i++, rd++) { in ls041y3_esd_check_mode2() 375 mipid_write(md, rd->cmd, (u8 *)rd->wbuf, rd->wlen); in ls041y3_esd_check_mode2()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | sdio.c | 1398 struct brcmf_sdio_hdrinfo *rd, in brcmf_sdio_hdparse() argument 1426 (roundup(len, bus->blocksize) != rd->len)) { in brcmf_sdio_hdparse() 1430 if (type == BRCMF_SDIO_FT_SUB && len > rd->len) { in brcmf_sdio_hdparse() 1434 rd->len = len; in brcmf_sdio_hdparse() 1441 rd->len = 0; in brcmf_sdio_hdparse() 1445 rd->channel = (swheader & SDPCM_CHANNEL_MASK) >> SDPCM_CHANNEL_SHIFT; in brcmf_sdio_hdparse() 1446 if (len > MAX_RX_DATASZ && rd->channel != SDPCM_CONTROL_CHANNEL && in brcmf_sdio_hdparse() 1451 rd->len = 0; in brcmf_sdio_hdparse() 1454 if (type == BRCMF_SDIO_FT_SUPER && rd->channel != SDPCM_GLOM_CHANNEL) { in brcmf_sdio_hdparse() 1456 rd->len = 0; in brcmf_sdio_hdparse() [all …]
|
/linux-4.4.14/drivers/net/ethernet/seeq/ |
D | sgiseeq.c | 340 struct sgiseeq_rx_desc *rd; in sgiseeq_rx() local 348 rd = &sp->rx_desc[sp->rx_new]; in sgiseeq_rx() 349 dma_sync_desc_cpu(dev, rd); in sgiseeq_rx() 350 while (!(rd->rdma.cntinfo & HPCDMA_OWN)) { in sgiseeq_rx() 351 len = PKT_BUF_SZ - (rd->rdma.cntinfo & HPCDMA_BCNT) - 3; in sgiseeq_rx() 352 dma_unmap_single(dev->dev.parent, rd->rdma.pbuf, in sgiseeq_rx() 354 pkt_status = rd->skb->data[len]; in sgiseeq_rx() 358 if (!ether_addr_equal(rd->skb->data + 6, dev->dev_addr)) { in sgiseeq_rx() 360 skb = rd->skb; in sgiseeq_rx() 371 skb_copy_to_linear_data(skb, rd->skb->data, len); in sgiseeq_rx() [all …]
|
/linux-4.4.14/fs/hfsplus/ |
D | dir.c | 139 struct hfsplus_readdir_data *rd; in hfsplus_readdir() local 265 rd = file->private_data; in hfsplus_readdir() 266 if (!rd) { in hfsplus_readdir() 267 rd = kmalloc(sizeof(struct hfsplus_readdir_data), GFP_KERNEL); in hfsplus_readdir() 268 if (!rd) { in hfsplus_readdir() 272 file->private_data = rd; in hfsplus_readdir() 273 rd->file = file; in hfsplus_readdir() 274 list_add(&rd->list, &HFSPLUS_I(inode)->open_dir_list); in hfsplus_readdir() 276 memcpy(&rd->key, fd.key, sizeof(struct hfsplus_cat_key)); in hfsplus_readdir() 285 struct hfsplus_readdir_data *rd = file->private_data; in hfsplus_dir_release() local [all …]
|
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.c | 854 struct hns_nic_ring_data *rd; in hns_nic_init_irq() local 861 rd = &priv->ring_data[i]; in hns_nic_init_irq() 863 if (rd->ring->irq_init_flag == RCB_IRQ_INITED) in hns_nic_init_irq() 866 snprintf(rd->ring->ring_name, RCB_RING_NAME_LEN, in hns_nic_init_irq() 868 (i < h->q_num ? "tx" : "rx"), rd->queue_index); in hns_nic_init_irq() 870 rd->ring->ring_name[RCB_RING_NAME_LEN - 1] = '\0'; in hns_nic_init_irq() 872 ret = request_irq(rd->ring->irq, in hns_nic_init_irq() 873 hns_irq_handle, 0, rd->ring->ring_name, rd); in hns_nic_init_irq() 876 rd->ring->irq); in hns_nic_init_irq() 879 disable_irq(rd->ring->irq); in hns_nic_init_irq() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.h | 800 kiblnd_rd_size(kib_rdma_desc_t *rd) in kiblnd_rd_size() argument 805 for (i = size = 0; i < rd->rd_nfrags; i++) in kiblnd_rd_size() 806 size += rd->rd_frags[i].rf_nob; in kiblnd_rd_size() 812 kiblnd_rd_frag_addr(kib_rdma_desc_t *rd, int index) in kiblnd_rd_frag_addr() argument 814 return rd->rd_frags[index].rf_addr; in kiblnd_rd_frag_addr() 818 kiblnd_rd_frag_size(kib_rdma_desc_t *rd, int index) in kiblnd_rd_frag_size() argument 820 return rd->rd_frags[index].rf_nob; in kiblnd_rd_frag_size() 824 kiblnd_rd_frag_key(kib_rdma_desc_t *rd, int index) in kiblnd_rd_frag_key() argument 826 return rd->rd_key; in kiblnd_rd_frag_key() 830 kiblnd_rd_consume_frag(kib_rdma_desc_t *rd, int index, __u32 nob) in kiblnd_rd_consume_frag() argument [all …]
|
D | o2iblnd_cb.c | 557 kiblnd_fmr_map_tx(kib_net_t *net, kib_tx_t *tx, kib_rdma_desc_t *rd, int nob) in kiblnd_fmr_map_tx() argument 573 for (i = 0, npages = 0; i < rd->rd_nfrags; i++) { in kiblnd_fmr_map_tx() 574 for (size = 0; size < rd->rd_frags[i].rf_nob; in kiblnd_fmr_map_tx() 576 pages[npages++] = (rd->rd_frags[i].rf_addr & in kiblnd_fmr_map_tx() 592 rd->rd_key = (rd != tx->tx_rd) ? tx->fmr.fmr_pfmr->fmr->rkey : in kiblnd_fmr_map_tx() 594 rd->rd_frags[0].rf_addr &= ~hdev->ibh_page_mask; in kiblnd_fmr_map_tx() 595 rd->rd_frags[0].rf_nob = nob; in kiblnd_fmr_map_tx() 596 rd->rd_nfrags = 1; in kiblnd_fmr_map_tx() 619 static int kiblnd_map_tx(lnet_ni_t *ni, kib_tx_t *tx, kib_rdma_desc_t *rd, in kiblnd_map_tx() argument 630 tx->tx_dmadir = (rd != tx->tx_rd) ? DMA_FROM_DEVICE : DMA_TO_DEVICE; in kiblnd_map_tx() [all …]
|
/linux-4.4.14/arch/powerpc/sysdev/ |
D | fsl_pci.c | 902 unsigned int rd, ra, rb, d; in mcheck_handle_load() local 904 rd = get_rt(inst); in mcheck_handle_load() 914 regs->gpr[rd] = 0xffffffff; in mcheck_handle_load() 918 regs->gpr[rd] = 0xffffffff; in mcheck_handle_load() 923 regs->gpr[rd] = 0xff; in mcheck_handle_load() 927 regs->gpr[rd] = 0xff; in mcheck_handle_load() 933 regs->gpr[rd] = 0xffff; in mcheck_handle_load() 937 regs->gpr[rd] = 0xffff; in mcheck_handle_load() 942 regs->gpr[rd] = ~0UL; in mcheck_handle_load() 946 regs->gpr[rd] = ~0UL; in mcheck_handle_load() [all …]
|
/linux-4.4.14/tools/testing/selftests/net/ |
D | psock_tpacket.c | 79 struct iovec *rd; member 252 while (__v1_v2_rx_kernel_ready(ring->rd[frame_num].iov_base, in walk_v1_v2_rx() 254 ppd.raw = ring->rd[frame_num].iov_base; in walk_v1_v2_rx() 391 while (__v1_v2_tx_kernel_ready(ring->rd[frame_num].iov_base, in walk_v1_v2_tx() 394 ppd.raw = ring->rd[frame_num].iov_base; in walk_v1_v2_tx() 559 pbd = (struct block_desc *) ring->rd[block_num].iov_base; in walk_v3_rx() 655 ring->rd_len = ring->rd_num * sizeof(*ring->rd); in setup_ring() 656 ring->rd = malloc(ring->rd_len); in setup_ring() 657 if (ring->rd == NULL) { in setup_ring() 677 memset(ring->rd, 0, ring->rd_len); in mmap_ring() [all …]
|
/linux-4.4.14/drivers/net/ethernet/ |
D | korina.c | 184 struct dma_desc *rd) in korina_start_rx() argument 186 korina_start_dma(lp->rx_dma_regs, CPHYSADDR(rd)); in korina_start_rx() 190 struct dma_desc *rd) in korina_chain_rx() argument 192 korina_chain_dma(lp->rx_dma_regs, CPHYSADDR(rd)); in korina_chain_rx() 351 struct dma_desc *rd = &lp->rd_ring[lp->rx_next_done]; in korina_rx() local 357 dma_cache_inv((u32)rd, sizeof(*rd)); in korina_rx() 363 devcs = rd->devcs; in korina_rx() 365 if ((KORINA_RBSIZE - (u32)DMA_COUNT(rd->control)) == 0) in korina_rx() 421 rd->devcs = 0; in korina_rx() 425 rd->ca = CPHYSADDR(skb_new->data); in korina_rx() [all …]
|
/linux-4.4.14/net/9p/ |
D | trans_fd.c | 157 struct file *rd; member 243 if (!ts->rd->f_op->poll) in p9_fd_poll() 249 ret = ts->rd->f_op->poll(ts->rd, pt); in p9_fd_poll() 253 if (ts->rd != ts->wr) { in p9_fd_poll() 282 if (!(ts->rd->f_flags & O_NONBLOCK)) in p9_fd_read() 285 ret = kernel_read(ts->rd, ts->rd->f_pos, v, len); in p9_fd_read() 793 ts->rd = fget(rfd); in p9_fd_open() 795 if (!ts->rd || !ts->wr) { in p9_fd_open() 796 if (ts->rd) in p9_fd_open() 797 fput(ts->rd); in p9_fd_open() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/mips/cavium/ |
D | bootbus.txt | 40 - cavium,t-rd-hld: A cell specifying the RD_HLD timing (in nS). 50 - cavium,t-rd-dly: A cell specifying the RD_DLY timing (in nS). 92 cavium,t-rd-hld = <35>; 97 cavium,t-rd-dly = <0>; 112 cavium,t-rd-hld = <100>; 117 cavium,t-rd-dly = <0>;
|
/linux-4.4.14/arch/xtensa/platforms/iss/ |
D | console.c | 103 int rd = 1; in rs_poll() local 109 rd = simc_read(0, &c, 1); in rs_poll() 110 if (rd <= 0) in rs_poll() 118 if (rd) in rs_poll()
|
/linux-4.4.14/drivers/net/hamradio/ |
D | hdlcdrv.c | 455 s->hdlcrx.hbuf.rd = s->hdlcrx.hbuf.wr = 0; in hdlcdrv_open() 459 s->hdlctx.hbuf.rd = s->hdlctx.hbuf.wr = 0; in hdlcdrv_open() 586 if (s->bitbuf_channel.rd == s->bitbuf_channel.wr) in hdlcdrv_ioctl() 589 s->bitbuf_channel.buffer[s->bitbuf_channel.rd]; in hdlcdrv_ioctl() 590 s->bitbuf_channel.rd = (s->bitbuf_channel.rd+1) % in hdlcdrv_ioctl() 599 if (s->bitbuf_hdlc.rd == s->bitbuf_hdlc.wr) in hdlcdrv_ioctl() 602 s->bitbuf_hdlc.buffer[s->bitbuf_hdlc.rd]; in hdlcdrv_ioctl() 603 s->bitbuf_hdlc.rd = (s->bitbuf_hdlc.rd+1) % in hdlcdrv_ioctl() 651 s->hdlcrx.hbuf.rd = s->hdlcrx.hbuf.wr = 0; in hdlcdrv_setup() 656 s->hdlctx.hbuf.rd = s->hdlctx.hbuf.wr = 0; in hdlcdrv_setup() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ |
D | regd.c | 546 u16 rd = ath_regd_get_eepromRD(reg); in ath_regd_is_eeprom_valid() local 549 if (rd & COUNTRY_ERD_FLAG) { in ath_regd_is_eeprom_valid() 551 u16 cc = rd & ~COUNTRY_ERD_FLAG; in ath_regd_is_eeprom_valid() 560 if (rd != CTRY_DEFAULT) in ath_regd_is_eeprom_valid() 564 if (regDomainPairs[i].reg_domain == rd) in ath_regd_is_eeprom_valid() 568 "ath: invalid regulatory domain/country code 0x%x\n", rd); in ath_regd_is_eeprom_valid() 599 static u16 ath_regd_get_default_country(u16 rd) in ath_regd_get_default_country() argument 601 if (rd & COUNTRY_ERD_FLAG) { in ath_regd_get_default_country() 603 u16 cc = rd & ~COUNTRY_ERD_FLAG; in ath_regd_get_default_country()
|
/linux-4.4.14/Documentation/devicetree/bindings/mtd/ |
D | gpmc-nor.txt | 15 - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads 22 - gpmc,rd-cycle-ns: Total read cycle time 61 gpmc,cs-rd-off-ns = <186>; 64 gpmc,adv-rd-off-ns = <48>; 70 gpmc,rd-cycle-ns = <186>;
|
D | lpc32xx-mlc.txt | 36 nxp,rd-high = <31250000>; 37 nxp,rd-low = <45454545>;
|
/linux-4.4.14/arch/ia64/hp/sim/ |
D | simscsi.c | 71 static int rd, wr; variable 103 while ((sc = queue[rd].sc) != NULL) { in simscsi_interrupt() 105 queue[rd].sc = NULL; in simscsi_interrupt() 109 rd = (rd + 1) % SIMSCSI_REQ_QUEUE_LEN; in simscsi_interrupt()
|
/linux-4.4.14/drivers/net/ |
D | vxlan.c | 353 struct vxlan_rdst *rd, int type) in vxlan_fdb_notify() argument 363 err = vxlan_fdb_info(skb, vxlan, fdb, 0, 0, type, 0, rd); in vxlan_fdb_notify() 457 struct vxlan_rdst *rd; in vxlan_fdb_find_rdst() local 459 list_for_each_entry(rd, &f->remotes, list) { in vxlan_fdb_find_rdst() 460 if (vxlan_addr_equal(&rd->remote_ip, ip) && in vxlan_fdb_find_rdst() 461 rd->remote_port == port && in vxlan_fdb_find_rdst() 462 rd->remote_vni == vni && in vxlan_fdb_find_rdst() 463 rd->remote_ifindex == ifindex) in vxlan_fdb_find_rdst() 464 return rd; in vxlan_fdb_find_rdst() 474 struct vxlan_rdst *rd; in vxlan_fdb_replace() local [all …]
|
/linux-4.4.14/kernel/sched/ |
D | rt.c | 273 return atomic_read(&rq->rd->rto_count); in rt_overloaded() 281 cpumask_set_cpu(rq->cpu, rq->rd->rto_mask); in rt_set_overload() 292 atomic_inc(&rq->rd->rto_count); in rt_set_overload() 301 atomic_dec(&rq->rd->rto_count); in rt_clear_overload() 302 cpumask_clear_cpu(rq->cpu, rq->rd->rto_mask); in rt_clear_overload() 542 return this_rq()->rd->span; in sched_rt_period_mask() 641 struct root_domain *rd = rq_of_rt_rq(rt_rq)->rd; in do_balance_runtime() local 645 weight = cpumask_weight(rd->span); in do_balance_runtime() 649 for_each_cpu(i, rd->span) { in do_balance_runtime() 692 struct root_domain *rd = rq->rd; in __disable_runtime() local [all …]
|
D | deadline.c | 92 return atomic_read(&rq->rd->dlo_count); in dl_overloaded() 100 cpumask_set_cpu(rq->cpu, rq->rd->dlo_mask); in dl_set_overload() 108 atomic_inc(&rq->rd->dlo_count); in dl_set_overload() 116 atomic_dec(&rq->rd->dlo_count); in dl_clear_overload() 117 cpumask_clear_cpu(rq->cpu, rq->rd->dlo_mask); in dl_clear_overload() 811 cpudl_set(&rq->rd->cpudl, rq->cpu, deadline, 1); in inc_dl_deadline() 835 cpudl_set(&rq->rd->cpudl, rq->cpu, 0, 0); in dec_dl_deadline() 843 cpudl_set(&rq->rd->cpudl, rq->cpu, entry->deadline, 1); in dec_dl_deadline() 1094 cpudl_find(&rq->rd->cpudl, rq->curr, NULL) == -1) in check_preempt_equal_dl() 1102 cpudl_find(&rq->rd->cpudl, p, NULL) != -1) in check_preempt_equal_dl() [all …]
|
D | core.c | 2287 return &cpu_rq(i)->rd->dl_bw; in dl_bw_of() 2292 struct root_domain *rd = cpu_rq(i)->rd; in dl_bw_cpus() local 2297 for_each_cpu_and(i, rd->span, cpu_active_mask) in dl_bw_cpus() 3934 cpumask_t *span = rq->rd->span; in __sched_setscheduler() 3942 rq->rd->dl_bw.bw == 0) { in __sched_setscheduler() 4457 if (!cpumask_subset(task_rq(p)->rd->span, new_mask)) { in sched_setaffinity() 5087 if (dl_task(p) && !cpumask_intersects(task_rq(p)->rd->span, in task_can_attach() 5489 cpumask_set_cpu(rq->cpu, rq->rd->online); in set_rq_online() 5509 cpumask_clear_cpu(rq->cpu, rq->rd->online); in set_rq_offline() 5535 if (rq->rd) { in migration_call() [all …]
|
/linux-4.4.14/drivers/net/ethernet/apple/ |
D | mace.c | 432 volatile struct dbdma_regs __iomem *rd = mp->rx_dma; in mace_open() local 472 out_le32(&rd->control, (RUN|PAUSE|FLUSH|WAKE) << 16); /* clear run bit */ in mace_open() 473 out_le32(&rd->cmdptr, virt_to_bus(mp->rx_cmds)); in mace_open() 474 out_le32(&rd->control, (RUN << 16) | RUN); in mace_open() 502 volatile struct dbdma_regs __iomem *rd = mp->rx_dma; in mace_close() local 510 rd->control = cpu_to_le32((RUN|PAUSE|FLUSH|WAKE) << 16); /* clear run bit */ in mace_close() 811 volatile struct dbdma_regs __iomem *rd = mp->rx_dma; in mace_tx_timeout() local 833 cp = bus_to_virt(le32_to_cpu(rd->cmdptr)); in mace_tx_timeout() 834 dbdma_reset(rd); in mace_tx_timeout() 836 out_le32(&rd->cmdptr, virt_to_bus(cp)); in mace_tx_timeout() [all …]
|
D | bmac.c | 229 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_enable_and_reset_chip() local 232 if (rd) in bmac_enable_and_reset_chip() 233 dbdma_reset(rd); in bmac_enable_and_reset_chip() 406 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_start_chip() local 410 dbdma_continue(rd); in bmac_start_chip() 477 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_suspend() local 486 rd->control = cpu_to_le32(DBDMA_CLEAR(RUN|PAUSE|FLUSH|WAKE)); /* clear run bit */ in bmac_suspend() 613 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_init_rx_ring() local 637 dbdma_reset(rd); in bmac_init_rx_ring() 638 out_le32(&rd->cmdptr, virt_to_bus(bp->rx_cmds)); in bmac_init_rx_ring() [all …]
|
/linux-4.4.14/arch/arm/kernel/ |
D | entry-ftrace.S | 60 .macro mcount_adjust_addr rd, rn 61 bic \rd, \rn, #1 @ clear the Thumb bit if present 62 sub \rd, \rd, #MCOUNT_INSN_SIZE
|
D | entry-header.S | 175 .macro store_user_sp_lr, rd, rtemp, offset = 0 180 str sp, [\rd, #\offset] @ save sp_usr 181 str lr, [\rd, #\offset + 4] @ save lr_usr 187 .macro load_user_sp_lr, rd, rtemp, offset = 0 192 ldr sp, [\rd, #\offset] @ load sp_usr 193 ldr lr, [\rd, #\offset + 4] @ load lr_usr
|
D | head.S | 54 .macro pgtbl, rd, phys 55 add \rd, \phys, #TEXT_OFFSET 56 sub \rd, \rd, #PG_DIR_SIZE 604 * has a form of '(add|sub) rd, rn, #imm'.
|
/linux-4.4.14/drivers/media/pci/pt3/ |
D | pt3_i2c.c | 117 bool rd; in translate() local 121 rd = !!(msgs[i].flags & I2C_M_RD); in translate() 123 put_byte_write(cbuf, msgs[i].addr << 1 | rd); in translate() 124 if (rd) in translate()
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | assembler.h | 141 .macro regs_to_64, rd, lbits, hbits 143 .macro regs_to_64, rd, hbits, lbits 145 orr \rd, \lbits, \hbits, lsl #32
|
/linux-4.4.14/drivers/net/ethernet/amd/ |
D | 7990.c | 275 volatile struct lance_rx_desc *rd; in lance_rx() local 297 for (rd = &ib->brx_ring[lp->rx_new]; /* For each Rx ring we own... */ in lance_rx() 298 !((bits = rd->rmd1_bits) & LE_R1_OWN); in lance_rx() 299 rd = &ib->brx_ring[lp->rx_new]) { in lance_rx() 321 int len = (rd->mblength & 0xfff) - 4; in lance_rx() 326 rd->mblength = 0; in lance_rx() 327 rd->rmd1_bits = LE_R1_OWN; in lance_rx() 344 rd->mblength = 0; in lance_rx() 345 rd->rmd1_bits = LE_R1_OWN; in lance_rx()
|
D | sunlance.c | 511 struct lance_rx_desc *rd; in lance_rx_dvma() local 516 for (rd = &ib->brx_ring [entry]; in lance_rx_dvma() 517 !((bits = rd->rmd1_bits) & LE_R1_OWN); in lance_rx_dvma() 518 rd = &ib->brx_ring [entry]) { in lance_rx_dvma() 534 len = (rd->mblength & 0xfff) - 4; in lance_rx_dvma() 539 rd->mblength = 0; in lance_rx_dvma() 540 rd->rmd1_bits = LE_R1_OWN; in lance_rx_dvma() 558 rd->mblength = 0; in lance_rx_dvma() 559 rd->rmd1_bits = LE_R1_OWN; in lance_rx_dvma() 680 struct lance_rx_desc __iomem *rd; in lance_rx_pio() local [all …]
|
D | a2065.c | 249 volatile struct lance_rx_desc *rd; in lance_rx() local 269 for (rd = &ib->brx_ring[lp->rx_new]; in lance_rx() 270 !((bits = rd->rmd1_bits) & LE_R1_OWN); in lance_rx() 271 rd = &ib->brx_ring[lp->rx_new]) { in lance_rx() 293 int len = (rd->mblength & 0xfff) - 4; in lance_rx() 298 rd->mblength = 0; in lance_rx() 299 rd->rmd1_bits = LE_R1_OWN; in lance_rx() 316 rd->mblength = 0; in lance_rx() 317 rd->rmd1_bits = LE_R1_OWN; in lance_rx()
|
D | declance.c | 240 #define rds_ptr(rd, rt, type) \ argument 241 ((volatile u16 *)((u8 *)(rd) + rds_off(rt, type))) 558 volatile u16 *rd; in lance_rx() local 582 for (rd = lib_ptr(ib, brx_ring[lp->rx_new], lp->type); in lance_rx() 583 !((bits = *rds_ptr(rd, rmd1, lp->type)) & LE_R1_OWN); in lance_rx() 584 rd = lib_ptr(ib, brx_ring[lp->rx_new], lp->type)) { in lance_rx() 606 len = (*rds_ptr(rd, mblength, lp->type) & 0xfff) - 4; in lance_rx() 611 *rds_ptr(rd, mblength, lp->type) = 0; in lance_rx() 612 *rds_ptr(rd, rmd1, lp->type) = in lance_rx() 632 *rds_ptr(rd, mblength, lp->type) = 0; in lance_rx() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/net/ |
D | gpmc-eth.txt | 30 - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads 37 - gpmc,rd-cycle-ns: Total read cycle time 69 gpmc,cs-rd-off-ns = <186>; 72 gpmc,adv-rd-off-ns = <48>; 78 gpmc,rd-cycle-ns = <186>;
|
/linux-4.4.14/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_xgmac.c | 103 static bool xgene_enet_rd_indirect(void __iomem *addr, void __iomem *rd, in xgene_enet_rd_indirect() argument 120 *rd_data = ioread32(rd); in xgene_enet_rd_indirect() 128 void __iomem *addr, *rd, *cmd, *cmd_done; in xgene_enet_rd_mac() local 131 rd = pdata->mcx_mac_addr + MAC_READ_REG_OFFSET; in xgene_enet_rd_mac() 135 if (!xgene_enet_rd_indirect(addr, rd, cmd, cmd_done, rd_addr, rd_data)) in xgene_enet_rd_mac()
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-asm.h | 130 asm ("pop %[rd],%[rs]" : [rd] "=d" (result) : [rs] "d" (input)) 132 asm ("dpop %[rd],%[rs]" : [rd] "=d" (result) : [rs] "d" (input))
|
/linux-4.4.14/tools/testing/selftests/rcutorture/bin/ |
D | kvm-recheck.sh | 29 for rd in "$@" 32 dirs=`find $rd -name Make.defconfig.out -print | sort | sed -e 's,/[^/]*$,,' | sort -u`
|
/linux-4.4.14/net/ipx/ |
D | ipx_route.c | 103 static int ipxrtr_create(struct ipx_route_definition *rd) in ipxrtr_create() argument 109 intrfc = ipxitf_find_using_net(rd->ipx_router_network); in ipxrtr_create() 112 rc = ipxrtr_add_route(rd->ipx_network, intrfc, rd->ipx_router_node); in ipxrtr_create()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvif/ |
D | object.c | 107 struct nvif_ioctl_rd_v0 rd; in nvif_object_rd() member 110 .rd.size = size, in nvif_object_rd() 111 .rd.addr = addr, in nvif_object_rd() 118 return args.rd.data; in nvif_object_rd()
|
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/ |
D | mvebu-devbus.txt | 62 - devbus,rd-setup-ps: Defines the time delay between DEV_CSn assertion to 66 (no affect on first data sample). Set <rd-setup-ps> 71 - devbus,rd-hold-ps: Defines the time between the last data sample to the 79 Set <rd-hold-ps> to a value smaller than <turn-off-ps>. 146 devbus,rd-setup-ps = <0>; 147 devbus,rd-hold-ps = <0>;
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | videobuf2-dma-contig.c | 223 struct scatterlist *rd, *wr; in vb2_dc_dmabuf_ops_attach() local 242 rd = buf->sgt_base->sgl; in vb2_dc_dmabuf_ops_attach() 245 sg_set_page(wr, sg_page(rd), rd->length, rd->offset); in vb2_dc_dmabuf_ops_attach() 246 rd = sg_next(rd); in vb2_dc_dmabuf_ops_attach()
|
D | videobuf2-dma-sg.c | 389 struct scatterlist *rd, *wr; in vb2_dma_sg_dmabuf_ops_attach() local 408 rd = buf->dma_sgt->sgl; in vb2_dma_sg_dmabuf_ops_attach() 411 sg_set_page(wr, sg_page(rd), rd->length, rd->offset); in vb2_dma_sg_dmabuf_ops_attach() 412 rd = sg_next(rd); in vb2_dma_sg_dmabuf_ops_attach()
|
/linux-4.4.14/drivers/net/ethernet/via/ |
D | via-velocity.c | 1526 struct rx_desc *rd = &(vptr->rx.ring[idx]); in velocity_alloc_rx_buf() local 1546 *((u32 *) & (rd->rdesc0)) = 0; in velocity_alloc_rx_buf() 1547 rd->size = cpu_to_le16(vptr->rx.buf_sz) | RX_INTEN; in velocity_alloc_rx_buf() 1548 rd->pa_low = cpu_to_le32(rd_info->skb_dma); in velocity_alloc_rx_buf() 1549 rd->pa_high = 0; in velocity_alloc_rx_buf() 1559 struct rx_desc *rd = vptr->rx.ring + dirty; in velocity_rx_refill() local 1562 if (rd->rdesc0.len & OWNED_BY_NIC) in velocity_rx_refill() 1597 struct rx_desc *rd = vptr->rx.ring + i; in velocity_free_rd_ring() local 1599 memset(rd, 0, sizeof(*rd)); in velocity_free_rd_ring() 1969 static inline void velocity_rx_csum(struct rx_desc *rd, struct sk_buff *skb) in velocity_rx_csum() argument [all …]
|
/linux-4.4.14/drivers/mtd/nand/ |
D | nand_bbt.c | 844 struct nand_bbt_descr *rd, *rd2; in check_create() local 855 rd = NULL; in check_create() 866 rd = md; in check_create() 869 rd = td; in check_create() 872 rd = td; in check_create() 876 rd = td; in check_create() 879 rd = md; in check_create() 887 rd = td; in check_create() 906 if (rd) { in check_create() 907 res = read_abs_bbt(mtd, buf, rd, chipsel); in check_create() [all …]
|
/linux-4.4.14/drivers/staging/vt6655/ |
D | device_main.c | 705 struct vnt_rx_desc *rd; in device_rx_srv() local 708 for (rd = priv->pCurrRD[idx]; in device_rx_srv() 709 rd->rd0.owner == OWNED_BY_HOST; in device_rx_srv() 710 rd = rd->next) { in device_rx_srv() 714 if (!rd->rd_info->skb) in device_rx_srv() 717 if (vnt_receive_frame(priv, rd)) { in device_rx_srv() 718 if (!device_alloc_rx_buf(priv, rd)) { in device_rx_srv() 724 rd->rd0.owner = OWNED_BY_NIC; in device_rx_srv() 727 priv->pCurrRD[idx] = rd; in device_rx_srv() 733 struct vnt_rx_desc *rd) in device_alloc_rx_buf() argument [all …]
|
/linux-4.4.14/arch/sparc/lib/ |
D | VISsave.S | 40 rd %gsr, %g3 49 rd %gsr, %g2
|
D | xor.S | 26 rd %fprs, %o5 33 rd %asi, %g1 95 rd %fprs, %o5 102 rd %asi, %g1 161 rd %fprs, %o5 168 rd %asi, %g1 247 rd %fprs, %o5 254 rd %asi, %g1 356 rd %asi, %g7 402 rd %asi, %g7 [all …]
|
D | GENcopy_from_user.S | 24 rd %asi, %g1; \
|
D | GENcopy_to_user.S | 28 rd %asi, %g1; \
|
D | NGcopy_to_user.S | 29 rd %asi, %g1; \
|
D | NGcopy_from_user.S | 26 rd %asi, %g1; \
|
D | NG4copy_from_user.S | 32 rd %asi, %g1; \
|
D | U1copy_from_user.S | 32 rd %asi, %g1; \
|
D | NG4copy_to_user.S | 41 rd %asi, %g1; \
|
D | U3copy_to_user.S | 32 rd %asi, %g1; \
|
D | U1copy_to_user.S | 32 rd %asi, %g1; \
|
/linux-4.4.14/Documentation/devicetree/bindings/dma/ |
D | apm-xgene-dma.txt | 13 3rd - Descriptor ring command register address space. 16 DMA error reporting interrupt. 2nd, 3rd, 4th and 5th interrupts
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | hotplug-cpu.c | 345 struct of_reconfig_data *rd = data; in pseries_smp_notifier() local 350 err = pseries_add_processor(rd->dn); in pseries_smp_notifier() 353 pseries_remove_processor(rd->dn); in pseries_smp_notifier()
|
D | hotplug-memory.c | 708 struct of_reconfig_data *rd = data; in pseries_memory_notifier() local 713 err = pseries_add_mem_node(rd->dn); in pseries_memory_notifier() 716 err = pseries_remove_mem_node(rd->dn); in pseries_memory_notifier() 719 if (!strcmp(rd->prop->name, "ibm,dynamic-memory")) in pseries_memory_notifier() 720 err = pseries_update_drconf_memory(rd); in pseries_memory_notifier()
|
/linux-4.4.14/arch/mips/boot/dts/cavium-octeon/ |
D | octeon_68xx.dts | 470 cavium,t-rd-hld = <25>; 475 cavium,t-rd-dly = <0>; 487 cavium,t-rd-hld = <320>; 492 cavium,t-rd-dly = <0>; 504 cavium,t-rd-hld = <100>; 509 cavium,t-rd-dly = <0>; 521 cavium,t-rd-hld = <100>; 526 cavium,t-rd-dly = <0>;
|
D | octeon_3xxx.dts | 434 cavium,t-rd-hld = <35>; 439 cavium,t-rd-dly = <0>; 451 cavium,t-rd-hld = <320>; 456 cavium,t-rd-dly = <0>; 468 cavium,t-rd-hld = <100>; 473 cavium,t-rd-dly = <0>; 485 cavium,t-rd-hld = <100>; 490 cavium,t-rd-dly = <0>;
|
/linux-4.4.14/Documentation/networking/ |
D | regulatory.txt | 172 struct ieee80211_regdomain *rd; 180 rd = kzalloc(size_of_regd, GFP_KERNEL); 181 if (!rd) 184 memcpy(rd, &mydriver_jp_regdom, sizeof(struct ieee80211_regdomain)); 187 memcpy(&rd->reg_rules[i], 190 regulatory_struct_hint(rd);
|
/linux-4.4.14/arch/mips/lantiq/xway/ |
D | reset.c | 142 u32 rd; member 170 ltq_rcu_w32_mask(0, phy_regs->rd, RCU_RST_REQ); in xrx200_gphy_boot_addr() 172 ltq_rcu_w32_mask(phy_regs->rd, 0, RCU_RST_REQ); in xrx200_gphy_boot_addr()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 31 u32 rd[4]; member 1323 ms->rd[0] = QLCNIC_MS_RDDATA_LO; in qlcnic_set_ms_controls() 1325 ms->rd[1] = QLCNIC_MS_RDDATA_HI; in qlcnic_set_ms_controls() 1328 ms->rd[2] = QLCNIC_MS_RDDATA_ULO; in qlcnic_set_ms_controls() 1329 ms->rd[3] = QLCNIC_MS_RDDATA_UHI; in qlcnic_set_ms_controls() 1332 ms->rd[0] = QLCNIC_MS_RDDATA_ULO; in qlcnic_set_ms_controls() 1334 ms->rd[1] = QLCNIC_MS_RDDATA_UHI; in qlcnic_set_ms_controls() 1337 ms->rd[2] = QLCNIC_MS_RDDATA_LO; in qlcnic_set_ms_controls() 1338 ms->rd[3] = QLCNIC_MS_RDDATA_HI; in qlcnic_set_ms_controls() 1390 qlcnic_ind_wr(adapter, ms.wd[0], qlcnic_ind_rd(adapter, ms.rd[0])); in qlcnic_pci_mem_write_2M() [all …]
|
/linux-4.4.14/arch/powerpc/boot/dts/ |
D | virtex440-ml507.dts | 72 xlnx,dcu-rd-ld-cache-plb-prio = <0>; 73 xlnx,dcu-rd-noncache-plb-prio = <0>; 74 xlnx,dcu-rd-touch-plb-prio = <0>; 75 xlnx,dcu-rd-urgent-plb-prio = <0>; 105 xlnx,icu-rd-fetch-plb-prio = <0>; 106 xlnx,icu-rd-spec-plb-prio = <0>; 107 xlnx,icu-rd-touch-plb-prio = <0>;
|
/linux-4.4.14/arch/arm64/kernel/ |
D | entry-ftrace.S | 58 .macro mcount_adjust_addr rd, rn 59 sub \rd, \rn, #AARCH64_INSN_SIZE
|
/linux-4.4.14/drivers/media/pci/bt8xx/ |
D | dst_priv.h | 24 struct dst_gpio_read rd; member
|
/linux-4.4.14/arch/mips/include/uapi/asm/ |
D | inst.h | 571 __BITFIELD_FIELD(unsigned int rd : 5, 581 __BITFIELD_FIELD(unsigned int rd : 5, 592 __BITFIELD_FIELD(unsigned int rd : 5, 786 __BITFIELD_FIELD(unsigned int rd : 5, 797 __BITFIELD_FIELD(unsigned int rd : 5,
|
/linux-4.4.14/arch/arm/crypto/ |
D | aes-ce-core.S | 130 add ip, r2, #32 @ 3rd round key 137 add ip, r2, #32 @ 3rd round key 143 add ip, r2, #32 @ 3rd round key 149 add ip, r2, #32 @ 3rd round key 389 add ip, r6, #32 @ 3rd round key of key 2 482 add ip, r2, #32 @ 3rd round key
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | traps.c | 1009 u32 rd; in emulate_instruction() local 1021 rd = (instword >> 21) & 0x1f; in emulate_instruction() 1022 regs->gpr[rd] = mfspr(SPRN_PVR); in emulate_instruction() 1079 rd = (instword >> 21) & 0x1f; in emulate_instruction() 1080 regs->gpr[rd] = mfspr(SPRN_DSCR); in emulate_instruction() 1090 rd = (instword >> 21) & 0x1f; in emulate_instruction() 1091 current->thread.dscr = regs->gpr[rd]; in emulate_instruction() 1382 u32 instword, rd; in facility_unavailable_exception() local 1418 rd = (instword >> 21) & 0x1f; in facility_unavailable_exception() 1419 current->thread.dscr = regs->gpr[rd]; in facility_unavailable_exception()
|
/linux-4.4.14/arch/mips/kernel/ |
D | unaligned.c | 1421 reg = insn.mm_x_format.rd; in emulate_load_store_microMIPS() 1430 reg = insn.mm_m_format.rd; in emulate_load_store_microMIPS() 1449 reg = insn.mm_m_format.rd; in emulate_load_store_microMIPS() 1469 reg = insn.mm_m_format.rd; in emulate_load_store_microMIPS() 1492 reg = insn.mm_m_format.rd; in emulate_load_store_microMIPS() 1514 reg = insn.mm_m_format.rd; in emulate_load_store_microMIPS() 1551 reg = insn.mm_m_format.rd; in emulate_load_store_microMIPS() 1589 reg = insn.mm_m_format.rd; in emulate_load_store_microMIPS() 1631 reg = insn.mm_m_format.rd; in emulate_load_store_microMIPS() 1679 reg = insn.mm_m_format.rd; in emulate_load_store_microMIPS()
|
/linux-4.4.14/crypto/ |
D | serpent_generic.c | 587 u32 rs[4], rd[4]; in tnepres_encrypt() local 594 serpent_encrypt(tfm, (u8 *)rd, (u8 *)rs); in tnepres_encrypt() 596 d[0] = swab32(rd[3]); in tnepres_encrypt() 597 d[1] = swab32(rd[2]); in tnepres_encrypt() 598 d[2] = swab32(rd[1]); in tnepres_encrypt() 599 d[3] = swab32(rd[0]); in tnepres_encrypt() 607 u32 rs[4], rd[4]; in tnepres_decrypt() local 614 serpent_decrypt(tfm, (u8 *)rd, (u8 *)rs); in tnepres_decrypt() 616 d[0] = swab32(rd[3]); in tnepres_decrypt() 617 d[1] = swab32(rd[2]); in tnepres_decrypt() [all …]
|
/linux-4.4.14/sound/soc/davinci/ |
D | davinci-mcasp.c | 1139 struct davinci_mcasp_ruledata *rd = rule->private; in davinci_mcasp_hw_rule_rate() local 1143 int slots = rd->mcasp->tdm_slots; in davinci_mcasp_hw_rule_rate() 1147 if (rd->mcasp->slot_width) in davinci_mcasp_hw_rule_rate() 1148 sbits = rd->mcasp->slot_width; in davinci_mcasp_hw_rule_rate() 1159 davinci_mcasp_calc_clk_div(rd->mcasp, bclk_freq, &ppm); in davinci_mcasp_hw_rule_rate() 1170 dev_dbg(rd->mcasp->dev, in davinci_mcasp_hw_rule_rate() 1181 struct davinci_mcasp_ruledata *rd = rule->private; in davinci_mcasp_hw_rule_format() local 1185 int slots = rd->mcasp->tdm_slots; in davinci_mcasp_hw_rule_format() 1195 if (rd->mcasp->slot_width) in davinci_mcasp_hw_rule_format() 1196 sbits = rd->mcasp->slot_width; in davinci_mcasp_hw_rule_format() [all …]
|