aic 224 arch/mips/include/asm/octeon/cvmx-pciercx-defs.h __BITFIELD_FIELD(uint32_t aic:1, aic 51 drivers/irqchip/irq-atmel-aic-common.c struct aic_chip_data *aic = gc->private; aic 62 drivers/irqchip/irq-atmel-aic-common.c if (!(d->mask & aic->ext_irqs)) aic 68 drivers/irqchip/irq-atmel-aic-common.c if (!(d->mask & aic->ext_irqs)) aic 113 drivers/irqchip/irq-atmel-aic-common.c struct aic_chip_data *aic; aic 120 drivers/irqchip/irq-atmel-aic-common.c aic = gc->private; aic 121 drivers/irqchip/irq-atmel-aic-common.c aic->ext_irqs |= 1; aic 131 drivers/irqchip/irq-atmel-aic-common.c aic = gc->private; aic 132 drivers/irqchip/irq-atmel-aic-common.c aic->ext_irqs |= (1 << (hwirq % 32)); aic 215 drivers/irqchip/irq-atmel-aic-common.c struct aic_chip_data *aic; aic 227 drivers/irqchip/irq-atmel-aic-common.c aic = kcalloc(nchips, sizeof(*aic), GFP_KERNEL); aic 228 drivers/irqchip/irq-atmel-aic-common.c if (!aic) { aic 233 drivers/irqchip/irq-atmel-aic-common.c domain = irq_domain_add_linear(node, nchips * 32, ops, aic); aic 257 drivers/irqchip/irq-atmel-aic-common.c gc->private = &aic[i]; aic 269 drivers/irqchip/irq-atmel-aic-common.c kfree(aic); aic 49 drivers/irqchip/irq-jcore-aic.c struct irq_chip *aic = d->host_data; aic 51 drivers/irqchip/irq-jcore-aic.c irq_set_chip_and_handler(irq, aic, handle_jcore_irq); aic 322 drivers/net/ethernet/emulex/benet/be_ethtool.c struct be_aic_obj *aic = &adapter->aic_obj[0]; aic 324 drivers/net/ethernet/emulex/benet/be_ethtool.c et->rx_coalesce_usecs = aic->prev_eqd; aic 325 drivers/net/ethernet/emulex/benet/be_ethtool.c et->rx_coalesce_usecs_high = aic->max_eqd; aic 326 drivers/net/ethernet/emulex/benet/be_ethtool.c et->rx_coalesce_usecs_low = aic->min_eqd; aic 328 drivers/net/ethernet/emulex/benet/be_ethtool.c et->tx_coalesce_usecs = aic->prev_eqd; aic 329 drivers/net/ethernet/emulex/benet/be_ethtool.c et->tx_coalesce_usecs_high = aic->max_eqd; aic 330 drivers/net/ethernet/emulex/benet/be_ethtool.c et->tx_coalesce_usecs_low = aic->min_eqd; aic 345 drivers/net/ethernet/emulex/benet/be_ethtool.c struct be_aic_obj *aic = &adapter->aic_obj[0]; aic 352 drivers/net/ethernet/emulex/benet/be_ethtool.c aic->max_eqd = min(et->rx_coalesce_usecs_high, BE_MAX_EQD); aic 353 drivers/net/ethernet/emulex/benet/be_ethtool.c aic->min_eqd = min(et->rx_coalesce_usecs_low, aic->max_eqd); aic 354 drivers/net/ethernet/emulex/benet/be_ethtool.c aic->et_eqd = min(et->rx_coalesce_usecs, aic->max_eqd); aic 355 drivers/net/ethernet/emulex/benet/be_ethtool.c aic->et_eqd = max(aic->et_eqd, aic->min_eqd); aic 356 drivers/net/ethernet/emulex/benet/be_ethtool.c aic++; aic 2129 drivers/net/ethernet/emulex/benet/be_main.c static void be_aic_update(struct be_aic_obj *aic, u64 rx_pkts, u64 tx_pkts, aic 2132 drivers/net/ethernet/emulex/benet/be_main.c aic->rx_pkts_prev = rx_pkts; aic 2133 drivers/net/ethernet/emulex/benet/be_main.c aic->tx_reqs_prev = tx_pkts; aic 2134 drivers/net/ethernet/emulex/benet/be_main.c aic->jiffies = now; aic 2141 drivers/net/ethernet/emulex/benet/be_main.c struct be_aic_obj *aic; aic 2149 drivers/net/ethernet/emulex/benet/be_main.c aic = &adapter->aic_obj[eqo->idx]; aic 2151 drivers/net/ethernet/emulex/benet/be_main.c if (aic->jiffies) aic 2152 drivers/net/ethernet/emulex/benet/be_main.c aic->jiffies = 0; aic 2153 drivers/net/ethernet/emulex/benet/be_main.c eqd = aic->et_eqd; aic 2173 drivers/net/ethernet/emulex/benet/be_main.c if (!aic->jiffies || time_before(now, aic->jiffies) || aic 2174 drivers/net/ethernet/emulex/benet/be_main.c rx_pkts < aic->rx_pkts_prev || aic 2175 drivers/net/ethernet/emulex/benet/be_main.c tx_pkts < aic->tx_reqs_prev) { aic 2176 drivers/net/ethernet/emulex/benet/be_main.c be_aic_update(aic, rx_pkts, tx_pkts, now); aic 2177 drivers/net/ethernet/emulex/benet/be_main.c return aic->prev_eqd; aic 2180 drivers/net/ethernet/emulex/benet/be_main.c delta = jiffies_to_msecs(now - aic->jiffies); aic 2182 drivers/net/ethernet/emulex/benet/be_main.c return aic->prev_eqd; aic 2184 drivers/net/ethernet/emulex/benet/be_main.c pps = (((u32)(rx_pkts - aic->rx_pkts_prev) * 1000) / delta) + aic 2185 drivers/net/ethernet/emulex/benet/be_main.c (((u32)(tx_pkts - aic->tx_reqs_prev) * 1000) / delta); aic 2190 drivers/net/ethernet/emulex/benet/be_main.c eqd = min_t(u32, eqd, aic->max_eqd); aic 2191 drivers/net/ethernet/emulex/benet/be_main.c eqd = max_t(u32, eqd, aic->min_eqd); aic 2193 drivers/net/ethernet/emulex/benet/be_main.c be_aic_update(aic, rx_pkts, tx_pkts, now); aic 2202 drivers/net/ethernet/emulex/benet/be_main.c struct be_aic_obj *aic = &adapter->aic_obj[eqo->idx]; aic 2210 drivers/net/ethernet/emulex/benet/be_main.c if (jiffies_to_msecs(now - aic->jiffies) < 1) aic 2211 drivers/net/ethernet/emulex/benet/be_main.c eqd = aic->prev_eqd; aic 2224 drivers/net/ethernet/emulex/benet/be_main.c aic->prev_eqd = eqd; aic 2232 drivers/net/ethernet/emulex/benet/be_main.c struct be_aic_obj *aic; aic 2237 drivers/net/ethernet/emulex/benet/be_main.c aic = &adapter->aic_obj[eqo->idx]; aic 2239 drivers/net/ethernet/emulex/benet/be_main.c if (force_update || eqd != aic->prev_eqd) { aic 2242 drivers/net/ethernet/emulex/benet/be_main.c aic->prev_eqd = eqd; aic 2954 drivers/net/ethernet/emulex/benet/be_main.c struct be_aic_obj *aic; aic 2967 drivers/net/ethernet/emulex/benet/be_main.c aic = &adapter->aic_obj[i]; aic 2970 drivers/net/ethernet/emulex/benet/be_main.c aic->max_eqd = BE_MAX_EQD; aic 167 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; aic 177 drivers/net/wireless/ath/ath9k/ar9003_aic.c aic->aic_sram[i] = 0; aic 251 drivers/net/wireless/ath/ath9k/ar9003_aic.c aic->aic_cal_start_time = REG_READ(ah, AR_TSF_L32); aic 258 drivers/net/wireless/ath/ath9k/ar9003_aic.c aic->aic_caled_chan = 0; aic 259 drivers/net/wireless/ath/ath9k/ar9003_aic.c aic->aic_cal_state = AIC_CAL_STATE_STARTED; aic 261 drivers/net/wireless/ath/ath9k/ar9003_aic.c return aic->aic_cal_state; aic 266 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; aic 280 drivers/net/wireless/ath/ath9k/ar9003_aic.c value = aic->aic_sram[i]; aic 387 drivers/net/wireless/ath/ath9k/ar9003_aic.c fixed_com_att_db = com_att_db_table[MS(aic->aic_sram[i], aic 420 drivers/net/wireless/ath/ath9k/ar9003_aic.c aic->aic_sram[i] = (SM(sram.vga_dir_sign, aic 439 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; aic 447 drivers/net/wireless/ath/ath9k/ar9003_aic.c aic->aic_cal_state = AIC_CAL_STATE_DONE; aic 449 drivers/net/wireless/ath/ath9k/ar9003_aic.c aic->aic_cal_state = AIC_CAL_STATE_ERROR; aic 456 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; aic 462 drivers/net/wireless/ath/ath9k/ar9003_aic.c aic->aic_cal_state = AIC_CAL_STATE_ERROR; aic 463 drivers/net/wireless/ath/ath9k/ar9003_aic.c return aic->aic_cal_state; aic 495 drivers/net/wireless/ath/ath9k/ar9003_aic.c if (aic->aic_sram[i] == 0) aic 496 drivers/net/wireless/ath/ath9k/ar9003_aic.c aic->aic_caled_chan++; aic 498 drivers/net/wireless/ath/ath9k/ar9003_aic.c aic->aic_sram[i] = value; aic 505 drivers/net/wireless/ath/ath9k/ar9003_aic.c if ((aic->aic_caled_chan >= num_chan) || cal_once) { aic 515 drivers/net/wireless/ath/ath9k/ar9003_aic.c return aic->aic_cal_state; aic 521 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; aic 524 drivers/net/wireless/ath/ath9k/ar9003_aic.c switch (aic->aic_cal_state) { aic 543 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; aic 546 drivers/net/wireless/ath/ath9k/ar9003_aic.c if (aic->aic_cal_state != AIC_CAL_STATE_DONE) aic 554 drivers/net/wireless/ath/ath9k/ar9003_aic.c REG_WRITE(ah, AR_PHY_AIC_SRAM_DATA_B1, aic->aic_sram[i]); aic 568 drivers/net/wireless/ath/ath9k/ar9003_aic.c aic->aic_enabled = true; aic 575 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; aic 577 drivers/net/wireless/ath/ath9k/ar9003_aic.c aic->aic_cal_state = AIC_CAL_STATE_IDLE; aic 578 drivers/net/wireless/ath/ath9k/ar9003_aic.c return aic->aic_cal_state; aic 110 drivers/net/wireless/ath/ath9k/btcoex.h struct ath9k_hw_aic aic; aic 5201 drivers/scsi/be2iscsi/be_main.c struct be_aic_obj *aic; aic 5213 drivers/scsi/be2iscsi/be_main.c aic = &phba->aic_obj[i]; aic 5216 drivers/scsi/be2iscsi/be_main.c if (!aic->jiffies || time_before(now, aic->jiffies) || aic 5217 drivers/scsi/be2iscsi/be_main.c pbe_eq->cq_count < aic->eq_prev) { aic 5218 drivers/scsi/be2iscsi/be_main.c aic->jiffies = now; aic 5219 drivers/scsi/be2iscsi/be_main.c aic->eq_prev = pbe_eq->cq_count; aic 5222 drivers/scsi/be2iscsi/be_main.c delta = jiffies_to_msecs(now - aic->jiffies); aic 5223 drivers/scsi/be2iscsi/be_main.c pps = (((u32)(pbe_eq->cq_count - aic->eq_prev) * 1000) / delta); aic 5231 drivers/scsi/be2iscsi/be_main.c aic->jiffies = now; aic 5232 drivers/scsi/be2iscsi/be_main.c aic->eq_prev = pbe_eq->cq_count; aic 5234 drivers/scsi/be2iscsi/be_main.c if (eqd != aic->prev_eqd) { aic 5237 drivers/scsi/be2iscsi/be_main.c aic->prev_eqd = eqd;