/drivers/target/iscsi/ |
H A D | iscsi_target_erl2.c | 85 struct iscsi_conn_recovery *cr) 88 list_add_tail(&cr->cr_list, &sess->cr_active_list); 96 struct iscsi_conn_recovery *cr) 99 list_add_tail(&cr->cr_list, &sess->cr_inactive_list); 113 struct iscsi_conn_recovery *cr; local 116 list_for_each_entry(cr, &sess->cr_inactive_list, cr_list) { 117 if (cr->cid == cid) { 119 return cr; 130 struct iscsi_conn_recovery *cr, *cr_tmp; local 133 list_for_each_entry_safe(cr, cr_tm 83 iscsit_attach_active_connection_recovery_entry( struct iscsi_session *sess, struct iscsi_conn_recovery *cr) argument 94 iscsit_attach_inactive_connection_recovery_entry( struct iscsi_session *sess, struct iscsi_conn_recovery *cr) argument 177 iscsit_remove_active_connection_recovery_entry( struct iscsi_conn_recovery *cr, struct iscsi_session *sess) argument 194 iscsit_remove_inactive_connection_recovery_entry( struct iscsi_conn_recovery *cr, struct iscsi_session *sess) argument 210 struct iscsi_conn_recovery *cr; local 223 iscsit_discard_cr_cmds_by_expstatsn( struct iscsi_conn_recovery *cr, u32 exp_statsn) argument 318 struct iscsi_conn_recovery *cr; local [all...] |
H A D | iscsi_target_tmr.c | 119 struct iscsi_conn_recovery *cr = NULL; local 135 ret = iscsit_find_cmd_for_recovery(conn->sess, &ref_cmd, &cr, hdr->rtt); 138 " %hu\n", ref_cmd->init_task_tag, cr->cid); 149 if (cr->maxrecvdatasegmentlength != 156 if (cr->maxxmitdatasegmentlength != 175 tmr_req->conn_recovery = cr; 187 struct iscsi_conn_recovery *cr, 192 spin_lock(&cr->conn_recovery_cmd_lock); 194 spin_unlock(&cr->conn_recovery_cmd_lock); 197 " %hu on SID: %u\n", cr 185 iscsit_task_reassign_remove_cmd( struct iscsi_cmd *cmd, struct iscsi_conn_recovery *cr, struct iscsi_session *sess) argument 207 struct iscsi_conn_recovery *cr; local 375 struct iscsi_conn_recovery *cr; local [all...] |
/drivers/staging/lustre/lnet/lnet/ |
H A D | acceptor.c | 145 lnet_acceptor_connreq_t cr; local 151 CLASSERT(sizeof(cr) <= 16); /* not too big to be on the stack */ 169 cr.acr_magic = LNET_PROTO_ACCEPTOR_MAGIC; 170 cr.acr_version = LNET_PROTO_ACCEPTOR_VERSION; 171 cr.acr_nid = peer_nid; 177 cr.acr_version++; 181 cr.acr_magic = LNET_PROTO_MAGIC; 187 rc = libcfs_sock_write(sock, &cr, sizeof(cr), 213 lnet_acceptor_connreq_t cr; local [all...] |
/drivers/iommu/ |
H A D | omap-iommu2.c | 154 static void omap2_tlb_read_cr(struct omap_iommu *obj, struct cr_regs *cr) argument 156 cr->cam = iommu_read_reg(obj, MMU_READ_CAM); 157 cr->ram = iommu_read_reg(obj, MMU_READ_RAM); 160 static void omap2_tlb_load_cr(struct omap_iommu *obj, struct cr_regs *cr) argument 162 iommu_write_reg(obj, cr->cam | MMU_CAM_V, MMU_CAM); 163 iommu_write_reg(obj, cr->ram, MMU_RAM); 166 static u32 omap2_cr_to_virt(struct cr_regs *cr) argument 168 u32 page_size = cr->cam & MMU_CAM_PGSZ_MASK; 169 u32 mask = get_cam_va_mask(cr->cam & page_size); 171 return cr 177 struct cr_regs *cr; local 195 omap2_cr_valid(struct cr_regs *cr) argument 213 omap2_dump_cr(struct omap_iommu *obj, struct cr_regs *cr, char *buf) argument 288 omap2_cr_to_e(struct cr_regs *cr, struct iotlb_entry *e) argument [all...] |
H A D | omap-iommu.h | 79 void (*tlb_read_cr)(struct omap_iommu *obj, struct cr_regs *cr); 80 void (*tlb_load_cr)(struct omap_iommu *obj, struct cr_regs *cr); 84 int (*cr_valid)(struct cr_regs *cr); 85 u32 (*cr_to_virt)(struct cr_regs *cr); 86 void (*cr_to_e)(struct cr_regs *cr, struct iotlb_entry *e); 87 ssize_t (*dump_cr)(struct omap_iommu *obj, struct cr_regs *cr, 197 extern void omap_iotlb_cr_to_e(struct cr_regs *cr, struct iotlb_entry *e);
|
H A D | omap-iommu.c | 41 #define for_each_iotlb_cr(obj, n, __i, cr) \ 43 (__i < (n)) && (cr = __iotlb_read_cr((obj), __i), true); \ 190 void omap_iotlb_cr_to_e(struct cr_regs *cr, struct iotlb_entry *e) argument 192 BUG_ON(!cr || !e); 194 arch_iommu->cr_to_e(cr, e); 198 static inline int iotlb_cr_valid(struct cr_regs *cr) argument 200 if (!cr) 203 return arch_iommu->cr_valid(cr); 215 static u32 iotlb_cr_to_virt(struct cr_regs *cr) argument 217 return arch_iommu->cr_to_virt(cr); 251 iotlb_read_cr(struct omap_iommu *obj, struct cr_regs *cr) argument 256 iotlb_load_cr(struct omap_iommu *obj, struct cr_regs *cr) argument 270 iotlb_dump_cr(struct omap_iommu *obj, struct cr_regs *cr, char *buf) argument 281 struct cr_regs cr; local 302 struct cr_regs *cr; local 379 struct cr_regs cr; local 474 struct cr_regs *cr; local [all...] |
/drivers/video/fbdev/ |
H A D | bt455.h | 35 static inline void bt455_read_cmap_entry(struct bt455_regs *regs, int cr, argument 38 bt455_select_reg(regs, cr); 47 static inline void bt455_write_cmap_entry(struct bt455_regs *regs, int cr, argument 50 bt455_select_reg(regs, cr); 59 static inline void bt455_write_ovly_entry(struct bt455_regs *regs, int cr, argument 62 bt455_select_reg(regs, cr);
|
H A D | bt431.h | 150 static inline u16 bt431_read_cmap(struct bt431_regs *regs, int cr) argument 152 bt431_select_reg(regs, cr); 156 static inline void bt431_write_cmap(struct bt431_regs *regs, int cr, u16 value) argument 158 bt431_select_reg(regs, cr);
|
/drivers/i2c/busses/ |
H A D | i2c-iop3xx.c | 73 u32 cr = IOP3XX_ICR_GCD | IOP3XX_ICR_SCLEN | IOP3XX_ICR_UE; local 93 cr |= IOP3XX_ICR_ALD_IE | IOP3XX_ICR_BERR_IE | 96 __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); 102 unsigned long cr = __raw_readl(iop3xx_adap->ioaddr + CR_OFFSET); local 104 cr &= ~(IOP3XX_ICR_MSTART | IOP3XX_ICR_TBYTE | 107 __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); 238 unsigned long cr = __raw_readl(iop3xx_adap->ioaddr + CR_OFFSET); local 251 cr &= ~(IOP3XX_ICR_MSTOP | IOP3XX_ICR_NACK); 252 cr |= IOP3XX_ICR_MSTART | IOP3XX_ICR_TBYTE; 254 __raw_writel(cr, iop3xx_ada 264 unsigned long cr = __raw_readl(iop3xx_adap->ioaddr + CR_OFFSET); local 286 unsigned long cr = __raw_readl(iop3xx_adap->ioaddr + CR_OFFSET); local 403 unsigned long cr = __raw_readl(adapter_data->ioaddr + CR_OFFSET); local [all...] |
/drivers/staging/lustre/lustre/obdclass/ |
H A D | llog_swab.c | 171 struct llog_changelog_rec *cr = (struct llog_changelog_rec *)rec; local 173 __swab16s(&cr->cr.cr_namelen); 174 __swab16s(&cr->cr.cr_flags); 175 __swab32s(&cr->cr.cr_type); 176 __swab64s(&cr->cr.cr_index); 177 __swab64s(&cr [all...] |
/drivers/media/platform/exynos4-is/ |
H A D | fimc-m2m.c | 400 struct v4l2_cropcap *cr) 405 frame = ctx_get_frame(ctx, cr->type); 409 cr->bounds.left = 0; 410 cr->bounds.top = 0; 411 cr->bounds.width = frame->o_width; 412 cr->bounds.height = frame->o_height; 413 cr->defrect = cr->bounds; 418 static int fimc_m2m_g_crop(struct file *file, void *fh, struct v4l2_crop *cr) argument 423 frame = ctx_get_frame(ctx, cr 399 fimc_m2m_cropcap(struct file *file, void *fh, struct v4l2_cropcap *cr) argument 435 fimc_m2m_try_crop(struct fimc_ctx *ctx, struct v4l2_crop *cr) argument 491 struct v4l2_crop cr = *crop; local [all...] |
/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 191 u32 cr; local 240 cr = axienet_dma_in32(lp, XAXIDMA_RX_CR_OFFSET); 242 cr = ((cr & ~XAXIDMA_COALESCE_MASK) | 245 cr = ((cr & ~XAXIDMA_DELAY_MASK) | 248 cr |= XAXIDMA_IRQ_ALL_MASK; 250 axienet_dma_out32(lp, XAXIDMA_RX_CR_OFFSET, cr); 253 cr = axienet_dma_in32(lp, XAXIDMA_TX_CR_OFFSET); 255 cr 804 u32 cr; local 852 u32 cr; local 976 u32 cr; local 1344 u32 cr, i; local [all...] |
/drivers/tty/serial/ |
H A D | apbuart.c | 46 unsigned int cr; local 48 cr = UART_GET_CTRL(port); 49 cr &= ~UART_CTRL_TI; 50 UART_PUT_CTRL(port, cr); 55 unsigned int cr; local 57 cr = UART_GET_CTRL(port); 58 cr |= UART_CTRL_TI; 59 UART_PUT_CTRL(port, cr); 67 unsigned int cr; local 69 cr 205 unsigned int cr; local 223 unsigned int cr; local 238 unsigned int cr; local [all...] |
/drivers/scsi/ |
H A D | BusLogic.h | 295 } cr; member in union:blogic_cntrl_reg 1138 union blogic_cntrl_reg cr; local 1139 cr.all = 0; 1140 cr.cr.bus_reset = true; 1141 outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); 1146 union blogic_cntrl_reg cr; local 1147 cr.all = 0; 1148 cr.cr 1154 union blogic_cntrl_reg cr; local 1162 union blogic_cntrl_reg cr; local [all...] |
/drivers/media/platform/exynos-gsc/ |
H A D | gsc-core.c | 330 } else if (frm->addr.cr == addr) { 332 return frm->addr.cr; 354 t_min = min3(frm->addr.y, frm->addr.cb, frm->addr.cr); 356 t_max = max3(frm->addr.y, frm->addr.cb, frm->addr.cr); 365 mid_addr = frm->addr.cr; 503 int gsc_g_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr) argument 507 frame = ctx_get_frame(ctx, cr->type); 511 cr->c = frame->crop; 516 int gsc_try_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr) argument 524 if (cr [all...] |
/drivers/crypto/ux500/cryp/ |
H A D | cryp.c | 72 CRYP_PUT_BITS(&device_data->base->cr, 93 CRYP_SET_BITS(&device_data->base->cr, CRYP_CR_FFLUSH_MASK); 105 * cryp_set_configuration - This routine set the cr CRYP IP 147 writel_relaxed(cr_for_kse, &device_data->base->cr); 170 CRYP_WRITE_BIT(&device_data->base->cr, 173 CRYP_PUT_BITS(&device_data->base->cr, 311 ctx->cr = readl_relaxed(&src_reg->cr) & CRYP_CR_CONTEXT_SAVE_MASK; 332 algomode = ((ctx->cr & CRYP_CR_ALGOMODE_MASK) >> CRYP_CR_ALGOMODE_POS);
|
H A D | cryp_irqp.h | 46 * @cr - Configuration register 83 u32 cr; /* Configuration register */ member in struct:cryp_register
|
/drivers/isdn/hisax/ |
H A 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);
|
H A D | q931.c | 1192 unsigned char pd, cr_l, cr, mt; local 1257 cr = *buf++; 1259 cr = 0; 1268 cr & 0x7f, (cr & 0x80) ? "called" : "caller", 1272 cr & 0x7f, (cr & 0x80) ? "called" : "caller", 1281 cr & 0x7f, (cr & 0x80) ? "called" : "caller", 1285 cr [all...] |
/drivers/rtc/ |
H A D | rtc-ds1374.c | 174 int cr, sr; local 182 cr = ret = i2c_smbus_read_byte_data(client, DS1374_REG_CR); 199 alarm->enabled = !!(cr & DS1374_REG_CR_WACE); 213 int cr; local 239 ret = cr = i2c_smbus_read_byte_data(client, DS1374_REG_CR); 245 cr &= ~DS1374_REG_CR_WACE; 247 ret = i2c_smbus_write_byte_data(client, DS1374_REG_CR, cr); 256 cr |= DS1374_REG_CR_WACE | DS1374_REG_CR_AIE; 257 cr &= ~DS1374_REG_CR_WDALM; 259 ret = i2c_smbus_write_byte_data(client, DS1374_REG_CR, cr); [all...] |
/drivers/crypto/ccp/ |
H A D | ccp-ops.c | 193 static int ccp_do_cmd(struct ccp_op *op, u32 *cr, unsigned int cr_count) argument 226 iowrite32(*(cr + i), cr_addr); 266 u32 cr[6]; local 269 cr[0] = (CCP_ENGINE_AES << REQ1_ENGINE_SHIFT) 274 cr[1] = op->src.u.dma.length - 1; 275 cr[2] = ccp_addr_lo(&op->src.u.dma); 276 cr[3] = (op->ksb_ctx << REQ4_KSB_SHIFT) 279 cr[4] = ccp_addr_lo(&op->dst.u.dma); 280 cr[5] = (CCP_MEMTYPE_SYSTEM << REQ6_MEMTYPE_SHIFT) 284 cr[ 297 u32 cr[6]; local 324 u32 cr[6]; local 350 u32 cr[6]; local 371 u32 cr[6]; local 412 u32 cr[6]; local [all...] |
/drivers/media/platform/s5p-g2d/ |
H A D | g2d.c | 415 struct v4l2_cropcap *cr) 420 f = get_frame(ctx, cr->type); 424 cr->bounds.left = 0; 425 cr->bounds.top = 0; 426 cr->bounds.width = f->width; 427 cr->bounds.height = f->height; 428 cr->defrect = cr->bounds; 432 static int vidioc_g_crop(struct file *file, void *prv, struct v4l2_crop *cr) argument 437 f = get_frame(ctx, cr 414 vidioc_cropcap(struct file *file, void *priv, struct v4l2_cropcap *cr) argument 448 vidioc_try_crop(struct file *file, void *prv, const struct v4l2_crop *cr) argument 467 vidioc_s_crop(struct file *file, void *prv, const struct v4l2_crop *cr) argument [all...] |
/drivers/ipack/devices/ |
H A D | ipoctal.c | 66 iowrite8(CR_DISABLE_RX | CR_DISABLE_TX, &channel->regs->w.cr); 68 iowrite8(CR_CMD_RESET_RX, &channel->regs->w.cr); 69 iowrite8(CR_CMD_RESET_TX, &channel->regs->w.cr); 70 iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr); 71 iowrite8(CR_CMD_RESET_MR, &channel->regs->w.cr); 84 iowrite8(CR_ENABLE_RX, &channel->regs->w.cr); 162 iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr); 223 iowrite8(CR_CMD_RESET_BREAK_CHANGE, &channel->regs->w.cr); 226 iowrite8(CR_DISABLE_TX, &channel->regs->w.cr); 230 iowrite8(CR_CMD_NEGATE_RTSN, &channel->regs->w.cr); [all...] |
/drivers/pwm/ |
H A D | pwm-imx.c | 119 u32 cr, sr; local 143 cr = readl(imx->mmio_base + MX3_PWMCR); 144 } while ((cr & MX3_PWMCR_SWR) && 147 if (cr & MX3_PWMCR_SWR) 175 cr = MX3_PWMCR_PRESCALER(prescale) | 180 cr |= MX3_PWMCR_EN; 182 writel(cr, imx->mmio_base + MX3_PWMCR);
|
/drivers/hid/usbhid/ |
H A D | usbkbd.c | 84 * @cr: Control request for @led URB 103 struct usb_ctrlrequest *cr; member in struct:usb_kbd 257 if (!(kbd->cr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL))) 270 kfree(kbd->cr); 354 kbd->cr->bRequestType = USB_TYPE_CLASS | USB_RECIP_INTERFACE; 355 kbd->cr->bRequest = 0x09; 356 kbd->cr->wValue = cpu_to_le16(0x200); 357 kbd->cr->wIndex = cpu_to_le16(interface->desc.bInterfaceNumber); 358 kbd->cr->wLength = cpu_to_le16(1); 361 (void *) kbd->cr, kb [all...] |