Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/clk/imx/
Dclk-imx8-acm.c60 struct clk_imx8_acm_sel *sels; member
336 struct clk_imx8_acm_sel *sels; in imx8_acm_clk_probe() local
370 sels = priv->soc_data->sels; in imx8_acm_clk_probe()
372 hws[sels[i].clkid] = devm_clk_hw_register_mux_parent_data_table(dev, in imx8_acm_clk_probe()
373 sels[i].name, sels[i].parents, in imx8_acm_clk_probe()
374 sels[i].num_parents, 0, in imx8_acm_clk_probe()
375 base + sels[i].reg, in imx8_acm_clk_probe()
376 sels[i].shift, sels[i].width, in imx8_acm_clk_probe()
378 if (IS_ERR(hws[sels[i].clkid])) { in imx8_acm_clk_probe()
379 ret = PTR_ERR(hws[sels[i].clkid]); in imx8_acm_clk_probe()
[all …]
Dclk-imx8mp-audiomix.c179 static struct clk_imx8mp_audiomix_sel sels[] = { variable
337 for (i = 0; i < ARRAY_SIZE(sels); i++) { in clk_imx8mp_audiomix_probe()
338 if (sels[i].num_parents == 1) { in clk_imx8mp_audiomix_probe()
340 sels[i].name, &sels[i].parent, CLK_SET_RATE_PARENT, in clk_imx8mp_audiomix_probe()
341 base + sels[i].reg, sels[i].shift, 0, NULL); in clk_imx8mp_audiomix_probe()
344 sels[i].name, sels[i].parents, in clk_imx8mp_audiomix_probe()
345 sels[i].num_parents, CLK_SET_RATE_PARENT, in clk_imx8mp_audiomix_probe()
346 base + sels[i].reg, in clk_imx8mp_audiomix_probe()
347 sels[i].shift, sels[i].width, in clk_imx8mp_audiomix_probe()
356 clk_hw_data->hws[sels[i].clkid] = hw; in clk_imx8mp_audiomix_probe()
/linux-6.12.1/drivers/mtd/nand/raw/
Ddenali_pci.c97 dchip = devm_kzalloc(denali->dev, struct_size(dchip, sels, nsels), in denali_pci_probe()
109 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[] __counted_by(nsels);
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[] __counted_by(nsels);
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[] __counted_by(nsels);
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()
Drockchip-nand-controller.c162 u8 sels[] __counted_by(nsels);
277 nfc->selected_bank = rknand->sels[cs]; in rk_nfc_select_chip()
1122 rknand = devm_kzalloc(dev, struct_size(rknand, sels, nsels), in rk_nfc_nand_chip_init()
1145 rknand->sels[i] = tmp; in rk_nfc_nand_chip_init()
Ddenali.h331 struct denali_chip_sel sels[] __counted_by(nsels);
Dmeson_nand.c138 u8 sels[] __counted_by(nsels);
272 nfc->param.chip_select = meson_chip->sels[chip] ? NAND_CE1 : NAND_CE0; in meson_nfc_select_chip()
1325 meson_chip->sels[0]); in meson_nand_attach_chip()
1401 meson_chip = devm_kzalloc(dev, struct_size(meson_chip, sels, nsels), in meson_nfc_nand_chip_init()
Dmtk_nand.c133 u8 sels[] __counted_by(nsels);
506 nfi_writel(nfc, mtk_nand->sels[cs], NFI_CSEL); in mtk_nfc_select_target()
1359 chip = devm_kzalloc(dev, struct_size(chip, sels, nsels), in mtk_nfc_nand_chip_init()
1382 chip->sels[i] = tmp; in mtk_nfc_nand_chip_init()
/linux-6.12.1/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.12.1/drivers/media/pci/intel/ipu6/
Dipu6.h291 u32 *sels; member
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dmac.c6331 static const enum rtw89_pkt_drop_sel sels[] = { in rtw89_mac_pkt_drop_sta() enum
6347 for (i = 0; i < ARRAY_SIZE(sels); i++) { in rtw89_mac_pkt_drop_sta()
6348 params.sel = sels[i]; in rtw89_mac_pkt_drop_sta()