Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/clk/imx/
Dclk-imx8-acm.c59 struct clk_imx8_acm_sel *sels; member
333 struct clk_imx8_acm_sel *sels; in imx8_acm_clk_probe() local
367 sels = priv->soc_data->sels; in imx8_acm_clk_probe()
369 hws[sels[i].clkid] = devm_clk_hw_register_mux_parent_data_table(dev, in imx8_acm_clk_probe()
370 sels[i].name, sels[i].parents, in imx8_acm_clk_probe()
371 sels[i].num_parents, 0, in imx8_acm_clk_probe()
372 base + sels[i].reg, in imx8_acm_clk_probe()
373 sels[i].shift, sels[i].width, in imx8_acm_clk_probe()
375 if (IS_ERR(hws[sels[i].clkid])) { in imx8_acm_clk_probe()
376 ret = PTR_ERR(hws[sels[i].clkid]); in imx8_acm_clk_probe()
[all …]
Dclk-imx8mp-audiomix.c155 static struct clk_imx8mp_audiomix_sel sels[] = { variable
200 for (i = 0; i < ARRAY_SIZE(sels); i++) { in clk_imx8mp_audiomix_probe()
201 if (sels[i].num_parents == 1) { in clk_imx8mp_audiomix_probe()
203 sels[i].name, &sels[i].parent, 0, in clk_imx8mp_audiomix_probe()
204 base + sels[i].reg, sels[i].shift, 0, NULL); in clk_imx8mp_audiomix_probe()
207 sels[i].name, sels[i].parents, in clk_imx8mp_audiomix_probe()
208 sels[i].num_parents, 0, in clk_imx8mp_audiomix_probe()
209 base + sels[i].reg, in clk_imx8mp_audiomix_probe()
210 sels[i].shift, sels[i].width, in clk_imx8mp_audiomix_probe()
217 priv->hws[sels[i].clkid] = hw; in clk_imx8mp_audiomix_probe()
/linux-6.6.21/drivers/mtd/nand/raw/
Ddenali_pci.c95 dchip = devm_kzalloc(denali->dev, struct_size(dchip, sels, nsels), in denali_pci_probe()
107 dchip->sels[i].bank = i; in denali_pci_probe()
Ddenali_dt.c92 dchip = devm_kzalloc(denali->dev, struct_size(dchip, sels, nsels), in denali_dt_chip_init()
104 dchip->sels[i].bank = bank; in denali_dt_chip_init()
Ddenali.c195 struct denali_chip_sel *sel = &to_denali_chip(chip)->sels[cs]; in denali_select_target()
798 sel = &to_denali_chip(chip)->sels[chipnr]; in denali_setup_interface()
1191 unsigned int bank = dchip->sels[i].bank; in denali_chip_init()
1199 if (bank == dchip->sels[j].bank) { in denali_chip_init()
1209 if (bank == dchip2->sels[j].bank) { in denali_chip_init()
Dsunxi_nand.c200 struct sunxi_nand_chip_sel sels[]; member
429 sel = &sunxi_nand->sels[cs]; in sunxi_nfc_select_chip()
1906 if (sunxi_nand->sels[op->cs].rb >= 0) in sunxi_nfc_exec_op()
1958 sunxi_nand = devm_kzalloc(dev, struct_size(sunxi_nand, sels, nsels), in sunxi_nand_chip_init()
1985 sunxi_nand->sels[i].cs = tmp; in sunxi_nand_chip_init()
1989 sunxi_nand->sels[i].rb = tmp; in sunxi_nand_chip_init()
1991 sunxi_nand->sels[i].rb = -1; in sunxi_nand_chip_init()
Drenesas-nand-controller.c213 struct rnand_chip_sel sels[]; member
256 return nand->sels[nand->selected_die].cs; in to_rnandc_cs()
304 unsigned int cs = rnand->sels[die_nr].cs; in rnandc_select_target()
1214 rnand = devm_kzalloc(rnandc->dev, struct_size(rnand, sels, nsels), in rnandc_chip_init()
1243 rnand->sels[i].cs = cs; in rnandc_chip_init()
Dmarvell_nand.c348 struct marvell_nand_chip_sel sels[]; member
359 return &nand->sels[nand->selected_die]; in to_nand_sel()
2584 marvell_nand->sels[0].cs); in marvell_nand_attach_chip()
2631 struct_size(marvell_nand, sels, nsels), in marvell_nand_chip_init()
2677 marvell_nand->sels[i].cs = cs; in marvell_nand_chip_init()
2681 marvell_nand->sels[i].ndcb0_csel = 0; in marvell_nand_chip_init()
2685 marvell_nand->sels[i].ndcb0_csel = NDCB0_CSEL; in marvell_nand_chip_init()
2712 marvell_nand->sels[i].rb = rb; in marvell_nand_chip_init()
Ddenali.h331 struct denali_chip_sel sels[]; member
Dmeson_nand.c131 u8 sels[]; member
265 nfc->param.chip_select = meson_chip->sels[chip] ? NAND_CE1 : NAND_CE0; in meson_nfc_select_chip()
1311 meson_chip->sels[0]); in meson_nand_attach_chip()
1387 meson_chip = devm_kzalloc(dev, struct_size(meson_chip, sels, nsels), in meson_nfc_nand_chip_init()
Drockchip-nand-controller.c161 u8 sels[]; member
277 nfc->selected_bank = rknand->sels[cs]; in rk_nfc_select_chip()
1145 rknand->sels[i] = tmp; in rk_nfc_nand_chip_init()
Dmtk_nand.c133 u8 sels[]; member
506 nfi_writel(nfc, mtk_nand->sels[cs], NFI_CSEL); in mtk_nfc_select_target()
1382 chip->sels[i] = tmp; in mtk_nfc_nand_chip_init()
/linux-6.6.21/tools/testing/selftests/x86/
Dsigreturn.c306 struct selectors *sels = (void *)&ctx->uc_mcontext.gregs[REG_CSGSFS]; in ssptr() local
307 return &sels->ss; in ssptr()
312 struct selectors *sels = (void *)&ctx->uc_mcontext.gregs[REG_CSGSFS]; in csptr() local
313 return &sels->cs; in csptr()
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dmac.c5643 static const enum rtw89_pkt_drop_sel sels[] = { in rtw89_mac_pkt_drop_sta() enum
5659 for (i = 0; i < ARRAY_SIZE(sels); i++) { in rtw89_mac_pkt_drop_sta()
5660 params.sel = sels[i]; in rtw89_mac_pkt_drop_sta()