/drivers/staging/silicom/ |
D | bp_mod.h | 238 #define PEG540_IF_SERIES(pid) \ argument 239 ((pid == SILICOM_PE210G2BPi40_SSID)) 241 #define OLD_IF_SERIES(pid)\ argument 242 ((pid == SILICOM_PXG2BPFI_SSID) || \ 243 (pid == SILICOM_PXG2BPFILX_SSID)) 245 #define P2BPFI_IF_SERIES(pid) \ argument 246 ((pid == SILICOM_PXG2BPFI_SSID) || \ 247 (pid == SILICOM_PXG2BPFILX_SSID) || \ 248 (pid == SILICOM_PEG2BPFI_SSID) || \ 249 (pid == SILICOM_PEG2BPFID_SSID) || \ [all …]
|
/drivers/staging/sep/ |
D | sep_main.c | 116 current->pid); in sep_queue_status_remove() 120 current->pid, __func__); in sep_queue_status_remove() 133 current->pid); in sep_queue_status_remove() 153 u32 pid, in sep_queue_status_add() argument 164 dev_dbg(&sep->pdev->dev, "[PID%d] kzalloc ok\n", current->pid); in sep_queue_status_add() 168 my_elem->data.pid = pid; in sep_queue_status_add() 206 current->pid, dma_ctx); in sep_allocate_dmatables_region() 208 current->pid, dmatables_region); in sep_allocate_dmatables_region() 213 current->pid); in sep_allocate_dmatables_region() 218 current->pid, new_len); in sep_allocate_dmatables_region() [all …]
|
/drivers/net/wan/ |
D | hdlc_ppp.c | 69 u16 pid; /* protocol ID */ member 112 static inline struct proto* get_proto(struct net_device *dev, u16 pid) in get_proto() argument 116 switch (pid) { in get_proto() 128 static inline const char* proto_name(u16 pid) in proto_name() argument 130 switch (pid) { in proto_name() 207 static void ppp_tx_cp(struct net_device *dev, u16 pid, u8 code, in ppp_tx_cp() argument 220 if (pid == PID_LCP && (code == LCP_ECHO_REQ || code == LCP_ECHO_REPLY)) in ppp_tx_cp() 250 proto_name(pid), code_names[code], id, debug_buffer); in ppp_tx_cp() 253 ppp_hard_header(skb, dev, pid, NULL, NULL, 0); in ppp_tx_cp() 304 static void ppp_cp_event(struct net_device *dev, u16 pid, u16 event, u8 code, in ppp_cp_event() argument [all …]
|
/drivers/media/common/b2c2/ |
D | flexcop-hw-filter.c | 46 u16 pid, u16 mask) in flexcop_pid_group_filter() argument 50 v30c.pid_filter_30c_ext_ind_0_7.Group_PID = pid; in flexcop_pid_group_filter() 67 vpid.vregname.field = onoff ? pid : 0x1fff; \ 74 u16 pid, int onoff) in flexcop_pid_Stream1_PID_ctrl() argument 81 u16 pid, int onoff) in flexcop_pid_Stream2_PID_ctrl() argument 88 u16 pid, int onoff) in flexcop_pid_PCR_PID_ctrl() argument 94 u16 pid, int onoff) in flexcop_pid_PMT_PID_ctrl() argument 100 u16 pid, int onoff) in flexcop_pid_EMM_PID_ctrl() argument 106 u16 pid, int onoff) in flexcop_pid_ECM_PID_ctrl() argument 112 int index, u16 pid, int onoff) in flexcop_pid_control() argument [all …]
|
/drivers/gpu/drm/ |
D | drm_trace.h | 28 TP_PROTO(pid_t pid, int crtc, unsigned int seq), 29 TP_ARGS(pid, crtc, seq), 31 __field(pid_t, pid) 36 __entry->pid = pid; 40 TP_printk("pid=%d, crtc=%d, seq=%d", __entry->pid, __entry->crtc, \ 45 TP_PROTO(pid_t pid, int crtc, unsigned int seq), 46 TP_ARGS(pid, crtc, seq), 48 __field(pid_t, pid) 53 __entry->pid = pid; 57 TP_printk("pid=%d, crtc=%d, seq=%d", __entry->pid, __entry->crtc, \
|
D | drm_pci.c | 405 const struct pci_device_id *pid; in drm_pci_init() local 419 pid = &pdriver->id_table[i]; in drm_pci_init() 429 pci_get_subsys(pid->vendor, pid->device, pid->subvendor, in drm_pci_init() 430 pid->subdevice, pdev)) != NULL) { in drm_pci_init() 431 if ((pdev->class & pid->class_mask) != pid->class) in drm_pci_init() 436 drm_get_pci_dev(pdev, pid, driver); in drm_pci_init()
|
/drivers/android/ |
D | binder.c | 338 int pid; member 381 int pid; member 552 current->pid, nice, min_nice); in binder_set_nice() 556 binder_user_error("%d RLIMIT_NICE not set\n", current->pid); in binder_set_nice() 583 proc->pid, new_buffer_size, new_buffer); in binder_insert_free_buffer() 661 "%d: %s pages %p-%p\n", proc->pid, in binder_update_page_range() 681 proc->pid); in binder_update_page_range() 691 proc->pid); in binder_update_page_range() 705 proc->pid, page_addr); in binder_update_page_range() 714 proc->pid, page_addr); in binder_update_page_range() [all …]
|
/drivers/cpufreq/ |
D | intel_pstate.c | 83 struct _pid pid; member 132 static inline void pid_reset(struct _pid *pid, int setpoint, int busy, in pid_reset() argument 134 pid->setpoint = setpoint; in pid_reset() 135 pid->deadband = deadband; in pid_reset() 136 pid->integral = int_tofp(integral); in pid_reset() 137 pid->last_err = setpoint - busy; in pid_reset() 140 static inline void pid_p_gain_set(struct _pid *pid, int percent) in pid_p_gain_set() argument 142 pid->p_gain = div_fp(int_tofp(percent), int_tofp(100)); in pid_p_gain_set() 145 static inline void pid_i_gain_set(struct _pid *pid, int percent) in pid_i_gain_set() argument 147 pid->i_gain = div_fp(int_tofp(percent), int_tofp(100)); in pid_i_gain_set() [all …]
|
/drivers/scsi/bfa/ |
D | bfa_fcs_rport.c | 181 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_uninit() 220 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_sending() 259 rport->pid = 0; in bfa_fcs_rport_sm_plogi_sending() 281 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogiacc_sending() 320 rport->pid = 0; in bfa_fcs_rport_sm_plogiacc_sending() 347 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_retry() 391 rport->pid = 0; in bfa_fcs_rport_sm_plogi_retry() 417 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi() 449 rport->old_pid = rport->pid; in bfa_fcs_rport_sm_plogi() 450 rport->pid = 0; in bfa_fcs_rport_sm_plogi() [all …]
|
/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.h | 38 u8 pid; member 43 int (*mpp_gpio_req)(struct mvebu_mpp_ctrl *ctrl, u8 pid); 44 int (*mpp_gpio_dir)(struct mvebu_mpp_ctrl *ctrl, u8 pid, bool input); 89 u8 pid; member 120 .pid = _idl, \ 132 .pid = _idl, \ 144 .pid = _idl, \ 175 .pid = _id, \
|
D | pinctrl-dove.c | 58 unsigned off = (ctrl->pid / MPPS_PER_REG) * MPP_BITS; in dove_pmu_mpp_ctrl_get() 59 unsigned shift = (ctrl->pid % MPPS_PER_REG) * MPP_BITS; in dove_pmu_mpp_ctrl_get() 63 if (pmu & (1 << ctrl->pid)) in dove_pmu_mpp_ctrl_get() 73 unsigned off = (ctrl->pid / MPPS_PER_REG) * MPP_BITS; in dove_pmu_mpp_ctrl_set() 74 unsigned shift = (ctrl->pid % MPPS_PER_REG) * MPP_BITS; in dove_pmu_mpp_ctrl_set() 79 writel(pmu | (1 << ctrl->pid), DOVE_PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_set() 81 writel(pmu & ~(1 << ctrl->pid), DOVE_PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_set() 95 switch (ctrl->pid) { in dove_mpp4_ctrl_get() 126 switch (ctrl->pid) { in dove_mpp4_ctrl_set() 267 static int dove_audio1_ctrl_gpio_req(struct mvebu_mpp_ctrl *ctrl, u8 pid) in dove_audio1_ctrl_gpio_req() argument [all …]
|
/drivers/usb/storage/ |
D | usual-tables.c | 73 u16 vid, pid, bcdmin, bcdmax; member 81 .pid = id_product, \ 109 unsigned vid, pid, bcd; in usb_usual_ignore_device() local 114 pid = le16_to_cpu(udev->descriptor.idProduct); in usb_usual_ignore_device() 118 if (p->vid == vid && p->pid == pid && in usb_usual_ignore_device()
|
/drivers/macintosh/ |
D | windfarm_pm91.c | 102 struct wf_cpu_pid_state pid; member 117 struct wf_pid_state pid; member 130 struct wf_pid_state pid; member 198 wf_cpu_pid_init(&wf_smu_cpu_fans->pid, &pid_param); in wf_smu_create_cpu_fans() 252 if (temp > st->pid.param.tmax) in wf_smu_cpu_fans_tick() 255 new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); in wf_smu_cpu_fans_tick() 314 wf_pid_init(&wf_smu_drive_fans->pid, ¶m); in wf_smu_create_drive_fans() 336 st->ticks = st->pid.param.interval; in wf_smu_drive_fans_tick() 349 if (temp > (st->pid.param.itarget + 0x50000)) in wf_smu_drive_fans_tick() 352 new_setpoint = wf_pid_run(&st->pid, temp); in wf_smu_drive_fans_tick() [all …]
|
D | windfarm_pm81.c | 186 struct wf_pid_state pid; member 252 struct wf_cpu_pid_state pid; member 313 wf_pid_init(&wf_smu_sys_fans->pid, &pid_param); in wf_smu_create_sys_fans() 351 if (temp > (st->pid.param.itarget + 0x50000)) in wf_smu_sys_fans_tick() 354 new_setpoint = wf_pid_run(&st->pid, temp); in wf_smu_sys_fans_tick() 362 cputarget = wf_smu_cpu_fans ? wf_smu_cpu_fans->pid.target : 0; in wf_smu_sys_fans_tick() 365 scaled = max(scaled, st->pid.param.min); in wf_smu_sys_fans_tick() 366 scaled = min(scaled, st->pid.param.max); in wf_smu_sys_fans_tick() 453 wf_cpu_pid_init(&wf_smu_cpu_fans->pid, &pid_param); in wf_smu_create_cpu_fans() 507 if (temp > st->pid.param.tmax) in wf_smu_cpu_fans_tick() [all …]
|
D | windfarm_pm112.c | 131 struct wf_cpu_pid_param pid; in create_cpu_loop() local 164 pid.interval = 1; /* seconds */ in create_cpu_loop() 165 pid.history_len = piddata->history_len; in create_cpu_loop() 166 pid.gd = piddata->gd; in create_cpu_loop() 167 pid.gp = piddata->gp; in create_cpu_loop() 168 pid.gr = piddata->gr / piddata->history_len; in create_cpu_loop() 169 pid.pmaxadj = (piddata->max_power << 16) - (piddata->power_adj << 8); in create_cpu_loop() 170 pid.ttarget = tmax - (piddata->target_temp_delta << 16); in create_cpu_loop() 171 pid.tmax = tmax; in create_cpu_loop() 172 pid.min = main_fan->ops->get_min(main_fan); in create_cpu_loop() [all …]
|
D | windfarm_rm31.c | 296 struct wf_cpu_pid_param pid; in cpu_setup_pid() local 323 pid.interval = 1; /* seconds */ in cpu_setup_pid() 324 pid.history_len = hsize; in cpu_setup_pid() 325 pid.gd = mpu->pid_gd; in cpu_setup_pid() 326 pid.gp = mpu->pid_gp; in cpu_setup_pid() 327 pid.gr = mpu->pid_gr; in cpu_setup_pid() 328 pid.tmax = tmax; in cpu_setup_pid() 329 pid.ttarget = ttarget; in cpu_setup_pid() 330 pid.pmaxadj = ptarget; in cpu_setup_pid() 331 pid.min = fmin; in cpu_setup_pid() [all …]
|
/drivers/media/dvb-core/ |
D | dvb_demux.c | 398 u16 pid = ts_pid(buf); in dvb_dmx_swfilter_packet() local 437 pid, buf[1]); in dvb_dmx_swfilter_packet() 445 if (pid < MAX_PID) { in dvb_dmx_swfilter_packet() 447 demux->cnt_storage[pid] = in dvb_dmx_swfilter_packet() 448 (demux->cnt_storage[pid] + 1) & 0xf; in dvb_dmx_swfilter_packet() 450 if ((buf[3] & 0xf) != demux->cnt_storage[pid]) { in dvb_dmx_swfilter_packet() 452 pid, demux->cnt_storage[pid], in dvb_dmx_swfilter_packet() 454 demux->cnt_storage[pid] = buf[3] & 0xf; in dvb_dmx_swfilter_packet() 461 if ((feed->pid != pid) && (feed->pid != 0x2000)) in dvb_dmx_swfilter_packet() 469 if (feed->pid == pid) in dvb_dmx_swfilter_packet() [all …]
|
/drivers/staging/media/as102/ |
D | as102_drv.c | 110 int index, u16 pid, int onoff) { in as10x_pid_filter() argument 124 ret = as10x_cmd_del_PID_filter(bus_adap, (uint16_t) pid); in as10x_pid_filter() 126 index, pid, ret); in as10x_pid_filter() 134 filter.pid = pid; in as10x_pid_filter() 138 index, filter.idx, filter.pid, ret); in as10x_pid_filter() 162 dvbdmxfeed->pid, 1); in as102_dvb_dmx_start_feed() 187 dvbdmxfeed->pid, 0); in as102_dvb_dmx_stop_feed()
|
/drivers/tty/ |
D | n_r3964.c | 121 static int enable_signals(struct r3964_info *pInfo, struct pid *pid, int arg); 122 static int read_telegram(struct r3964_info *pInfo, struct pid *pid, 738 struct pid *pid) in findClient() argument 743 if (pClient->pid == pid) { in findClient() 750 static int enable_signals(struct r3964_info *pInfo, struct pid *pid, int arg) in enable_signals() argument 762 if (pClient->pid == pid) { in enable_signals() 764 pid_nr(pid)); in enable_signals() 774 put_pid(pClient->pid); in enable_signals() 782 pClient = findClient(pInfo, pid); in enable_signals() 794 TRACE_PS("add client %d to client list", pid_nr(pid)); in enable_signals() [all …]
|
/drivers/staging/gdm72xx/ |
D | usb_ids.h | 34 #define USB_DEVICE_BOOTLOADER(vid, pid) \ argument 35 {USB_DEVICE((vid), ((pid)&BL_PID_MASK)|B_DOWNLOAD)}, \ 36 {USB_DEVICE((vid), ((pid)&BL_PID_MASK)|B_DOWNLOAD|B_DIFF_DL_DRV)} 38 #define USB_DEVICE_CDC_DATA(vid, pid) \ argument 39 {USB_DEVICE_INTF((vid), (pid), USB_CLASS_CDC_DATA)}
|
/drivers/char/agp/ |
D | compat_ioctl.c | 75 kreserve.pid = ureserve.pid; in compat_agpioc_reserve_wrap() 78 client = agp_find_client_by_pid(kreserve.pid); in compat_agpioc_reserve_wrap() 82 client_priv = agp_find_private(kreserve.pid); in compat_agpioc_reserve_wrap() 92 return agp_remove_client(kreserve.pid); in compat_agpioc_reserve_wrap() 129 client = agp_create_client(kreserve.pid); in compat_agpioc_reserve_wrap() 135 client_priv = agp_find_private(kreserve.pid); in compat_agpioc_reserve_wrap() 231 if (agp_fe.current_controller->pid != curr_priv->my_pid) { in compat_agp_ioctl()
|
D | frontend.c | 216 struct agp_file_private *agp_find_private(pid_t pid) in agp_find_private() argument 223 if (curr->my_pid == pid) in agp_find_private() 301 if (controller->pid == id) in agp_find_controller_by_pid() 317 controller->pid = id; in agp_create_controller() 348 priv = agp_find_private(temp->pid); in agp_remove_all_clients() 414 priv = agp_find_private(clients->pid); in agp_controller_make_current() 437 priv = agp_find_private(clients->pid); in agp_controller_release_current() 466 if (client->pid == id) in agp_find_client_in_controller() 522 new_client->pid = id; in agp_create_client() 593 client = agp_find_client_by_pid(current->pid); in agp_mmap() [all …]
|
/drivers/staging/android/trace/ |
D | lowmemorykiller.h | 18 __field(pid_t, pid) 26 __entry->pid = killed_task->pid; 33 __entry->comm, __entry->pid, __entry->pagecache_size,
|
/drivers/connector/ |
D | cn_proc.c | 74 ev->event_data.fork.parent_pid = parent->pid; in proc_fork_connector() 77 ev->event_data.fork.child_pid = task->pid; in proc_fork_connector() 103 ev->event_data.exec.process_pid = task->pid; in proc_exec_connector() 126 ev->event_data.id.process_pid = task->pid; in proc_id_connector() 167 ev->event_data.sid.process_pid = task->pid; in proc_sid_connector() 192 ev->event_data.ptrace.process_pid = task->pid; in proc_ptrace_connector() 195 ev->event_data.ptrace.tracer_pid = current->pid; in proc_ptrace_connector() 225 ev->event_data.comm.process_pid = task->pid; in proc_comm_connector() 251 ev->event_data.coredump.process_pid = task->pid; in proc_coredump_connector() 276 ev->event_data.exit.process_pid = task->pid; in proc_exit_connector()
|
/drivers/staging/silicom/bypasslib/ |
D | bplibk.h | 26 #define PEGII_IF_SERIES(vid, pid) \ argument 28 ((pid==INTEL_PEG4BPII_PID)|| \ 29 (pid==INTEL_PEG4BPFII_PID)))
|