qcacmn: Add support to affine individual grp irqs
Add support to affine individual grp irqs to either perf or non-perf cluster. Change-Id: I90006645acb82b71c63d2255722e2c67bb7a2f46 CRs-Fixed: 3059676
This commit is contained in:

committed by
Madan Koyyalamudi

parent
6c7d7a2b2e
commit
d9eb751658
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -939,4 +940,24 @@ cdp_display_txrx_hw_info(ol_txrx_soc_handle soc)
|
||||
if (soc->ops->misc_ops->display_txrx_hw_info)
|
||||
return soc->ops->misc_ops->display_txrx_hw_info(soc);
|
||||
}
|
||||
|
||||
/**
|
||||
* cdp_get_tx_rings_grp_bitmap() - Get tx rings grp bitmap
|
||||
* @soc: soc handle
|
||||
*
|
||||
* Return: tx rings bitmap
|
||||
*/
|
||||
static inline uint32_t
|
||||
cdp_get_tx_rings_grp_bitmap(ol_txrx_soc_handle soc)
|
||||
{
|
||||
if (!soc || !soc->ops || !soc->ops->misc_ops) {
|
||||
dp_cdp_debug("Invalid Instance:");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (soc->ops->misc_ops->get_tx_rings_grp_bitmap)
|
||||
return soc->ops->misc_ops->get_tx_rings_grp_bitmap(soc);
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif /* _CDP_TXRX_MISC_H_ */
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -1369,6 +1369,7 @@ struct cdp_misc_ops {
|
||||
uint8_t val);
|
||||
uint8_t (*is_swlm_enabled)(struct cdp_soc_t *soc_hdl);
|
||||
void (*display_txrx_hw_info)(struct cdp_soc_t *soc_hdl);
|
||||
uint32_t (*get_tx_rings_grp_bitmap)(struct cdp_soc_t *soc_hdl);
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user