/linux-6.1.9/drivers/interconnect/qcom/ |
D | icc-common.c | 14 struct icc_node_data *ndata; in qcom_icc_xlate_extended() local 21 ndata = kzalloc(sizeof(*ndata), GFP_KERNEL); in qcom_icc_xlate_extended() 22 if (!ndata) in qcom_icc_xlate_extended() 25 ndata->node = node; in qcom_icc_xlate_extended() 28 ndata->tag = spec->args[1]; in qcom_icc_xlate_extended() 33 return ndata; in qcom_icc_xlate_extended()
|
/linux-6.1.9/drivers/clk/samsung/ |
D | clk-cpu.c | 149 static int exynos_cpuclk_pre_rate_change(struct clk_notifier_data *ndata, in exynos_cpuclk_pre_rate_change() argument 159 while ((cfg_data->prate * 1000) != ndata->new_rate) { in exynos_cpuclk_pre_rate_change() 188 if (alt_prate > ndata->old_rate || ndata->old_rate > ndata->new_rate) { in exynos_cpuclk_pre_rate_change() 189 unsigned long tmp_rate = min(ndata->old_rate, ndata->new_rate); in exynos_cpuclk_pre_rate_change() 226 static int exynos_cpuclk_post_rate_change(struct clk_notifier_data *ndata, in exynos_cpuclk_post_rate_change() argument 236 while ((cfg_data->prate * 1000) != ndata->new_rate) { in exynos_cpuclk_post_rate_change() 277 static int exynos5433_cpuclk_pre_rate_change(struct clk_notifier_data *ndata, in exynos5433_cpuclk_pre_rate_change() argument 287 while ((cfg_data->prate * 1000) != ndata->new_rate) { in exynos5433_cpuclk_pre_rate_change() 310 if (alt_prate > ndata->old_rate || ndata->old_rate > ndata->new_rate) { in exynos5433_cpuclk_pre_rate_change() 311 unsigned long tmp_rate = min(ndata->old_rate, ndata->new_rate); in exynos5433_cpuclk_pre_rate_change() [all …]
|
/linux-6.1.9/drivers/clk/rockchip/ |
D | clk-cpu.c | 117 struct clk_notifier_data *ndata) in rockchip_cpuclk_pre_rate_change() argument 126 rate = rockchip_get_cpuclk_settings(cpuclk, ndata->new_rate); in rockchip_cpuclk_pre_rate_change() 129 __func__, ndata->new_rate); in rockchip_cpuclk_pre_rate_change() 143 if (alt_prate > ndata->old_rate) { in rockchip_cpuclk_pre_rate_change() 145 alt_div = DIV_ROUND_UP(alt_prate, ndata->old_rate) - 1; in rockchip_cpuclk_pre_rate_change() 160 __func__, alt_div, alt_prate, ndata->old_rate); in rockchip_cpuclk_pre_rate_change() 179 struct clk_notifier_data *ndata) in rockchip_cpuclk_post_rate_change() argument 186 rate = rockchip_get_cpuclk_settings(cpuclk, ndata->new_rate); in rockchip_cpuclk_post_rate_change() 189 __func__, ndata->new_rate); in rockchip_cpuclk_post_rate_change() 195 if (ndata->old_rate < ndata->new_rate) in rockchip_cpuclk_post_rate_change() [all …]
|
D | clk-mmc-phase.c | 162 struct clk_notifier_data *ndata = data; in rockchip_mmc_clk_rate_notify() local 178 if (ndata->old_rate <= ndata->new_rate) in rockchip_mmc_clk_rate_notify()
|
/linux-6.1.9/drivers/clocksource/ |
D | timer-cadence-ttc.c | 229 struct clk_notifier_data *ndata = data; in ttc_rate_change_clocksource_cb() local 240 if (ndata->new_rate > ndata->old_rate) { in ttc_rate_change_clocksource_cb() 241 factor = DIV_ROUND_CLOSEST(ndata->new_rate, in ttc_rate_change_clocksource_cb() 242 ndata->old_rate); in ttc_rate_change_clocksource_cb() 243 rate_low = ndata->old_rate; in ttc_rate_change_clocksource_cb() 244 rate_high = ndata->new_rate; in ttc_rate_change_clocksource_cb() 246 factor = DIV_ROUND_CLOSEST(ndata->old_rate, in ttc_rate_change_clocksource_cb() 247 ndata->new_rate); in ttc_rate_change_clocksource_cb() 248 rate_low = ndata->new_rate; in ttc_rate_change_clocksource_cb() 249 rate_high = ndata->old_rate; in ttc_rate_change_clocksource_cb() [all …]
|
D | arm_global_timer.c | 288 struct clk_notifier_data *ndata = data; in gt_clk_rate_change_cb() local 295 psv = DIV_ROUND_CLOSEST(ndata->new_rate, in gt_clk_rate_change_cb() 298 if (abs(gt_target_rate - (ndata->new_rate / psv)) > MAX_F_ERR) in gt_clk_rate_change_cb() 314 if (ndata->new_rate < ndata->old_rate) in gt_clk_rate_change_cb() 323 if (ndata->new_rate > ndata->old_rate) in gt_clk_rate_change_cb() 332 if (ndata->new_rate < ndata->old_rate) in gt_clk_rate_change_cb()
|
D | timer-sun5i.c | 163 struct clk_notifier_data *ndata = data; in sun5i_rate_cb_clksrc() local 173 clocksource_register_hz(&cs->clksrc, ndata->new_rate); in sun5i_rate_cb_clksrc() 249 struct clk_notifier_data *ndata = data; in sun5i_rate_cb_clkevt() local 254 clockevents_update_freq(&ce->clkevt, ndata->new_rate); in sun5i_rate_cb_clkevt() 255 ce->timer.ticks_per_jiffy = DIV_ROUND_UP(ndata->new_rate, HZ); in sun5i_rate_cb_clkevt()
|
/linux-6.1.9/sound/pci/ice1712/ |
D | ews.c | 135 unsigned char data, ndata; in snd_ice1712_ews88mt_chip_select() local 142 ndata = (data & 0xf0) | chip_mask; in snd_ice1712_ews88mt_chip_select() 143 if (ndata != data) in snd_ice1712_ews88mt_chip_select() 144 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_PCF2], &ndata, 1) in snd_ice1712_ews88mt_chip_select() 649 unsigned char data, ndata; in snd_ice1712_ews88mt_output_sense_put() local 656 …ndata = (data & ~ICE1712_EWS88MT_OUTPUT_SENSE) | (ucontrol->value.enumerated.item[0] ? ICE1712_EWS… in snd_ice1712_ews88mt_output_sense_put() 657 if (ndata != data && snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_PCF2], in snd_ice1712_ews88mt_output_sense_put() 658 &ndata, 1) != 1) { in snd_ice1712_ews88mt_output_sense_put() 663 return ndata != data; in snd_ice1712_ews88mt_output_sense_put() 693 unsigned char data, ndata; in snd_ice1712_ews88mt_input_sense_put() local [all …]
|
/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_nic.c | 84 struct octnic_data_pkt *ndata, in octnet_send_nic_data_pkt() argument 89 return octeon_send_command(oct, ndata->q_no, ring_doorbell, &ndata->cmd, in octnet_send_nic_data_pkt() 90 ndata->buf, ndata->datasize, in octnet_send_nic_data_pkt() 91 ndata->reqtype); in octnet_send_nic_data_pkt()
|
D | lio_vf_main.c | 1357 struct octnic_data_pkt *ndata, in send_nic_timestamp_pkt() argument 1369 sc = octeon_alloc_soft_command_resp(oct, &ndata->cmd, in send_nic_timestamp_pkt() 1378 if (ndata->reqtype == REQTYPE_NORESP_NET) in send_nic_timestamp_pkt() 1379 ndata->reqtype = REQTYPE_RESP_NET; in send_nic_timestamp_pkt() 1380 else if (ndata->reqtype == REQTYPE_NORESP_NET_SG) in send_nic_timestamp_pkt() 1381 ndata->reqtype = REQTYPE_RESP_NET_SG; in send_nic_timestamp_pkt() 1385 sc->iq_no = ndata->q_no; in send_nic_timestamp_pkt() 1392 sc, len, ndata->reqtype); in send_nic_timestamp_pkt() 1416 struct octnic_data_pkt ndata; in liquidio_xmit() local 1457 memset(&ndata, 0, sizeof(struct octnic_data_pkt)); in liquidio_xmit() [all …]
|
D | lio_main.c | 2244 struct octnic_data_pkt *ndata, in send_nic_timestamp_pkt() argument 2256 sc = octeon_alloc_soft_command_resp(oct, &ndata->cmd, in send_nic_timestamp_pkt() 2265 if (ndata->reqtype == REQTYPE_NORESP_NET) in send_nic_timestamp_pkt() 2266 ndata->reqtype = REQTYPE_RESP_NET; in send_nic_timestamp_pkt() 2267 else if (ndata->reqtype == REQTYPE_NORESP_NET_SG) in send_nic_timestamp_pkt() 2268 ndata->reqtype = REQTYPE_RESP_NET_SG; in send_nic_timestamp_pkt() 2272 sc->iq_no = ndata->q_no; in send_nic_timestamp_pkt() 2284 sc, len, ndata->reqtype); in send_nic_timestamp_pkt() 2310 struct octnic_data_pkt ndata; in liquidio_xmit() local 2351 memset(&ndata, 0, sizeof(struct octnic_data_pkt)); in liquidio_xmit() [all …]
|
/linux-6.1.9/fs/ocfs2/dlm/ |
D | dlmrecovery.c | 230 struct dlm_reco_node_data *ndata; in dlm_print_reco_node_status() local 238 list_for_each_entry(ndata, &dlm->reco.node_data, list) { in dlm_print_reco_node_status() 240 switch (ndata->state) { in dlm_print_reco_node_status() 267 dlm->name, ndata->node_num, st); in dlm_print_reco_node_status() 537 struct dlm_reco_node_data *ndata; in dlm_remaster_locks() local 555 list_for_each_entry(ndata, &dlm->reco.node_data, list) { in dlm_remaster_locks() 556 BUG_ON(ndata->state != DLM_RECO_NODE_DATA_INIT); in dlm_remaster_locks() 557 ndata->state = DLM_RECO_NODE_DATA_REQUESTING; in dlm_remaster_locks() 560 ndata->node_num); in dlm_remaster_locks() 562 if (ndata->node_num == dlm->node_num) { in dlm_remaster_locks() [all …]
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | reuseport_bpf.c | 218 uint32_t data, ndata; in test_recv_order() local 236 ndata = htonl(data); in test_recv_order() 237 memcpy(send_buf, &ndata, sizeof(ndata)); in test_recv_order() 238 send_from(p, sport, send_buf, sizeof(ndata)); in test_recv_order() 255 if (i != sizeof(ndata)) in test_recv_order() 257 sizeof(ndata), i); in test_recv_order() 262 memcpy(&ndata, recv_buf, sizeof(ndata)); in test_recv_order() 263 fprintf(stderr, "Socket %d: %d\n", i, ntohl(ndata)); in test_recv_order()
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-cadence.c | 1116 struct clk_notifier_data *ndata = data; in cdns_i2c_clk_notifier_cb() local 1125 unsigned long input_clk = ndata->new_rate; in cdns_i2c_clk_notifier_cb() 1138 if (ndata->new_rate > ndata->old_rate) in cdns_i2c_clk_notifier_cb() 1139 cdns_i2c_setclk(ndata->new_rate, id); in cdns_i2c_clk_notifier_cb() 1144 id->input_clk = ndata->new_rate; in cdns_i2c_clk_notifier_cb() 1146 if (ndata->new_rate < ndata->old_rate) in cdns_i2c_clk_notifier_cb() 1147 cdns_i2c_setclk(ndata->new_rate, id); in cdns_i2c_clk_notifier_cb() 1151 if (ndata->new_rate > ndata->old_rate) in cdns_i2c_clk_notifier_cb() 1152 cdns_i2c_setclk(ndata->old_rate, id); in cdns_i2c_clk_notifier_cb()
|
D | i2c-rk3x.c | 927 struct clk_notifier_data *ndata = data; in rk3x_i2c_clk_notifier_cb() local 938 if (i2c->soc_data->calc_timings(ndata->new_rate, &i2c->t, in rk3x_i2c_clk_notifier_cb() 943 if (ndata->new_rate > ndata->old_rate) in rk3x_i2c_clk_notifier_cb() 944 rk3x_i2c_adapt_div(i2c, ndata->new_rate); in rk3x_i2c_clk_notifier_cb() 949 if (ndata->new_rate < ndata->old_rate) in rk3x_i2c_clk_notifier_cb() 950 rk3x_i2c_adapt_div(i2c, ndata->new_rate); in rk3x_i2c_clk_notifier_cb() 954 if (ndata->new_rate > ndata->old_rate) in rk3x_i2c_clk_notifier_cb() 955 rk3x_i2c_adapt_div(i2c, ndata->old_rate); in rk3x_i2c_clk_notifier_cb()
|
/linux-6.1.9/drivers/memory/tegra/ |
D | tegra20.c | 396 struct icc_node_data *ndata; in tegra20_mc_of_icc_xlate_extended() local 403 ndata = kzalloc(sizeof(*ndata), GFP_KERNEL); in tegra20_mc_of_icc_xlate_extended() 404 if (!ndata) in tegra20_mc_of_icc_xlate_extended() 407 ndata->node = node; in tegra20_mc_of_icc_xlate_extended() 412 ndata->tag = TEGRA_MC_ICC_TAG_ISO; in tegra20_mc_of_icc_xlate_extended() 414 ndata->tag = TEGRA_MC_ICC_TAG_DEFAULT; in tegra20_mc_of_icc_xlate_extended() 416 return ndata; in tegra20_mc_of_icc_xlate_extended()
|
D | tegra124.c | 1178 struct icc_node_data *ndata; in tegra124_mc_of_icc_xlate_extended() local 1185 ndata = kzalloc(sizeof(*ndata), GFP_KERNEL); in tegra124_mc_of_icc_xlate_extended() 1186 if (!ndata) in tegra124_mc_of_icc_xlate_extended() 1190 ndata->node = node; in tegra124_mc_of_icc_xlate_extended() 1198 ndata->tag = TEGRA_MC_ICC_TAG_ISO; in tegra124_mc_of_icc_xlate_extended() 1202 ndata->tag = TEGRA_MC_ICC_TAG_DEFAULT; in tegra124_mc_of_icc_xlate_extended() 1206 return ndata; in tegra124_mc_of_icc_xlate_extended()
|
D | tegra30.c | 1340 struct icc_node_data *ndata; in tegra30_mc_of_icc_xlate_extended() local 1347 ndata = kzalloc(sizeof(*ndata), GFP_KERNEL); in tegra30_mc_of_icc_xlate_extended() 1348 if (!ndata) in tegra30_mc_of_icc_xlate_extended() 1352 ndata->node = node; in tegra30_mc_of_icc_xlate_extended() 1360 ndata->tag = TEGRA_MC_ICC_TAG_ISO; in tegra30_mc_of_icc_xlate_extended() 1364 ndata->tag = TEGRA_MC_ICC_TAG_DEFAULT; in tegra30_mc_of_icc_xlate_extended() 1368 return ndata; in tegra30_mc_of_icc_xlate_extended()
|
D | tegra20-emc.c | 969 struct icc_node_data *ndata; in emc_of_icc_xlate_extended() local 977 ndata = kzalloc(sizeof(*ndata), GFP_KERNEL); in emc_of_icc_xlate_extended() 978 if (!ndata) in emc_of_icc_xlate_extended() 985 ndata->tag = TEGRA_MC_ICC_TAG_ISO; in emc_of_icc_xlate_extended() 986 ndata->node = node; in emc_of_icc_xlate_extended() 988 return ndata; in emc_of_icc_xlate_extended()
|
D | tegra124-emc.c | 1291 struct icc_node_data *ndata; in emc_of_icc_xlate_extended() local 1299 ndata = kzalloc(sizeof(*ndata), GFP_KERNEL); in emc_of_icc_xlate_extended() 1300 if (!ndata) in emc_of_icc_xlate_extended() 1307 ndata->tag = TEGRA_MC_ICC_TAG_ISO; in emc_of_icc_xlate_extended() 1308 ndata->node = node; in emc_of_icc_xlate_extended() 1310 return ndata; in emc_of_icc_xlate_extended()
|
/linux-6.1.9/net/dsa/ |
D | master.c | 152 uint8_t *ndata; in dsa_master_get_strings() local 173 ndata = data + mcount * len; in dsa_master_get_strings() 178 ds->ops->get_strings(ds, port, stringset, ndata); in dsa_master_get_strings() 183 memmove(ndata + (i * len + sizeof(pfx)), in dsa_master_get_strings() 184 ndata + i * len, len - sizeof(pfx)); in dsa_master_get_strings() 185 memcpy(ndata + i * len, pfx, sizeof(pfx)); in dsa_master_get_strings()
|
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/ |
D | emulator_error_test.c | 67 if (run->emulation_failure.ndata >= 1) { in process_exit_on_emulation_error() 70 run->emulation_failure.ndata >= 3) { in process_exit_on_emulation_error()
|
/linux-6.1.9/drivers/clk/xilinx/ |
D | clk-xlnx-clock-wizard.c | 366 struct clk_notifier_data *ndata = data; in clk_wzrd_clk_notifier() local 372 if (ndata->clk == clk_wzrd->clk_in1) in clk_wzrd_clk_notifier() 374 else if (ndata->clk == clk_wzrd->axi_clk) in clk_wzrd_clk_notifier() 381 if (ndata->new_rate > max) in clk_wzrd_clk_notifier()
|
/linux-6.1.9/sound/i2c/ |
D | cs8427.c | 103 unsigned char *ndata, in snd_cs8427_send_corudata() argument 112 if (!memcmp(hw_data, ndata, count)) in snd_cs8427_send_corudata() 117 memcpy(hw_data, ndata, count); in snd_cs8427_send_corudata() 131 data[idx + 1] = bitrev8(ndata[idx]); in snd_cs8427_send_corudata()
|
/linux-6.1.9/arch/mips/boot/ |
D | elf2ecoff.c | 362 struct sect ndata, nbss; in main() local 364 ndata.vaddr = ph[i].p_vaddr; in main() 365 ndata.len = ph[i].p_filesz; in main() 369 combine(&data, &ndata, 0); in main()
|