Home
last modified time | relevance | path

Searched refs:core_num (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/kpc2000/kpc2000/
Dcell_probe.c96 static int probe_core_basic(unsigned int core_num, struct kp2000_device *pcard, in probe_core_basic() argument
99 struct mfd_cell cell = { .id = core_num, .name = name }; in probe_core_basic()
143 u16 core_num; member
220 return sprintf(buf, "%u\n", kudev->core_num); in core_num_show()
222 static DEVICE_ATTR_RO(core_num);
287 static int probe_core_uio(unsigned int core_num, struct kp2000_device *pcard, in probe_core_uio() argument
302 kudev->core_num = core_num; in probe_core_uio()
321 …KDEV(0, 0), kudev, "%s.%d.%d.%d", kudev->uioinfo.name, pcard->card_num, cte.type, kudev->core_num); in probe_core_uio()
435 unsigned int core_num = 0; in kp2000_probe_cores() local
447 err = probe_core_basic(core_num, pcard, in kp2000_probe_cores()
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx.h341 unsigned int core_num; in cvmx_get_core_num() local
342 CVMX_RDHWRNV(core_num, 0); in cvmx_get_core_num()
343 return core_num; in cvmx_get_core_num()
351 unsigned int core_num = cvmx_get_core_num(); in cvmx_get_node_num() local
353 return (core_num >> CVMX_NODE_NO_SHIFT) & CVMX_NODE_MASK; in cvmx_get_node_num()
Dcvmx-pow.h1851 static inline void cvmx_pow_set_group_mask(uint64_t core_num, uint64_t mask) in cvmx_pow_set_group_mask() argument
1855 grp_msk.u64 = cvmx_read_csr(CVMX_POW_PP_GRP_MSKX(core_num)); in cvmx_pow_set_group_mask()
1857 cvmx_write_csr(CVMX_POW_PP_GRP_MSKX(core_num), grp_msk.u64); in cvmx_pow_set_group_mask()
1873 static inline void cvmx_pow_set_priority(uint64_t core_num, in cvmx_pow_set_priority() argument
1880 grp_msk.u64 = cvmx_read_csr(CVMX_POW_PP_GRP_MSKX(core_num)); in cvmx_pow_set_priority()
1907 cvmx_write_csr(CVMX_POW_PP_GRP_MSKX(core_num), grp_msk.u64); in cvmx_pow_set_priority()
/kernel/linux/linux-5.10/drivers/bcma/
Dscan.c273 struct bcma_device_id *match, int core_num, in bcma_get_next_core() argument
331 if (bcma_find_core_by_index(bus, core_num)) { in bcma_get_next_core()
462 int err, core_num = 0; in bcma_bus_scan() local
491 err = bcma_get_next_core(bus, &eromptr, NULL, core_num, core); in bcma_bus_scan()
495 core_num++; in bcma_bus_scan()
505 core->core_index = core_num++; in bcma_bus_scan()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-imx-gpcv2.c208 unsigned long core_num; in imx_gpcv2_irqchip_init() local
222 core_num = (unsigned long)id->data; in imx_gpcv2_irqchip_init()
258 switch (core_num) { in imx_gpcv2_irqchip_init()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c14813 u8 core_num; in wlc_phy_rfctrl_override_nphy_rev7() local
14819 for (core_num = 0; core_num < 2; core_num++) { in wlc_phy_rfctrl_override_nphy_rev7()
14824 en_addr = (core_num == 0) ? 0xe7 : 0xec; in wlc_phy_rfctrl_override_nphy_rev7()
14825 val_addr = (core_num == 0) ? 0x7a : in wlc_phy_rfctrl_override_nphy_rev7()
14831 en_addr = (core_num == 0) ? 0xe7 : 0xec; in wlc_phy_rfctrl_override_nphy_rev7()
14832 val_addr = (core_num == 0) ? 0x7a : in wlc_phy_rfctrl_override_nphy_rev7()
14838 en_addr = (core_num == 0) ? 0xe7 : 0xec; in wlc_phy_rfctrl_override_nphy_rev7()
14839 val_addr = (core_num == 0) ? 0x7a : in wlc_phy_rfctrl_override_nphy_rev7()
14845 en_addr = (core_num == 0) ? 0xe7 : 0xec; in wlc_phy_rfctrl_override_nphy_rev7()
14846 val_addr = (core_num == 0) ? 0x7a : in wlc_phy_rfctrl_override_nphy_rev7()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.h341 u32 core_num; member
/kernel/linux/linux-5.10/sound/soc/codecs/
Dmadera.h112 int core_num; member
Dcs47l35.c1537 trig_info.core_num = i + 1; in cs47l35_adsp2_irq()
Dcs47l85.c2479 trig_info.core_num = i + 1; in cs47l85_adsp2_irq()
Dcs47l90.c2398 trig_info.core_num = i + 1; in cs47l90_adsp2_irq()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0025_linux_drivers_irqchip.patch333 - switch (core_num) {
351 + switch (core_num) {
D0038_linux_drivers_mxc.patch179686 + u32 core_num = 0;
179690 + core_num = ((*core_info >> CORE_INFO_AMOUNT_OFFSET) & 0x7)+1;
179694 + PDEBUG("%s:core_num=%d,core_mapping=%x\n", __func__, core_num, core_mapping);
202166 + for (i = 0; i < dev->core_num; i++) {
202894 + for (i = 0; i < vdev->core_num; i++) {
202961 + for (i = 0; i < vdev->core_num; i++) {
203002 + for (i = 0; i < vdev->core_num; i++) {
203039 + "core number : %d\n", vdev->core_num);
203168 + for (i = 0; i < dev->core_num; i++) {
203477 + dev->core_num = 0;
[all …]
/kernel/linux/linux-5.10/drivers/ssb/
Dmain.c362 ssb_config_attr(core_num, core_index, "%u\n")