Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
/Linux-v5.4/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()
/Linux-v5.4/drivers/bcma/
Dscan.c278 struct bcma_device_id *match, int core_num, in bcma_get_next_core() argument
336 if (bcma_find_core_by_index(bus, core_num)) { in bcma_get_next_core()
467 int err, core_num = 0; in bcma_bus_scan() local
496 err = bcma_get_next_core(bus, &eromptr, NULL, core_num, core); in bcma_bus_scan()
500 core_num++; in bcma_bus_scan()
510 core->core_index = core_num++; in bcma_bus_scan()
/Linux-v5.4/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()
/Linux-v5.4/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 …]
/Linux-v5.4/sound/soc/codecs/
Dmadera.h110 int core_num; member
Dcs47l35.c1540 trig_info.core_num = i + 1; in cs47l35_adsp2_irq()
Dcs47l85.c2479 trig_info.core_num = i + 1; in cs47l85_adsp2_irq()
Dcs47l90.c2390 trig_info.core_num = i + 1; in cs47l90_adsp2_irq()
/Linux-v5.4/drivers/ssb/
Dmain.c362 ssb_config_attr(core_num, core_index, "%u\n")