/linux-4.4.14/drivers/target/iscsi/ |
D | iscsi_target_erl2.c | 85 struct iscsi_conn_recovery *cr) in iscsit_attach_active_connection_recovery_entry() argument 88 list_add_tail(&cr->cr_list, &sess->cr_active_list); in iscsit_attach_active_connection_recovery_entry() 96 struct iscsi_conn_recovery *cr) in iscsit_attach_inactive_connection_recovery_entry() argument 99 list_add_tail(&cr->cr_list, &sess->cr_inactive_list); in iscsit_attach_inactive_connection_recovery_entry() 113 struct iscsi_conn_recovery *cr; in iscsit_get_inactive_connection_recovery_entry() local 116 list_for_each_entry(cr, &sess->cr_inactive_list, cr_list) { in iscsit_get_inactive_connection_recovery_entry() 117 if (cr->cid == cid) { in iscsit_get_inactive_connection_recovery_entry() 119 return cr; in iscsit_get_inactive_connection_recovery_entry() 130 struct iscsi_conn_recovery *cr, *cr_tmp; in iscsit_free_connection_recovery_entires() local 133 list_for_each_entry_safe(cr, cr_tmp, &sess->cr_active_list, cr_list) { in iscsit_free_connection_recovery_entires() [all …]
|
D | iscsi_target_tmr.c | 119 struct iscsi_conn_recovery *cr = NULL; in iscsit_tmr_task_reassign() local 135 ret = iscsit_find_cmd_for_recovery(conn->sess, &ref_cmd, &cr, hdr->rtt); in iscsit_tmr_task_reassign() 138 " %hu\n", ref_cmd->init_task_tag, cr->cid); in iscsit_tmr_task_reassign() 149 if (cr->maxrecvdatasegmentlength != in iscsit_tmr_task_reassign() 156 if (cr->maxxmitdatasegmentlength != in iscsit_tmr_task_reassign() 175 tmr_req->conn_recovery = cr; in iscsit_tmr_task_reassign() 187 struct iscsi_conn_recovery *cr, in iscsit_task_reassign_remove_cmd() argument 192 spin_lock(&cr->conn_recovery_cmd_lock); in iscsit_task_reassign_remove_cmd() 194 spin_unlock(&cr->conn_recovery_cmd_lock); in iscsit_task_reassign_remove_cmd() 197 " %hu on SID: %u\n", cr->cid, sess->sid); in iscsit_task_reassign_remove_cmd() [all …]
|
D | iscsi_target_util.c | 447 struct iscsi_conn_recovery *cr; in iscsit_find_cmd_for_recovery() local 453 list_for_each_entry(cr, &sess->cr_inactive_list, cr_list) { in iscsit_find_cmd_for_recovery() 454 spin_lock(&cr->conn_recovery_cmd_lock); in iscsit_find_cmd_for_recovery() 455 list_for_each_entry(cmd, &cr->conn_recovery_cmd_list, i_conn_node) { in iscsit_find_cmd_for_recovery() 457 spin_unlock(&cr->conn_recovery_cmd_lock); in iscsit_find_cmd_for_recovery() 460 *cr_ptr = cr; in iscsit_find_cmd_for_recovery() 465 spin_unlock(&cr->conn_recovery_cmd_lock); in iscsit_find_cmd_for_recovery() 473 list_for_each_entry(cr, &sess->cr_active_list, cr_list) { in iscsit_find_cmd_for_recovery() 474 spin_lock(&cr->conn_recovery_cmd_lock); in iscsit_find_cmd_for_recovery() 475 list_for_each_entry(cmd, &cr->conn_recovery_cmd_list, i_conn_node) { in iscsit_find_cmd_for_recovery() [all …]
|
D | iscsi_target_login.c | 574 struct iscsi_conn_recovery *cr = NULL; in iscsi_login_post_auth_non_zero_tsih() local 604 cr = iscsit_get_inactive_connection_recovery_entry( in iscsi_login_post_auth_non_zero_tsih() 606 if (cr) { in iscsi_login_post_auth_non_zero_tsih() 610 iscsit_discard_cr_cmds_by_expstatsn(cr, exp_statsn); in iscsi_login_post_auth_non_zero_tsih()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | ctl_reg.h | 31 static inline void __ctl_set_bit(unsigned int cr, unsigned int bit) in __ctl_set_bit() argument 35 __ctl_store(reg, cr, cr); in __ctl_set_bit() 37 __ctl_load(reg, cr, cr); in __ctl_set_bit() 40 static inline void __ctl_clear_bit(unsigned int cr, unsigned int bit) in __ctl_clear_bit() argument 44 __ctl_store(reg, cr, cr); in __ctl_clear_bit() 46 __ctl_load(reg, cr, cr); in __ctl_clear_bit() 49 void smp_ctl_set_bit(int cr, int bit); 50 void smp_ctl_clear_bit(int cr, int bit); 68 # define ctl_set_bit(cr, bit) smp_ctl_set_bit(cr, bit) argument 69 # define ctl_clear_bit(cr, bit) smp_ctl_clear_bit(cr, bit) argument [all …]
|
D | nmi.h | 55 u64 cr : 1; /* 29 control register validity */ member
|
/linux-4.4.14/arch/arm/mach-gemini/ |
D | time.c | 74 u32 cr; in gemini_timer_set_next_event() local 77 cr = readl(TIMER_COUNT(TIMER1_BASE)); in gemini_timer_set_next_event() 78 writel(cr + cycles, TIMER_MATCH1(TIMER1_BASE)); in gemini_timer_set_next_event() 79 if (readl(TIMER_COUNT(TIMER1_BASE)) - cr > cycles) in gemini_timer_set_next_event() 87 u32 cr; in gemini_timer_shutdown() local 94 cr = readl(TIMER_CR); in gemini_timer_shutdown() 95 cr &= ~(TIMER_1_CR_ENABLE | TIMER_1_CR_INT); in gemini_timer_shutdown() 96 writel(cr, TIMER_CR); in gemini_timer_shutdown() 103 cr = readl(TIMER_INTR_MASK); in gemini_timer_shutdown() 104 cr &= ~(TIMER_1_INT_OVERFLOW | TIMER_1_INT_MATCH2); in gemini_timer_shutdown() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
D | acceptor.c | 145 lnet_acceptor_connreq_t cr; in lnet_connect() local 151 CLASSERT(sizeof(cr) <= 16); /* not too big to be on the stack */ in lnet_connect() 168 cr.acr_magic = LNET_PROTO_ACCEPTOR_MAGIC; in lnet_connect() 169 cr.acr_version = LNET_PROTO_ACCEPTOR_VERSION; in lnet_connect() 170 cr.acr_nid = peer_nid; in lnet_connect() 176 cr.acr_version++; in lnet_connect() 180 cr.acr_magic = LNET_PROTO_MAGIC; in lnet_connect() 186 rc = lnet_sock_write(sock, &cr, sizeof(cr), accept_timeout); in lnet_connect() 210 lnet_acceptor_connreq_t cr; in lnet_accept() local 218 LASSERT(sizeof(cr) <= 16); /* not too big for the stack */ in lnet_accept() [all …]
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | special_insns.h | 5 unsigned long cr; \ 8 "=r" (cr) \ 10 cr; \ 13 #define mtctl(gr, cr) \ argument 16 : "r" (gr), "i" (cr) : "memory") 27 unsigned long cr; \ 30 "=r" (cr) \ 32 cr; \ 35 #define mtsp(val, cr) \ argument 37 __asm__ __volatile__("mtsp %%r0,%0" : : "i" (cr) : "memory"); \ [all …]
|
D | pdc.h | 209 __u32 cr[32]; member 242 __u64 cr[32]; member
|
/linux-4.4.14/drivers/misc/cxl/ |
D | sysfs.c | 433 int cr; member 444 struct afu_config_record *cr = to_cr(kobj); in vendor_show() local 446 return scnprintf(buf, PAGE_SIZE, "0x%.4x\n", cr->vendor); in vendor_show() 452 struct afu_config_record *cr = to_cr(kobj); in device_show() local 454 return scnprintf(buf, PAGE_SIZE, "0x%.4x\n", cr->device); in device_show() 460 struct afu_config_record *cr = to_cr(kobj); in class_show() local 462 return scnprintf(buf, PAGE_SIZE, "0x%.6x\n", cr->class); in class_show() 469 struct afu_config_record *cr = to_cr(kobj); in afu_read_config() local 475 val = cxl_afu_cr_read64(afu, cr->cr, off & ~0x7); in afu_read_config() 499 struct afu_config_record *cr = to_cr(kobj); in release_afu_config_record() local [all …]
|
D | cxl.h | 610 static inline u64 cxl_afu_cr_read64(struct cxl_afu *afu, int cr, u64 off) in cxl_afu_cr_read64() argument 614 ((cr) * (afu)->crs_len) + (off)); in cxl_afu_cr_read64() 619 static inline u32 cxl_afu_cr_read32(struct cxl_afu *afu, int cr, u64 off) in cxl_afu_cr_read32() argument 623 ((cr) * (afu)->crs_len) + (off)); in cxl_afu_cr_read32() 627 u16 cxl_afu_cr_read16(struct cxl_afu *afu, int cr, u64 off); 628 u8 cxl_afu_cr_read8(struct cxl_afu *afu, int cr, u64 off);
|
D | pci.c | 119 u16 cxl_afu_cr_read16(struct cxl_afu *afu, int cr, u64 off) in cxl_afu_cr_read16() argument 124 val = cxl_afu_cr_read32(afu, cr, aligned_off); in cxl_afu_cr_read16() 128 u8 cxl_afu_cr_read8(struct cxl_afu *afu, int cr, u64 off) in cxl_afu_cr_read8() argument 133 val = cxl_afu_cr_read32(afu, cr, aligned_off); in cxl_afu_cr_read8()
|
/linux-4.4.14/arch/ia64/include/asm/native/ |
D | inst.h | 26 mov reg = cr.ifa 29 mov reg = cr.itir 32 mov reg = cr.isr 35 mov reg = cr.iha 38 (pred) mov reg = cr.ipsr 41 mov reg = cr.iim 44 mov reg = cr.iip 47 mov reg = cr.ivr 56 mov cr.ifa = reg 59 (pred) mov cr.itir = reg [all …]
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-iop3xx.c | 73 u32 cr = IOP3XX_ICR_GCD | IOP3XX_ICR_SCLEN | IOP3XX_ICR_UE; in iop3xx_i2c_enable() local 93 cr |= IOP3XX_ICR_ALD_IE | IOP3XX_ICR_BERR_IE | in iop3xx_i2c_enable() 96 __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); in iop3xx_i2c_enable() 102 unsigned long cr = __raw_readl(iop3xx_adap->ioaddr + CR_OFFSET); in iop3xx_i2c_transaction_cleanup() local 104 cr &= ~(IOP3XX_ICR_MSTART | IOP3XX_ICR_TBYTE | in iop3xx_i2c_transaction_cleanup() 107 __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); in iop3xx_i2c_transaction_cleanup() 238 unsigned long cr = __raw_readl(iop3xx_adap->ioaddr + CR_OFFSET); in iop3xx_i2c_send_target_addr() local 251 cr &= ~(IOP3XX_ICR_MSTOP | IOP3XX_ICR_NACK); in iop3xx_i2c_send_target_addr() 252 cr |= IOP3XX_ICR_MSTART | IOP3XX_ICR_TBYTE; in iop3xx_i2c_send_target_addr() 254 __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); in iop3xx_i2c_send_target_addr() [all …]
|
D | i2c-stu300.c | 656 u32 cr; in stu300_xfer_msg() local 703 cr = I2C_CR_PERIPHERAL_ENABLE; in stu300_xfer_msg() 706 cr |= I2C_CR_START_ENABLE; in stu300_xfer_msg() 709 cr |= I2C_CR_ACK_ENABLE; in stu300_xfer_msg() 714 ret = stu300_start_and_await_event(dev, cr, in stu300_xfer_msg()
|
D | i2c-xiic.c | 291 u8 cr; in xiic_deinit() local 296 cr = xiic_getreg8(i2c, XIIC_CR_REG_OFFSET); in xiic_deinit() 297 xiic_setreg8(i2c, XIIC_CR_REG_OFFSET, cr & ~XIIC_CR_ENABLE_DEVICE_MASK); in xiic_deinit()
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
D | fimc-m2m.c | 401 struct v4l2_cropcap *cr) in fimc_m2m_cropcap() argument 406 frame = ctx_get_frame(ctx, cr->type); in fimc_m2m_cropcap() 410 cr->bounds.left = 0; in fimc_m2m_cropcap() 411 cr->bounds.top = 0; in fimc_m2m_cropcap() 412 cr->bounds.width = frame->o_width; in fimc_m2m_cropcap() 413 cr->bounds.height = frame->o_height; in fimc_m2m_cropcap() 414 cr->defrect = cr->bounds; in fimc_m2m_cropcap() 419 static int fimc_m2m_g_crop(struct file *file, void *fh, struct v4l2_crop *cr) in fimc_m2m_g_crop() argument 424 frame = ctx_get_frame(ctx, cr->type); in fimc_m2m_g_crop() 428 cr->c.left = frame->offs_h; in fimc_m2m_g_crop() [all …]
|
D | fimc-core.c | 371 paddr->cr = 0; in fimc_prepare_addr() 376 paddr->cr = 0; in fimc_prepare_addr() 382 paddr->cr = (u32)(paddr->cb in fimc_prepare_addr() 385 paddr->cr = (u32)(paddr->cb in fimc_prepare_addr() 396 paddr->cr = vb2_dma_contig_plane_dma_addr(vb, 2); in fimc_prepare_addr() 400 paddr->y, paddr->cb, paddr->cr, ret); in fimc_prepare_addr()
|
D | fimc-reg.c | 540 writel(paddr->cr, dev->regs + FIMC_REG_CIICRSA(0)); in fimc_hw_set_input_addr() 553 writel(paddr->cr, dev->regs + FIMC_REG_CIOCRSA(i)); in fimc_hw_set_output_addr() 555 i, paddr->y, paddr->cb, paddr->cr); in fimc_hw_set_output_addr()
|
D | fimc-core.h | 216 u32 cr; member
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | llog_swab.c | 168 struct llog_changelog_rec *cr = in lustre_swab_llog_rec() local 171 __swab16s(&cr->cr.cr_namelen); in lustre_swab_llog_rec() 172 __swab16s(&cr->cr.cr_flags); in lustre_swab_llog_rec() 173 __swab32s(&cr->cr.cr_type); in lustre_swab_llog_rec() 174 __swab64s(&cr->cr.cr_index); in lustre_swab_llog_rec() 175 __swab64s(&cr->cr.cr_prev); in lustre_swab_llog_rec() 176 __swab64s(&cr->cr.cr_time); in lustre_swab_llog_rec() 177 lustre_swab_lu_fid(&cr->cr.cr_tfid); in lustre_swab_llog_rec() 178 lustre_swab_lu_fid(&cr->cr.cr_pfid); in lustre_swab_llog_rec() 179 if (CHANGELOG_REC_EXTENDED(&cr->cr)) { in lustre_swab_llog_rec() [all …]
|
/linux-4.4.14/arch/arm/mm/ |
D | cache-feroceon-l2.c | 243 u32 cr; in flush_and_disable_dcache() local 245 cr = get_cr(); in flush_and_disable_dcache() 246 if (cr & CR_C) { in flush_and_disable_dcache() 251 set_cr(cr & ~CR_C); in flush_and_disable_dcache() 260 u32 cr; in enable_dcache() local 262 cr = get_cr(); in enable_dcache() 263 set_cr(cr | CR_C); in enable_dcache() 273 u32 cr; in invalidate_and_disable_icache() local 275 cr = get_cr(); in invalidate_and_disable_icache() 276 if (cr & CR_I) { in invalidate_and_disable_icache() [all …]
|
D | mmu.c | 187 unsigned long cr = __clear_cr(cache_policies[selected].cr_mask); in early_cachepolicy() local 190 set_cr(cr); in early_cachepolicy() 431 unsigned int cr = get_cr(); in build_mem_type_table() local 471 if ((cpu_arch < CPU_ARCH_ARMv6 || !(cr & CR_XP)) && !cpu_is_xsc3()) in build_mem_type_table() 497 if (cpu_is_xsc3() || (cpu_arch >= CPU_ARCH_ARMv6 && (cr & CR_XP))) { in build_mem_type_table() 511 if (cpu_arch >= CPU_ARCH_ARMv7 && (cr & CR_TRE)) { in build_mem_type_table() 583 if (cpu_arch >= CPU_ARCH_ARMv6 && (cr & CR_XP)) { in build_mem_type_table() 623 if (cpu_arch >= CPU_ARCH_ARMv7 && (cr & CR_TRE)) { in build_mem_type_table() 1457 unsigned int cr, ttbcr; in early_paging_init() local 1499 cr = get_cr(); in early_paging_init() [all …]
|
/linux-4.4.14/drivers/tty/serial/ |
D | apbuart.c | 46 unsigned int cr; in apbuart_stop_tx() local 48 cr = UART_GET_CTRL(port); in apbuart_stop_tx() 49 cr &= ~UART_CTRL_TI; in apbuart_stop_tx() 50 UART_PUT_CTRL(port, cr); in apbuart_stop_tx() 55 unsigned int cr; in apbuart_start_tx() local 57 cr = UART_GET_CTRL(port); in apbuart_start_tx() 58 cr |= UART_CTRL_TI; in apbuart_start_tx() 59 UART_PUT_CTRL(port, cr); in apbuart_start_tx() 67 unsigned int cr; in apbuart_stop_rx() local 69 cr = UART_GET_CTRL(port); in apbuart_stop_rx() [all …]
|
D | amba-pl010.c | 80 unsigned int cr; in pl010_stop_tx() local 82 cr = readb(uap->port.membase + UART010_CR); in pl010_stop_tx() 83 cr &= ~UART010_CR_TIE; in pl010_stop_tx() 84 writel(cr, uap->port.membase + UART010_CR); in pl010_stop_tx() 91 unsigned int cr; in pl010_start_tx() local 93 cr = readb(uap->port.membase + UART010_CR); in pl010_start_tx() 94 cr |= UART010_CR_TIE; in pl010_start_tx() 95 writel(cr, uap->port.membase + UART010_CR); in pl010_start_tx() 102 unsigned int cr; in pl010_stop_rx() local 104 cr = readb(uap->port.membase + UART010_CR); in pl010_stop_rx() [all …]
|
D | fsl_lpuart.c | 1579 unsigned long old_cr, cr; in lpuart32_console_write() local 1582 cr = old_cr = lpuart32_read(sport->port.membase + UARTCTRL); in lpuart32_console_write() 1583 cr |= (UARTCTRL_TE | UARTCTRL_RE); in lpuart32_console_write() 1584 cr &= ~(UARTCTRL_TIE | UARTCTRL_TCIE | UARTCTRL_RIE); in lpuart32_console_write() 1585 lpuart32_write(cr, sport->port.membase + UARTCTRL); in lpuart32_console_write() 1604 unsigned char cr, bdh, bdl, brfa; in lpuart_console_get_options() local 1607 cr = readb(sport->port.membase + UARTCR2); in lpuart_console_get_options() 1608 cr &= UARTCR2_TE | UARTCR2_RE; in lpuart_console_get_options() 1609 if (!cr) in lpuart_console_get_options() 1614 cr = readb(sport->port.membase + UARTCR1); in lpuart_console_get_options() [all …]
|
D | amba-pl011.c | 1430 unsigned int cr; in pl011_set_mctrl() local 1432 cr = readw(uap->port.membase + UART011_CR); in pl011_set_mctrl() 1436 cr |= uartbit; \ in pl011_set_mctrl() 1438 cr &= ~uartbit in pl011_set_mctrl() 1452 writew(cr, uap->port.membase + UART011_CR); in pl011_set_mctrl() 1614 unsigned int cr; in pl011_startup() local 1630 cr = uap->old_cr & (UART011_CR_RTS | UART011_CR_DTR); in pl011_startup() 1631 cr |= UART01x_CR_UARTEN | UART011_CR_RXE | UART011_CR_TXE; in pl011_startup() 1632 writew(cr, uap->port.membase + UART011_CR); in pl011_startup() 1692 unsigned int cr; in pl011_disable_uart() local [all …]
|
/linux-4.4.14/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 190 u32 cr; in axienet_dma_bd_init() local 237 cr = axienet_dma_in32(lp, XAXIDMA_RX_CR_OFFSET); in axienet_dma_bd_init() 239 cr = ((cr & ~XAXIDMA_COALESCE_MASK) | in axienet_dma_bd_init() 242 cr = ((cr & ~XAXIDMA_DELAY_MASK) | in axienet_dma_bd_init() 245 cr |= XAXIDMA_IRQ_ALL_MASK; in axienet_dma_bd_init() 247 axienet_dma_out32(lp, XAXIDMA_RX_CR_OFFSET, cr); in axienet_dma_bd_init() 250 cr = axienet_dma_in32(lp, XAXIDMA_TX_CR_OFFSET); in axienet_dma_bd_init() 252 cr = (((cr & ~XAXIDMA_COALESCE_MASK)) | in axienet_dma_bd_init() 255 cr = (((cr & ~XAXIDMA_DELAY_MASK)) | in axienet_dma_bd_init() 258 cr |= XAXIDMA_IRQ_ALL_MASK; in axienet_dma_bd_init() [all …]
|
/linux-4.4.14/fs/ntfs/ |
D | collate.h | 29 static inline bool ntfs_is_collation_rule_supported(COLLATION_RULE cr) { in ntfs_is_collation_rule_supported() argument 37 if (unlikely(cr != COLLATION_BINARY && cr != COLLATION_NTOFS_ULONG)) in ntfs_is_collation_rule_supported() 39 i = le32_to_cpu(cr); in ntfs_is_collation_rule_supported() 46 extern int ntfs_collate(ntfs_volume *vol, COLLATION_RULE cr,
|
D | collate.c | 101 int ntfs_collate(ntfs_volume *vol, COLLATION_RULE cr, in ntfs_collate() argument 111 BUG_ON(cr != COLLATION_BINARY && cr != COLLATION_NTOFS_ULONG); in ntfs_collate() 112 i = le32_to_cpu(cr); in ntfs_collate()
|
D | logfile.c | 276 LOG_CLIENT_RECORD *ca, *cr; in ntfs_check_log_client_array() local 297 idx = le16_to_cpu(cr->next_client)) { in ntfs_check_log_client_array() 301 cr = ca + idx; in ntfs_check_log_client_array() 304 if (cr->prev_client != LOGFILE_NO_CLIENT) in ntfs_check_log_client_array()
|
/linux-4.4.14/arch/mips/kernel/ |
D | irq_txx9.c | 24 u32 cr[2]; member 45 #define TXx9_IRCR_EDGE(cr) ((cr) & 0x00000002) argument 115 u32 cr; in txx9_irq_set_type() local 130 crp = &txx9_ircptr->cr[(unsigned int)irq_nr / 8]; in txx9_irq_set_type() 131 cr = __raw_readl(crp); in txx9_irq_set_type() 133 cr &= ~(0x3 << ofs); in txx9_irq_set_type() 134 cr |= (mode & 0x3) << ofs; in txx9_irq_set_type() 135 __raw_writel(cr, crp); in txx9_irq_set_type() 167 __raw_writel(0, &txx9_ircptr->cr[i]); in txx9_irq_init()
|
/linux-4.4.14/drivers/crypto/sunxi-ss/ |
D | sun4i-ss-core.c | 224 unsigned long cr; in sun4i_ss_probe() local 303 cr = clk_get_rate(ss->busclk); in sun4i_ss_probe() 304 if (cr >= cr_ahb) in sun4i_ss_probe() 306 cr, cr / 1000000, cr_ahb); in sun4i_ss_probe() 309 cr, cr / 1000000, cr_ahb); in sun4i_ss_probe() 311 cr = clk_get_rate(ss->ssclk); in sun4i_ss_probe() 312 if (cr <= cr_mod) in sun4i_ss_probe() 313 if (cr < cr_mod) in sun4i_ss_probe() 315 cr, cr / 1000000, cr_mod); in sun4i_ss_probe() 318 cr, cr / 1000000, cr_mod); in sun4i_ss_probe() [all …]
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-ds1374.c | 193 int cr, sr; in ds1374_read_alarm() local 201 cr = ret = i2c_smbus_read_byte_data(client, DS1374_REG_CR); in ds1374_read_alarm() 218 alarm->enabled = !!(cr & DS1374_REG_CR_WACE); in ds1374_read_alarm() 232 int cr; in ds1374_set_alarm() local 258 ret = cr = i2c_smbus_read_byte_data(client, DS1374_REG_CR); in ds1374_set_alarm() 264 cr &= ~DS1374_REG_CR_WACE; in ds1374_set_alarm() 266 ret = i2c_smbus_write_byte_data(client, DS1374_REG_CR, cr); in ds1374_set_alarm() 275 cr |= DS1374_REG_CR_WACE | DS1374_REG_CR_AIE; in ds1374_set_alarm() 276 cr &= ~DS1374_REG_CR_WDALM; in ds1374_set_alarm() 278 ret = i2c_smbus_write_byte_data(client, DS1374_REG_CR, cr); in ds1374_set_alarm() [all …]
|
D | rtc-at91rm9200.c | 166 unsigned long cr; in at91_rtc_settime() local 175 cr = at91_rtc_read(AT91_RTC_CR); in at91_rtc_settime() 176 at91_rtc_write(AT91_RTC_CR, cr | AT91_RTC_UPDCAL | AT91_RTC_UPDTIM); in at91_rtc_settime() 195 cr = at91_rtc_read(AT91_RTC_CR); in at91_rtc_settime() 197 at91_rtc_write(AT91_RTC_CR, cr & ~(AT91_RTC_UPDCAL | AT91_RTC_UPDTIM)); in at91_rtc_settime()
|
/linux-4.4.14/drivers/scsi/ |
D | BusLogic.h | 295 } cr; member 1138 union blogic_cntrl_reg cr; in blogic_busreset() local 1139 cr.all = 0; in blogic_busreset() 1140 cr.cr.bus_reset = true; in blogic_busreset() 1141 outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); in blogic_busreset() 1146 union blogic_cntrl_reg cr; in blogic_intreset() local 1147 cr.all = 0; in blogic_intreset() 1148 cr.cr.int_reset = true; in blogic_intreset() 1149 outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); in blogic_intreset() 1154 union blogic_cntrl_reg cr; in blogic_softreset() local [all …]
|
/linux-4.4.14/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 330 } else if (frm->addr.cr == addr) { in get_plane_info() 332 *ret_addr = frm->addr.cr; in get_plane_info() 355 t_min = min3(frm->addr.y, frm->addr.cb, frm->addr.cr); in gsc_set_prefbuf() 358 t_max = max3(frm->addr.y, frm->addr.cb, frm->addr.cr); in gsc_set_prefbuf() 368 mid_addr = frm->addr.cr; in gsc_set_prefbuf() 506 int gsc_g_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr) in gsc_g_crop() argument 510 frame = ctx_get_frame(ctx, cr->type); in gsc_g_crop() 514 cr->c = frame->crop; in gsc_g_crop() 519 int gsc_try_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr) in gsc_try_crop() argument 527 if (cr->c.top < 0 || cr->c.left < 0) { in gsc_try_crop() [all …]
|
D | gsc-m2m.c | 490 struct v4l2_crop cr; in gsc_m2m_s_selection() local 494 cr.type = s->type; in gsc_m2m_s_selection() 495 cr.c = s->r; in gsc_m2m_s_selection() 501 ret = gsc_try_crop(ctx, &cr); in gsc_m2m_s_selection() 506 !is_rectangle_enclosed(&cr.c, &s->r)) in gsc_m2m_s_selection() 510 !is_rectangle_enclosed(&s->r, &cr.c)) in gsc_m2m_s_selection() 513 s->r = cr.c; in gsc_m2m_s_selection() 535 ret = gsc_check_scaler_ratio(variant, cr.c.width, in gsc_m2m_s_selection() 536 cr.c.height, ctx->d_frame.crop.width, in gsc_m2m_s_selection() 542 ctx->s_frame.crop.height, cr.c.width, in gsc_m2m_s_selection() [all …]
|
D | gsc-regs.c | 94 &addr->y, &addr->cb, &addr->cr); in gsc_hw_set_input_addr() 97 writel(addr->cr, dev->regs + GSC_IN_BASE_ADDR_CR(index)); in gsc_hw_set_input_addr() 105 index, &addr->y, &addr->cb, &addr->cr); in gsc_hw_set_output_addr() 108 writel(addr->cr, dev->regs + GSC_OUT_BASE_ADDR_CR(index)); in gsc_hw_set_output_addr()
|
D | gsc-core.h | 153 dma_addr_t cr; member 398 int gsc_g_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr); 399 int gsc_try_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr);
|
/linux-4.4.14/drivers/video/fbdev/ |
D | bt455.h | 35 static inline void bt455_read_cmap_entry(struct bt455_regs *regs, int cr, in bt455_read_cmap_entry() argument 38 bt455_select_reg(regs, cr); in bt455_read_cmap_entry() 47 static inline void bt455_write_cmap_entry(struct bt455_regs *regs, int cr, in bt455_write_cmap_entry() argument 50 bt455_select_reg(regs, cr); in bt455_write_cmap_entry() 59 static inline void bt455_write_ovly_entry(struct bt455_regs *regs, int cr, in bt455_write_ovly_entry() argument 62 bt455_select_reg(regs, cr); in bt455_write_ovly_entry()
|
D | bt431.h | 150 static inline u16 bt431_read_cmap(struct bt431_regs *regs, int cr) in bt431_read_cmap() argument 152 bt431_select_reg(regs, cr); in bt431_read_cmap() 156 static inline void bt431_write_cmap(struct bt431_regs *regs, int cr, u16 value) in bt431_write_cmap() argument 158 bt431_select_reg(regs, cr); in bt431_write_cmap()
|
D | simplefb.c | 53 u32 cr = red >> (16 - info->var.red.length); in simplefb_setcolreg() local 61 value = (cr << info->var.red.offset) | in simplefb_setcolreg()
|
D | offb.c | 107 u32 cr = red >> (16 - info->var.red.length); in offb_setcolreg() local 115 value = (cr << info->var.red.offset) | in offb_setcolreg()
|
/linux-4.4.14/drivers/crypto/ccp/ |
D | ccp-ops.c | 191 static int ccp_do_cmd(struct ccp_op *op, u32 *cr, unsigned int cr_count) in ccp_do_cmd() argument 224 iowrite32(*(cr + i), cr_addr); in ccp_do_cmd() 264 u32 cr[6]; in ccp_perform_aes() local 267 cr[0] = (CCP_ENGINE_AES << REQ1_ENGINE_SHIFT) in ccp_perform_aes() 272 cr[1] = op->src.u.dma.length - 1; in ccp_perform_aes() 273 cr[2] = ccp_addr_lo(&op->src.u.dma); in ccp_perform_aes() 274 cr[3] = (op->ksb_ctx << REQ4_KSB_SHIFT) in ccp_perform_aes() 277 cr[4] = ccp_addr_lo(&op->dst.u.dma); in ccp_perform_aes() 278 cr[5] = (CCP_MEMTYPE_SYSTEM << REQ6_MEMTYPE_SHIFT) in ccp_perform_aes() 282 cr[0] |= ((0x7f) << REQ1_AES_CFB_SIZE_SHIFT); in ccp_perform_aes() [all …]
|
/linux-4.4.14/drivers/iommu/ |
D | omap-iommu-debug.c | 135 static ssize_t iotlb_dump_cr(struct omap_iommu *obj, struct cr_regs *cr, in iotlb_dump_cr() argument 138 seq_printf(s, "%08x %08x %01x\n", cr->cam, cr->ram, in iotlb_dump_cr() 139 (cr->cam & MMU_CAM_P) ? 1 : 0); in iotlb_dump_cr() 146 struct cr_regs *cr; in omap_dump_tlb_entries() local 150 cr = kcalloc(num, sizeof(*cr), GFP_KERNEL); in omap_dump_tlb_entries() 151 if (!cr) in omap_dump_tlb_entries() 154 num = __dump_tlb_entries(obj, cr, num); in omap_dump_tlb_entries() 156 iotlb_dump_cr(obj, cr + i, s); in omap_dump_tlb_entries() 157 kfree(cr); in omap_dump_tlb_entries()
|
D | omap-iommu.c | 222 static u32 iotlb_cr_to_virt(struct cr_regs *cr) in iotlb_cr_to_virt() argument 224 u32 page_size = cr->cam & MMU_CAM_PGSZ_MASK; in iotlb_cr_to_virt() 225 u32 mask = get_cam_va_mask(cr->cam & page_size); in iotlb_cr_to_virt() 227 return cr->cam & mask; in iotlb_cr_to_virt() 281 static void iotlb_read_cr(struct omap_iommu *obj, struct cr_regs *cr) in iotlb_read_cr() argument 283 cr->cam = iommu_read_reg(obj, MMU_READ_CAM); in iotlb_read_cr() 284 cr->ram = iommu_read_reg(obj, MMU_READ_RAM); in iotlb_read_cr() 287 static void iotlb_load_cr(struct omap_iommu *obj, struct cr_regs *cr) in iotlb_load_cr() argument 289 iommu_write_reg(obj, cr->cam | MMU_CAM_V, MMU_CAM); in iotlb_load_cr() 290 iommu_write_reg(obj, cr->ram, MMU_RAM); in iotlb_load_cr() [all …]
|
D | omap-iommu.h | 18 #define for_each_iotlb_cr(obj, n, __i, cr) \ argument 20 (__i < (n)) && (cr = __iotlb_read_cr((obj), __i), true); \ 229 static inline int iotlb_cr_valid(struct cr_regs *cr) in iotlb_cr_valid() argument 231 if (!cr) in iotlb_cr_valid() 234 return cr->cam & MMU_CAM_V; in iotlb_cr_valid()
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_paired_singles.c | 641 u32 cr; in kvmppc_emulate_paired_single() local 662 cr = kvmppc_get_cr(vcpu); in kvmppc_emulate_paired_single() 1110 fpd_fadds(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); in kvmppc_emulate_paired_single() 1114 fpd_fsubs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); in kvmppc_emulate_paired_single() 1118 fpd_fdivs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); in kvmppc_emulate_paired_single() 1122 fpd_fres(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b); in kvmppc_emulate_paired_single() 1126 fpd_frsqrtes(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b); in kvmppc_emulate_paired_single() 1132 fpd_fmuls(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c); in kvmppc_emulate_paired_single() 1136 fpd_fmsubs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); in kvmppc_emulate_paired_single() 1140 fpd_fmadds(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); in kvmppc_emulate_paired_single() [all …]
|
D | book3s_pr.c | 162 svcpu->cr = vcpu->arch.cr; in kvmppc_copy_to_svcpu() 212 vcpu->arch.cr = svcpu->cr; in kvmppc_copy_from_svcpu()
|
D | book3s.c | 473 regs->cr = kvmppc_get_cr(vcpu); in kvm_arch_vcpu_ioctl_get_regs() 501 kvmppc_set_cr(vcpu, regs->cr); in kvm_arch_vcpu_ioctl_set_regs()
|
/linux-4.4.14/drivers/media/platform/s5p-g2d/ |
D | g2d.c | 409 struct v4l2_cropcap *cr) in vidioc_cropcap() argument 414 f = get_frame(ctx, cr->type); in vidioc_cropcap() 418 cr->bounds.left = 0; in vidioc_cropcap() 419 cr->bounds.top = 0; in vidioc_cropcap() 420 cr->bounds.width = f->width; in vidioc_cropcap() 421 cr->bounds.height = f->height; in vidioc_cropcap() 422 cr->defrect = cr->bounds; in vidioc_cropcap() 426 static int vidioc_g_crop(struct file *file, void *prv, struct v4l2_crop *cr) in vidioc_g_crop() argument 431 f = get_frame(ctx, cr->type); in vidioc_g_crop() 435 cr->c.left = f->o_height; in vidioc_g_crop() [all …]
|
/linux-4.4.14/net/bluetooth/rfcomm/ |
D | core.c | 58 static int rfcomm_send_nsc(struct rfcomm_session *s, int cr, u8 type); 59 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d); 60 static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig); 61 static int rfcomm_send_test(struct rfcomm_session *s, int cr, u8 *pattern, int len); 86 #define __addr(cr, dlci) (((dlci & 0x3f) << 2) | (cr << 1) | 0x01) argument 96 #define __mcc_type(cr, type) (((type << 2) | (cr << 1) | 0x01)) argument 895 static int rfcomm_send_nsc(struct rfcomm_session *s, int cr, u8 type) in rfcomm_send_nsc() argument 901 BT_DBG("%p cr %d type %d", s, cr, type); in rfcomm_send_nsc() 913 *ptr = __mcc_type(cr, type); ptr++; in rfcomm_send_nsc() 920 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d) in rfcomm_send_pn() argument [all …]
|
/linux-4.4.14/net/lapb/ |
D | lapb_subr.c | 129 frame->cr = LAPB_COMMAND; in lapb_decode() 131 frame->cr = LAPB_RESPONSE; in lapb_decode() 134 frame->cr = LAPB_COMMAND; in lapb_decode() 136 frame->cr = LAPB_RESPONSE; in lapb_decode() 141 frame->cr = LAPB_COMMAND; in lapb_decode() 143 frame->cr = LAPB_RESPONSE; in lapb_decode() 146 frame->cr = LAPB_COMMAND; in lapb_decode() 148 frame->cr = LAPB_RESPONSE; in lapb_decode() 282 if (lapb->frmr_data.cr == LAPB_RESPONSE) in lapb_transmit_frmr() 297 if (lapb->frmr_data.cr == LAPB_RESPONSE) in lapb_transmit_frmr()
|
D | lapb_in.c | 330 lapb_check_need_response(lapb, frame->cr, frame->pf); in lapb_state3_machine() 349 lapb_check_need_response(lapb, frame->cr, frame->pf); in lapb_state3_machine() 368 lapb_check_need_response(lapb, frame->cr, frame->pf); in lapb_state3_machine()
|
/linux-4.4.14/arch/mips/txx9/generic/ |
D | irq_tx4939.c | 36 #define TXx9_IRCR_EDGE(cr) ((cr) & 0x00000002) argument 107 u32 cr; in tx4939_irq_set_type() local 138 cr = __raw_readl(crp); in tx4939_irq_set_type() 139 cr &= ~(0x3 << ofs); in tx4939_irq_set_type() 140 cr |= (mode & 0x3) << ofs; in tx4939_irq_set_type() 141 __raw_writel(cr, crp); in tx4939_irq_set_type()
|
D | setup_tx4938.c | 209 __u64 cr = TX4938_SDRAMC_CR(i); in tx4938_setup() local 211 if (!((__u32)cr & 0x00000400)) in tx4938_setup() 213 base = (unsigned long)(cr >> 49) << 21; in tx4938_setup() 214 size = (((unsigned long)(cr >> 33) & 0x7fff) + 1) << 21; in tx4938_setup() 215 printk(" CR%d:%016llx", i, (unsigned long long)cr); in tx4938_setup() 226 if (txx9_pcode == 0x4938 && ____raw_readq(&tx4938_sramcptr->cr) & 1) { in tx4938_setup() 230 (____raw_readq(&tx4938_sramcptr->cr) >> (39-11)) in tx4938_setup() 365 ebccr = __raw_readq(&tx4938_ebuscptr->cr[i]); in tx4938_ata_init()
|
D | mem_tx4927.c | 72 for (i = 0; i < ARRAY_SIZE(tx4927_sdramcptr->cr); i++) in tx4927_get_mem_size() 73 total += tx4927_process_sdccr(&tx4927_sdramcptr->cr[i]); in tx4927_get_mem_size()
|
D | setup_tx4927.c | 196 __u64 cr = TX4927_SDRAMC_CR(i); in tx4927_setup() local 198 if (!((__u32)cr & 0x00000400)) in tx4927_setup() 200 base = (unsigned long)(cr >> 49) << 21; in tx4927_setup() 201 size = (((unsigned long)(cr >> 33) & 0x7fff) + 1) << 21; in tx4927_setup() 202 printk(" CR%d:%016llx", i, (unsigned long long)cr); in tx4927_setup()
|
D | setup_tx3927.c | 41 if (!(tx3927_romcptr->cr[i] & 0x8)) in tx3927_setup() 134 if (!(tx3927_romcptr->cr[ch] & 0x8)) in tx3927_mtd_init()
|
D | setup_tx4939.c | 246 if (____raw_readq(&tx4939_sramcptr->cr) & 1) { in tx4939_setup() 250 (____raw_readq(&tx4939_sramcptr->cr) >> (39-11)) in tx4939_setup()
|
/linux-4.4.14/sound/soc/sh/rcar/ |
D | ssi.c | 184 u32 cr; in rsnd_ssi_hw_start() local 206 cr = ssi->cr_own | in rsnd_ssi_hw_start() 211 rsnd_mod_write(mod, SSICR, cr); in rsnd_ssi_hw_start() 232 u32 cr; in rsnd_ssi_hw_stop() local 246 cr = ssi->cr_own | in rsnd_ssi_hw_stop() 249 rsnd_mod_write(mod, SSICR, cr | EN); in rsnd_ssi_hw_stop() 256 rsnd_mod_write(mod, SSICR, cr); /* disabled all */ in rsnd_ssi_hw_stop() 287 u32 cr; in rsnd_ssi_init() local 289 cr = FORCE; in rsnd_ssi_init() 295 cr |= SWL_32; in rsnd_ssi_init() [all …]
|
D | src.c | 748 u32 cr, route; in rsnd_src_set_convert_rate_gen2() local 769 cr = 0x00011110; in rsnd_src_set_convert_rate_gen2() 775 cr |= 0x1; in rsnd_src_set_convert_rate_gen2() 781 rsnd_mod_write(mod, SRC_SRCCR, cr); in rsnd_src_set_convert_rate_gen2()
|
/linux-4.4.14/drivers/isdn/hisax/ |
D | q931.c | 1192 unsigned char pd, cr_l, cr, mt; in dlogframe() local 1257 cr = *buf++; in dlogframe() 1259 cr = 0; in dlogframe() 1268 cr & 0x7f, (cr & 0x80) ? "called" : "caller", in dlogframe() 1272 cr & 0x7f, (cr & 0x80) ? "called" : "caller", in dlogframe() 1281 cr & 0x7f, (cr & 0x80) ? "called" : "caller", in dlogframe() 1285 cr & 0x7f, (cr & 0x80) ? "called" : "caller", in dlogframe() 1358 cr = *buf++; in dlogframe() 1360 cr = 0; in dlogframe() 1369 cr & 0x7f, (cr & 0x80) ? "called" : "caller", in dlogframe() [all …]
|
D | isdnl3.h | 36 struct l3_process *new_l3_process(struct PStack *st, int cr); 38 struct l3_process *getl3proc(struct PStack *st, int cr);
|
D | isdnl3.c | 128 int l, cr = 0; in getcallref() local 136 cr = *p++; in getcallref() 137 return (cr); in getcallref() 236 *getl3proc(struct PStack *st, int cr) in getl3proc() argument 241 if (p->callref == cr) in getl3proc() 249 *new_l3_process(struct PStack *st, int cr) in new_l3_process() argument 254 printk(KERN_ERR "HiSax can't get memory for cr %d\n", cr); in new_l3_process() 267 p->callref = cr; in new_l3_process()
|
D | l3_1tr6.c | 744 int i, mt, cr; in up1tr6() local 783 cr = skb->data[2]; in up1tr6() 792 if (!(proc = getl3proc(st, cr))) { in up1tr6() 794 if (cr < 128) { in up1tr6() 795 if (!(proc = new_l3_process(st, cr))) { in up1tr6() 814 if (!(proc = new_l3_process(st, cr))) { in up1tr6() 850 int i, cr; in down1tr6() local 859 cr = newcallref(); in down1tr6() 860 cr |= 0x80; in down1tr6() 861 if (!(proc = new_l3_process(st, cr))) { in down1tr6() [all …]
|
D | l3ni1.c | 85 *ni1_new_l3_process(struct PStack *st, int cr) in ni1_new_l3_process() argument 88 if (!(proc = new_l3_process(st, cr))) in ni1_new_l3_process() 196 l3ni1_dummy_invoke(struct PStack *st, int cr, int id, in l3ni1_dummy_invoke() argument 202 (cr == -1) ? "local" : "broadcast", id, ident, nlen); in l3ni1_dummy_invoke() 203 if (cr >= -1) return; /* ignore local data */ in l3ni1_dummy_invoke() 221 int cr, u_char *p) in l3ni1_parse_facility() argument 231 if ((!st) || (cr >= 0)) return; /* neither pc nor st specified */ in l3ni1_parse_facility() 353 l3ni1_dummy_invoke(st, cr, id, ident, p, nlen); in l3ni1_parse_facility() 361 { if (cr == -1) in l3ni1_parse_facility() 406 { if (cr == -1) in l3ni1_parse_facility() [all …]
|
D | l3dss1.c | 86 *dss1_new_l3_process(struct PStack *st, int cr) in dss1_new_l3_process() argument 89 if (!(proc = new_l3_process(st, cr))) in dss1_new_l3_process() 197 l3dss1_dummy_invoke(struct PStack *st, int cr, int id, in l3dss1_dummy_invoke() argument 203 (cr == -1) ? "local" : "broadcast", id, ident, nlen); in l3dss1_dummy_invoke() 204 if (cr >= -1) return; /* ignore local data */ in l3dss1_dummy_invoke() 222 int cr, u_char *p) in l3dss1_parse_facility() argument 232 if ((!st) || (cr >= 0)) return; /* neither pc nor st specified */ in l3dss1_parse_facility() 353 { l3dss1_dummy_invoke(st, cr, id, ident, p, nlen); in l3dss1_parse_facility() 432 { if (cr == -1) in l3dss1_parse_facility() 477 { if (cr == -1) in l3dss1_parse_facility() [all …]
|
/linux-4.4.14/drivers/spi/ |
D | spi-xilinx.c | 191 u16 cr; in xilinx_spi_chipselect() local 201 cr = xspi->read_fn(xspi->regs + XSPI_CR_OFFSET) & ~XSPI_CR_MODE_MASK; in xilinx_spi_chipselect() 203 cr |= XSPI_CR_CPHA; in xilinx_spi_chipselect() 205 cr |= XSPI_CR_CPOL; in xilinx_spi_chipselect() 207 cr |= XSPI_CR_LSB_FIRST; in xilinx_spi_chipselect() 209 cr |= XSPI_CR_LOOP; in xilinx_spi_chipselect() 210 xspi->write_fn(cr, xspi->regs + XSPI_CR_OFFSET); in xilinx_spi_chipselect() 245 u16 cr = 0; in xilinx_spi_txrx_bufs() local 257 cr = xspi->read_fn(xspi->regs + XSPI_CR_OFFSET); in xilinx_spi_txrx_bufs() 258 xspi->write_fn(cr | XSPI_CR_TRANS_INHIBIT, in xilinx_spi_txrx_bufs() [all …]
|
D | spi-bfin5xx.c | 495 u16 cr = bfin_read(&drv_data->regs->ctl); in bfin_spi_dma_irq_handler() local 498 bfin_write(&drv_data->regs->ctl, cr & ~BIT_CTL_ENABLE); /* Disable SPI */ in bfin_spi_dma_irq_handler() 499 bfin_write(&drv_data->regs->ctl, cr & ~BIT_CTL_TIMOD); /* Restore State */ in bfin_spi_dma_irq_handler() 562 u16 cr, cr_width = 0, dma_width, dma_config; in bfin_spi_pump_transfers() local 653 cr = bfin_read(&drv_data->regs->ctl) & ~(BIT_CTL_TIMOD | BIT_CTL_WORDSIZE); in bfin_spi_pump_transfers() 654 cr |= cr_width; in bfin_spi_pump_transfers() 655 bfin_write(&drv_data->regs->ctl, cr); in bfin_spi_pump_transfers() 716 bfin_write(&drv_data->regs->ctl, cr | BIT_CTL_TIMOD_DMA_TX); in bfin_spi_pump_transfers() 741 cr |= BIT_CTL_TIMOD_DMA_RX | BIT_CTL_SENDOPT; in bfin_spi_pump_transfers() 753 cr |= BIT_CTL_TIMOD_DMA_TX; in bfin_spi_pump_transfers() [all …]
|
D | spi-ppc4xx.c | 100 u8 cr; member 163 out_8(&hw->regs->cr, SPI_PPC4XX_CR_STR); in spi_ppc4xx_txrx() 340 out_8(&hw->regs->cr, SPI_PPC4XX_CR_STR); in spi_ppc4xx_int()
|
D | spi-adi-v3.c | 395 u32 cr, cr_width; in adi_spi_setup_transfer() local 430 cr = ioread32(&drv->regs->control) & ~SPI_CTL_SIZE; in adi_spi_setup_transfer() 431 cr |= cr_width; in adi_spi_setup_transfer() 432 iowrite32(cr, &drv->regs->control); in adi_spi_setup_transfer()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | mca_asm.S | 171 mov cr.itir=r18 172 mov cr.ifa=r17 198 mov cr.itir=r19 199 mov cr.ifa=r16 218 mov cr.itir=r19 219 mov cr.ifa=r18 472 mov r11=cr.iipa 482 mov r12=cr.isr 490 mov r6=cr.ifa 494 mov r12=cr.itir [all …]
|
D | head.S | 121 SAVE_FROM_REG(cr.dcr,_reg1,_reg2);; \ 122 SAVE_FROM_REG(cr.iva,_reg1,_reg2);; \ 123 SAVE_FROM_REG(cr.pta,_reg1,_reg2);; \ 124 SAVE_FROM_REG(cr.itv,_reg1,_reg2);; \ 125 SAVE_FROM_REG(cr.pmv,_reg1,_reg2);; \ 126 SAVE_FROM_REG(cr.cmcv,_reg1,_reg2);; \ 127 SAVE_FROM_REG(cr.lrr0,_reg1,_reg2);; \ 128 SAVE_FROM_REG(cr.lrr1,_reg1,_reg2);; \ 239 mov cr.itir=r18 240 mov cr.ifa=r17 [all …]
|
D | relocate_kernel.S | 49 mov cr.ipsr=r16 50 mov cr.iip=r3 51 mov cr.ifs=r0
|
D | minstate.h | 248 #define SAVE_MIN_WITH_COVER DO_SAVE_MIN(COVER, mov r30=cr.ifs, , RSE_WORKAROUND) 249 #define SAVE_MIN_WITH_COVER_R19 DO_SAVE_MIN(COVER, mov r30=cr.ifs, mov r15=r19, RSE_WORKAROUND)
|
/linux-4.4.14/drivers/crypto/ux500/cryp/ |
D | cryp.c | 72 CRYP_PUT_BITS(&device_data->base->cr, in cryp_activity() 93 CRYP_SET_BITS(&device_data->base->cr, CRYP_CR_FFLUSH_MASK); in cryp_flush_inoutfifo() 147 writel_relaxed(cr_for_kse, &device_data->base->cr); in cryp_set_configuration() 170 CRYP_WRITE_BIT(&device_data->base->cr, in cryp_configure_protection() 173 CRYP_PUT_BITS(&device_data->base->cr, in cryp_configure_protection() 311 ctx->cr = readl_relaxed(&src_reg->cr) & CRYP_CR_CONTEXT_SAVE_MASK; in cryp_save_device_context() 332 algomode = ((ctx->cr & CRYP_CR_ALGOMODE_MASK) >> CRYP_CR_ALGOMODE_POS); in cryp_save_device_context()
|
D | cryp_irqp.h | 83 u32 cr; /* Configuration register */ member
|
D | cryp.h | 184 u32 cr; member
|
D | cryp_core.c | 244 CRYP_PUT_BITS(&device_data->base->cr, in cryp_interrupt_handler() 411 control_register = ctx->dev_ctx.cr; in cryp_setup_context() 413 control_register = ctx->dev_ctx.cr; in cryp_setup_context() 417 &device_data->base->cr); in cryp_setup_context()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | kvm_fpu.h | 45 #define FPD_ONE_IN(name) extern void fpd_ ## name(u64 *fpscr, u32 *cr, \ 47 #define FPD_TWO_IN(name) extern void fpd_ ## name(u64 *fpscr, u32 *cr, \ 49 #define FPD_THREE_IN(name) extern void fpd_ ## name(u64 *fpscr, u32 *cr, \ 52 extern void fpd_fcmpu(u64 *fpscr, u32 *cr, u64 *src1, u64 *src2); 53 extern void fpd_fcmpo(u64 *fpscr, u32 *cr, u64 *src1, u64 *src2);
|
D | icswx.h | 171 u32 cr; in icswx() local 176 : "=r" (cr) in icswx() 180 return (int)((cr >> 28) & 0xf); in icswx()
|
D | kvm_booke.h | 49 vcpu->arch.cr = val; in kvmppc_set_cr() 54 return vcpu->arch.cr; in kvmppc_get_cr()
|
D | kvm_book3s.h | 221 vcpu->arch.cr = val; in kvmppc_set_cr() 226 return vcpu->arch.cr; in kvmppc_get_cr()
|
D | kvm_book3s_asm.h | 134 u32 cr;
|
/linux-4.4.14/Documentation/cdrom/ |
D | cdrom-standard.tex | 165 \halign{$#$\ \hfil&$#$\ \hfil&$/*$ \rm# $*/$\hfil\cr 166 struct& file_operations\ cdrom_fops = \{\hidewidth\cr 167 &NULL, & lseek \cr 168 &block_read, & read---general block-dev read \cr 169 &block_write, & write---general block-dev write \cr 170 &NULL, & readdir \cr 171 &NULL, & select \cr 172 &cdrom_ioctl, & ioctl \cr 173 &NULL, & mmap \cr 174 &cdrom_open, & open \cr [all …]
|
/linux-4.4.14/arch/parisc/kernel/ |
D | traps.c | 364 regs->gr[0] = pim_wide->cr[22]; in transfer_pim_to_trap_frame() 375 regs->iasq[0] = pim_wide->cr[17]; in transfer_pim_to_trap_frame() 377 regs->iaoq[0] = pim_wide->cr[18]; in transfer_pim_to_trap_frame() 380 regs->sar = pim_wide->cr[11]; in transfer_pim_to_trap_frame() 381 regs->iir = pim_wide->cr[19]; in transfer_pim_to_trap_frame() 382 regs->isr = pim_wide->cr[20]; in transfer_pim_to_trap_frame() 383 regs->ior = pim_wide->cr[21]; in transfer_pim_to_trap_frame() 388 regs->gr[0] = pim_narrow->cr[22]; in transfer_pim_to_trap_frame() 399 regs->iasq[0] = pim_narrow->cr[17]; in transfer_pim_to_trap_frame() 401 regs->iaoq[0] = pim_narrow->cr[18]; in transfer_pim_to_trap_frame() [all …]
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | mca_asm.h | 122 mov cr.ipsr = temp1; \ 126 mov cr.iip = temp2; \ 127 mov cr.ifs = r0; \ 199 mov cr.ipsr = temp1; \ 202 mov cr.iip = temp2; \
|
D | sal.h | 380 cr : 1, member 388 u64 cr[128]; member
|
/linux-4.4.14/arch/sh/include/asm/ |
D | mmu_context.h | 172 unsigned long cr; in disable_mmu() local 174 cr = __raw_readl(MMUCR); in disable_mmu() 175 cr &= ~MMU_CONTROL_INIT; in disable_mmu() 176 __raw_writel(cr, MMUCR); in disable_mmu()
|
/linux-4.4.14/drivers/ipack/devices/ |
D | ipoctal.c | 66 iowrite8(CR_DISABLE_RX | CR_DISABLE_TX, &channel->regs->w.cr); in ipoctal_reset_channel() 68 iowrite8(CR_CMD_RESET_RX, &channel->regs->w.cr); in ipoctal_reset_channel() 69 iowrite8(CR_CMD_RESET_TX, &channel->regs->w.cr); in ipoctal_reset_channel() 70 iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr); in ipoctal_reset_channel() 71 iowrite8(CR_CMD_RESET_MR, &channel->regs->w.cr); in ipoctal_reset_channel() 84 iowrite8(CR_ENABLE_RX, &channel->regs->w.cr); in ipoctal_port_activate() 162 iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr); in ipoctal_irq_rx() 223 iowrite8(CR_CMD_RESET_BREAK_CHANGE, &channel->regs->w.cr); in ipoctal_irq_channel() 226 iowrite8(CR_DISABLE_TX, &channel->regs->w.cr); in ipoctal_irq_channel() 230 iowrite8(CR_CMD_NEGATE_RTSN, &channel->regs->w.cr); in ipoctal_irq_channel() [all …]
|
D | scc2698.h | 35 u8 d2, cr; /* Command register */ member
|
/linux-4.4.14/arch/mips/txx9/jmr3927/ |
D | setup.c | 130 tx3927_romcptr->cr[1] = JMR3927_ROMCE1 | 0x00030048; in jmr3927_board_init() 131 tx3927_romcptr->cr[2] = JMR3927_ROMCE2 | 0x000064c8; in jmr3927_board_init() 132 tx3927_romcptr->cr[3] = JMR3927_ROMCE3 | 0x0003f698; in jmr3927_board_init() 133 tx3927_romcptr->cr[5] = JMR3927_ROMCE5 | 0x0000f218; in jmr3927_board_init()
|
/linux-4.4.14/drivers/clk/shmobile/ |
D | clk-r8a73a4.c | 113 u32 value, cr; in r8a73a4_cpg_register_clock() local 117 cr = CPG_PLL2CR; in r8a73a4_cpg_register_clock() 120 cr = CPG_PLL2SCR; in r8a73a4_cpg_register_clock() 123 cr = CPG_PLL2HCR; in r8a73a4_cpg_register_clock() 128 value = clk_readl(cpg->reg + cr); in r8a73a4_cpg_register_clock()
|
/linux-4.4.14/drivers/pwm/ |
D | pwm-imx.c | 119 u32 cr, sr; in imx_pwm_config_v2() local 144 cr = readl(imx->mmio_base + MX3_PWMCR); in imx_pwm_config_v2() 145 } while ((cr & MX3_PWMCR_SWR) && in imx_pwm_config_v2() 148 if (cr & MX3_PWMCR_SWR) in imx_pwm_config_v2() 176 cr = MX3_PWMCR_PRESCALER(prescale) | in imx_pwm_config_v2() 181 cr |= MX3_PWMCR_EN; in imx_pwm_config_v2() 183 writel(cr, imx->mmio_base + MX3_PWMCR); in imx_pwm_config_v2()
|
/linux-4.4.14/drivers/hid/usbhid/ |
D | usbkbd.c | 103 struct usb_ctrlrequest *cr; member 257 if (!(kbd->cr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL))) in usb_kbd_alloc_mem() 270 kfree(kbd->cr); in usb_kbd_free_mem() 354 kbd->cr->bRequestType = USB_TYPE_CLASS | USB_RECIP_INTERFACE; in usb_kbd_probe() 355 kbd->cr->bRequest = 0x09; in usb_kbd_probe() 356 kbd->cr->wValue = cpu_to_le16(0x200); in usb_kbd_probe() 357 kbd->cr->wIndex = cpu_to_le16(interface->desc.bInterfaceNumber); in usb_kbd_probe() 358 kbd->cr->wLength = cpu_to_le16(1); in usb_kbd_probe() 361 (void *) kbd->cr, kbd->leds, 1, in usb_kbd_probe()
|
D | hid-core.c | 401 usbhid->cr->bRequestType = USB_TYPE_CLASS | USB_RECIP_INTERFACE | dir; in hid_submit_ctrl() 402 usbhid->cr->bRequest = (dir == USB_DIR_OUT) ? HID_REQ_SET_REPORT : in hid_submit_ctrl() 404 usbhid->cr->wValue = cpu_to_le16(((report->type + 1) << 8) | in hid_submit_ctrl() 406 usbhid->cr->wIndex = cpu_to_le16(usbhid->ifnum); in hid_submit_ctrl() 407 usbhid->cr->wLength = cpu_to_le16(len); in hid_submit_ctrl() 410 usbhid->cr->bRequest == HID_REQ_SET_REPORT ? "Set_Report" : in hid_submit_ctrl() 412 usbhid->cr->wValue, usbhid->cr->wIndex, usbhid->cr->wLength); in hid_submit_ctrl() 844 usbhid->cr = kmalloc(sizeof(*usbhid->cr), GFP_KERNEL); in hid_alloc_buffers() 847 if (!usbhid->inbuf || !usbhid->outbuf || !usbhid->cr || in hid_alloc_buffers() 960 kfree(usbhid->cr); in hid_free_buffers() [all …]
|
D | usbhid.h | 75 struct usb_ctrlrequest *cr; /* Control request struct */ member
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-tpg.c | 466 int y_offset, int *y, int *cb, int *cr) in rgb2ycbcr() argument 470 *cr = ((m[2][0] * r + m[2][1] * g + m[2][2] * b) >> 16) + (128 << 4); in rgb2ycbcr() 474 int *y, int *cb, int *cr) in color_to_ycbcr() argument 534 rgb2ycbcr(full ? bt601_full : bt601, r, g, b, y_offset, y, cb, cr); in color_to_ycbcr() 539 rgb2ycbcr(bt601, r, g, b, 16, y, cb, cr); in color_to_ycbcr() 544 rgb2ycbcr(rec709, r, g, b, 16, y, cb, cr); in color_to_ycbcr() 547 rgb2ycbcr(full ? bt2020_full : bt2020, r, g, b, y_offset, y, cb, cr); in color_to_ycbcr() 560 *cr = (((r - yc) * (full ? bt2020c_full[2] : bt2020c[2])) >> 16) + (128 << 4); in color_to_ycbcr() 562 *cr = (((r - yc) * (full ? bt2020c_full[3] : bt2020c[3])) >> 16) + (128 << 4); in color_to_ycbcr() 565 rgb2ycbcr(full ? smpte240m_full : smpte240m, r, g, b, y_offset, y, cb, cr); in color_to_ycbcr() [all …]
|
/linux-4.4.14/arch/powerpc/xmon/ |
D | ppc-dis.c | 155 int cr; in print_insn_powerpc() local 158 cr = value >> 2; in print_insn_powerpc() 159 if (cr != 0) in print_insn_powerpc() 160 printf("4*cr%d+", cr); in print_insn_powerpc()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | f_uac2.c | 1274 in_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_cur() argument 1280 u16 w_length = le16_to_cpu(cr->wLength); in in_rq_cur() 1281 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_cur() 1282 u16 w_value = le16_to_cpu(cr->wValue); in in_rq_cur() 1315 in_rq_range(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_range() argument 1321 u16 w_length = le16_to_cpu(cr->wLength); in in_rq_range() 1322 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_range() 1323 u16 w_value = le16_to_cpu(cr->wValue); in in_rq_range() 1358 ac_rq_in(struct usb_function *fn, const struct usb_ctrlrequest *cr) in ac_rq_in() argument 1360 if (cr->bRequest == UAC2_CS_CUR) in ac_rq_in() [all …]
|
/linux-4.4.14/fs/ocfs2/ |
D | resize.c | 104 struct ocfs2_chain_rec *cr; in ocfs2_update_last_group_and_inode() local 152 cr = (&cl->cl_recs[chain]); in ocfs2_update_last_group_and_inode() 153 le32_add_cpu(&cr->c_total, num_bits); in ocfs2_update_last_group_and_inode() 154 le32_add_cpu(&cr->c_free, num_bits); in ocfs2_update_last_group_and_inode() 159 le32_add_cpu(&cr->c_free, -1 * backups); in ocfs2_update_last_group_and_inode() 473 struct ocfs2_chain_rec *cr; in ocfs2_group_add() local 535 cr = &cl->cl_recs[input->chain]; in ocfs2_group_add() 546 group->bg_next_group = cr->c_blkno; in ocfs2_group_add() 559 memset(cr, 0, sizeof(struct ocfs2_chain_rec)); in ocfs2_group_add() 562 cr->c_blkno = cpu_to_le64(input->group); in ocfs2_group_add() [all …]
|
/linux-4.4.14/drivers/ide/ |
D | tx4938ide.c | 27 u64 cr = __raw_readq(&tx4938_ebuscptr->cr[ebus_ch]); in tx4938ide_tune_ebusc() local 28 unsigned int sp = (cr >> 4) & 3; in tx4938ide_tune_ebusc() 55 __raw_writeq((cr & ~0x3f007ull) | (wt << 12) | shwt, in tx4938ide_tune_ebusc() 56 &tx4938_ebuscptr->cr[ebus_ch]); in tx4938ide_tune_ebusc()
|
/linux-4.4.14/arch/powerpc/boot/ |
D | ugecon.c | 48 u32 csr, data, cr; in ug_io_transaction() local 57 cr = EXI_CR_TLEN(2) | EXI_CR_READ_WRITE | EXI_CR_TSTART; in ug_io_transaction() 58 out_be32(cr_reg, cr); in ug_io_transaction()
|
/linux-4.4.14/tools/perf/util/ |
D | thread-stack.c | 59 int (*process)(struct call_return *cr, void *data); 201 struct call_return cr = { in thread_stack__call_return() local 208 cr.cp = tse->cp; in thread_stack__call_return() 209 cr.call_time = tse->timestamp; in thread_stack__call_return() 210 cr.return_time = timestamp; in thread_stack__call_return() 211 cr.branch_count = ts->branch_count - tse->branch_count; in thread_stack__call_return() 212 cr.call_ref = tse->ref; in thread_stack__call_return() 213 cr.return_ref = ref; in thread_stack__call_return() 215 cr.flags |= CALL_RETURN_NO_CALL; in thread_stack__call_return() 217 cr.flags |= CALL_RETURN_NO_RETURN; in thread_stack__call_return() [all …]
|
D | db-export.c | 418 int db_export__call_return(struct db_export *dbe, struct call_return *cr) in db_export__call_return() argument 422 if (cr->db_id) in db_export__call_return() 425 err = db_export__call_path(dbe, cr->cp); in db_export__call_return() 429 cr->db_id = ++dbe->call_return_last_db_id; in db_export__call_return() 432 return dbe->export_call_return(dbe, cr); in db_export__call_return()
|
D | db-export.h | 65 struct call_return *cr); 104 int db_export__call_return(struct db_export *dbe, struct call_return *cr);
|
D | thread-stack.h | 103 call_return_processor__new(int (*process)(struct call_return *cr, void *data),
|
/linux-4.4.14/arch/mips/include/asm/txx9/ |
D | tx3927.h | 26 volatile unsigned long cr[8]; member 33 volatile unsigned long cr[8]; member 325 #define TX3927_ROMC_BA(ch) (tx3927_romcptr->cr[(ch)] & 0xfff00000) 327 (0x00100000 << ((tx3927_romcptr->cr[(ch)] >> 8) & 0xf)) 328 #define TX3927_ROMC_WIDTH(ch) (32 >> ((tx3927_romcptr->cr[(ch)] >> 7) & 0x1))
|
D | tx4927.h | 79 u64 cr[4]; member 87 u64 cr[8]; member 203 #define TX4927_SDRAMC_CR(ch) __raw_readq(&tx4927_sdramcptr->cr[(ch)]) 208 #define TX4927_EBUSC_CR(ch) __raw_readq(&tx4927_ebuscptr->cr[(ch)])
|
D | tx4938.h | 44 u64 cr; member
|
/linux-4.4.14/drivers/pcmcia/ |
D | db1xxx_ss.c | 317 #define GET_VCC(cr, socknr) \ argument 318 ((((cr) >> 2) >> ((socknr) * 8)) & 3) 325 #define GET_RESET(cr, socknr) \ argument 326 ((cr) & (1 << (7 + (8 * (socknr))))) 332 unsigned short cr, sr; in db1x_pcmcia_get_status() local 337 cr = bcsr_read(BCSR_PCMCIA); in db1x_pcmcia_get_status() 356 status |= GET_VCC(cr, sock->nr) ? SS_POWERON : 0; in db1x_pcmcia_get_status() 363 status |= (GET_RESET(cr, sock->nr)) ? SS_READY : SS_RESET; in db1x_pcmcia_get_status()
|
/linux-4.4.14/sound/arm/ |
D | aaci.c | 233 if (!(aacirun->cr & CR_EN)) in aaci_fifo_irq() 293 if (!(aacirun->cr & CR_EN)) in aaci_fifo_irq() 464 WARN_ON(aacirun->cr & CR_EN); in aaci_pcm_close() 483 WARN_ON(aacirun->cr & CR_EN); in aaci_pcm_hw_free() 532 aacirun->cr = CR_FEN | CR_COMPACT | CR_SZ16; in aaci_pcm_hw_params() 533 aacirun->cr |= channels_to_slotmask[channels + dbl * 2]; in aaci_pcm_hw_params() 580 aacirun->cr &= ~CR_EN; in aaci_pcm_playback_stop() 582 writel(aacirun->cr, aacirun->base + AACI_TXCR); in aaci_pcm_playback_stop() 590 aacirun->cr |= CR_EN; in aaci_pcm_playback_start() 595 writel(aacirun->cr, aacirun->base + AACI_TXCR); in aaci_pcm_playback_start() [all …]
|
D | aaci.h | 210 u32 cr; member
|
/linux-4.4.14/drivers/crypto/vmx/ |
D | ppc-xlate.pl | 98 my $cr = 0; $cr = shift if ($#_>1); 101 " .long ".sprintf "0x%x",31<<26|$cr<<23|$_[0]<<16|$_[1]<<11|64 : 102 " cmplw ".join(',',$cr,@_);
|
/linux-4.4.14/drivers/net/usb/ |
D | rtl8150.c | 283 u8 cr; in rtl8150_set_mac_address() local 285 get_registers(dev, CR, 1, &cr); in rtl8150_set_mac_address() 287 cr |= 0x20; in rtl8150_set_mac_address() 288 set_registers(dev, CR, 1, &cr); in rtl8150_set_mac_address() 296 cr &= 0xdf; in rtl8150_set_mac_address() 297 set_registers(dev, CR, 1, &cr); in rtl8150_set_mac_address() 615 u8 cr, tcr, rcr, msr; in enable_net_traffic() local 623 cr = 0x0c; in enable_net_traffic() 628 set_registers(dev, CR, 1, &cr); in enable_net_traffic() 636 u8 cr; in disable_net_traffic() local [all …]
|
/linux-4.4.14/drivers/iio/temperature/ |
D | tmp006.c | 82 int cr; in tmp006_read_raw() local 114 cr = (data->config & TMP006_CONFIG_CR_MASK) in tmp006_read_raw() 116 *val = tmp006_freqs[cr][0]; in tmp006_read_raw() 117 *val2 = tmp006_freqs[cr][1]; in tmp006_read_raw()
|
/linux-4.4.14/drivers/net/ethernet/smsc/ |
D | smc911x.c | 270 unsigned mask, cfg, cr; in smc911x_enable() local 289 SMC_GET_MAC_CR(lp, cr); in smc911x_enable() 290 cr |= MAC_CR_TXEN_ | MAC_CR_HBDIS_; in smc911x_enable() 291 SMC_SET_MAC_CR(lp, cr); in smc911x_enable() 298 if (cr & MAC_CR_RXEN_) in smc911x_enable() 301 SMC_SET_MAC_CR(lp, cr | MAC_CR_RXEN_); in smc911x_enable() 327 unsigned cr; in smc911x_shutdown() local 337 SMC_GET_MAC_CR(lp, cr); in smc911x_shutdown() 338 cr &= ~(MAC_CR_TXEN_ | MAC_CR_RXEN_ | MAC_CR_HBDIS_); in smc911x_shutdown() 339 SMC_SET_MAC_CR(lp, cr); in smc911x_shutdown() [all …]
|
/linux-4.4.14/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 733 struct call_return *cr) in python_export_call_return() argument 736 u64 comm_db_id = cr->comm ? cr->comm->db_id : 0; in python_export_call_return() 741 tuple_set_u64(t, 0, cr->db_id); in python_export_call_return() 742 tuple_set_u64(t, 1, cr->thread->db_id); in python_export_call_return() 744 tuple_set_u64(t, 3, cr->cp->db_id); in python_export_call_return() 745 tuple_set_u64(t, 4, cr->call_time); in python_export_call_return() 746 tuple_set_u64(t, 5, cr->return_time); in python_export_call_return() 747 tuple_set_u64(t, 6, cr->branch_count); in python_export_call_return() 748 tuple_set_u64(t, 7, cr->call_ref); in python_export_call_return() 749 tuple_set_u64(t, 8, cr->return_ref); in python_export_call_return() [all …]
|
/linux-4.4.14/arch/powerpc/platforms/embedded6xx/ |
D | usbgecko_udbg.c | 55 u32 csr, data, cr; in ug_io_transaction() local 64 cr = EXI_CR_TLEN(2) | EXI_CR_READ_WRITE | EXI_CR_TSTART; in ug_io_transaction() 65 out_be32(cr_reg, cr); in ug_io_transaction()
|
/linux-4.4.14/drivers/input/joystick/iforce/ |
D | iforce-usb.c | 163 iforce->cr.bRequestType = USB_TYPE_VENDOR | USB_DIR_IN | USB_RECIP_INTERFACE; in iforce_usb_probe() 164 iforce->cr.wIndex = 0; in iforce_usb_probe() 165 iforce->cr.wLength = cpu_to_le16(16); in iforce_usb_probe() 174 (void*) &iforce->cr, iforce->edata, 16, iforce_usb_ctrl, iforce); in iforce_usb_probe()
|
D | iforce.h | 119 struct usb_ctrlrequest cr; member
|
D | iforce-packets.c | 255 iforce->cr.bRequest = packet[0]; in iforce_get_id_packet()
|
/linux-4.4.14/drivers/usb/storage/ |
D | transport.c | 204 us->cr->bRequestType = requesttype; in usb_stor_control_msg() 205 us->cr->bRequest = request; in usb_stor_control_msg() 206 us->cr->wValue = cpu_to_le16(value); in usb_stor_control_msg() 207 us->cr->wIndex = cpu_to_le16(index); in usb_stor_control_msg() 208 us->cr->wLength = cpu_to_le16(size); in usb_stor_control_msg() 212 (unsigned char*) us->cr, data, size, in usb_stor_control_msg() 338 us->cr->bRequestType = requesttype; in usb_stor_ctrl_transfer() 339 us->cr->bRequest = request; in usb_stor_ctrl_transfer() 340 us->cr->wValue = cpu_to_le16(value); in usb_stor_ctrl_transfer() 341 us->cr->wIndex = cpu_to_le16(index); in usb_stor_ctrl_transfer() [all …]
|
D | usb.c | 453 us->cr = kmalloc(sizeof(*us->cr), GFP_KERNEL); in associate_dev() 454 if (!us->cr) in associate_dev() 832 kfree(us->cr); in dissociate_dev()
|
D | usb.h | 142 struct usb_ctrlrequest *cr; /* control requests */ member
|
/linux-4.4.14/Documentation/devicetree/bindings/timer/ |
D | img,pistachio-gptimer.txt | 12 - img,cr-periph: Must contain a phandle to the peripheral control 27 img,cr-periph = <&cr_periph>;
|
/linux-4.4.14/Documentation/devicetree/bindings/pwm/ |
D | img-pwm.txt | 13 - img,cr-periph: Must contain a phandle to the peripheral control 23 img,cr-periph = <&cr_periph>;
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | dib3000mb.c | 457 enum fe_code_rate *cr; in dib3000mb_get_frontend() local 511 cr = &c->code_rate_LP; in dib3000mb_get_frontend() 539 cr = &c->code_rate_HP; in dib3000mb_get_frontend() 549 *cr = FEC_1_2; in dib3000mb_get_frontend() 553 *cr = FEC_2_3; in dib3000mb_get_frontend() 557 *cr = FEC_3_4; in dib3000mb_get_frontend() 561 *cr = FEC_4_5; in dib3000mb_get_frontend() 565 *cr = FEC_7_8; in dib3000mb_get_frontend()
|
D | mt312.c | 228 static int mt312_get_code_rate(struct mt312_state *state, enum fe_code_rate *cr) in mt312_get_code_rate() argument 241 *cr = fec_tab[(fec_status >> 4) & 0x07]; in mt312_get_code_rate()
|
/linux-4.4.14/Documentation/devicetree/bindings/phy/ |
D | pistachio-usb-phy.txt | 11 - img,cr-top: Must constain a phandle to the CR_TOP syscon node. 27 img,cr-top = <&cr_top>;
|
/linux-4.4.14/drivers/crypto/ux500/hash/ |
D | hash_alg.h | 112 &device_data->base->cr, \ 118 &device_data->base->cr, \ 179 u32 cr; member
|
D | hash_core.c | 710 HASH_SET_BITS(&device_data->base->cr, HASH_CR_ALGO_MASK); in hash_setconfiguration() 714 HASH_CLEAR_BITS(&device_data->base->cr, HASH_CR_ALGO_MASK); in hash_setconfiguration() 728 HASH_CLEAR_BITS(&device_data->base->cr, in hash_setconfiguration() 731 HASH_SET_BITS(&device_data->base->cr, HASH_CR_MODE_MASK); in hash_setconfiguration() 735 HASH_SET_BITS(&device_data->base->cr, in hash_setconfiguration() 740 HASH_CLEAR_BITS(&device_data->base->cr, in hash_setconfiguration() 905 HASH_CLEAR_BITS(&device_data->base->cr, in hash_dma_final() 908 HASH_SET_BITS(&device_data->base->cr, in hash_dma_final() 910 HASH_SET_BITS(&device_data->base->cr, in hash_dma_final() 1168 writel_relaxed(temp_cr & HASH_CR_RESUME_MASK, &device_data->base->cr); in hash_resume_state() [all …]
|
/linux-4.4.14/drivers/net/ethernet/sis/ |
D | sis900.c | 337 sw32(cr, rfcrSave | RELOAD); in sis635_get_mac_addr() 338 sw32(cr, 0); in sis635_get_mac_addr() 538 sw32(cr, ACCESSMODE | sr32(cr)); in sis900_probe() 1062 sw32(cr, RxENA | sr32(cr)); in sis900_open() 1548 net_dev->name, sr32(cr), sr32(isr)); in sis900_tx_timeout() 1625 sw32(cr, TxENA | sr32(cr)); in sis900_start_xmit() 1873 sw32(cr , RxENA | sr32(cr)); in sis900_rx() 1971 sw32(cr, RxDIS | TxDIS | sr32(cr)); in sis900_close() 2358 cr_saved = sr32(cr); in set_rx_mode() 2359 sw32(cr, cr_saved | TxDIS | RxDIS); in set_rx_mode() [all …]
|
D | sis900.h | 22 cr=0x0, //Command Register enumerator
|
/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 772 struct v4l2_crop *cr) in vidioc_g_crop() argument 791 cr->c.left = left; in vidioc_g_crop() 792 cr->c.top = top; in vidioc_g_crop() 793 cr->c.width = ctx->img_width - left - right; in vidioc_g_crop() 794 cr->c.height = ctx->img_height - top - bottom; in vidioc_g_crop() 797 cr->c.width, cr->c.height, right, bottom, in vidioc_g_crop() 800 cr->c.left = 0; in vidioc_g_crop() 801 cr->c.top = 0; in vidioc_g_crop() 802 cr->c.width = ctx->img_width; in vidioc_g_crop() 803 cr->c.height = ctx->img_height; in vidioc_g_crop() [all …]
|
/linux-4.4.14/net/sched/ |
D | cls_tcindex.c | 244 struct tcindex_filter_result cr; in tcindex_set_parms() local 285 tcindex_filter_result_init(&cr); in tcindex_set_parms() 287 cr.res = r->res; in tcindex_set_parms() 381 cr.res.classid = nla_get_u32(tb[TCA_TCINDEX_CLASSID]); in tcindex_set_parms() 382 tcf_bind_filter(tp, &cr.res, base); in tcindex_set_parms() 388 tcf_exts_change(tp, &cr.exts, &e); in tcindex_set_parms() 394 r->res = cr.res; in tcindex_set_parms()
|
/linux-4.4.14/Documentation/devicetree/bindings/clock/ |
D | pistachio-clock.txt | 80 - compatible: Must include "img,pistachio-periph-cr" and "syscon". 91 compatible = "img,pistachio-cr-periph", "syscon"; 106 - compatible: Must include "img,pistachio-cr-top" and "syscon". 117 compatible = "img,pistachio-cr-top", "syscon";
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
D | rt2x00usb.c | 165 struct usb_ctrlrequest cr; member 200 rd->cr.bRequestType = USB_VENDOR_REQUEST_IN; in rt2x00usb_register_read_async() 201 rd->cr.bRequest = USB_MULTI_READ; in rt2x00usb_register_read_async() 202 rd->cr.wValue = 0; in rt2x00usb_register_read_async() 203 rd->cr.wIndex = cpu_to_le16(offset); in rt2x00usb_register_read_async() 204 rd->cr.wLength = cpu_to_le16(sizeof(u32)); in rt2x00usb_register_read_async() 207 (unsigned char *)(&rd->cr), &rd->reg, sizeof(rd->reg), in rt2x00usb_register_read_async()
|
/linux-4.4.14/include/net/ |
D | llc_pdu.h | 173 #define FRMR_INFO_SET_C_R_BIT(info, cr) (info->curr_rsv |= (((u8) cr) & 0x01)) argument 231 u8 ssap, u8 dsap, u8 cr) in llc_pdu_header_init() argument 241 pdu->ssap |= cr; in llc_pdu_header_init()
|
D | lapb.h | 73 unsigned char cr; /* Command/Response */ member
|
/linux-4.4.14/drivers/power/ |
D | test_power.c | 298 int cr; in map_get_value() local 303 cr = strnlen(buf, MAX_KEYLENGTH) - 1; in map_get_value() 304 if (buf[cr] == '\n') in map_get_value() 305 buf[cr] = '\0'; in map_get_value()
|
/linux-4.4.14/arch/x86/kvm/ |
D | trace.h | 355 TP_PROTO(unsigned int rw, unsigned int cr, unsigned long val), 356 TP_ARGS(rw, cr, val), 360 __field( unsigned int, cr ) 366 __entry->cr = cr; 372 __entry->cr, __entry->val) 375 #define trace_kvm_cr_read(cr, val) trace_kvm_cr(0, cr, val) argument 376 #define trace_kvm_cr_write(cr, val) trace_kvm_cr(1, cr, val) argument
|
D | svm.c | 2858 int reg, cr; in cr_interception() local 2870 cr = SVM_EXIT_WRITE_CR0 - SVM_EXIT_READ_CR0; in cr_interception() 2872 cr = svm->vmcb->control.exit_code - SVM_EXIT_READ_CR0; in cr_interception() 2875 if (cr >= 16) { /* mov to cr */ in cr_interception() 2876 cr -= 16; in cr_interception() 2878 switch (cr) { in cr_interception() 2896 WARN(1, "unhandled write to CR%d", cr); in cr_interception() 2901 switch (cr) { in cr_interception() 2918 WARN(1, "unhandled read from CR%d", cr); in cr_interception()
|
/linux-4.4.14/Documentation/devicetree/bindings/dma/ |
D | img-mdc-dma.txt | 11 - img,cr-periph: Must contain a phandle to the peripheral control syscon 47 img,cr-periph = <&cr_periph>;
|
/linux-4.4.14/Documentation/filesystems/ |
D | coda.txt | 569 DDeessccrriippttiioonn This call is made to Venus during the initialization of 604 DDeessccrriippttiioonn This call is made to determine the ViceFid and filetype of 649 DDeessccrriippttiioonn This call returns the attributes of the file identified by 687 DDeessccrriippttiioonn The structure attr is filled with attributes to be changed 718 DDeessccrriippttiioonn Verify if access to the object identified by VFid for 730 44..88.. ccrreeaattee 759 DDeessccrriippttiioonn This upcall is invoked to request creation of a file. 816 DDeessccrriippttiioonn This call is similar to create but creates a directory. 851 DDeessccrriippttiioonn This call creates a link to the sourceFid in the directory 880 DDeessccrriippttiioonn Create a symbolic link. The link is to be placed in the [all …]
|
/linux-4.4.14/drivers/dma/hsu/ |
D | hsu.c | 47 u32 cr = HSU_CH_CR_CHA; in hsu_chan_enable() local 50 cr &= ~HSU_CH_CR_CHD; in hsu_chan_enable() 52 cr |= HSU_CH_CR_CHD; in hsu_chan_enable() 54 hsu_chan_writel(hsuc, HSU_CH_CR, cr); in hsu_chan_enable()
|
/linux-4.4.14/arch/s390/kernel/ |
D | smp.c | 501 int cr; member 513 cregs[pp->cr] = (cregs[pp->cr] & pp->andval) | pp->orval; in smp_ctl_bit_callback() 520 void smp_ctl_set_bit(int cr, int bit) in smp_ctl_set_bit() argument 522 struct ec_creg_mask_parms parms = { 1UL << bit, -1UL, cr }; in smp_ctl_set_bit() 531 void smp_ctl_clear_bit(int cr, int bit) in smp_ctl_clear_bit() argument 533 struct ec_creg_mask_parms parms = { 0, ~(1UL << bit), cr }; in smp_ctl_clear_bit()
|
D | ptrace.c | 49 unsigned long cr, cr_new; in update_cr_regs() local 51 __ctl_store(cr, 0, 0); in update_cr_regs() 53 cr_new = cr | (1UL << 55); in update_cr_regs() 56 if (cr_new != cr) in update_cr_regs() 59 __ctl_store(cr, 2, 2); in update_cr_regs() 60 cr_new = cr & ~3UL; in update_cr_regs() 67 if (cr_new != cr) in update_cr_regs()
|
D | nmi.c | 193 if (!mci.cr) { in s390_validate_registers()
|
/linux-4.4.14/drivers/net/fjes/ |
D | fjes_hw.c | 366 union REG_CR cr; in fjes_hw_issue_request_command() local 370 cr.reg = 0; in fjes_hw_issue_request_command() 371 cr.bits.req_start = 1; in fjes_hw_issue_request_command() 372 cr.bits.req_code = type; in fjes_hw_issue_request_command() 373 wr32(XSCT_CR, cr.reg); in fjes_hw_issue_request_command() 374 cr.reg = rd32(XSCT_CR); in fjes_hw_issue_request_command() 376 if (cr.bits.error == 0) { in fjes_hw_issue_request_command() 392 switch (cr.bits.err_info) { in fjes_hw_issue_request_command()
|
/linux-4.4.14/net/sunrpc/ |
D | cache.c | 967 struct cache_request *cr = in cache_ioctl() local 969 len = cr->len - rp->offset; in cache_ioctl() 1038 struct cache_request *cr; in cache_dequeue() local 1045 cr = container_of(cq, struct cache_request, q); in cache_dequeue() 1046 if (cr->item != ch) in cache_dequeue() 1051 if (cr->readers != 0) in cache_dequeue() 1053 list_move(&cr->q.list, &dequeued); in cache_dequeue() 1057 cr = list_entry(dequeued.next, struct cache_request, q.list); in cache_dequeue() 1058 list_del(&cr->q.list); in cache_dequeue() 1059 cache_put(cr->item, detail); in cache_dequeue() [all …]
|
/linux-4.4.14/net/wireless/ |
D | sme.c | 760 memcpy(ev->cr.bssid, bssid, ETH_ALEN); in cfg80211_connect_result() 762 ev->cr.req_ie = ((u8 *)ev) + sizeof(*ev); in cfg80211_connect_result() 763 ev->cr.req_ie_len = req_ie_len; in cfg80211_connect_result() 764 memcpy((void *)ev->cr.req_ie, req_ie, req_ie_len); in cfg80211_connect_result() 767 ev->cr.resp_ie = ((u8 *)ev) + sizeof(*ev) + req_ie_len; in cfg80211_connect_result() 768 ev->cr.resp_ie_len = resp_ie_len; in cfg80211_connect_result() 769 memcpy((void *)ev->cr.resp_ie, resp_ie, resp_ie_len); in cfg80211_connect_result() 771 ev->cr.status = status; in cfg80211_connect_result()
|
D | util.c | 872 if (!is_zero_ether_addr(ev->cr.bssid)) in cfg80211_process_wdev_events() 873 bssid = ev->cr.bssid; in cfg80211_process_wdev_events() 876 ev->cr.req_ie, ev->cr.req_ie_len, in cfg80211_process_wdev_events() 877 ev->cr.resp_ie, ev->cr.resp_ie_len, in cfg80211_process_wdev_events() 878 ev->cr.status, in cfg80211_process_wdev_events() 879 ev->cr.status == WLAN_STATUS_SUCCESS, in cfg80211_process_wdev_events()
|
/linux-4.4.14/drivers/tty/ |
D | n_gsm.c | 461 static void gsm_print_packet(const char *hdr, int addr, int cr, in gsm_print_packet() argument 467 pr_info("%s %d) %c: ", hdr, addr, "RC"[cr]); in gsm_print_packet() 572 static void gsm_send(struct gsm_mux *gsm, int addr, int cr, int control) in gsm_send() argument 581 cbuf[1] = (addr << 2) | (cr << 1) | EA; in gsm_send() 591 ibuf[0] = (addr << 2) | (cr << 1) | EA; in gsm_send() 607 gsm_print_packet("-->", addr, cr, control, NULL, 0); in gsm_send() 1745 u8 cr; in gsm_queue() local 1769 cr = gsm->address & 1; /* C/R bit */ in gsm_queue() 1771 gsm_print_packet("<--", address, cr, gsm->control, gsm->buf, gsm->len); in gsm_queue() 1773 cr ^= 1 - gsm->initiator; /* Flip so 1 always means command */ in gsm_queue() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/ |
D | mdc_request.c | 1471 rec->cr.cr_type, rc); in changelog_kkuc_cb() 1475 if (rec->cr.cr_index < cs->cs_startrec) { in changelog_kkuc_cb() 1478 rec->cr.cr_index, cs->cs_startrec); in changelog_kkuc_cb() 1483 " %.*s\n", rec->cr.cr_index, rec->cr.cr_type, in changelog_kkuc_cb() 1484 changelog_type2str(rec->cr.cr_type), rec->cr.cr_time, in changelog_kkuc_cb() 1485 rec->cr.cr_flags & CLF_FLAGMASK, in changelog_kkuc_cb() 1486 PFID(&rec->cr.cr_tfid), PFID(&rec->cr.cr_pfid), in changelog_kkuc_cb() 1487 rec->cr.cr_namelen, changelog_rec_name(&rec->cr)); in changelog_kkuc_cb() 1489 len = sizeof(*lh) + changelog_rec_size(&rec->cr) + rec->cr.cr_namelen; in changelog_kkuc_cb() 1493 memcpy(lh + 1, &rec->cr, len - sizeof(*lh)); in changelog_kkuc_cb()
|
/linux-4.4.14/drivers/usb/serial/ |
D | console.c | 238 unsigned char cr = 13; in usb_console_write() local 239 retval = serial->type->write(NULL, port, &cr, 1); in usb_console_write()
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | mvme16xhw.h | 15 cr, member
|
/linux-4.4.14/drivers/crypto/ |
D | img-hash.c | 166 u32 cr = IMG_HASH_BYTE_ORDER << CR_CONTROL_BYTE_ORDER_SHIFT; in img_hash_start() local 169 cr |= CR_CONTROL_ALGO_MD5; in img_hash_start() 171 cr |= CR_CONTROL_ALGO_SHA1; in img_hash_start() 173 cr |= CR_CONTROL_ALGO_SHA224; in img_hash_start() 175 cr |= CR_CONTROL_ALGO_SHA256; in img_hash_start() 177 img_hash_write(hdev, CR_CONTROL, cr); in img_hash_start()
|
/linux-4.4.14/drivers/net/ethernet/atheros/alx/ |
D | hw.c | 724 u16 adv, giga, cr; in alx_setup_speed_duplex() local 749 cr = BMCR_RESET | BMCR_ANENABLE | BMCR_ANRESTART; in alx_setup_speed_duplex() 753 alx_write_phy_reg(hw, MII_BMCR, cr)) in alx_setup_speed_duplex() 756 cr = BMCR_RESET; in alx_setup_speed_duplex() 759 cr |= BMCR_SPEED100; in alx_setup_speed_duplex() 762 cr |= BMCR_FULLDPLX; in alx_setup_speed_duplex() 764 err = alx_write_phy_reg(hw, MII_BMCR, cr); in alx_setup_speed_duplex()
|
/linux-4.4.14/sound/soc/atmel/ |
D | atmel_ssc_dai.c | 855 u32 cr; in atmel_ssc_resume() local 873 cr = 0; in atmel_ssc_resume() 874 cr |= in atmel_ssc_resume() 876 cr |= in atmel_ssc_resume() 878 ssc_writel(ssc_p->ssc->regs, CR, cr); in atmel_ssc_resume()
|
/linux-4.4.14/arch/mips/txx9/rbtx4939/ |
D | setup.c | 103 &tx4939_ebuscptr->cr[i]); in rbtx4939_ebusc_setup() 105 ____raw_writeq(____raw_readq(&tx4939_ebuscptr->cr[i]) in rbtx4939_ebusc_setup() 107 &tx4939_ebuscptr->cr[i]); in rbtx4939_ebusc_setup()
|
/linux-4.4.14/drivers/media/platform/ |
D | arv.c | 602 unsigned long cr = 0; in ar_initialize() local 621 cr |= ARVCR1_QVGA; in ar_initialize() 623 cr |= ARVCR1_NORMAL; in ar_initialize() 624 ar_outl(cr, ARVCR1); in ar_initialize()
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-class-cxl | 109 What: /sys/class/cxl/<afu>/cr<config num>/vendor 117 What: /sys/class/cxl/<afu>/cr<config num>/device 125 What: /sys/class/cxl/<afu>/cr<config num>/class 133 What: /sys/class/cxl/<afu>/cr<config num>/config
|
/linux-4.4.14/drivers/media/platform/s3c-camif/ |
D | camif-regs.c | 61 unsigned int cr, unsigned int cb) in camif_hw_set_effect() argument 94 cfg |= cr | (cb << 13); in camif_hw_set_effect() 214 paddr->cr); in camif_hw_set_output_addr() 218 i, &paddr->y, &paddr->cb, &paddr->cr); in camif_hw_set_output_addr()
|
D | camif-regs.h | 258 unsigned int cr, unsigned int cb);
|
D | camif-core.h | 314 dma_addr_t cr; member
|
D | camif-capture.c | 261 paddr->cr = 0; in camif_prepare_addr() 266 paddr->cr = 0; in camif_prepare_addr() 272 paddr->cr = (u32)(paddr->cb + (pix_size >> 1)); in camif_prepare_addr() 274 paddr->cr = (u32)(paddr->cb + (pix_size >> 2)); in camif_prepare_addr() 277 swap(paddr->cb, paddr->cr); in camif_prepare_addr() 284 &paddr->y, &paddr->cb, &paddr->cr); in camif_prepare_addr()
|
/linux-4.4.14/drivers/net/ethernet/ezchip/ |
D | nps_enet.h | 80 cr:1, member
|
D | nps_enet.c | 75 if (!rx_ctrl.cr) in nps_enet_rx_handler() 214 if ((!tx_ctrl.ct && priv->tx_packet_sent) || rx_ctrl.cr) in nps_enet_irq_handler()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | kvm_emulate.h | 201 ulong (*get_cr)(struct x86_emulate_ctxt *ctxt, int cr); 202 int (*set_cr)(struct x86_emulate_ctxt *ctxt, int cr, ulong val);
|
/linux-4.4.14/drivers/pinctrl/sh-pfc/ |
D | core.c | 320 const struct pinmux_cfg_reg *cr; in sh_pfc_config_mux() local 365 ret = sh_pfc_get_config_reg(pfc, enum_id, &cr, &field, &value); in sh_pfc_config_mux() 369 sh_pfc_write_config_reg(pfc, cr, field, value); in sh_pfc_config_mux()
|
/linux-4.4.14/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.h | 263 u32 cr; member
|
D | jpeg-hw-exynos4.c | 242 writel(exynos4_jpeg_addr->cr, base + EXYNOS4_IMG_BA_PLANE_3_REG); in exynos4_jpeg_set_frame_buf_address()
|
D | jpeg-hw-exynos3250.c | 328 writel(img_addr->cr, regs + EXYNOS3250_CHROMA_CR_BASE); in exynos3250_jpeg_imgadr()
|
/linux-4.4.14/drivers/isdn/hardware/eicon/ |
D | mi_pc.h | 72 dword cr; member
|
D | io.c | 168 ExceptionCauseTable[(READ_DWORD(&xcept->cr) & 0x0000007c) >> 2])) in dump_trap_frame() 170 READ_DWORD(&xcept->sr), READ_DWORD(&xcept->cr), in dump_trap_frame()
|
/linux-4.4.14/arch/s390/kvm/ |
D | gaccess.c | 76 unsigned long cr : 1; /* Common-Region Bit */ member 92 unsigned long cr : 1; /* Common-Region Bit */ member 106 unsigned long cr : 1; /* Common-Region Bit */ member 633 if (rtte.cr && asce.p && edat2) in guest_translate()
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd_cb.c | 2126 ksock_connreq_t *cr; in ksocknal_connd() local 2160 cr = list_entry(ksocknal_data.ksnd_connd_connreqs. \ in ksocknal_connd() 2163 list_del(&cr->ksncr_list); in ksocknal_connd() 2167 ksocknal_create_conn(cr->ksncr_ni, NULL, in ksocknal_connd() 2168 cr->ksncr_sock, SOCKLND_CONN_NONE); in ksocknal_connd() 2169 lnet_ni_decref(cr->ksncr_ni); in ksocknal_connd() 2170 LIBCFS_FREE(cr, sizeof(*cr)); in ksocknal_connd()
|
D | socklnd.c | 966 ksock_connreq_t *cr; in ksocknal_accept() local 974 LIBCFS_ALLOC(cr, sizeof(*cr)); in ksocknal_accept() 975 if (cr == NULL) { in ksocknal_accept() 982 cr->ksncr_ni = ni; in ksocknal_accept() 983 cr->ksncr_sock = sock; in ksocknal_accept() 987 list_add_tail(&cr->ksncr_list, &ksocknal_data.ksnd_connd_connreqs); in ksocknal_accept()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | pio.h | 153 volatile __le64 cr[8]; member
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
D | ptrace.h | 300 unsigned long cr[NUM_CR_WORDS]; member
|
/linux-4.4.14/include/linux/ |
D | isdnif.h | 264 __u8 cr; member
|
/linux-4.4.14/arch/powerpc/lib/ |
D | sstep.c | 487 #define __put_user_asmx(x, addr, err, op, cr) \ argument 500 : "=r" (err), "=r" (cr) \ 1772 unsigned int cr; in emulate_step() local 1842 __put_user_asmx(op.val, op.ea, err, "stwcx.", cr); in emulate_step() 1845 __put_user_asmx(op.val, op.ea, err, "stdcx.", cr); in emulate_step() 1852 (cr & 0xe0000000) | in emulate_step()
|
/linux-4.4.14/fs/ext4/ |
D | mballoc.c | 2031 ext4_group_t group, int cr) in ext4_mb_good_group() argument 2037 BUG_ON(cr < 0 || cr >= 4); in ext4_mb_good_group() 2042 if (cr <= 2 && free < ac->ac_g_ex.fe_len) in ext4_mb_good_group() 2059 switch (cr) { in ext4_mb_good_group() 2098 int cr; in ext4_mb_regular_allocator() local 2151 cr = ac->ac_2order ? 0 : 1; in ext4_mb_regular_allocator() 2157 for (; cr < 4 && ac->ac_status == AC_STATUS_CONTINUE; cr++) { in ext4_mb_regular_allocator() 2158 ac->ac_criteria = cr; in ext4_mb_regular_allocator() 2176 ret = ext4_mb_good_group(ac, group, cr); in ext4_mb_regular_allocator() 2193 ret = ext4_mb_good_group(ac, group, cr); in ext4_mb_regular_allocator() [all …]
|
/linux-4.4.14/drivers/staging/media/bcm2048/ |
D | radio-bcm2048.c | 1364 int err = 0, i, j = 0, ce = 0, cr = 0; in bcm2048_get_rds_rt() local 1381 cr = i; in bcm2048_get_rds_rt() 1392 if (cr && (i < cr)) { in bcm2048_get_rds_rt() 1397 if (cr && (i >= cr)) in bcm2048_get_rds_rt()
|
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
D | sdio.c | 1488 u8 cr; in mwifiex_process_int_status() local 1636 if (mwifiex_read_reg(adapter, CONFIGURATION_REG, &cr)) in mwifiex_process_int_status() 1640 "info: CFG reg val = %d\n", cr); in mwifiex_process_int_status() 1642 if (mwifiex_write_reg(adapter, CONFIGURATION_REG, (cr | 0x04))) in mwifiex_process_int_status() 1648 if (mwifiex_read_reg(adapter, CONFIGURATION_REG, &cr)) in mwifiex_process_int_status() 1653 "info: CFG reg val =%x\n", cr); in mwifiex_process_int_status()
|
/linux-4.4.14/include/net/bluetooth/ |
D | rfcomm.h | 227 int rfcomm_send_rpn(struct rfcomm_session *s, int cr, u8 dlci,
|
/linux-4.4.14/drivers/media/platform/am437x/ |
D | am437x-vpfe.c | 2147 struct v4l2_rect cr = vpfe->crop; in vpfe_s_selection() local 2160 v4l_bound_align_image(&r.width, 0, cr.width, 0, in vpfe_s_selection() 2161 &r.height, 0, cr.height, 0, 0); in vpfe_s_selection() 2163 r.left = clamp_t(unsigned int, r.left, 0, cr.width - r.width); in vpfe_s_selection() 2164 r.top = clamp_t(unsigned int, r.top, 0, cr.height - r.height); in vpfe_s_selection() 2182 r.left, r.top, r.width, r.height, cr.width, cr.height); in vpfe_s_selection()
|
/linux-4.4.14/drivers/net/fddi/skfp/h/ |
D | smc.h | 449 struct s_c_ring cr[NUMPHYS+NUMMACS] ; member
|
/linux-4.4.14/sound/pci/au88x0/ |
D | au88x0_core.c | 572 unsigned int cr, unsigned int b, int sweep, int d, in vortex_src_setupchannel() argument 600 if ((cr & 0x10000) && (cr != 0x10000)) { in vortex_src_setupchannel() 602 esi = 0x11 - ((cr >> 0xe) & 7); in vortex_src_setupchannel() 603 if (cr & 0x3fff) in vortex_src_setupchannel() 631 vortex_src_persist_convratio(card, src, cr); in vortex_src_setupchannel()
|
/linux-4.4.14/crypto/ |
D | Kconfig | 1203 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 1216 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 1229 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 1242 <http://cr.yp.to/chacha/chacha-20080128.pdf> 1257 <http://cr.yp.to/chacha/chacha-20080128.pdf>
|
/linux-4.4.14/Documentation/isdn/ |
D | INTERFACE.fax | 140 - cr
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 34 __u64 cr; member
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_ttyfax.c | 648 sprintf(rs, "\r\n%d", f->cr); /* read actual value from struct and print */ in isdn_tty_cmd_FCLASS2() 661 f->cr = par; in isdn_tty_cmd_FCLASS2()
|
/linux-4.4.14/drivers/net/ethernet/dec/tulip/ |
D | de4x5.c | 2748 int ana, anlpa, cap, cr, slnk, sr; in dc21140m_autoconf() local 2805 cr = test_mii_reg(dev, MII_CR, MII_CR_RAN, false, 500); in dc21140m_autoconf() 2806 if (cr < 0) { in dc21140m_autoconf() 2807 next_tick = cr & ~TIMER_CB; in dc21140m_autoconf() 2809 if (cr) { in dc21140m_autoconf() 2933 s32 cr, anlpa, ana, cap, irqs, irq_mask, imr, omr, slnk, sr, sts; in dc2114x_autoconf() local 2988 cr = test_mii_reg(dev, MII_CR, MII_CR_RAN, false, 500); in dc2114x_autoconf() 2989 if (cr < 0) { in dc2114x_autoconf() 2990 next_tick = cr & ~TIMER_CB; in dc2114x_autoconf() 2992 if (cr) { in dc2114x_autoconf()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | asm-offsets.c | 451 DEFINE(VCPU_CR, offsetof(struct kvm_vcpu, arch.cr)); in main() 608 SVCPU_FIELD(SVCPU_CR, cr); in main() 695 DEFINE(VCPU_CR, offsetof(struct kvm_vcpu, arch.cr)); in main()
|
/linux-4.4.14/drivers/media/platform/coda/ |
D | coda-bit.c | 389 u32 y, cb, cr; in coda_alloc_framebuffers() local 394 cr = y + ysize + ysize/4; in coda_alloc_framebuffers() 397 cr = 0; in coda_alloc_framebuffers() 405 coda_parabuf_write(ctx, i * 3 + 2, cr); in coda_alloc_framebuffers()
|