Home
last modified time | relevance | path

Searched refs:event_index (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/net/irda/irnet/
Dirnet_ppp.c316 if(ap->event_index != irnet_events.index) in irnet_ctrl_read()
339 switch(irnet_events.log[ap->event_index].event) in irnet_ctrl_read()
343 irnet_events.log[ap->event_index].daddr, in irnet_ctrl_read()
344 irnet_events.log[ap->event_index].name, in irnet_ctrl_read()
345 irnet_events.log[ap->event_index].saddr, in irnet_ctrl_read()
346 irnet_events.log[ap->event_index].hints.byte[0], in irnet_ctrl_read()
347 irnet_events.log[ap->event_index].hints.byte[1]); in irnet_ctrl_read()
351 irnet_events.log[ap->event_index].daddr, in irnet_ctrl_read()
352 irnet_events.log[ap->event_index].name, in irnet_ctrl_read()
353 irnet_events.log[ap->event_index].saddr, in irnet_ctrl_read()
[all …]
Dirnet.h411 int event_index; /* Last read in the event log */ member
/linux-2.6.39/arch/powerpc/kernel/
Dmpc7450-pmu.c266 u8 event_index[N_CLASSES][N_COUNTER]; in mpc7450_compute_mmcr() local
284 event_index[class][j] = i; in mpc7450_compute_mmcr()
290 ev = event[event_index[class][i]]; in mpc7450_compute_mmcr()
317 hwc[event_index[class][i]] = pmc - 1; in mpc7450_compute_mmcr()
/linux-2.6.39/drivers/scsi/
D3w-9xxx.c649 unsigned char event_index, start_index; in twa_chrdev_ioctl() local
765 event_index = (tw_dev->error_index - 1 + TW_Q_LENGTH) % TW_Q_LENGTH; in twa_chrdev_ioctl()
766 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
767 tw_dev->event_queue[event_index]->retrieved = TW_AEN_RETRIEVED; in twa_chrdev_ioctl()
776 event_index = tw_dev->error_index; in twa_chrdev_ioctl()
783 event_index = 0; in twa_chrdev_ioctl()
785 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
786 tw_dev->event_queue[event_index]->retrieved = TW_AEN_RETRIEVED; in twa_chrdev_ioctl()
806event_index = (start_index + sequence_id - tw_dev->event_queue[start_index]->sequence_id + 1) % TW… in twa_chrdev_ioctl()
808 if (!(tw_dev->event_queue[event_index]->sequence_id > sequence_id)) { in twa_chrdev_ioctl()
[all …]