Home
last modified time | relevance | path

Searched refs:gen (Results 1 – 20 of 20) sorted by relevance

/drivers/misc/sgi-gru/
Dgrukservices.c137 struct gru_control_block_status *gen = (void *)cb; in gru_get_cb_exception_detail_str() local
140 if (ret > 0 && gen->istatus == CBS_EXCEPTION) { in gru_get_cb_exception_detail_str()
145 gen, excdet.opc, excdet.exopc, excdet.ecause, in gru_get_cb_exception_detail_str()
153 static int gru_wait_idle_or_exception(struct gru_control_block_status *gen) in gru_wait_idle_or_exception() argument
155 while (gen->istatus >= CBS_ACTIVE) { in gru_wait_idle_or_exception()
159 return gen->istatus; in gru_wait_idle_or_exception()
164 struct gru_control_block_status *gen = (void *)cb; in gru_retry_exception() local
171 if (gru_wait_idle_or_exception(gen) == CBS_IDLE) in gru_retry_exception()
179 gen->icmd = 1; in gru_retry_exception()
180 gru_flush_cache(gen); in gru_retry_exception()
[all …]
/drivers/scsi/aic7xxx/
DMakefile50 aic7xxx-gen-$(CONFIG_AIC7XXX_BUILD_FIRMWARE) := $(obj)/aic7xxx_reg.h
51 aic7xxx-gen-$(CONFIG_AIC7XXX_REG_PRETTY_PRINT) += $(obj)/aic7xxx_reg_print.c
62 $(aic7xxx-gen-y): $(obj)/aic7xxx_seq.h
67 aic79xx-gen-$(CONFIG_AIC79XX_BUILD_FIRMWARE) := $(obj)/aic79xx_reg.h
68 aic79xx-gen-$(CONFIG_AIC79XX_REG_PRETTY_PRINT) += $(obj)/aic79xx_reg_print.c
79 $(aic79xx-gen-y): $(obj)/aic79xx_seq.h
/drivers/net/cxgb3/
Dsge.c386 unsigned int gen, struct pci_dev *pdev) in add_one_rx_buf() argument
399 d->len_gen = cpu_to_be32(V_FLD_GEN1(gen)); in add_one_rx_buf()
400 d->gen2 = cpu_to_be32(V_FLD_GEN2(gen)); in add_one_rx_buf()
463 err = add_one_rx_buf(buf_start, q->buf_size, d, sd, q->gen, in refill_fl()
477 q->gen ^= 1; in refill_fl()
516 to->len_gen = cpu_to_be32(V_FLD_GEN1(q->gen)); in recycle_rx_buf()
517 to->gen2 = cpu_to_be32(V_FLD_GEN2(q->gen)); in recycle_rx_buf()
522 q->gen ^= 1; in recycle_rx_buf()
941 static inline void wr_gen2(struct tx_desc *d, unsigned int gen) in wr_gen2() argument
944 d->flit[TX_DESC_FLITS - 1] = cpu_to_be64(gen); in wr_gen2()
[all …]
Dadapter.h98 unsigned int gen; /* free list generation */ member
122 unsigned int gen; /* current generation bit */ member
161 unsigned int gen; /* current value of generation bit */ member
Dcommon.h783 unsigned int size, unsigned int token, int gen,
787 unsigned int esize, unsigned int cong_thres, int gen,
791 unsigned int fl_thres, int gen, unsigned int cidx);
Dt3_hw.c2031 unsigned int size, unsigned int token, int gen, in t3_sge_init_ecntxt() argument
2051 V_EC_TYPE(type) | V_EC_GEN(gen) | V_EC_UP_TOKEN(token) | in t3_sge_init_ecntxt()
2074 unsigned int bsize, unsigned int cong_thres, int gen, in t3_sge_init_flcntxt() argument
2089 V_FL_GEN(gen) | V_FL_INDEX_HI(cidx >> 12) | in t3_sge_init_flcntxt()
2114 unsigned int fl_thres, int gen, unsigned int cidx) in t3_sge_init_rspcntxt() argument
2131 V_CQ_BASE_HI((u32) base_addr) | intr | V_RQ_GEN(gen)); in t3_sge_init_rspcntxt()
/drivers/zorro/
DMakefile8 hostprogs-y := gen-devlist
18 cmd_devlist = ( cd $(obj); ./gen-devlist ) < $<
19 $(obj)/devlist.h: $(src)/zorro.ids $(obj)/gen-devlist
D.gitignore2 gen-devlist
/drivers/scsi/
Dgdth.c4166 gdth_ioctl_general gen; in ioc_general() local
4172 if (copy_from_user(&gen, arg, sizeof(gdth_ioctl_general))) in ioc_general()
4174 ha = gdth_find_ha(gen.ionode); in ioc_general()
4177 if (gen.data_len + gen.sense_len != 0) { in ioc_general()
4178 if (!(buf = gdth_ioctl_alloc(ha, gen.data_len + gen.sense_len, in ioc_general()
4182 gen.data_len + gen.sense_len)) { in ioc_general()
4183 gdth_ioctl_free(ha, gen.data_len+gen.sense_len, buf, paddr); in ioc_general()
4187 if (gen.command.OpCode == GDT_IOCTL) { in ioc_general()
4188 gen.command.u.ioctl.p_param = paddr; in ioc_general()
4189 } else if (gen.command.Service == CACHESERVICE) { in ioc_general()
[all …]
Dncr53c8xx.c7849 static unsigned __init ncrgetfreq (struct ncb *np, int gen) argument
7876 OUTB (nc_stime1, gen); /* set to nominal delay of 1<<gen * 125us */
7890 printk ("%s: Delay (GEN=%d): %u msec\n", ncr_name(np), gen, ms);
7894 return ms ? ((1 << gen) * 4340) / ms : 0;
/drivers/ieee1394/
Dcsr.h53 static inline void csr_set_bus_info_generation(struct csr1212_csr *csr, u8 gen) in csr_set_bus_info_generation() argument
56 csr->bus_info_data[2] |= cpu_to_be32((u32)gen << CSR_GENERATION_SHIFT); in csr_set_bus_info_generation()
/drivers/infiniband/hw/ipath/
Dipath_keys.c74 rkt->gen++; in ipath_alloc_lkey()
76 ((((1 << (24 - ib_ipath_lkey_table_size)) - 1) & rkt->gen) in ipath_alloc_lkey()
80 rkt->gen++; in ipath_alloc_lkey()
Dipath_verbs.h525 u32 gen; /* generation count */ member
/drivers/net/chelsio/
Dsge.c1149 unsigned int len, unsigned int gen, in write_tx_desc() argument
1156 e->len_gen = V_CMD_LEN(len) | V_CMD_GEN1(gen); in write_tx_desc()
1157 e->flags = F_CMD_DATAVALID | V_CMD_EOP(eop) | V_CMD_GEN2(gen); in write_tx_desc()
1169 unsigned int *gen, in write_large_page_tx_descs() argument
1182 *gen, nfrags == 0 && *desc_len == 0); in write_large_page_tx_descs()
1191 *gen ^= 1; in write_large_page_tx_descs()
1208 unsigned int pidx, unsigned int gen, in write_tx_descs() argument
1228 V_CMD_GEN2(gen); in write_tx_descs()
1233 e->len_gen = V_CMD_LEN(first_desc_len) | V_CMD_GEN1(gen); in write_tx_descs()
1245 gen ^= 1; in write_tx_descs()
[all …]
/drivers/pci/
D.gitignore3 gen-devlist
/drivers/net/skfp/
Dskfddi.c1085 bp->MacStat.gen.tx_errors++; /* bump error counter */ in skfp_send_pkt()
1536 smc->os.MacStat.gen.tx_packets++; // Count transmitted packets. in mac_drv_tx_complete()
1537 smc->os.MacStat.gen.tx_bytes+=skb->len; // Count bytes in mac_drv_tx_complete()
1619 smc->os.MacStat.gen.rx_errors++; in mac_drv_rx_complete()
1672 smc->os.MacStat.gen.rx_packets++; // Count indicated receive in mac_drv_rx_complete()
1674 smc->os.MacStat.gen.rx_bytes+=len; // Count bytes. in mac_drv_rx_complete()
1679 smc->os.MacStat.gen.multicast++; in mac_drv_rx_complete()
1695 smc->os.MacStat.gen.rx_errors++; // Count receive packets in mac_drv_rx_complete()
2070 smc->os.MacStat.gen.rx_errors++; in smt_stat_counter()
/drivers/net/
Ddefxx.c2015 bp->stats.gen.rx_packets = bp->rcv_total_frames; in dfx_ctl_get_stats()
2016 bp->stats.gen.tx_packets = bp->xmt_total_frames; in dfx_ctl_get_stats()
2017 bp->stats.gen.rx_bytes = bp->rcv_total_bytes; in dfx_ctl_get_stats()
2018 bp->stats.gen.tx_bytes = bp->xmt_total_bytes; in dfx_ctl_get_stats()
2019 bp->stats.gen.rx_errors = bp->rcv_crc_errors + in dfx_ctl_get_stats()
2022 bp->stats.gen.tx_errors = bp->xmt_length_errors; in dfx_ctl_get_stats()
2023 bp->stats.gen.rx_dropped = bp->rcv_discards; in dfx_ctl_get_stats()
2024 bp->stats.gen.tx_dropped = bp->xmt_discards; in dfx_ctl_get_stats()
2025 bp->stats.gen.multicast = bp->rcv_multicast_frames; in dfx_ctl_get_stats()
2026 bp->stats.gen.collisions = 0; /* always zero (0) for FDDI */ in dfx_ctl_get_stats()
/drivers/scsi/libfc/
Dfc_lport.c432 struct fc_els_rnid_gen gen; in fc_lport_recv_rnid_req() member
454 len -= sizeof(rp->gen); in fc_lport_recv_rnid_req()
466 rp->rnid.rnid_sid_len = sizeof(rp->gen); in fc_lport_recv_rnid_req()
467 memcpy(&rp->gen, &lport->rnid_gen, in fc_lport_recv_rnid_req()
468 sizeof(rp->gen)); in fc_lport_recv_rnid_req()
/drivers/ata/
Dsata_mv.c3343 const char *scc_s, *gen; in mv_print_info() local
3357 gen = "I"; in mv_print_info()
3359 gen = "II"; in mv_print_info()
3361 gen = "IIE"; in mv_print_info()
3363 gen = "?"; in mv_print_info()
3367 gen, (unsigned)MV_MAX_Q_DEPTH, host->n_ports, in mv_print_info()
/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c305 static unsigned getfreq (struct sym_hcb *np, int gen) in getfreq() argument
340 OUTB(np, nc_stime1, gen); /* set to nominal delay of 1<<gen * 125us */ in getfreq()
361 f = ms ? ((1 << gen) * (4340*4)) / ms : 0; in getfreq()
372 sym_name(np), gen, ms/4, f); in getfreq()
380 int gen = 8; in sym_getfreq() local
382 getfreq (np, gen); /* throw away first result */ in sym_getfreq()
383 f1 = getfreq (np, gen); in sym_getfreq()
384 f2 = getfreq (np, gen); in sym_getfreq()