/Linux-v5.4/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_ppm.c | 66 int cxgbi_ppm_find_page_index(struct cxgbi_ppm *ppm, unsigned long pgsz) in cxgbi_ppm_find_page_index() argument 68 struct cxgbi_tag_format *tformat = &ppm->tformat; in cxgbi_ppm_find_page_index() 75 __func__, ppm->ndev->name, pgsz, i); in cxgbi_ppm_find_page_index() 105 static void ppm_mark_entries(struct cxgbi_ppm *ppm, int i, int count, in ppm_mark_entries() argument 108 struct cxgbi_ppod_data *pdata = ppm->ppod_data + i; in ppm_mark_entries() 119 static int ppm_get_cpu_entries(struct cxgbi_ppm *ppm, unsigned int count, in ppm_get_cpu_entries() argument 126 if (!ppm->pool) in ppm_get_cpu_entries() 130 pool = per_cpu_ptr(ppm->pool, cpu); in ppm_get_cpu_entries() 134 i = ppm_find_unused_entries(pool->bmap, ppm->pool_index_max, in ppm_get_cpu_entries() 143 if (pool->next >= ppm->pool_index_max) in ppm_get_cpu_entries() [all …]
|
D | libcxgb_ppm.h | 197 static inline int cxgbi_ppm_is_ddp_tag(struct cxgbi_ppm *ppm, u32 tag) in cxgbi_ppm_is_ddp_tag() argument 199 return !(tag & ppm->tformat.no_ddp_mask); in cxgbi_ppm_is_ddp_tag() 202 static inline int cxgbi_ppm_sw_tag_is_usable(struct cxgbi_ppm *ppm, in cxgbi_ppm_sw_tag_is_usable() argument 209 static inline int cxgbi_ppm_make_non_ddp_tag(struct cxgbi_ppm *ppm, in cxgbi_ppm_make_non_ddp_tag() argument 213 struct cxgbi_tag_format *tformat = &ppm->tformat; in cxgbi_ppm_make_non_ddp_tag() 215 if (!cxgbi_ppm_sw_tag_is_usable(ppm, sw_tag)) { in cxgbi_ppm_make_non_ddp_tag() 232 static inline u32 cxgbi_ppm_decode_non_ddp_tag(struct cxgbi_ppm *ppm, in cxgbi_ppm_decode_non_ddp_tag() argument 235 struct cxgbi_tag_format *tformat = &ppm->tformat; in cxgbi_ppm_decode_non_ddp_tag() 243 static inline u32 cxgbi_ppm_ddp_tag_get_idx(struct cxgbi_ppm *ppm, in cxgbi_ppm_ddp_tag_get_idx() argument 247 ppm->tformat.idx_mask; in cxgbi_ppm_ddp_tag_get_idx() [all …]
|
/Linux-v5.4/drivers/usb/typec/ucsi/ |
D | ucsi_acpi.c | 22 struct ucsi_ppm ppm; member 42 static int ucsi_acpi_cmd(struct ucsi_ppm *ppm, struct ucsi_control *ctrl) in ucsi_acpi_cmd() argument 44 struct ucsi_acpi *ua = container_of(ppm, struct ucsi_acpi, ppm); in ucsi_acpi_cmd() 46 ppm->data->ctrl.raw_cmd = ctrl->raw_cmd; in ucsi_acpi_cmd() 51 static int ucsi_acpi_sync(struct ucsi_ppm *ppm) in ucsi_acpi_sync() argument 53 struct ucsi_acpi *ua = container_of(ppm, struct ucsi_acpi, ppm); in ucsi_acpi_sync() 93 ua->ppm.data = devm_ioremap(&pdev->dev, res->start, resource_size(res)); in ucsi_acpi_probe() 94 if (!ua->ppm.data) in ucsi_acpi_probe() 97 if (!ua->ppm.data->version) in ucsi_acpi_probe() 104 ua->ppm.cmd = ucsi_acpi_cmd; in ucsi_acpi_probe() [all …]
|
D | ucsi_ccg.c | 179 struct ucsi_ppm ppm; member 322 u8 *ppm = (u8 *)uc->ppm.data; in ucsi_ccg_send_data() local 327 status = ccg_write(uc, rab, ppm + in ucsi_ccg_send_data() 329 sizeof(uc->ppm.data->message_out)); in ucsi_ccg_send_data() 334 return ccg_write(uc, rab, ppm + offsetof(struct ucsi_data, ctrl), in ucsi_ccg_send_data() 335 sizeof(uc->ppm.data->ctrl)); in ucsi_ccg_send_data() 340 u8 *ppm = (u8 *)uc->ppm.data; in ucsi_ccg_recv_data() local 345 status = ccg_read(uc, rab, ppm + offsetof(struct ucsi_data, cci), in ucsi_ccg_recv_data() 346 sizeof(uc->ppm.data->cci)); in ucsi_ccg_recv_data() 351 return ccg_read(uc, rab, ppm + offsetof(struct ucsi_data, message_in), in ucsi_ccg_recv_data() [all …]
|
D | ucsi.c | 44 if (ucsi->ppm && ucsi->ppm->sync) in ucsi_sync() 45 return ucsi->ppm->sync(ucsi->ppm); in ucsi_sync() 57 ret = ucsi->ppm->cmd(ucsi->ppm, ctrl); in ucsi_command() 83 ret = ucsi->ppm->cmd(ucsi->ppm, &ctrl); in ucsi_ack() 123 memcpy(data, ucsi->ppm->data->message_in, size); in ucsi_run_command() 125 data_length = ucsi->ppm->data->cci.data_length; in ucsi_run_command() 148 memcpy(&error, ucsi->ppm->data->message_in, sizeof(error)); in ucsi_run_command() 233 if (con->ucsi->ppm->data->version > 0x0100) { in ucsi_altmode_update_active() 610 cci = &ucsi->ppm->data->cci; in ucsi_notify() 632 trace_ucsi_notify(ucsi->ppm->data->raw_cci); in ucsi_notify() [all …]
|
/Linux-v5.4/drivers/target/iscsi/cxgbit/ |
D | cxgbit_ddp.c | 64 cxgbit_ppod_init_idata(struct cxgbit_device *cdev, struct cxgbi_ppm *ppm, in cxgbit_ppod_init_idata() argument 69 unsigned int pm_addr = (idx << PPOD_SIZE_SHIFT) + ppm->llimit; in cxgbit_ppod_init_idata() 98 cxgbit_ppod_write_idata(struct cxgbi_ppm *ppm, struct cxgbit_sock *csk, in cxgbit_ppod_write_idata() argument 110 skb = cxgbit_ppod_init_idata(cdev, ppm, idx, npods, csk->tid); in cxgbit_ppod_write_idata() 127 cxgbit_ddp_set_map(struct cxgbi_ppm *ppm, struct cxgbit_sock *csk, in cxgbit_ddp_set_map() argument 143 ret = cxgbit_ppod_write_idata(ppm, csk, ttinfo, pidx, cnt, in cxgbit_ddp_set_map() 175 struct cxgbi_ppm *ppm = cdev2ppm(cdev); in cxgbit_ddp_reserve() local 183 ppm, ppm->tformat.pgsz_idx_dflt, in cxgbit_ddp_reserve() 197 ret = cxgbi_ppm_ppods_reserve(ppm, ttinfo->nr_pages, 0, &ttinfo->idx, in cxgbit_ddp_reserve() 204 ret = dma_map_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); in cxgbit_ddp_reserve() [all …]
|
/Linux-v5.4/tools/testing/selftests/timers/ |
D | skew_consistency.c | 44 int ret, ppm; in main() local 54 ppm = 500; in main() 58 ppm = -ppm; in main() 60 tx.freq = ppm << 16; in main()
|
D | raw_skew.c | 95 long long delta1, delta2, interval, eppm, ppm; in main() local 132 ppm = (tx1.freq + tx2.freq) * 1000 / 2; in main() 133 ppm = (long long)tx1.freq * 1000; in main() 134 ppm = shift_right(ppm, 16); in main() 135 printf(" %lld.%i(act)", ppm/1000, abs((int)(ppm%1000))); in main() 137 if (llabs(eppm - ppm) > 1000) { in main()
|
D | change_skew.c | 36 int change_skew_test(int ppm) in change_skew_test() argument 42 tx.freq = ppm << 16; in change_skew_test() 63 int ppm[5] = {0, 250, 500, -250, -500}; in main() local 79 printf("Using %i ppm adjustment\n", ppm[i]); in main() 80 ret = change_skew_test(ppm[i]); in main()
|
D | adjtick.c | 117 long long eppm, ppm; in check_tick_adj() local 134 ppm = ((long long)tickval * MILLION)/systick - MILLION; in check_tick_adj() 135 printf("Estimating tick (act: %ld usec, %lld ppm): ", tickval, ppm); in check_tick_adj() 159 if (llabs(eppm - ppm) > 100) { in check_tick_adj()
|
/Linux-v5.4/drivers/clocksource/ |
D | scx200_hrt.c | 27 static int ppm; variable 28 module_param(ppm, int, 0); /* load time only */ 29 MODULE_PARM_DESC(ppm, "+-adjust to actual XO freq (ppm)"); 76 freq = (HRT_FREQ + ppm); in init_hrt_clocksource() 80 pr_info("enabling scx200 high-res timer (%s MHz +%d ppm)\n", mhz27 ? "27":"1", ppm); in init_hrt_clocksource()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/pm/ |
D | nv40.c | 83 int index, struct nvkm_pm **ppm) in nv40_pm_new_() argument 90 *ppm = &pm->base; in nv40_pm_new_() 120 nv40_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) in nv40_pm_new() argument 122 return nv40_pm_new_(nv40_pm, device, index, ppm); in nv40_pm_new()
|
D | gf100.c | 190 int index, struct nvkm_pm **ppm) in gf100_pm_new_() argument 196 if (!(pm = *ppm = kzalloc(sizeof(*pm), GFP_KERNEL))) in gf100_pm_new_() 240 gf100_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) in gf100_pm_new() argument 242 return gf100_pm_new_(&gf100_pm, device, index, ppm); in gf100_pm_new()
|
D | gf108.c | 63 gf108_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) in gf108_pm_new() argument 65 return gf100_pm_new_(&gf108_pm, device, index, ppm); in gf108_pm_new()
|
D | gf117.c | 77 gf117_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) in gf117_pm_new() argument 79 return gf100_pm_new_(&gf117_pm, device, index, ppm); in gf117_pm_new()
|
D | gt215.c | 135 gt215_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) in gt215_pm_new() argument 137 return nv40_pm_new_(gt215_pm, device, index, ppm); in gt215_pm_new()
|
D | gt200.c | 154 gt200_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) in gt200_pm_new() argument 156 return nv40_pm_new_(gt200_pm, device, index, ppm); in gt200_pm_new()
|
D | g84.c | 162 g84_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) in g84_pm_new() argument 164 return nv40_pm_new_(g84_pm, device, index, ppm); in g84_pm_new()
|
D | nv50.c | 172 nv50_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) in nv50_pm_new() argument 174 return nv40_pm_new_(nv50_pm, device, index, ppm); in nv50_pm_new()
|
D | gk104.c | 181 gk104_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) in gk104_pm_new() argument 183 return gf100_pm_new_(&gk104_pm, device, index, ppm); in gk104_pm_new()
|
/Linux-v5.4/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_tnrdmd_dvbt_mon.h | 64 *tnr_dmd, int *ppm); 69 int *ppm);
|
D | cxd2880_tnrdmd_dvbt_mon.c | 543 *tnr_dmd, int *ppm) in cxd2880_tnrdmd_dvbt_mon_sampling_offset() argument 554 if (!tnr_dmd || !ppm) in cxd2880_tnrdmd_dvbt_mon_sampling_offset() 648 *ppm = (num + (den / 2)) / den; in cxd2880_tnrdmd_dvbt_mon_sampling_offset() 650 *ppm = (num - (den / 2)) / den; in cxd2880_tnrdmd_dvbt_mon_sampling_offset() 657 *tnr_dmd, int *ppm) in cxd2880_tnrdmd_dvbt_mon_sampling_offset_sub() argument 659 if (!tnr_dmd || !ppm) in cxd2880_tnrdmd_dvbt_mon_sampling_offset_sub() 665 return cxd2880_tnrdmd_dvbt_mon_sampling_offset(tnr_dmd->diver_sub, ppm); in cxd2880_tnrdmd_dvbt_mon_sampling_offset_sub()
|
/Linux-v5.4/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1299 struct cxgbi_ppm *ppm = (struct cxgbi_ppm *)(*ppm_pp); in cxgbi_ddp_ppm_setup() local 1301 if (ppm->ppmax < 1024 || in cxgbi_ddp_ppm_setup() 1302 ppm->tformat.pgsz_idx_dflt >= DDP_PGIDX_MAX) in cxgbi_ddp_ppm_setup() 1341 struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev); in cxgbi_ddp_reserve() local 1354 if (!ppm || xferlen < DDP_THRESHOLD || !sgcnt || in cxgbi_ddp_reserve() 1355 ppm->tformat.pgsz_idx_dflt >= DDP_PGIDX_MAX) { in cxgbi_ddp_reserve() 1358 ppm, ppm ? ppm->tformat.pgsz_idx_dflt : DDP_PGIDX_MAX, in cxgbi_ddp_reserve() 1375 err = cxgbi_ppm_ppods_reserve(ppm, ttinfo->nr_pages, 0, &ttinfo->idx, in cxgbi_ddp_reserve() 1385 err = dma_map_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); in cxgbi_ddp_reserve() 1401 cxgbi_ppm_make_ppod_hdr(ppm, ttinfo->tag, csk->tid, sgl->offset, in cxgbi_ddp_reserve() [all …]
|
/Linux-v5.4/drivers/video/logo/ |
D | Makefile | 32 $(obj)/%_vga16.c: $(src)/%_vga16.ppm $(pnmtologo) FORCE 35 $(obj)/%_clut224.c: $(src)/%_clut224.ppm $(pnmtologo) FORCE
|
/Linux-v5.4/Documentation/devicetree/bindings/phy/ |
D | rcar-gen3-phy-usb3.txt | 38 - 4980: enable the ssc as -4980 ppm 39 - 4492: enable the ssc as -4492 ppm 40 - 4003: enable the ssc as -4003 ppm
|