/Linux-v4.19/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 127 pool = per_cpu_ptr(ppm->pool, cpu); in ppm_get_cpu_entries() 131 i = ppm_find_unused_entries(pool->bmap, ppm->pool_index_max, in ppm_get_cpu_entries() 140 if (pool->next >= ppm->pool_index_max) in ppm_get_cpu_entries() 146 __func__, cpu, i, count, i + cpu * ppm->pool_index_max, in ppm_get_cpu_entries() [all …]
|
D | libcxgb_ppm.h | 196 static inline int cxgbi_ppm_is_ddp_tag(struct cxgbi_ppm *ppm, u32 tag) in cxgbi_ppm_is_ddp_tag() argument 198 return !(tag & ppm->tformat.no_ddp_mask); in cxgbi_ppm_is_ddp_tag() 201 static inline int cxgbi_ppm_sw_tag_is_usable(struct cxgbi_ppm *ppm, in cxgbi_ppm_sw_tag_is_usable() argument 208 static inline int cxgbi_ppm_make_non_ddp_tag(struct cxgbi_ppm *ppm, in cxgbi_ppm_make_non_ddp_tag() argument 212 struct cxgbi_tag_format *tformat = &ppm->tformat; in cxgbi_ppm_make_non_ddp_tag() 214 if (!cxgbi_ppm_sw_tag_is_usable(ppm, sw_tag)) { in cxgbi_ppm_make_non_ddp_tag() 231 static inline u32 cxgbi_ppm_decode_non_ddp_tag(struct cxgbi_ppm *ppm, in cxgbi_ppm_decode_non_ddp_tag() argument 234 struct cxgbi_tag_format *tformat = &ppm->tformat; in cxgbi_ppm_decode_non_ddp_tag() 242 static inline u32 cxgbi_ppm_ddp_tag_get_idx(struct cxgbi_ppm *ppm, in cxgbi_ppm_ddp_tag_get_idx() argument 246 ppm->tformat.idx_mask; in cxgbi_ppm_ddp_tag_get_idx() [all …]
|
/Linux-v4.19/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.c | 66 struct ucsi_ppm *ppm; member 87 if (ucsi->ppm && ucsi->ppm->sync) in ucsi_sync() 88 return ucsi->ppm->sync(ucsi->ppm); in ucsi_sync() 100 ret = ucsi->ppm->cmd(ucsi->ppm, ctrl); in ucsi_command() 126 ret = ucsi->ppm->cmd(ucsi->ppm, &ctrl); in ucsi_ack() 166 memcpy(data, ucsi->ppm->data->message_in, size); in ucsi_run_command() 168 data_length = ucsi->ppm->data->cci.data_length; in ucsi_run_command() 191 memcpy(&error, ucsi->ppm->data->message_in, sizeof(error)); in ucsi_run_command() 396 cci = &ucsi->ppm->data->cci; in ucsi_notify() 418 trace_ucsi_notify(ucsi->ppm->data->raw_cci); in ucsi_notify() [all …]
|
/Linux-v4.19/drivers/target/iscsi/cxgbit/ |
D | cxgbit_ddp.c | 67 cxgbit_ppod_init_idata(struct cxgbit_device *cdev, struct cxgbi_ppm *ppm, in cxgbit_ppod_init_idata() argument 72 unsigned int pm_addr = (idx << PPOD_SIZE_SHIFT) + ppm->llimit; in cxgbit_ppod_init_idata() 101 cxgbit_ppod_write_idata(struct cxgbi_ppm *ppm, struct cxgbit_sock *csk, in cxgbit_ppod_write_idata() argument 113 skb = cxgbit_ppod_init_idata(cdev, ppm, idx, npods, csk->tid); in cxgbit_ppod_write_idata() 130 cxgbit_ddp_set_map(struct cxgbi_ppm *ppm, struct cxgbit_sock *csk, in cxgbit_ddp_set_map() argument 146 ret = cxgbit_ppod_write_idata(ppm, csk, ttinfo, pidx, cnt, in cxgbit_ddp_set_map() 178 struct cxgbi_ppm *ppm = cdev2ppm(cdev); in cxgbit_ddp_reserve() local 186 ppm, ppm->tformat.pgsz_idx_dflt, in cxgbit_ddp_reserve() 200 ret = cxgbi_ppm_ppods_reserve(ppm, ttinfo->nr_pages, 0, &ttinfo->idx, in cxgbit_ddp_reserve() 207 ret = dma_map_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); in cxgbit_ddp_reserve() [all …]
|
/Linux-v4.19/tools/testing/selftests/timers/ |
D | skew_consistency.c | 45 int ret, ppm; in main() local 55 ppm = 500; in main() 59 ppm = -ppm; in main() 61 tx.freq = ppm << 16; in main()
|
D | raw_skew.c | 95 long long delta1, delta2, interval, eppm, ppm; in main() local 131 ppm = (tx1.freq + tx2.freq) * 1000 / 2; in main() 132 ppm = (long long)tx1.freq * 1000; in main() 133 ppm = shift_right(ppm, 16); in main() 134 printf(" %lld.%i(act)", ppm/1000, abs((int)(ppm%1000))); in main() 136 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() 158 if (llabs(eppm - ppm) > 100) { in check_tick_adj()
|
/Linux-v4.19/drivers/clocksource/ |
D | scx200_hrt.c | 31 static int ppm; variable 32 module_param(ppm, int, 0); /* load time only */ 33 MODULE_PARM_DESC(ppm, "+-adjust to actual XO freq (ppm)"); 80 freq = (HRT_FREQ + ppm); in init_hrt_clocksource() 84 pr_info("enabling scx200 high-res timer (%s MHz +%d ppm)\n", mhz27 ? "27":"1", ppm); in init_hrt_clocksource()
|
/Linux-v4.19/drivers/video/logo/ |
D | Makefile | 30 extra-y += $(call logo-cfiles,_vga16,ppm) 33 extra-y += $(call logo-cfiles,_clut224,ppm) 49 $(obj)/%_vga16.c: $(src)/%_vga16.ppm $(pnmtologo) FORCE 52 $(obj)/%_clut224.c: $(src)/%_clut224.ppm $(pnmtologo) FORCE
|
/Linux-v4.19/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 | 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()
|
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()
|
/Linux-v4.19/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()
|
D | cxd2880_tnrdmd_dvbt2_mon.h | 104 *tnr_dmd, int *ppm); 109 int *ppm);
|
/Linux-v4.19/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1294 struct cxgbi_ppm *ppm = (struct cxgbi_ppm *)(*ppm_pp); in cxgbi_ddp_ppm_setup() local 1296 if (ppm->ppmax < 1024 || in cxgbi_ddp_ppm_setup() 1297 ppm->tformat.pgsz_idx_dflt >= DDP_PGIDX_MAX) in cxgbi_ddp_ppm_setup() 1334 struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev); in cxgbi_ddp_reserve() local 1347 if (!ppm || xferlen < DDP_THRESHOLD || !sgcnt || in cxgbi_ddp_reserve() 1348 ppm->tformat.pgsz_idx_dflt >= DDP_PGIDX_MAX) { in cxgbi_ddp_reserve() 1351 ppm, ppm ? ppm->tformat.pgsz_idx_dflt : DDP_PGIDX_MAX, in cxgbi_ddp_reserve() 1368 err = cxgbi_ppm_ppods_reserve(ppm, ttinfo->nr_pages, 0, &ttinfo->idx, in cxgbi_ddp_reserve() 1378 err = dma_map_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); in cxgbi_ddp_reserve() 1394 cxgbi_ppm_make_ppod_hdr(ppm, ttinfo->tag, csk->tid, sgl->offset, in cxgbi_ddp_reserve() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/phy/ |
D | rcar-gen3-phy-usb3.txt | 36 - 4980: enable the ssc as -4980 ppm 37 - 4492: enable the ssc as -4492 ppm 38 - 4003: enable the ssc as -4003 ppm
|