/drivers/net/ethernet/qlogic/qede/ |
D | qede_main.c | 110 static void qede_recovery_handler(struct qede_dev *edev); 113 static void qede_get_eth_tlv_data(void *edev, void *data); 114 static void qede_get_generic_tlv_data(void *edev, 116 static void qede_generic_hw_err_handler(struct qede_dev *edev); 121 struct qede_dev *edev = netdev_priv(ndev); in qede_set_vf_vlan() local 124 DP_NOTICE(edev, "Illegal vlan value %d\n", vlan); in qede_set_vf_vlan() 131 DP_VERBOSE(edev, QED_MSG_IOV, "Setting Vlan 0x%04x to VF [%d]\n", in qede_set_vf_vlan() 134 return edev->ops->iov->set_vlan(edev->cdev, vlan, vf); in qede_set_vf_vlan() 139 struct qede_dev *edev = netdev_priv(ndev); in qede_set_vf_mac() local 141 DP_VERBOSE(edev, QED_MSG_IOV, "Setting MAC %pM to VF [%d]\n", mac, vfidx); in qede_set_vf_mac() [all …]
|
D | qede_rdma.c | 23 static void _qede_rdma_dev_add(struct qede_dev *edev) in _qede_rdma_dev_add() argument 29 edev->rdma_info.exp_recovery = false; in _qede_rdma_dev_add() 30 edev->rdma_info.qedr_dev = qedr_drv->add(edev->cdev, edev->pdev, in _qede_rdma_dev_add() 31 edev->ndev); in _qede_rdma_dev_add() 34 static int qede_rdma_create_wq(struct qede_dev *edev) in qede_rdma_create_wq() argument 36 INIT_LIST_HEAD(&edev->rdma_info.rdma_event_list); in qede_rdma_create_wq() 37 kref_init(&edev->rdma_info.refcnt); in qede_rdma_create_wq() 38 init_completion(&edev->rdma_info.event_comp); in qede_rdma_create_wq() 40 edev->rdma_info.rdma_wq = create_singlethread_workqueue("rdma_wq"); in qede_rdma_create_wq() 41 if (!edev->rdma_info.rdma_wq) { in qede_rdma_create_wq() [all …]
|
D | qede_ethtool.c | 292 static void qede_get_strings_stats_txq(struct qede_dev *edev, in qede_get_strings_stats_txq() argument 300 QEDE_TXQ_XDP_TO_IDX(edev, txq), in qede_get_strings_stats_txq() 309 static void qede_get_strings_stats_rxq(struct qede_dev *edev, in qede_get_strings_stats_rxq() argument 321 static bool qede_is_irrelevant_stat(struct qede_dev *edev, int stat_index) in qede_is_irrelevant_stat() argument 323 return (IS_VF(edev) && QEDE_STAT_IS_PF_ONLY(stat_index)) || in qede_is_irrelevant_stat() 324 (QEDE_IS_BB(edev) && QEDE_STAT_IS_AH_ONLY(stat_index)) || in qede_is_irrelevant_stat() 325 (QEDE_IS_AH(edev) && QEDE_STAT_IS_BB_ONLY(stat_index)); in qede_is_irrelevant_stat() 328 static void qede_get_strings_stats(struct qede_dev *edev, u8 *buf) in qede_get_strings_stats() argument 334 for (i = 0; i < QEDE_QUEUE_CNT(edev); i++) { in qede_get_strings_stats() 335 fp = &edev->fp_array[i]; in qede_get_strings_stats() [all …]
|
D | qede_dcbnl.c | 15 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getstate() local 17 return edev->ops->dcb->getstate(edev->cdev); in qede_dcbnl_getstate() 22 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_setstate() local 24 return edev->ops->dcb->setstate(edev->cdev, state); in qede_dcbnl_setstate() 37 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgtccfgtx() local 39 edev->ops->dcb->getpgtccfgtx(edev->cdev, prio, prio_type, in qede_dcbnl_getpgtccfgtx() 46 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgbwgcfgtx() local 48 edev->ops->dcb->getpgbwgcfgtx(edev->cdev, pgid, bw_pct); in qede_dcbnl_getpgbwgcfgtx() 55 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgtccfgrx() local 57 edev->ops->dcb->getpgtccfgrx(edev->cdev, prio, prio_type, pgid, bw_pct, in qede_dcbnl_getpgtccfgrx() [all …]
|
D | qede_filter.c | 73 #define QEDE_ARFS_BUCKET_HEAD(edev, idx) (&(edev)->arfs->arfs_hl_head[idx]) argument 88 static void qede_configure_arfs_fltr(struct qede_dev *edev, in qede_configure_arfs_fltr() argument 92 const struct qed_eth_ops *op = edev->ops; in qede_configure_arfs_fltr() 115 DP_VERBOSE(edev, NETIF_MSG_RX_STATUS, in qede_configure_arfs_fltr() 123 op->ntuple_filter_config(edev->cdev, n, ¶ms); in qede_configure_arfs_fltr() 127 qede_free_arfs_filter(struct qede_dev *edev, struct qede_arfs_fltr_node *fltr) in qede_free_arfs_filter() argument 132 clear_bit(fltr->sw_id, edev->arfs->arfs_fltr_bmap); in qede_free_arfs_filter() 138 qede_enqueue_fltr_and_config_searcher(struct qede_dev *edev, in qede_enqueue_fltr_and_config_searcher() argument 142 fltr->mapping = dma_map_single(&edev->pdev->dev, fltr->data, in qede_enqueue_fltr_and_config_searcher() 144 if (dma_mapping_error(&edev->pdev->dev, fltr->mapping)) { in qede_enqueue_fltr_and_config_searcher() [all …]
|
D | qede_ptp.c | 18 struct qede_dev *edev; member 44 struct qede_dev *edev = ptp->edev; in qede_ptp_adjfine() local 47 __qede_lock(edev); in qede_ptp_adjfine() 48 if (edev->state == QEDE_STATE_OPEN) { in qede_ptp_adjfine() 50 rc = ptp->ops->adjfreq(edev->cdev, ppb); in qede_ptp_adjfine() 53 DP_ERR(edev, "PTP adjfine called while interface is down\n"); in qede_ptp_adjfine() 56 __qede_unlock(edev); in qede_ptp_adjfine() 63 struct qede_dev *edev; in qede_ptp_adjtime() local 67 edev = ptp->edev; in qede_ptp_adjtime() 69 DP_VERBOSE(edev, QED_MSG_DEBUG, "PTP adjtime called, delta = %llx\n", in qede_ptp_adjtime() [all …]
|
D | qede.h | 176 #define IS_VF(edev) test_bit(QEDE_FLAGS_IS_VF, \ argument 177 &(edev)->flags) 184 #define QEDE_MAX_RSS_CNT(edev) ((edev)->dev_info.num_queues) argument 185 #define QEDE_MAX_TSS_CNT(edev) ((edev)->dev_info.num_queues) argument 186 #define QEDE_IS_BB(edev) \ argument 187 ((edev)->dev_info.common.dev_type == QED_DEV_TYPE_BB) 188 #define QEDE_IS_AH(edev) \ argument 189 ((edev)->dev_info.common.dev_type == QED_DEV_TYPE_AH) 201 #define QEDE_QUEUE_CNT(edev) ((edev)->num_queues) argument 202 #define QEDE_RSS_COUNT(edev) ((edev)->num_queues - (edev)->fp_num_tx) argument [all …]
|
D | qede_fp.c | 76 int qede_free_tx_pkt(struct qede_dev *edev, struct qede_tx_queue *txq, int *len) in qede_free_tx_pkt() argument 88 DP_ERR(edev, in qede_free_tx_pkt() 108 dma_unmap_single(&edev->pdev->dev, BD_UNMAP_ADDR(first_bd), in qede_free_tx_pkt() 115 dma_unmap_page(&edev->pdev->dev, BD_UNMAP_ADDR(tx_data_bd), in qede_free_tx_pkt() 342 struct qede_dev *edev = netdev_priv(dev); in qede_xdp_transmit() local 343 struct device *dmadev = &edev->pdev->dev; in qede_xdp_transmit() 356 i = smp_processor_id() % edev->total_xdp_queues; in qede_xdp_transmit() 357 xdp_tx = edev->fp_array[i].xdp_tx; in qede_xdp_transmit() 400 static void qede_xdp_tx_int(struct qede_dev *edev, struct qede_tx_queue *txq) in qede_xdp_tx_int() argument 403 struct device *dev = &edev->pdev->dev; in qede_xdp_tx_int() [all …]
|
/drivers/devfreq/ |
D | devfreq-event.c | 37 int devfreq_event_enable_edev(struct devfreq_event_dev *edev) in devfreq_event_enable_edev() argument 41 if (!edev || !edev->desc) in devfreq_event_enable_edev() 44 mutex_lock(&edev->lock); in devfreq_event_enable_edev() 45 if (edev->desc->ops && edev->desc->ops->enable in devfreq_event_enable_edev() 46 && edev->enable_count == 0) { in devfreq_event_enable_edev() 47 ret = edev->desc->ops->enable(edev); in devfreq_event_enable_edev() 51 edev->enable_count++; in devfreq_event_enable_edev() 53 mutex_unlock(&edev->lock); in devfreq_event_enable_edev() 69 int devfreq_event_disable_edev(struct devfreq_event_dev *edev) in devfreq_event_disable_edev() argument 73 if (!edev || !edev->desc) in devfreq_event_disable_edev() [all …]
|
/drivers/extcon/ |
D | extcon.c | 220 struct extcon_dev *edev; member 246 static int check_mutually_exclusive(struct extcon_dev *edev, u32 new_state) in check_mutually_exclusive() argument 250 if (!edev->mutually_exclusive) in check_mutually_exclusive() 253 for (i = 0; edev->mutually_exclusive[i]; i++) { in check_mutually_exclusive() 255 u32 correspondants = new_state & edev->mutually_exclusive[i]; in check_mutually_exclusive() 266 static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id) in find_cable_index_by_id() argument 271 for (i = 0; i < edev->max_supported; i++) { in find_cable_index_by_id() 272 if (edev->supported_cable[i] == id) in find_cable_index_by_id() 295 static bool is_extcon_attached(struct extcon_dev *edev, unsigned int index) in is_extcon_attached() argument 297 return !!(edev->state & BIT(index)); in is_extcon_attached() [all …]
|
D | devres.c | 33 struct extcon_dev *edev; member 42 extcon_unregister_notifier(this->edev, this->id, this->nb); in devm_extcon_dev_notifier_unreg() 49 extcon_unregister_notifier_all(this->edev, this->nb); in devm_extcon_dev_notifier_all_unreg() 68 struct extcon_dev **ptr, *edev; in devm_extcon_dev_allocate() local 74 edev = extcon_dev_allocate(supported_cable); in devm_extcon_dev_allocate() 75 if (IS_ERR(edev)) { in devm_extcon_dev_allocate() 77 return edev; in devm_extcon_dev_allocate() 80 edev->dev.parent = dev; in devm_extcon_dev_allocate() 82 *ptr = edev; in devm_extcon_dev_allocate() 85 return edev; in devm_extcon_dev_allocate() [all …]
|
D | extcon-usbc-cros-ec.c | 20 struct extcon_dev *edev; member 317 extcon_set_state(info->edev, EXTCON_USB, device_connected); in extcon_cros_ec_detect_cable() 318 extcon_set_state(info->edev, EXTCON_USB_HOST, host_connected); in extcon_cros_ec_detect_cable() 319 extcon_set_state(info->edev, EXTCON_DISP_DP, dp); in extcon_cros_ec_detect_cable() 320 extcon_set_property(info->edev, EXTCON_USB, in extcon_cros_ec_detect_cable() 323 extcon_set_property(info->edev, EXTCON_USB_HOST, in extcon_cros_ec_detect_cable() 326 extcon_set_property(info->edev, EXTCON_USB, in extcon_cros_ec_detect_cable() 329 extcon_set_property(info->edev, EXTCON_USB_HOST, in extcon_cros_ec_detect_cable() 332 extcon_set_property(info->edev, EXTCON_DISP_DP, in extcon_cros_ec_detect_cable() 335 extcon_set_property(info->edev, EXTCON_USB, in extcon_cros_ec_detect_cable() [all …]
|
/drivers/misc/eeprom/ |
D | eeprom_93xx46.c | 68 static inline bool has_quirk_single_word_read(struct eeprom_93xx46_dev *edev) in has_quirk_single_word_read() argument 70 return edev->pdata->quirks & EEPROM_93XX46_QUIRK_SINGLE_WORD_READ; in has_quirk_single_word_read() 73 static inline bool has_quirk_instruction_length(struct eeprom_93xx46_dev *edev) in has_quirk_instruction_length() argument 75 return edev->pdata->quirks & EEPROM_93XX46_QUIRK_INSTRUCTION_LENGTH; in has_quirk_instruction_length() 78 static inline bool has_quirk_extra_read_cycle(struct eeprom_93xx46_dev *edev) in has_quirk_extra_read_cycle() argument 80 return edev->pdata->quirks & EEPROM_93XX46_QUIRK_EXTRA_READ_CYCLE; in has_quirk_extra_read_cycle() 86 struct eeprom_93xx46_dev *edev = priv; in eeprom_93xx46_read() local 91 if (unlikely(off >= edev->size)) in eeprom_93xx46_read() 93 if ((off + count) > edev->size) in eeprom_93xx46_read() 94 count = edev->size - off; in eeprom_93xx46_read() [all …]
|
/drivers/watchdog/ |
D | i6300esb.c | 110 static inline void esb_unlock_registers(struct esb_dev *edev) in esb_unlock_registers() argument 112 writew(ESB_UNLOCK1, ESB_RELOAD_REG(edev)); in esb_unlock_registers() 113 writew(ESB_UNLOCK2, ESB_RELOAD_REG(edev)); in esb_unlock_registers() 118 struct esb_dev *edev = to_esb_dev(wdd); in esb_timer_start() local 122 esb_unlock_registers(edev); in esb_timer_start() 123 writew(ESB_WDT_RELOAD, ESB_RELOAD_REG(edev)); in esb_timer_start() 126 pci_write_config_byte(edev->pdev, ESB_LOCK_REG, val); in esb_timer_start() 132 struct esb_dev *edev = to_esb_dev(wdd); in esb_timer_stop() local 136 esb_unlock_registers(edev); in esb_timer_stop() 137 writew(ESB_WDT_RELOAD, ESB_RELOAD_REG(edev)); in esb_timer_stop() [all …]
|
/drivers/eisa/ |
D | eisa-bus.c | 44 struct eisa_device *edev) in is_forced_dev() argument 49 x = (root->bus_nr << 8) | edev->slot; in is_forced_dev() 57 static void __init eisa_name_device(struct eisa_device *edev) in eisa_name_device() argument 62 if (!strcmp(edev->id.sig, eisa_table[i].id.sig)) { in eisa_name_device() 63 strscpy(edev->pretty_name, in eisa_name_device() 65 sizeof(edev->pretty_name)); in eisa_name_device() 71 sprintf(edev->pretty_name, "EISA device %.7s", edev->id.sig); in eisa_name_device() 110 struct eisa_device *edev = to_eisa_device(dev); in eisa_bus_match() local 118 if (!strcmp(eids->sig, edev->id.sig) && in eisa_bus_match() 119 edev->state & EISA_CONFIG_ENABLED) { in eisa_bus_match() [all …]
|
/drivers/misc/ |
D | enclosure.c | 46 struct enclosure_device *edev; in enclosure_find() local 49 edev = list_prepare_entry(start, &container_list, node); in enclosure_find() 51 put_device(&start->edev); in enclosure_find() 53 list_for_each_entry_continue(edev, &container_list, node) { in enclosure_find() 54 struct device *parent = edev->edev.parent; in enclosure_find() 59 get_device(&edev->edev); in enclosure_find() 61 return edev; in enclosure_find() 88 struct enclosure_device *edev; in enclosure_for_each_device() local 91 list_for_each_entry(edev, &container_list, node) { in enclosure_for_each_device() 92 error = fn(edev, data); in enclosure_for_each_device() [all …]
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ulp.c | 33 struct bnxt_en_dev *edev = bp->edev; in bnxt_fill_msix_vecs() local 36 if (!edev->ulp_tbl->msix_requested) { in bnxt_fill_msix_vecs() 40 num_msix = edev->ulp_tbl->msix_requested; in bnxt_fill_msix_vecs() 41 idx = edev->ulp_tbl->msix_base; in bnxt_fill_msix_vecs() 55 int bnxt_register_dev(struct bnxt_en_dev *edev, in bnxt_register_dev() argument 59 struct net_device *dev = edev->net; in bnxt_register_dev() 69 ulp = edev->ulp_tbl; in bnxt_register_dev() 79 bnxt_fill_msix_vecs(bp, bp->edev->msix_entries); in bnxt_register_dev() 80 edev->flags |= BNXT_EN_FLAG_MSIX_REQUESTED; in bnxt_register_dev() 85 void bnxt_unregister_dev(struct bnxt_en_dev *edev) in bnxt_unregister_dev() argument [all …]
|
/drivers/firmware/ |
D | edd.c | 56 ssize_t(*show) (struct edd_device * edev, char *buf); 57 int (*test) (struct edd_device * edev); 61 static int edd_dev_is_type(struct edd_device *edev, const char *type); 62 static struct pci_dev *edd_get_pci_dev(struct edd_device *edev); 74 edd_has_mbr_signature(struct edd_device *edev) in edd_has_mbr_signature() argument 76 return edev->index < min_t(unsigned char, edd.mbr_signature_nr, EDD_MBR_SIG_MAX); in edd_has_mbr_signature() 80 edd_has_edd_info(struct edd_device *edev) in edd_has_edd_info() argument 82 return edev->index < min_t(unsigned char, edd.edd_info_nr, EDDMAXNR); in edd_has_edd_info() 86 edd_dev_get_info(struct edd_device *edev) in edd_dev_get_info() argument 88 return edev->info; in edd_dev_get_info() [all …]
|
/drivers/scsi/ |
D | ses.c | 38 static bool ses_page2_supported(struct enclosure_device *edev) in ses_page2_supported() argument 40 struct ses_device *ses_dev = edev->scratch; in ses_page2_supported() 153 static int ses_set_page2_descriptor(struct enclosure_device *edev, in ses_set_page2_descriptor() argument 158 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_set_page2_descriptor() 159 struct ses_device *ses_dev = edev->scratch; in ses_set_page2_descriptor() 184 static unsigned char *ses_get_page2_descriptor(struct enclosure_device *edev, in ses_get_page2_descriptor() argument 188 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_get_page2_descriptor() 189 struct ses_device *ses_dev = edev->scratch; in ses_get_page2_descriptor() 213 static void ses_get_fault(struct enclosure_device *edev, in ses_get_fault() argument 218 if (!ses_page2_supported(edev)) { in ses_get_fault() [all …]
|
/drivers/infiniband/hw/efa/ |
D | efa_com.c | 72 static u32 efa_com_reg_read32(struct efa_com_dev *edev, u16 offset) in efa_com_reg_read32() argument 74 struct efa_com_mmio_read *mmio_read = &edev->mmio_read; in efa_com_reg_read32() 91 writel(mmio_read_reg, edev->reg_bar + EFA_REGS_MMIO_REG_READ_OFF); in efa_com_reg_read32() 102 edev->efa_dev, in efa_com_reg_read32() 112 edev->efa_dev, in efa_com_reg_read32() 124 static int efa_com_admin_init_sq(struct efa_com_dev *edev) in efa_com_admin_init_sq() argument 126 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_admin_init_sq() 144 sq->db_addr = (u32 __iomem *)(edev->reg_bar + EFA_REGS_AQ_PROD_DB_OFF); in efa_com_admin_init_sq() 149 writel(addr_low, edev->reg_bar + EFA_REGS_AQ_BASE_LO_OFF); in efa_com_admin_init_sq() 150 writel(addr_high, edev->reg_bar + EFA_REGS_AQ_BASE_HI_OFF); in efa_com_admin_init_sq() [all …]
|
D | efa_com_cmd.c | 9 int efa_com_create_qp(struct efa_com_dev *edev, in efa_com_create_qp() argument 15 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_create_qp() 41 ibdev_err_ratelimited(edev->efa_dev, in efa_com_create_qp() 57 int efa_com_modify_qp(struct efa_com_dev *edev, in efa_com_modify_qp() argument 60 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_modify_qp() 82 edev->efa_dev, in efa_com_modify_qp() 91 int efa_com_query_qp(struct efa_com_dev *edev, in efa_com_query_qp() argument 95 struct efa_com_admin_queue *aq = &edev->aq; in efa_com_query_qp() 109 ibdev_err_ratelimited(edev->efa_dev, in efa_com_query_qp() 124 int efa_com_destroy_qp(struct efa_com_dev *edev, in efa_com_destroy_qp() argument [all …]
|
D | efa_main.c | 91 struct efa_dev *dev = container_of(eeq->edev, struct efa_dev, edev); in efa_process_eqe() 106 struct efa_com_dev *edev = eq->eeq.edev; in efa_intr_msix_comp() local 108 efa_com_eq_comp_intr_handler(edev, &eq->eeq); in efa_intr_msix_comp() 117 efa_com_admin_q_comp_intr_handler(&dev->edev); in efa_intr_msix_mgmnt() 118 efa_com_aenq_intr_handler(&dev->edev, data); in efa_intr_msix_mgmnt() 220 struct efa_com_dev *edev = &dev->edev; in efa_update_hw_hints() local 223 edev->mmio_read.mmio_read_timeout = in efa_update_hw_hints() 227 edev->aq.poll_interval = hw_hints->poll_interval; in efa_update_hw_hints() 230 edev->aq.completion_timeout = in efa_update_hw_hints() 251 if (!efa_com_check_supported_feature_id(&dev->edev, in efa_set_host_info() [all …]
|
/drivers/input/keyboard/ |
D | goldfish_events.c | 38 struct event_dev *edev = dev_id; in events_interrupt() local 41 type = __raw_readl(edev->addr + REG_READ); in events_interrupt() 42 code = __raw_readl(edev->addr + REG_READ); in events_interrupt() 43 value = __raw_readl(edev->addr + REG_READ); in events_interrupt() 45 input_event(edev->input, type, code, value); in events_interrupt() 46 input_sync(edev->input); in events_interrupt() 50 static void events_import_bits(struct event_dev *edev, in events_import_bits() argument 53 void __iomem *addr = edev->addr; in events_import_bits() 73 static void events_import_abs_params(struct event_dev *edev) in events_import_abs_params() argument 75 struct input_dev *input_dev = edev->input; in events_import_abs_params() [all …]
|
/drivers/pci/pcie/ |
D | edr.c | 132 static int acpi_send_edr_status(struct pci_dev *pdev, struct pci_dev *edev, in acpi_send_edr_status() argument 138 pci_dbg(pdev, "Status for %s: %#x\n", pci_name(edev), status); in acpi_send_edr_status() 140 ost_status = PCI_DEVID(edev->bus->number, edev->devfn) << 16; in acpi_send_edr_status() 153 struct pci_dev *pdev = data, *edev; in edr_handle_event() local 172 edev = acpi_dpc_port_get(pdev); in edr_handle_event() 173 if (!edev) { in edr_handle_event() 178 pci_dbg(pdev, "Reported EDR dev: %s\n", pci_name(edev)); in edr_handle_event() 181 if (!edev->dpc_cap) { in edr_handle_event() 182 pci_err(edev, FW_BUG "This device doesn't support DPC\n"); in edr_handle_event() 187 pci_read_config_word(edev, edev->dpc_cap + PCI_EXP_DPC_STATUS, &status); in edr_handle_event() [all …]
|
/drivers/devfreq/event/ |
D | rockchip-dfi.c | 51 struct devfreq_event_dev *edev; member 60 static void rockchip_dfi_start_hardware_counter(struct devfreq_event_dev *edev) in rockchip_dfi_start_hardware_counter() argument 62 struct rockchip_dfi *info = devfreq_event_get_drvdata(edev); in rockchip_dfi_start_hardware_counter() 85 static void rockchip_dfi_stop_hardware_counter(struct devfreq_event_dev *edev) in rockchip_dfi_stop_hardware_counter() argument 87 struct rockchip_dfi *info = devfreq_event_get_drvdata(edev); in rockchip_dfi_stop_hardware_counter() 93 static int rockchip_dfi_get_busier_ch(struct devfreq_event_dev *edev) in rockchip_dfi_get_busier_ch() argument 95 struct rockchip_dfi *info = devfreq_event_get_drvdata(edev); in rockchip_dfi_get_busier_ch() 100 rockchip_dfi_stop_hardware_counter(edev); in rockchip_dfi_get_busier_ch() 114 rockchip_dfi_start_hardware_counter(edev); in rockchip_dfi_get_busier_ch() 119 static int rockchip_dfi_disable(struct devfreq_event_dev *edev) in rockchip_dfi_disable() argument [all …]
|