Searched refs:snums (Results 1 – 12 of 12) sorted by relevance
/openbmc/u-boot/drivers/qe/ |
H A D | qe.c | 31 static qe_snum_t snums[QE_NUM_OF_SNUM]; variable 143 snums[i].state = QE_SNUM_STATE_FREE; in qe_snums_init() 144 snums[i].num = thread_snum[i]; in qe_snums_init() 154 if (snums[i].state == QE_SNUM_STATE_FREE) { in qe_get_snum() 155 snums[i].state = QE_SNUM_STATE_USED; in qe_get_snum() 156 snum = snums[i].num; in qe_get_snum() 169 if (snums[i].num == snum) { in qe_put_snum() 170 snums[i].state = QE_SNUM_STATE_FREE; in qe_put_snum()
|
/openbmc/linux/drivers/soc/fsl/qe/ |
H A D | qe.c | 46 static u8 snums[QE_NUM_OF_SNUM]; /* Dynamically allocated SNUMs */ variable 313 snums, 1, QE_NUM_OF_SNUM); in qe_snums_init() 336 memcpy(snums, snum_init, qe_num_of_snum); in qe_snums_init() 349 snum = snums[i]; in qe_get_snum() 359 const u8 *p = memchr(snums, snum, qe_num_of_snum); in qe_put_snum() 362 clear_bit(p - snums, snum_state); in qe_put_snum()
|
/openbmc/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
H A D | qe.txt | 21 - fsl,qe-snums: This property has to be specified as '/bits/ 8' value, 39 - fsl,qe-num-snums: define how many serial number(SNUM) the QE can use 40 for the threads. Use fsl,qe-snums instead to not only specify the 41 number of snums, but also their values. 53 fsl,qe-snums = /bits/ 8 <
|
/openbmc/linux/arch/powerpc/boot/dts/fsl/ |
H A D | t1024si-post.dtsi | 51 fsl,qe-num-snums = <28>;
|
H A D | p1021si-post.dtsi | 185 fsl,qe-num-snums = <28>;
|
H A D | mpc8568si-post.dtsi | 212 fsl,qe-num-snums = <28>;
|
H A D | mpc8569si-post.dtsi | 200 fsl,qe-num-snums = <46>;
|
H A D | t1040si-post.dtsi | 719 fsl,qe-num-snums = <28>;
|
/openbmc/linux/arch/powerpc/boot/dts/ |
H A D | mpc832x_rdb.dts | 229 fsl,qe-num-snums = <28>;
|
H A D | mpc836x_rdk.dts | 206 fsl,qe-num-snums = <28>;
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | ucc_geth.c | 3662 unsigned int snums = qe_get_num_of_snums(); in ucc_geth_probe() local 3677 if ((snums == 76) || (snums == 46)) in ucc_geth_probe()
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls1043a.dtsi | 678 fsl,qe-num-snums = <28>;
|