Lines Matching refs:pacb

1035 static void arcmsr_init_get_devmap_timer(struct AdapterControlBlock *pacb)  in arcmsr_init_get_devmap_timer()  argument
1037 INIT_WORK(&pacb->arcmsr_do_message_isr_bh, arcmsr_message_isr_bh_fn); in arcmsr_init_get_devmap_timer()
1038 pacb->fw_flag = FW_NORMAL; in arcmsr_init_get_devmap_timer()
1039 timer_setup(&pacb->eternal_timer, arcmsr_request_device_map, 0); in arcmsr_init_get_devmap_timer()
1040 pacb->eternal_timer.expires = jiffies + msecs_to_jiffies(6 * HZ); in arcmsr_init_get_devmap_timer()
1041 add_timer(&pacb->eternal_timer); in arcmsr_init_get_devmap_timer()
1044 static void arcmsr_init_set_datetime_timer(struct AdapterControlBlock *pacb) in arcmsr_init_set_datetime_timer() argument
1046 timer_setup(&pacb->refresh_timer, arcmsr_set_iop_datetime, 0); in arcmsr_init_set_datetime_timer()
1047 pacb->refresh_timer.expires = jiffies + msecs_to_jiffies(60 * 1000); in arcmsr_init_set_datetime_timer()
1048 add_timer(&pacb->refresh_timer); in arcmsr_init_set_datetime_timer()
3936 struct AdapterControlBlock *pacb = from_timer(pacb, t, refresh_timer); in arcmsr_set_iop_datetime() local
3965 switch (pacb->adapter_type) { in arcmsr_set_iop_datetime()
3967 struct MessageUnit_A __iomem *reg = pacb->pmuA; in arcmsr_set_iop_datetime()
3975 struct MessageUnit_B *reg = pacb->pmuB; in arcmsr_set_iop_datetime()
3983 struct MessageUnit_C __iomem *reg = pacb->pmuC; in arcmsr_set_iop_datetime()
3992 struct MessageUnit_D *reg = pacb->pmuD; in arcmsr_set_iop_datetime()
4000 struct MessageUnit_E __iomem *reg = pacb->pmuE; in arcmsr_set_iop_datetime()
4004 pacb->out_doorbell ^= ARCMSR_HBEMU_DRV2IOP_MESSAGE_CMD_DONE; in arcmsr_set_iop_datetime()
4005 writel(pacb->out_doorbell, &reg->iobound_doorbell); in arcmsr_set_iop_datetime()
4009 struct MessageUnit_F __iomem *reg = pacb->pmuF; in arcmsr_set_iop_datetime()
4011 pacb->msgcode_rwbuffer[0] = datetime.b.msg_time[0]; in arcmsr_set_iop_datetime()
4012 pacb->msgcode_rwbuffer[1] = datetime.b.msg_time[1]; in arcmsr_set_iop_datetime()
4014 pacb->out_doorbell ^= ARCMSR_HBEMU_DRV2IOP_MESSAGE_CMD_DONE; in arcmsr_set_iop_datetime()
4015 writel(pacb->out_doorbell, &reg->iobound_doorbell); in arcmsr_set_iop_datetime()
4023 mod_timer(&pacb->refresh_timer, jiffies + msecs_to_jiffies(next_time)); in arcmsr_set_iop_datetime()