/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | init.c | 42 nvkm_printk(init->subdev, lvl, info, "0x%08x[%c]: "fmt, \ 43 init->offset, init_exec(init) ? \ 44 '0' + (init->nested - 1) : ' ', ##args); \ 47 if (init->subdev->debug >= NV_DBG_TRACE) \ 59 init_exec(struct nvbios_init *init) in init_exec() argument 61 return (init->execute == 1) || ((init->execute & 5) == 5); in init_exec() 65 init_exec_set(struct nvbios_init *init, bool exec) in init_exec_set() argument 67 if (exec) init->execute &= 0xfd; in init_exec_set() 68 else init->execute |= 0x02; in init_exec_set() 72 init_exec_inv(struct nvbios_init *init) in init_exec_inv() argument [all …]
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | base.c | 30 nvkm_devinit_mmio(struct nvkm_devinit *init, u32 addr) in nvkm_devinit_mmio() argument 32 if (init->func->mmio) in nvkm_devinit_mmio() 33 addr = init->func->mmio(init, addr); in nvkm_devinit_mmio() 38 nvkm_devinit_pll_set(struct nvkm_devinit *init, u32 type, u32 khz) in nvkm_devinit_pll_set() argument 40 return init->func->pll_set(init, type, khz); in nvkm_devinit_pll_set() 44 nvkm_devinit_meminit(struct nvkm_devinit *init) in nvkm_devinit_meminit() argument 46 if (init->func->meminit) in nvkm_devinit_meminit() 47 init->func->meminit(init); in nvkm_devinit_meminit() 51 nvkm_devinit_disable(struct nvkm_devinit *init) in nvkm_devinit_disable() argument 53 if (init && init->func->disable) in nvkm_devinit_disable() [all …]
|
D | gm200.c | 32 pmu_code(struct nv50_devinit *init, u32 pmu, u32 img, u32 len, bool sec) in pmu_code() argument 34 struct nvkm_device *device = init->base.subdev.device; in pmu_code() 52 pmu_data(struct nv50_devinit *init, u32 pmu, u32 img, u32 len) in pmu_data() argument 54 struct nvkm_device *device = init->base.subdev.device; in pmu_data() 64 pmu_args(struct nv50_devinit *init, u32 argp, u32 argi) in pmu_args() argument 66 struct nvkm_device *device = init->base.subdev.device; in pmu_args() 73 pmu_exec(struct nv50_devinit *init, u32 init_addr) in pmu_exec() argument 75 struct nvkm_device *device = init->base.subdev.device; in pmu_exec() 82 pmu_load(struct nv50_devinit *init, u8 type, bool post, in pmu_load() argument 85 struct nvkm_subdev *subdev = &init->base.subdev; in pmu_load() [all …]
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | gf100.c | 28 #define pack_for_each_init(init, pack, head) \ argument 29 for (pack = head; pack && pack->init; pack++) \ 30 for (init = pack->init; init && init->count; init++) 37 const struct nvkm_therm_clkgate_init *init; in gf100_clkgate_init() local 40 pack_for_each_init(init, pack, p) { in gf100_clkgate_init() 41 next = init->addr + init->count * 8; in gf100_clkgate_init() 42 addr = init->addr; in gf100_clkgate_init() 45 init->addr, init->count, init->data); in gf100_clkgate_init() 48 addr, init->data); in gf100_clkgate_init() 49 nvkm_wr32(device, addr, init->data); in gf100_clkgate_init()
|
/Linux-v5.4/arch/um/drivers/ |
D | umcast_kern.c | 31 struct umcast_init *init = data; in umcast_init() local 35 dpri->addr = init->addr; in umcast_init() 36 dpri->lport = init->lport; in umcast_init() 37 dpri->rport = init->rport; in umcast_init() 38 dpri->unicast = init->unicast; in umcast_init() 39 dpri->ttl = init->ttl; in umcast_init() 64 .init = umcast_init, 72 struct umcast_init *init = data; in mcast_setup() local 76 *init = ((struct umcast_init) in mcast_setup() 81 remain = split_if_spec(str, mac_out, &init->addr, &port_str, &ttl_str, in mcast_setup() [all …]
|
D | pcap_kern.c | 22 struct pcap_init *init = data; in pcap_init() local 26 ppri->host_if = init->host_if; in pcap_init() 27 ppri->promisc = init->promisc; in pcap_init() 28 ppri->optimize = init->optimize; in pcap_init() 29 ppri->filter = init->filter; in pcap_init() 47 .init = pcap_init, 55 struct pcap_init *init = data; in pcap_setup() local 59 *init = ((struct pcap_init) in pcap_setup() 65 remain = split_if_spec(str, &host_if, &init->filter, in pcap_setup() 74 init->host_if = host_if; in pcap_setup() [all …]
|
/Linux-v5.4/drivers/gpu/drm/r128/ |
D | r128_ioc32.c | 67 drm_r128_init_t init; in compat_r128_init() local 72 init.func = init32.func; in compat_r128_init() 73 init.sarea_priv_offset = init32.sarea_priv_offset; in compat_r128_init() 74 init.is_pci = init32.is_pci; in compat_r128_init() 75 init.cce_mode = init32.cce_mode; in compat_r128_init() 76 init.cce_secure = init32.cce_secure; in compat_r128_init() 77 init.ring_size = init32.ring_size; in compat_r128_init() 78 init.usec_timeout = init32.usec_timeout; in compat_r128_init() 79 init.fb_bpp = init32.fb_bpp; in compat_r128_init() 80 init.front_offset = init32.front_offset; in compat_r128_init() [all …]
|
/Linux-v5.4/drivers/clk/qcom/ |
D | gcc-msm8996.c | 174 .hw.init = &(struct clk_init_data){ 188 .hw.init = &(struct clk_init_data){ 200 .hw.init = &(struct clk_init_data){ 211 .clkr.hw.init = &(struct clk_init_data){ 224 .hw.init = &(struct clk_init_data){ 239 .hw.init = &(struct clk_init_data){ 255 .hw.init = &(struct clk_init_data){ 267 .clkr.hw.init = &(struct clk_init_data){ 290 .clkr.hw.init = &(struct clk_init_data){ 310 .clkr.hw.init = &(struct clk_init_data){ [all …]
|
D | gcc-apq8084.c | 109 .clkr.hw.init = &(struct clk_init_data){ 120 .hw.init = &(struct clk_init_data){ 132 .clkr.hw.init = &(struct clk_init_data){ 144 .clkr.hw.init = &(struct clk_init_data){ 156 .clkr.hw.init = &(struct clk_init_data){ 172 .clkr.hw.init = &(struct clk_init_data){ 183 .hw.init = &(struct clk_init_data){ 199 .clkr.hw.init = &(struct clk_init_data){ 210 .hw.init = &(struct clk_init_data){ 231 .clkr.hw.init = &(struct clk_init_data){ [all …]
|
D | gcc-msm8974.c | 65 .clkr.hw.init = &(struct clk_init_data){ 76 .hw.init = &(struct clk_init_data){ 88 .clkr.hw.init = &(struct clk_init_data){ 100 .clkr.hw.init = &(struct clk_init_data){ 112 .clkr.hw.init = &(struct clk_init_data){ 128 .clkr.hw.init = &(struct clk_init_data){ 139 .hw.init = &(struct clk_init_data){ 155 .clkr.hw.init = &(struct clk_init_data){ 166 .hw.init = &(struct clk_init_data){ 185 .clkr.hw.init = &(struct clk_init_data){ [all …]
|
D | gcc-ipq8074.c | 405 .hw.init = &(struct clk_init_data){ 419 .hw.init = &(struct clk_init_data){ 434 .clkr.hw.init = &(struct clk_init_data){ 450 .hw.init = &(struct clk_init_data){ 466 .clkr.hw.init = &(struct clk_init_data){ 483 .hw.init = &(struct clk_init_data){ 499 .clkr.hw.init = &(struct clk_init_data){ 517 .hw.init = &(struct clk_init_data){ 533 .clkr.hw.init = &(struct clk_init_data){ 547 .hw.init = &(struct clk_init_data){ [all …]
|
D | gcc-sdm845.c | 159 .hw.init = &(struct clk_init_data){ 174 .hw.init = &(struct clk_init_data){ 198 .clkr.hw.init = &(struct clk_init_data){ 217 .clkr.hw.init = &(struct clk_init_data){ 236 .clkr.hw.init = &(struct clk_init_data){ 259 .clkr.hw.init = &(struct clk_init_data){ 273 .clkr.hw.init = &(struct clk_init_data){ 287 .clkr.hw.init = &(struct clk_init_data){ 307 .clkr.hw.init = &(struct clk_init_data){ 321 .clkr.hw.init = &(struct clk_init_data){ [all …]
|
D | gcc-msm8998.c | 123 .hw.init = &(struct clk_init_data){ 144 .hw.init = &(struct clk_init_data){ 156 .clkr.hw.init = &(struct clk_init_data){ 167 .clkr.hw.init = &(struct clk_init_data){ 178 .clkr.hw.init = &(struct clk_init_data){ 189 .clkr.hw.init = &(struct clk_init_data){ 205 .hw.init = &(struct clk_init_data){ 217 .clkr.hw.init = &(struct clk_init_data){ 228 .clkr.hw.init = &(struct clk_init_data){ 239 .clkr.hw.init = &(struct clk_init_data){ [all …]
|
D | gcc-msm8994.c | 55 .hw.init = &(struct clk_init_data) 70 .hw.init = &(struct clk_init_data) 83 .clkr.hw.init = &(struct clk_init_data) 98 .hw.init = &(struct clk_init_data) 111 .clkr.hw.init = &(struct clk_init_data) 136 .clkr.hw.init = &(struct clk_init_data) 157 .clkr.hw.init = &(struct clk_init_data) 177 .clkr.hw.init = &(struct clk_init_data) 205 .clkr.hw.init = &(struct clk_init_data) 219 .clkr.hw.init = &(struct clk_init_data) [all …]
|
D | gcc-sdm660.c | 145 .hw.init = &(struct clk_init_data){ 159 .hw.init = &(struct clk_init_data){ 171 .hw.init = &(struct clk_init_data){ 182 .clkr.hw.init = &(struct clk_init_data){ 196 .hw.init = &(struct clk_init_data){ 208 .hw.init = &(struct clk_init_data){ 219 .clkr.hw.init = &(struct clk_init_data){ 233 .hw.init = &(struct clk_init_data){ 245 .clkr.hw.init = &(struct clk_init_data) 266 .clkr.hw.init = &(struct clk_init_data){ [all …]
|
D | mmcc-msm8974.c | 187 .clkr.hw.init = &(struct clk_init_data){ 198 .hw.init = &(struct clk_init_data){ 214 .clkr.hw.init = &(struct clk_init_data){ 225 .hw.init = &(struct clk_init_data){ 240 .clkr.hw.init = &(struct clk_init_data){ 256 .clkr.hw.init = &(struct clk_init_data){ 268 .clkr.hw.init = &(struct clk_init_data){ 293 .clkr.hw.init = &(struct clk_init_data){ 317 .clkr.hw.init = &(struct clk_init_data){ 336 .clkr.hw.init = &(struct clk_init_data){ [all …]
|
D | mmcc-apq8084.c | 222 .clkr.hw.init = &(struct clk_init_data){ 233 .hw.init = &(struct clk_init_data){ 249 .clkr.hw.init = &(struct clk_init_data){ 260 .hw.init = &(struct clk_init_data){ 275 .clkr.hw.init = &(struct clk_init_data){ 291 .clkr.hw.init = &(struct clk_init_data){ 306 .clkr.hw.init = &(struct clk_init_data){ 318 .clkr.hw.init = &(struct clk_init_data){ 343 .clkr.hw.init = &(struct clk_init_data){ 367 .clkr.hw.init = &(struct clk_init_data){ [all …]
|
D | gcc-qcs404.c | 280 .hw.init = &(struct clk_init_data){ 295 .hw.init = &(struct clk_init_data){ 311 .hw.init = &(struct clk_init_data){ 328 .hw.init = &(struct clk_init_data){ 344 .hw.init = &(struct clk_init_data){ 375 .hw.init = &(struct clk_init_data){ 390 .hw.init = &(struct clk_init_data){ 407 .clkr.hw.init = &(struct clk_init_data){ 418 .hw.init = &(struct clk_init_data){ 440 .clkr.hw.init = &(struct clk_init_data){ [all …]
|
D | mmcc-msm8996.c | 233 .hw.init = &(struct clk_init_data){ 266 .hw.init = &(struct clk_init_data){ 279 .clkr.hw.init = &(struct clk_init_data){ 296 .hw.init = &(struct clk_init_data){ 309 .clkr.hw.init = &(struct clk_init_data){ 323 .clkr.hw.init = &(struct clk_init_data){ 335 .clkr.hw.init = &(struct clk_init_data){ 349 .clkr.hw.init = &(struct clk_init_data){ 361 .clkr.hw.init = &(struct clk_init_data){ 375 .clkr.hw.init = &(struct clk_init_data){ [all …]
|
D | gcc-msm8916.c | 267 .clkr.hw.init = &(struct clk_init_data){ 278 .hw.init = &(struct clk_init_data){ 294 .clkr.hw.init = &(struct clk_init_data){ 305 .hw.init = &(struct clk_init_data){ 321 .clkr.hw.init = &(struct clk_init_data){ 332 .hw.init = &(struct clk_init_data){ 348 .clkr.hw.init = &(struct clk_init_data){ 359 .hw.init = &(struct clk_init_data){ 371 .clkr.hw.init = &(struct clk_init_data){ 383 .clkr.hw.init = &(struct clk_init_data){ [all …]
|
D | gcc-sm8150.c | 48 .hw.init = &(struct clk_init_data){ 75 .clkr.hw.init = &(struct clk_init_data){ 94 .hw.init = &(struct clk_init_data){ 114 .hw.init = &(struct clk_init_data){ 251 .clkr.hw.init = &(struct clk_init_data){ 274 .clkr.hw.init = &(struct clk_init_data){ 300 .clkr.hw.init = &(struct clk_init_data){ 324 .clkr.hw.init = &(struct clk_init_data){ 339 .clkr.hw.init = &(struct clk_init_data){ 354 .clkr.hw.init = &(struct clk_init_data){ [all …]
|
D | camcc-sdm845.c | 51 .hw.init = &(struct clk_init_data){ 73 .clkr.hw.init = &(struct clk_init_data){ 85 .hw.init = &(struct clk_init_data){ 101 .clkr.hw.init = &(struct clk_init_data){ 113 .hw.init = &(struct clk_init_data){ 129 .clkr.hw.init = &(struct clk_init_data){ 141 .hw.init = &(struct clk_init_data){ 157 .clkr.hw.init = &(struct clk_init_data){ 190 .clkr.hw.init = &(struct clk_init_data){ 213 .clkr.hw.init = &(struct clk_init_data){ [all …]
|
/Linux-v5.4/drivers/clk/ |
D | clk-versaclock5.c | 697 struct clk_init_data init; in vc5_probe() local 725 memset(&init, 0, sizeof(init)); in vc5_probe() 729 parent_names[init.num_parents++] = __clk_get_name(vc5->pin_xin); in vc5_probe() 737 parent_names[init.num_parents++] = __clk_get_name(vc5->pin_xin); in vc5_probe() 742 parent_names[init.num_parents++] = in vc5_probe() 746 if (!init.num_parents) { in vc5_probe() 751 init.name = vc5_mux_names[0]; in vc5_probe() 752 init.ops = &vc5_mux_ops; in vc5_probe() 753 init.flags = 0; in vc5_probe() 754 init.parent_names = parent_names; in vc5_probe() [all …]
|
/Linux-v5.4/lib/ |
D | test_stackinit.c | 241 #define DEFINE_SCALAR_TEST(name, init) \ argument 242 DEFINE_TEST(name ## _ ## init, name, SCALAR, init) 244 #define DEFINE_SCALAR_TESTS(init) \ argument 245 DEFINE_SCALAR_TEST(u8, init); \ 246 DEFINE_SCALAR_TEST(u16, init); \ 247 DEFINE_SCALAR_TEST(u32, init); \ 248 DEFINE_SCALAR_TEST(u64, init); \ 249 DEFINE_TEST(char_array_ ## init, unsigned char, STRING, init) 251 #define DEFINE_STRUCT_TEST(name, init) \ argument 252 DEFINE_TEST(name ## _ ## init, \ [all …]
|
/Linux-v5.4/drivers/clk/ti/ |
D | apll.c | 143 const struct clk_init_data *init = clk_hw->hw.init; in omap_clk_register_apll() local 172 kfree(init->parent_names); in omap_clk_register_apll() 173 kfree(init); in omap_clk_register_apll() 179 kfree(init->parent_names); in omap_clk_register_apll() 180 kfree(init); in omap_clk_register_apll() 188 struct clk_init_data *init = NULL; in of_dra7_apll_setup() local 194 init = kzalloc(sizeof(*init), GFP_KERNEL); in of_dra7_apll_setup() 195 if (!ad || !clk_hw || !init) in of_dra7_apll_setup() 199 clk_hw->hw.init = init; in of_dra7_apll_setup() 201 init->name = node->name; in of_dra7_apll_setup() [all …]
|