Home
last modified time | relevance | path

Searched refs:rst_data (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/clk/
H A Dclk-en7523.c473 struct en_rst_data *rst_data = container_of(rcdev, struct en_rst_data, rcdev); in en7523_reset_update() local
474 void __iomem *addr = rst_data->base + rst_data->bank_ofs[id / RST_NR_PER_BANK]; in en7523_reset_update()
502 struct en_rst_data *rst_data = container_of(rcdev, struct en_rst_data, rcdev); in en7523_reset_status() local
503 void __iomem *addr = rst_data->base + rst_data->bank_ofs[id / RST_NR_PER_BANK]; in en7523_reset_status()
511 struct en_rst_data *rst_data = container_of(rcdev, struct en_rst_data, rcdev); in en7523_reset_xlate() local
516 return rst_data->idx_map[reset_spec->args[0]]; in en7523_reset_xlate()
529 struct en_rst_data *rst_data; in en7523_reset_register() local
540 rst_data = devm_kzalloc(dev, sizeof(*rst_data), GFP_KERNEL); in en7523_reset_register()
541 if (!rst_data) in en7523_reset_register()
544 rst_data->bank_ofs = soc_data->reset.bank_ofs; in en7523_reset_register()
[all …]
/linux/drivers/clk/ralink/
H A Dclk-mt7621.c469 struct mt7621_rst *rst_data; in mt7621_reset_init() local
471 rst_data = devm_kzalloc(dev, sizeof(*rst_data), GFP_KERNEL); in mt7621_reset_init()
472 if (!rst_data) in mt7621_reset_init()
475 rst_data->sysc = sysc; in mt7621_reset_init()
476 rst_data->rcdev.ops = &reset_ops; in mt7621_reset_init()
477 rst_data->rcdev.owner = THIS_MODULE; in mt7621_reset_init()
478 rst_data->rcdev.nr_resets = 32; in mt7621_reset_init()
479 rst_data->rcdev.of_reset_n_cells = 1; in mt7621_reset_init()
480 rst_data->rcdev.of_xlate = mt7621_rst_xlate; in mt7621_reset_init()
481 rst_data->rcdev.of_node = dev_of_node(dev); in mt7621_reset_init()
[all …]
H A Dclk-mtmips.c1055 struct mtmips_rst *rst_data; in mtmips_reset_init() local
1057 rst_data = devm_kzalloc(dev, sizeof(*rst_data), GFP_KERNEL); in mtmips_reset_init()
1058 if (!rst_data) in mtmips_reset_init()
1061 rst_data->sysc = sysc; in mtmips_reset_init()
1062 rst_data->rcdev.ops = &reset_ops; in mtmips_reset_init()
1063 rst_data->rcdev.owner = THIS_MODULE; in mtmips_reset_init()
1064 rst_data->rcdev.nr_resets = 32; in mtmips_reset_init()
1065 rst_data->rcdev.of_reset_n_cells = 1; in mtmips_reset_init()
1066 rst_data->rcdev.of_xlate = mtmips_rst_xlate; in mtmips_reset_init()
1067 rst_data->rcdev.of_node = dev_of_node(dev); in mtmips_reset_init()
[all …]
/linux/drivers/bluetooth/
H A Dbtusb.c2639 static int btusb_mtk_reset(struct hci_dev *hdev, void *rst_data) in btusb_mtk_reset() argument