/drivers/acpi/ |
D | processor_driver.c | 87 static acpi_status acpi_processor_hotadd_init(struct acpi_processor *pr); 88 static int acpi_processor_handle_eject(struct acpi_processor *pr); 89 static int acpi_processor_start(struct acpi_processor *pr); 222 static int acpi_processor_errata(struct acpi_processor *pr) in acpi_processor_errata() argument 228 if (!pr) in acpi_processor_errata() 254 struct acpi_processor *pr; in acpi_processor_get_info() local 258 pr = acpi_driver_data(device); in acpi_processor_get_info() 259 if (!pr) in acpi_processor_get_info() 265 acpi_processor_errata(pr); in acpi_processor_get_info() 272 pr->flags.bm_control = 1; in acpi_processor_get_info() [all …]
|
D | processor_throttling.c | 65 static int acpi_processor_get_throttling(struct acpi_processor *pr); 66 int acpi_processor_set_throttling(struct acpi_processor *pr, 75 struct acpi_processor *pr, *match_pr; in acpi_processor_update_tsd_coord() local 87 pr = per_cpu(processors, i); in acpi_processor_update_tsd_coord() 88 if (!pr) in acpi_processor_update_tsd_coord() 92 pthrottling = &(pr->throttling); in acpi_processor_update_tsd_coord() 108 pr = per_cpu(processors, i); in acpi_processor_update_tsd_coord() 109 if (!pr) in acpi_processor_update_tsd_coord() 114 pthrottling = &pr->throttling; in acpi_processor_update_tsd_coord() 189 pr = per_cpu(processors, i); in acpi_processor_update_tsd_coord() [all …]
|
D | processor_idle.c | 145 static void lapic_timer_check_state(int state, struct acpi_processor *pr, in lapic_timer_check_state() argument 148 struct acpi_processor_power *pwr = &pr->power; in lapic_timer_check_state() 151 if (cpu_has(&cpu_data(pr->id), X86_FEATURE_ARAT)) in lapic_timer_check_state() 165 pr->power.timer_broadcast_on_state = state; in lapic_timer_check_state() 170 struct acpi_processor *pr = (struct acpi_processor *) arg; in __lapic_timer_propagate_broadcast() local 173 reason = pr->power.timer_broadcast_on_state < INT_MAX ? in __lapic_timer_propagate_broadcast() 176 clockevents_notify(reason, &pr->id); in __lapic_timer_propagate_broadcast() 179 static void lapic_timer_propagate_broadcast(struct acpi_processor *pr) in lapic_timer_propagate_broadcast() argument 181 smp_call_function_single(pr->id, __lapic_timer_propagate_broadcast, in lapic_timer_propagate_broadcast() 182 (void *)pr, 1); in lapic_timer_propagate_broadcast() [all …]
|
D | processor_perflib.c | 82 struct acpi_processor *pr; in acpi_processor_ppc_notifier() local 98 pr = per_cpu(processors, policy->cpu); in acpi_processor_ppc_notifier() 99 if (!pr || !pr->performance) in acpi_processor_ppc_notifier() 102 ppc = (unsigned int)pr->performance_platform_limit; in acpi_processor_ppc_notifier() 104 if (ppc >= pr->performance->state_count) in acpi_processor_ppc_notifier() 108 pr->performance->states[ppc]. in acpi_processor_ppc_notifier() 121 static int acpi_processor_get_platform_limit(struct acpi_processor *pr) in acpi_processor_get_platform_limit() argument 127 if (!pr) in acpi_processor_get_platform_limit() 134 status = acpi_evaluate_integer(pr->handle, "_PPC", NULL, &ppc); in acpi_processor_get_platform_limit() 144 pr_debug("CPU %d: _PPC is %d - frequency %s limited\n", pr->id, in acpi_processor_get_platform_limit() [all …]
|
D | processor_thermal.c | 189 int acpi_processor_get_limit_info(struct acpi_processor *pr) in acpi_processor_get_limit_info() argument 192 if (!pr) in acpi_processor_get_limit_info() 195 if (pr->flags.throttling) in acpi_processor_get_limit_info() 196 pr->flags.limit = 1; in acpi_processor_get_limit_info() 202 static int acpi_processor_max_state(struct acpi_processor *pr) in acpi_processor_max_state() argument 210 max_state += cpufreq_get_max_state(pr->id); in acpi_processor_max_state() 211 if (pr->flags.throttling) in acpi_processor_max_state() 212 max_state += (pr->throttling.state_count -1); in acpi_processor_max_state() 221 struct acpi_processor *pr; in processor_get_max_state() local 226 pr = acpi_driver_data(device); in processor_get_max_state() [all …]
|
/drivers/xen/ |
D | xen-acpi-cpuhotplug.c | 38 static acpi_status xen_acpi_cpu_hotadd(struct acpi_processor *pr); 50 struct acpi_processor *pr; in xen_acpi_processor_enable() local 52 pr = acpi_driver_data(device); in xen_acpi_processor_enable() 53 if (!pr) { in xen_acpi_processor_enable() 60 status = acpi_evaluate_object(pr->handle, NULL, NULL, &buffer); in xen_acpi_processor_enable() 66 pr->acpi_id = object.processor.proc_id; in xen_acpi_processor_enable() 69 status = acpi_evaluate_integer(pr->handle, METHOD_NAME__UID, in xen_acpi_processor_enable() 76 pr->acpi_id = value; in xen_acpi_processor_enable() 79 pr->id = xen_pcpu_id(pr->acpi_id); in xen_acpi_processor_enable() 81 if ((int)pr->id < 0) in xen_acpi_processor_enable() [all …]
|
/drivers/net/ethernet/ibm/ehea/ |
D | ehea_main.c | 192 struct ehea_port_res *pr = &port->port_res[l]; in ehea_update_firmware_handles() local 195 arr[i++].fwh = pr->qp->fw_handle; in ehea_update_firmware_handles() 197 arr[i++].fwh = pr->send_cq->fw_handle; in ehea_update_firmware_handles() 199 arr[i++].fwh = pr->recv_cq->fw_handle; in ehea_update_firmware_handles() 201 arr[i++].fwh = pr->eq->fw_handle; in ehea_update_firmware_handles() 203 arr[i++].fwh = pr->send_mr.handle; in ehea_update_firmware_handles() 205 arr[i++].fwh = pr->recv_mr.handle; in ehea_update_firmware_handles() 382 static void ehea_refill_rq1(struct ehea_port_res *pr, int index, int nr_of_wqes) in ehea_refill_rq1() argument 384 struct sk_buff **skb_arr_rq1 = pr->rq1_skba.arr; in ehea_refill_rq1() 385 struct net_device *dev = pr->port->netdev; in ehea_refill_rq1() [all …]
|
/drivers/media/dvb-core/ |
D | dvb_filter.c | 70 static int read_picture_header(u8 *headr, struct mpg_picture *pic, int field, int pr) 74 if (pr) printk( "Pic header: "); 77 if (pr) printk( " temp ref: 0x%04x", pic->temporal_reference[field]); 81 if (pr) { 99 if (pr) printk( " vbv delay: 0x%04x", pic->vinfo.vbv_delay); 107 if (pr) printk( " pic head param: 0x%x", 116 static int read_gop_header(u8 *headr, struct mpg_picture *pic, int pr) 118 if (pr) printk("GOP header: "); 123 if (pr) printk(" time: %d:%d.%d ", (headr[0]>>2)& 0x1F, 132 if (pr) printk("closed: %d", pic->closed_gop); [all …]
|
/drivers/isdn/hisax/ |
D | l3_1tr6.c | 44 l3_1tr6_release_req(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_release_req() argument 53 l3_1tr6_invalid(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_invalid() argument 71 l3_1tr6_setup_req(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_setup_req() argument 160 l3_1tr6_setup(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_setup() argument 229 l3_1tr6_setup_ack(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_setup_ack() argument 257 l3_1tr6_call_sent(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_call_sent() argument 289 l3_1tr6_alert(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_alert() argument 300 l3_1tr6_info(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_info() argument 329 l3_1tr6_info_s2(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_info_s2() argument 337 l3_1tr6_connect(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_connect() argument [all …]
|
D | l3ni1.c | 483 l3ni1_status_send(struct l3_process *pc, u_char pr, void *arg) in l3ni1_status_send() argument 509 l3ni1_msg_without_setup(struct l3_process *pc, u_char pr, void *arg) in l3ni1_msg_without_setup() argument 902 l3ni1_release_req(struct l3_process *pc, u_char pr, void *arg) in l3ni1_release_req() argument 914 l3ni1_release_cmpl(struct l3_process *pc, u_char pr, void *arg) in l3ni1_release_cmpl() argument 1170 l3ni1_setup_req(struct l3_process *pc, u_char pr, in l3ni1_setup_req() argument 1285 l3ni1_call_proc(struct l3_process *pc, u_char pr, void *arg) in l3ni1_call_proc() argument 1295 l3ni1_status_send(pc, pr, NULL); in l3ni1_call_proc() 1306 l3ni1_status_send(pc, pr, NULL); in l3ni1_call_proc() 1324 l3ni1_setup_ack(struct l3_process *pc, u_char pr, void *arg) in l3ni1_setup_ack() argument 1334 l3ni1_status_send(pc, pr, NULL); in l3ni1_setup_ack() [all …]
|
D | l3dss1.c | 533 l3dss1_status_send(struct l3_process *pc, u_char pr, void *arg) in l3dss1_status_send() argument 559 l3dss1_msg_without_setup(struct l3_process *pc, u_char pr, void *arg) in l3dss1_msg_without_setup() argument 952 l3dss1_release_req(struct l3_process *pc, u_char pr, void *arg) in l3dss1_release_req() argument 964 l3dss1_release_cmpl(struct l3_process *pc, u_char pr, void *arg) in l3dss1_release_cmpl() argument 1220 l3dss1_setup_req(struct l3_process *pc, u_char pr, in l3dss1_setup_req() argument 1431 l3dss1_call_proc(struct l3_process *pc, u_char pr, void *arg) in l3dss1_call_proc() argument 1441 l3dss1_status_send(pc, pr, NULL); in l3dss1_call_proc() 1452 l3dss1_status_send(pc, pr, NULL); in l3dss1_call_proc() 1470 l3dss1_setup_ack(struct l3_process *pc, u_char pr, void *arg) in l3dss1_setup_ack() argument 1480 l3dss1_status_send(pc, pr, NULL); in l3dss1_setup_ack() [all …]
|
D | config.c | 1574 static void hisax_d_l1l2(struct hisax_if *ifc, int pr, void *arg); 1575 static void hisax_b_l1l2(struct hisax_if *ifc, int pr, void *arg); 1576 static void hisax_d_l2l1(struct PStack *st, int pr, void *arg); 1577 static void hisax_b_l2l1(struct PStack *st, int pr, void *arg); 1656 int pr; in hisax_bh() local 1664 pr = PH_ACTIVATE | INDICATION; in hisax_bh() 1666 pr = PH_DEACTIVATE | INDICATION; in hisax_bh() 1668 st->l1.l1l2(st, pr, NULL); in hisax_bh() 1679 static inline void D_L2L1(struct hisax_d_if *d_if, int pr, void *arg) in D_L2L1() argument 1682 ifc->l2l1(ifc, pr, arg); in D_L2L1() [all …]
|
D | isdnl3.c | 218 no_l3_proto(struct PStack *st, int pr, void *arg) in no_l3_proto() argument 316 l3ml3p(struct PStack *st, int pr) in l3ml3p() argument 324 st->l3.l3ml3(st, pr, p); in l3ml3p() 382 isdnl3_trans(struct PStack *st, int pr, void *arg) { in isdnl3_trans() argument 383 st->l3.l3l2(st, pr, arg); in isdnl3_trans() 548 l3_msg(struct PStack *st, int pr, void *arg) in l3_msg() argument 550 switch (pr) { in l3_msg() 553 st->l3.l3l2(st, pr, arg); in l3_msg()
|
D | isdnl1.h | 28 void l1_msg(struct IsdnCardState *cs, int pr, void *arg); 29 void l1_msg_b(struct PStack *st, int pr, void *arg);
|
D | lmgr.c | 29 hisax_manager(struct PStack *st, int pr, void *arg) in hisax_manager() argument 33 switch (pr) { in hisax_manager()
|
D | hisax_if.h | 40 void (*l1l2)(struct hisax_if *, int pr, void *arg); 41 void (*l2l1)(struct hisax_if *, int pr, void *arg);
|
D | st5481_b.c | 20 static inline void B_L1L2(struct st5481_bcs *bcs, int pr, void *arg) in B_L1L2() argument 24 ifc->l1l2(ifc, pr, arg); in B_L1L2() 353 void st5481_b_l2l1(struct hisax_if *ifc, int pr, void *arg) in st5481_b_l2l1() argument 361 switch (pr) { in st5481_b_l2l1() 378 WARNING("pr %#x\n", pr); in st5481_b_l2l1()
|
D | tei.c | 38 void tei_handler(struct PStack *st, u_char pr, struct sk_buff *skb); 310 tei_l1l2(struct PStack *st, int pr, void *arg) in tei_l1l2() argument 320 if (pr == (PH_DATA | INDICATION)) { in tei_l1l2() 360 "tei handler wrong pr %x\n", pr); in tei_l1l2() 366 tei_l2tei(struct PStack *st, int pr, void *arg) in tei_l2tei() argument 371 if (pr == (MDL_ASSIGN | INDICATION)) { in tei_l2tei() 381 switch (pr) { in tei_l2tei()
|
D | callc.c | 924 dchan_l3l4(struct PStack *st, int pr, void *arg) in dchan_l3l4() argument 933 if (pr == (CC_SETUP | INDICATION)) { in dchan_l3l4() 947 switch (pr) { in dchan_l3l4() 1003 chanp->chan, pr); in dchan_l3l4() 1009 dummy_pstack(struct PStack *st, int pr, void *arg) { in dummy_pstack() argument 1010 printk(KERN_WARNING"call to dummy_pstack pr=%04x arg %lx\n", pr, (long)arg); in dummy_pstack() 1184 lldata_handler(struct PStack *st, int pr, void *arg) in lldata_handler() argument 1189 switch (pr) { in lldata_handler() 1210 pr); in lldata_handler() 1216 lltrans_handler(struct PStack *st, int pr, void *arg) in lltrans_handler() argument [all …]
|
D | ipacx.c | 37 static void dch_l2l1(struct PStack *st, int pr, void *arg); 44 static void bch_l2l1(struct PStack *st, int pr, void *arg); 95 dch_l2l1(struct PStack *st, int pr, void *arg) in dch_l2l1() argument 101 switch (pr) { in dch_l2l1() 193 if (cs->debug & L1_DEB_WARN) debugl1(cs, "dch_l2l1 unknown %04x", pr); in dch_l2l1() 446 bch_l2l1(struct PStack *st, int pr, void *arg) in bch_l2l1() argument 452 switch (pr) { in bch_l2l1() 489 l1_msg_b(st, pr, arg); in bch_l2l1() 492 l1_msg_b(st, pr, arg); in bch_l2l1()
|
/drivers/sh/intc/ |
D | handle.c | 112 struct intc_prio_reg *pr = desc->hw.prio_regs; in _intc_prio_data() local 116 while (pr && enum_id && *reg_idx < desc->hw.nr_prio_regs) { in _intc_prio_data() 117 pr = desc->hw.prio_regs + *reg_idx; in _intc_prio_data() 119 for (; *fld_idx < ARRAY_SIZE(pr->enum_ids); (*fld_idx)++) { in _intc_prio_data() 120 if (pr->enum_ids[*fld_idx] != enum_id) in _intc_prio_data() 123 if (pr->set_reg && pr->clr_reg) { in _intc_prio_data() 126 reg_e = pr->set_reg; in _intc_prio_data() 127 reg_d = pr->clr_reg; in _intc_prio_data() 131 if (!pr->set_reg) in _intc_prio_data() 133 reg_e = pr->set_reg; in _intc_prio_data() [all …]
|
/drivers/block/paride/ |
D | paride.c | 209 int paride_register(PIP * pr) in paride_register() argument 214 if (protocols[k] && !strcmp(pr->name, protocols[k]->name)) { in paride_register() 216 pr->name); in paride_register() 226 protocols[k] = pr; in paride_register() 227 pr->index = k; in paride_register() 228 printk("paride: %s registered as protocol %d\n", pr->name, k); in paride_register() 234 void paride_unregister(PIP * pr) in paride_unregister() argument 236 if (!pr) in paride_unregister() 238 if (protocols[pr->index] != pr) { in paride_unregister() 239 printk("paride: %s not registered\n", pr->name); in paride_unregister() [all …]
|
/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.c | 126 u8 *pr = pcan_msg_init(pm, buffer_addr, buffer_size); in pcan_msg_init_empty() local 128 if (pr) { in pcan_msg_init_empty() 132 return pr; in pcan_msg_init_empty() 258 union pcan_usb_pro_rec *pr; in pcan_usb_pro_wait_rsp() local 290 pr = (union pcan_usb_pro_rec *)pc; in pcan_usb_pro_wait_rsp() 291 rec_len = pcan_usb_pro_sizeof_rec[pr->data_type]; in pcan_usb_pro_wait_rsp() 301 if (pr->data_type != req_data_type) in pcan_usb_pro_wait_rsp() 304 pr->data_type); in pcan_usb_pro_wait_rsp() 308 (pr->bus_act.channel != req_channel)) in pcan_usb_pro_wait_rsp() 311 req_data_type, pr->bus_act.channel); in pcan_usb_pro_wait_rsp() [all …]
|
/drivers/cpufreq/ |
D | longhaul.c | 70 static struct acpi_processor *pr; variable 287 || ((pr != NULL) && pr->flags.bm_control))) { in longhaul_setstate() 301 } else if ((pr != NULL) && pr->flags.bm_control) { in longhaul_setstate() 337 } else if ((pr != NULL) && pr->flags.bm_control) { in longhaul_setstate() 885 NULL, (void *)&pr); in longhaul_cpu_init() 888 if (pr != NULL && longhaul_version == TYPE_POWERSAVER) { in longhaul_cpu_init() 889 cx = &pr->power.states[ACPI_STATE_C3]; in longhaul_cpu_init() 903 && ((pr == NULL) || !(pr->flags.bm_control))) { in longhaul_cpu_init()
|
/drivers/usb/storage/ |
D | usual-tables.c | 45 #define UNUSUAL_VENDOR_INTF(id_vendor, cl, sc, pr, \ argument 54 .bInterfaceProtocol = (pr), \
|