| /drivers/gpu/drm/amd/amdkfd/ |
| A D | kfd_smi_events.c | 43 pid_t pid; member 168 if (pid && client->pid != pid && !client->suser) in kfd_smi_ev_enabled() 182 if (!kfd_smi_ev_enabled(pid, client, smi_event)) in add_event_to_kfifo() 215 add_event_to_kfifo(pid, dev, event, fifo_in, len); in kfd_smi_event_add() 256 if (task_info->task.pid) in kfd_smi_event_update_vmfault() 258 task_info->task.pid, task_info->task.comm)); in kfd_smi_event_update_vmfault() 277 pid, address, node->id, migration ? 'M' : 'U')); in kfd_smi_event_page_fault_end() 330 kfd_smi_event_add(p->lead_thread->pid, pdd->dev, in kfd_smi_event_queue_restore_rescheduled() 333 p->lead_thread->pid, pdd->dev->id, 'R')); in kfd_smi_event_queue_restore_rescheduled() 362 KFD_EVENT_FMT_PROCESS(task_info->task.pid, in kfd_smi_event_process() [all …]
|
| A D | kfd_smi_events.h | 35 void kfd_smi_event_page_fault_start(struct kfd_node *node, pid_t pid, 38 void kfd_smi_event_page_fault_end(struct kfd_node *node, pid_t pid, 40 void kfd_smi_event_migration_start(struct kfd_node *node, pid_t pid, 45 void kfd_smi_event_migration_end(struct kfd_node *node, pid_t pid, 49 void kfd_smi_event_queue_eviction(struct kfd_node *node, pid_t pid, 51 void kfd_smi_event_queue_restore(struct kfd_node *node, pid_t pid); 53 void kfd_smi_event_unmap_from_gpu(struct kfd_node *node, pid_t pid,
|
| /drivers/net/wan/ |
| A D | hdlc_ppp.c | 66 u16 pid; /* protocol ID */ member 114 switch (pid) { in get_proto() 128 switch (pid) { in proto_name() 343 if (pid == PID_LCP) { in ppp_cp_event() 354 if (pid == PID_LCP) { in ppp_cp_event() 387 if (pid == PID_LCP) in ppp_cp_parse_cr() 442 u16 pid; in ppp_rx() local 457 pid = ntohs(hdr->protocol); in ppp_rx() 490 if (pid == PID_LCP) in ppp_rx() 494 if (pid == PID_LCP || pid == PID_IPCP || in ppp_rx() [all …]
|
| /drivers/media/common/b2c2/ |
| A D | flexcop-hw-filter.c | 47 u16 pid, u16 mask) in flexcop_pid_group_filter() argument 75 u16 pid, int onoff) in flexcop_pid_Stream1_PID_ctrl() argument 82 u16 pid, int onoff) in flexcop_pid_Stream2_PID_ctrl() argument 89 u16 pid, int onoff) in flexcop_pid_PCR_PID_ctrl() argument 95 u16 pid, int onoff) in flexcop_pid_PMT_PID_ctrl() argument 101 u16 pid, int onoff) in flexcop_pid_EMM_PID_ctrl() argument 107 u16 pid, int onoff) in flexcop_pid_ECM_PID_ctrl() argument 113 int index, u16 pid, int onoff) in flexcop_pid_control() argument 115 if (pid == 0x2000) in flexcop_pid_control() 119 pid, pid, index, onoff ? "on" : "off"); in flexcop_pid_control() [all …]
|
| /drivers/android/ |
| A D | binder.c | 3081 thread->pid, proc->pid); in binder_transaction() 3088 proc->pid, thread->pid, in binder_transaction() 3157 thread->pid, proc->pid); in binder_transaction() 3166 thread->pid, proc->pid); in binder_transaction() 3239 thread->pid, proc->pid); in binder_transaction() 3252 thread->pid, proc->pid); in binder_transaction() 3299 thread->pid, proc->pid); in binder_transaction() 3309 thread->pid, proc->pid); in binder_transaction() 3371 proc->pid, thread->pid); in binder_transaction() 3758 thread->pid, proc->pid); in binder_transaction() [all …]
|
| /drivers/pinctrl/mvebu/ |
| A D | pinctrl-mvebu.h | 49 u8 pid; member 52 int (*mpp_get)(struct mvebu_mpp_ctrl_data *data, unsigned pid, 54 int (*mpp_set)(struct mvebu_mpp_ctrl_data *data, unsigned pid, 56 int (*mpp_gpio_req)(struct mvebu_mpp_ctrl_data *data, unsigned pid); 57 int (*mpp_gpio_dir)(struct mvebu_mpp_ctrl_data *data, unsigned pid, 103 u8 pid; member 136 .pid = _idl, \ 148 .pid = _idl, \ 179 .pid = _id, \ 197 int mvebu_mmio_mpp_ctrl_get(struct mvebu_mpp_ctrl_data *data, unsigned pid, [all …]
|
| A D | pinctrl-dove.c | 64 unsigned pid, unsigned long *config) in dove_pmu_mpp_ctrl_get() argument 71 if ((pmu & BIT(pid)) == 0) in dove_pmu_mpp_ctrl_get() 82 unsigned pid, unsigned long config) in dove_pmu_mpp_ctrl_set() argument 109 switch (pid) { in dove_mpp4_ctrl_get() 140 switch (pid) { in dove_mpp4_ctrl_set() 272 unsigned pid) in dove_audio1_ctrl_gpio_req() argument 276 dove_audio1_ctrl_get(data, pid, &config); in dove_audio1_ctrl_gpio_req() 281 if (pid >= 56) in dove_audio1_ctrl_gpio_req() 286 if (pid <= 55) in dove_audio1_ctrl_gpio_req() 300 unsigned pid, bool input) in dove_audio1_ctrl_gpio_dir() argument [all …]
|
| A D | pinctrl-orion.c | 31 unsigned pid, unsigned long *config) in orion_mpp_ctrl_get() argument 33 unsigned shift = (pid % MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in orion_mpp_ctrl_get() 35 if (pid < 16) { in orion_mpp_ctrl_get() 36 unsigned off = (pid / MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in orion_mpp_ctrl_get() 47 unsigned pid, unsigned long config) in orion_mpp_ctrl_set() argument 49 unsigned shift = (pid % MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in orion_mpp_ctrl_set() 51 if (pid < 16) { in orion_mpp_ctrl_set() 52 unsigned off = (pid / MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in orion_mpp_ctrl_set()
|
| A D | pinctrl-mvebu.c | 59 unsigned int pid, unsigned long *config) in mvebu_mmio_mpp_ctrl_get() argument 70 unsigned int pid, unsigned long config) in mvebu_mmio_mpp_ctrl_set() argument 83 struct mvebu_pinctrl *pctl, unsigned pid) in mvebu_pinctrl_find_group_by_pid() argument 87 if (pid >= pctl->groups[n].pins[0] && in mvebu_pinctrl_find_group_by_pid() 88 pid < pctl->groups[n].pins[0] + in mvebu_pinctrl_find_group_by_pid() 618 ctrl->pins[k] = ctrl->pid + k; in mvebu_pinctrl_probe() 677 sprintf(noname_buf, "mpp%d", ctrl->pid+0); in mvebu_pinctrl_probe() 688 sprintf(noname_buf, "mpp%d", ctrl->pid+k); in mvebu_pinctrl_probe() 732 mode->pid); in mvebu_pinctrl_probe() 793 unsigned int pid, unsigned long *config) in mvebu_regmap_mpp_ctrl_get() argument [all …]
|
| /drivers/scsi/bfa/ |
| A D | bfa_fcs_rport.c | 268 rport->pid = 0; in bfa_fcs_rport_sm_plogi_sending() 329 rport->pid = 0; in bfa_fcs_rport_sm_plogiacc_sending() 400 rport->pid = 0; in bfa_fcs_rport_sm_plogi_retry() 455 rport->pid = 0; in bfa_fcs_rport_sm_plogi() 483 rport->pid = 0; in bfa_fcs_rport_sm_plogi() 1154 rport->pid = 0; in bfa_fcs_rport_sm_hcb_offline() 1530 rport->pid = 0; in bfa_fcs_rport_sm_nsdisc_retry() 1610 rport->pid = 0; in bfa_fcs_rport_sm_nsdisc_sent() 2297 rport_info.pid = rport->pid; in bfa_fcs_rport_hal_online() 2392 if (rport->pid != 0 && !BFA_FCS_PID_IS_WKA(rport->pid)) in bfa_fcs_rport_free() [all …]
|
| /drivers/staging/media/atomisp/pci/hive_isp_css_common/ |
| A D | isp_global.h | 86 #define bmem_ldrow(fu, pid, offset, data) bmem_ldrow_s(fu, pid, offset, data) argument 87 #define bmem_strow(fu, pid, offset, data) bmem_strow_s(fu, pid, offset, data) argument 88 #define bmem_ldblk(fu, pid, offset, data) bmem_ldblk_s(fu, pid, offset, data) argument 89 #define bmem_stblk(fu, pid, offset, data) bmem_stblk_s(fu, pid, offset, data) argument
|
| /drivers/gpu/drm/msm/ |
| A D | msm_gpu_trace.h | 12 TP_PROTO(pid_t pid, u32 ringid, u32 id, u32 nr_bos, u32 nr_cmds), 13 TP_ARGS(pid, ringid, id, nr_bos, nr_cmds), 15 __field(pid_t, pid) 22 __entry->pid = pid; 29 __entry->id, __entry->pid, __entry->ringid, 37 __field(pid_t, pid) 44 __entry->pid = pid_nr(submit->pid); 51 __entry->id, __entry->pid, __entry->ringid, __entry->seqno, 61 __field(pid_t, pid) 71 __entry->pid = pid_nr(submit->pid); [all …]
|
| /drivers/hwtracing/coresight/ |
| A D | coresight-priv.h | 106 pid_t pid; member 182 #define CS_AMBA_ID(pid) \ argument 184 .id = pid, \ 189 #define CS_AMBA_ID_DATA(pid, dval) \ argument 191 .id = pid, \ 200 #define __CS_AMBA_UCI_ID(pid, m, uci_ptr) \ argument 202 .id = pid, \ 206 #define CS_AMBA_UCI_ID(pid, uci) __CS_AMBA_UCI_ID(pid, 0x000fffff, uci) argument 233 static inline void *coresight_get_uci_data_from_amba(const struct amba_id *table, u32 pid) in coresight_get_uci_data_from_amba() argument 236 if ((pid & table->mask) == table->id) in coresight_get_uci_data_from_amba()
|
| /drivers/tty/ |
| A D | tty_jobctrl.c | 36 struct pid *pgrp, *tty_pgrp; in __tty_check_change() 200 struct pid *tty_pgrp = NULL; in tty_signal_session_leader() 289 struct pid *old_pgrp; in disassociate_ctty() 424 struct pid *pgrp; in tty_get_pgrp() 441 static struct pid *session_of_pgrp(struct pid *pgrp) in session_of_pgrp() 444 struct pid *sid = NULL; in session_of_pgrp() 468 struct pid *pid; in tiocgpgrp() local 476 pid = tty_get_pgrp(real_tty); in tiocgpgrp() 477 ret = put_user(pid_vnr(pid), p); in tiocgpgrp() 478 put_pid(pid); in tiocgpgrp() [all …]
|
| /drivers/media/dvb-core/ |
| A D | dvb_demux.c | 442 if ((feed->pid != pid) && (feed->pid != 0x2000)) in dvb_dmx_swfilter_packet() 447 pid, buf[1]); in dvb_dmx_swfilter_packet() 462 if ((feed->pid != pid) && (feed->pid != 0x2000)) in dvb_dmx_swfilter_packet() 469 pid, demux->cnt_storage[pid], in dvb_dmx_swfilter_packet() 478 if ((feed->pid != pid) && (feed->pid != 0x2000)) in dvb_dmx_swfilter_packet() 486 if (feed->pid == pid) in dvb_dmx_swfilter_packet() 717 feed->pid = pid; in dmx_ts_feed_set() 808 feed->pid = 0xffff; in dvbdmx_allocate_ts_feed() 853 feed->pid = 0xffff; in dvbdmx_release_ts_feed() 903 if (pid > 0x1fff) in dmx_section_feed_set() [all …]
|
| /drivers/media/spi/ |
| A D | cxd2880-spi.c | 36 u16 pid; member 200 u16 pid = 0; in cxd2880_set_pid_filter() local 219 pid = cfg->pid_config[i].pid; in cxd2880_set_pid_filter() 222 data[2 + (i * 2)] = pid & 0xff; in cxd2880_set_pid_filter() 347 if (feed->pid == 0x2000) { in cxd2880_start_feed() 369 cfgtmp.pid_config[i].pid = feed->pid; in cxd2880_start_feed() 371 feed->pid, i); in cxd2880_start_feed() 444 if (feed->pid == 0x2000) { in cxd2880_stop_feed() 461 if (feed->pid == cfgtmp.pid_config[i].pid && in cxd2880_stop_feed() 464 cfgtmp.pid_config[i].pid = 0; in cxd2880_stop_feed() [all …]
|
| /drivers/misc/ocxl/ |
| A D | trace.h | 76 TP_PROTO(pid_t pid, void *spa, int pasid, u32 pidr, u32 tidr), 77 TP_ARGS(pid, spa, pasid, pidr, tidr), 80 __field(pid_t, pid) 88 __entry->pid = pid; 96 __entry->pid, 105 TP_PROTO(pid_t pid, void *spa, int pasid, u32 pidr, u32 tidr), 106 TP_ARGS(pid, spa, pasid, pidr, tidr) 110 TP_PROTO(pid_t pid, void *spa, int pasid, u32 pidr, u32 tidr), 111 TP_ARGS(pid, spa, pasid, pidr, tidr)
|
| /drivers/usb/storage/ |
| A D | usual-tables.c | 43 u16 vid, pid, bcdmin, bcdmax; member 51 .pid = id_product, \ 79 unsigned vid, pid, bcd; in usb_usual_ignore_device() local 84 pid = le16_to_cpu(udev->descriptor.idProduct); in usb_usual_ignore_device() 88 if (p->vid == vid && p->pid == pid && in usb_usual_ignore_device()
|
| /drivers/gpu/drm/vmwgfx/ |
| A D | vmwgfx_mksstat.h | 102 .slot = vmw_mksstat_get_kern_slot(current->pid, dev_priv) \ 116 …const pid_t pid = atomic_cmpxchg(&dev_priv->mksstat_kern_pids[_##kern_cntr.slot], current->pid, MK… 119 …if (pid == current->pid) { … 134 …atomic_set(&dev_priv->mksstat_kern_pids[_##kern_cntr.slot], current->pid); …
|
| /drivers/media/test-drivers/vidtv/ |
| A D | vidtv_mux.c | 34 *vidtv_mux_get_pid_ctx(struct vidtv_mux *m, u16 pid) in vidtv_mux_get_pid_ctx() argument 38 hash_for_each_possible(m->pid_ctx, ctx, h, pid) in vidtv_mux_get_pid_ctx() 39 if (ctx->pid == pid) in vidtv_mux_get_pid_ctx() 49 ctx = vidtv_mux_get_pid_ctx(m, pid); in vidtv_mux_create_pid_ctx_once() 57 ctx->pid = pid; in vidtv_mux_create_pid_ctx_once() 59 hash_add(m->pid_ctx, &ctx->h, pid); in vidtv_mux_create_pid_ctx_once() 79 u16 pid; in vidtv_mux_pid_ctx_init() local 103 pid = vidtv_psi_get_pat_program_pid(p); in vidtv_mux_pid_ctx_init() 104 vidtv_mux_create_pid_ctx_once(m, pid); in vidtv_mux_pid_ctx_init() 192 pmt_args.pid = pmt_pid; in vidtv_mux_push_si() [all …]
|
| /drivers/macintosh/ |
| A D | windfarm_pm91.c | 104 struct wf_cpu_pid_state pid; member 119 struct wf_pid_state pid; member 132 struct wf_pid_state pid; member 254 if (temp > st->pid.param.tmax) in wf_smu_cpu_fans_tick() 316 wf_pid_init(&wf_smu_drive_fans->pid, ¶m); in wf_smu_create_drive_fans() 338 st->ticks = st->pid.param.interval; in wf_smu_drive_fans_tick() 351 if (temp > (st->pid.param.itarget + 0x50000)) in wf_smu_drive_fans_tick() 354 new_setpoint = wf_pid_run(&st->pid, temp); in wf_smu_drive_fans_tick() 397 wf_pid_init(&wf_smu_slots_fans->pid, ¶m); in wf_smu_create_slots_fans() 419 st->ticks = st->pid.param.interval; in wf_smu_slots_fans_tick() [all …]
|
| A D | windfarm_pm81.c | 187 struct wf_pid_state pid; member 253 struct wf_cpu_pid_state pid; member 314 wf_pid_init(&wf_smu_sys_fans->pid, &pid_param); in wf_smu_create_sys_fans() 352 if (temp > (st->pid.param.itarget + 0x50000)) in wf_smu_sys_fans_tick() 355 new_setpoint = wf_pid_run(&st->pid, temp); in wf_smu_sys_fans_tick() 366 scaled = max(scaled, st->pid.param.min); in wf_smu_sys_fans_tick() 367 scaled = min(scaled, st->pid.param.max); in wf_smu_sys_fans_tick() 454 wf_cpu_pid_init(&wf_smu_cpu_fans->pid, &pid_param); in wf_smu_create_cpu_fans() 508 if (temp > st->pid.param.tmax) in wf_smu_cpu_fans_tick() 519 new_setpoint = max(new_setpoint, st->pid.param.min); in wf_smu_cpu_fans_tick() [all …]
|
| /drivers/misc/bcm-vk/ |
| A D | bcm_vk_msg.c | 242 ctx->pid = pid; in bcm_vk_get_ctx() 295 pid_t pid; in bcm_vk_free_ctx() local 304 pid = ctx->pid; in bcm_vk_free_ctx() 318 if (entry->pid == pid) in bcm_vk_free_ctx() 746 if (vk->reset_pid != pid) in bcm_vk_handle_last_sess() 996 ctx->idx, ctx->pid); in bcm_vk_open() 1158 ctx->pid); in bcm_vk_write() 1199 pid_t org_pid, pid; in bcm_vk_write() local 1215 if (org_pid != pid) in bcm_vk_write() 1217 org_pid, org_pid, pid, pid); in bcm_vk_write() [all …]
|
| /drivers/hid/bpf/progs/ |
| A D | Wacom__ArtPen.bpf.c | 48 __u16 pid; member 65 .pid = PID_INTUOS_PRO_2_M, 150 __u16 pid; in probe() local 159 pid = hid_ctx->hid->product; in probe() 167 if (device->pid == pid && device->rdesc_len == ctx->rdesc_size) { in probe()
|
| /drivers/net/mctp/ |
| A D | mctp-i3c.c | 65 u64 pid; member 89 u64 pid; member 122 put_unaligned_be48(mi->pid, ihdr->source); in mctp_i3c_read() 160 put_unaligned_be48(mi->pid, cb->haddr); in mctp_i3c_read() 219 mi->pid = info.pid; in mctp_i3c_setup() 351 if (mi->pid == pid) { in mctp_i3c_lookup() 370 u64 pid; in mctp_i3c_xmit() local 377 pid = get_unaligned_be48(ihdr->dest); in mctp_i3c_xmit() 378 mi = mctp_i3c_lookup(mbus, pid); in mctp_i3c_xmit() 570 *ret_pid = master->info.pid; in mctp_i3c_bus_local_pid() [all …]
|