Home
last modified time | relevance | path

Searched refs:self (Results 1 – 200 of 625) sorted by relevance

1234

/linux-4.1.27/net/irda/
Dirlap_event.c50 static int irlap_state_ndm (struct irlap_cb *self, IRLAP_EVENT event,
52 static int irlap_state_query (struct irlap_cb *self, IRLAP_EVENT event,
54 static int irlap_state_reply (struct irlap_cb *self, IRLAP_EVENT event,
56 static int irlap_state_conn (struct irlap_cb *self, IRLAP_EVENT event,
58 static int irlap_state_setup (struct irlap_cb *self, IRLAP_EVENT event,
60 static int irlap_state_offline(struct irlap_cb *self, IRLAP_EVENT event,
62 static int irlap_state_xmit_p (struct irlap_cb *self, IRLAP_EVENT event,
64 static int irlap_state_pclose (struct irlap_cb *self, IRLAP_EVENT event,
66 static int irlap_state_nrm_p (struct irlap_cb *self, IRLAP_EVENT event,
68 static int irlap_state_reset_wait(struct irlap_cb *self, IRLAP_EVENT event,
[all …]
Dirlap.c58 extern void irlap_queue_xmit(struct irlap_cb *self, struct sk_buff *skb);
59 static void __irlap_close(struct irlap_cb *self);
60 static void irlap_init_qos_capabilities(struct irlap_cb *self,
110 struct irlap_cb *self; in irlap_open() local
113 self = kzalloc(sizeof(struct irlap_cb), GFP_KERNEL); in irlap_open()
114 if (self == NULL) in irlap_open()
117 self->magic = LAP_MAGIC; in irlap_open()
120 self->netdev = dev; in irlap_open()
121 self->qos_dev = qos; in irlap_open()
124 strlcpy(self->hw_name, hw_name, sizeof(self->hw_name)); in irlap_open()
[all …]
Dirttp.c45 static void __irttp_close_tsap(struct tsap_cb *self);
59 static void irttp_run_tx_queue(struct tsap_cb *self);
60 static void irttp_run_rx_queue(struct tsap_cb *self);
62 static void irttp_flush_queues(struct tsap_cb *self);
63 static void irttp_fragment_skb(struct tsap_cb *self, struct sk_buff *skb);
64 static struct sk_buff *irttp_reassemble_skb(struct tsap_cb *self);
143 static inline void irttp_start_todo_timer(struct tsap_cb *self, int timeout) in irttp_start_todo_timer() argument
146 mod_timer(&self->todo_timer, jiffies + timeout); in irttp_start_todo_timer()
165 struct tsap_cb *self = (struct tsap_cb *) data; in irttp_todo_expired() local
168 if (!self || self->magic != TTP_TSAP_MAGIC) in irttp_todo_expired()
[all …]
Dirlmp_event.c117 static inline void irlmp_next_lap_state(struct lap_cb *self, in irlmp_next_lap_state() argument
123 self->lap_state = state; in irlmp_next_lap_state()
126 static inline void irlmp_next_lsap_state(struct lsap_cb *self, in irlmp_next_lsap_state() argument
133 self->lsap_state = state; in irlmp_next_lsap_state()
137 int irlmp_do_lsap_event(struct lsap_cb *self, IRLMP_EVENT event, in irlmp_do_lsap_event() argument
140 IRDA_ASSERT(self != NULL, return -1;); in irlmp_do_lsap_event()
141 IRDA_ASSERT(self->magic == LMP_LSAP_MAGIC, return -1;); in irlmp_do_lsap_event()
144 __func__, irlmp_event[event], irlsap_state[self->lsap_state]); in irlmp_do_lsap_event()
146 return (*lsap_state[self->lsap_state]) (self, event, skb); in irlmp_do_lsap_event()
155 void irlmp_do_lap_event(struct lap_cb *self, IRLMP_EVENT event, in irlmp_do_lap_event() argument
[all …]
Diriap_event.c34 static void state_s_disconnect (struct iriap_cb *self, IRIAP_EVENT event,
36 static void state_s_connecting (struct iriap_cb *self, IRIAP_EVENT event,
38 static void state_s_call (struct iriap_cb *self, IRIAP_EVENT event,
41 static void state_s_make_call (struct iriap_cb *self, IRIAP_EVENT event,
43 static void state_s_calling (struct iriap_cb *self, IRIAP_EVENT event,
45 static void state_s_outstanding (struct iriap_cb *self, IRIAP_EVENT event,
47 static void state_s_replying (struct iriap_cb *self, IRIAP_EVENT event,
49 static void state_s_wait_for_call(struct iriap_cb *self, IRIAP_EVENT event,
51 static void state_s_wait_active (struct iriap_cb *self, IRIAP_EVENT event,
54 static void state_r_disconnect (struct iriap_cb *self, IRIAP_EVENT event,
[all …]
Dtimer.c44 void irlap_start_slot_timer(struct irlap_cb *self, int timeout) in irlap_start_slot_timer() argument
46 irda_start_timer(&self->slot_timer, timeout, (void *) self, in irlap_start_slot_timer()
50 void irlap_start_query_timer(struct irlap_cb *self, int S, int s) in irlap_start_query_timer() argument
69 irda_start_timer( &self->query_timer, timeout, (void *) self, in irlap_start_query_timer()
73 void irlap_start_final_timer(struct irlap_cb *self, int timeout) in irlap_start_final_timer() argument
75 irda_start_timer(&self->final_timer, timeout, (void *) self, in irlap_start_final_timer()
79 void irlap_start_wd_timer(struct irlap_cb *self, int timeout) in irlap_start_wd_timer() argument
81 irda_start_timer(&self->wd_timer, timeout, (void *) self, in irlap_start_wd_timer()
85 void irlap_start_backoff_timer(struct irlap_cb *self, int timeout) in irlap_start_backoff_timer() argument
87 irda_start_timer(&self->backoff_timer, timeout, (void *) self, in irlap_start_backoff_timer()
[all …]
Dirlap_frame.c47 static void irlap_send_i_frame(struct irlap_cb *self, struct sk_buff *skb,
57 static inline void irlap_insert_info(struct irlap_cb *self, in irlap_insert_info() argument
67 cb->mtt = self->mtt_required; in irlap_insert_info()
68 cb->next_speed = self->speed; in irlap_insert_info()
71 self->mtt_required = 0; in irlap_insert_info()
77 cb->xbofs = self->bofs_count; in irlap_insert_info()
78 cb->next_xbofs = self->next_bofs; in irlap_insert_info()
79 cb->xbofs_delay = self->xbofs_delay; in irlap_insert_info()
82 self->xbofs_delay = 0; in irlap_insert_info()
84 self->bofs_count = self->next_bofs; in irlap_insert_info()
[all …]
Diriap.c64 static void __iriap_close(struct iriap_cb *self);
65 static int iriap_register_lsap(struct iriap_cb *self, __u8 slsap_sel, int mode);
81 static inline void iriap_start_watchdog_timer(struct iriap_cb *self, in iriap_start_watchdog_timer() argument
84 irda_start_timer(&self->watchdog_timer, timeout, self, in iriap_start_watchdog_timer()
176 struct iriap_cb *self; in iriap_open() local
178 self = kzalloc(sizeof(*self), GFP_ATOMIC); in iriap_open()
179 if (!self) in iriap_open()
186 self->magic = IAS_MAGIC; in iriap_open()
187 self->mode = mode; in iriap_open()
189 iriap_register_lsap(self, slsap_sel, mode); in iriap_open()
[all …]
Daf_irda.c83 struct irda_sock *self; in irda_data_indication() local
87 self = instance; in irda_data_indication()
93 self->rx_flow = FLOW_STOP; in irda_data_indication()
111 struct irda_sock *self; in irda_disconnect_indication() local
114 self = instance; in irda_disconnect_indication()
116 pr_debug("%s(%p)\n", __func__, self); in irda_disconnect_indication()
125 __func__, self); in irda_disconnect_indication()
150 if (self->tsap) { in irda_disconnect_indication()
151 irttp_close_tsap(self->tsap); in irda_disconnect_indication()
152 self->tsap = NULL; in irda_disconnect_indication()
[all …]
Dirlmp.c155 struct lsap_cb *self; in irlmp_open_lsap() local
171 self = kzalloc(sizeof(struct lsap_cb), GFP_ATOMIC); in irlmp_open_lsap()
172 if (self == NULL) in irlmp_open_lsap()
175 self->magic = LMP_LSAP_MAGIC; in irlmp_open_lsap()
176 self->slsap_sel = slsap_sel; in irlmp_open_lsap()
181 self->dlsap_sel = LSAP_CONNLESS; in irlmp_open_lsap()
182 self->pid = pid; in irlmp_open_lsap()
185 self->dlsap_sel = LSAP_ANY; in irlmp_open_lsap()
188 init_timer(&self->watchdog_timer); in irlmp_open_lsap()
190 self->notify = *notify; in irlmp_open_lsap()
[all …]
Dirlmp_frame.c37 static struct lsap_cb *irlmp_find_lsap(struct lap_cb *self, __u8 dlsap,
40 inline void irlmp_send_data_pdu(struct lap_cb *self, __u8 dlsap, __u8 slsap, in irlmp_send_data_pdu() argument
48 irlap_data_request(self->irlap, skb, TRUE); in irlmp_send_data_pdu()
50 irlap_data_request(self->irlap, skb, FALSE); in irlmp_send_data_pdu()
58 void irlmp_send_lcf_pdu(struct lap_cb *self, __u8 dlsap, __u8 slsap, in irlmp_send_lcf_pdu() argument
63 IRDA_ASSERT(self != NULL, return;); in irlmp_send_lcf_pdu()
64 IRDA_ASSERT(self->magic == LMP_LAP_MAGIC, return;); in irlmp_send_lcf_pdu()
79 irlap_data_request(self->irlap, skb, FALSE); in irlmp_send_lcf_pdu()
88 void irlmp_link_data_indication(struct lap_cb *self, struct sk_buff *skb, in irlmp_link_data_indication() argument
96 IRDA_ASSERT(self != NULL, return;); in irlmp_link_data_indication()
[all …]
Dqos.c427 int irlap_qos_negotiate(struct irlap_cb *self, struct sk_buff *skb) in irlap_qos_negotiate() argument
431 ret = irda_param_extract_all(self, skb->data, skb->len, in irlap_qos_negotiate()
435 irda_qos_bits_to_value(&self->qos_tx); in irlap_qos_negotiate()
436 irda_qos_bits_to_value(&self->qos_rx); in irlap_qos_negotiate()
438 irlap_adjust_qos_settings(&self->qos_tx); in irlap_qos_negotiate()
441 self->qos_tx.baud_rate.value); in irlap_qos_negotiate()
443 self->qos_tx.data_size.value); in irlap_qos_negotiate()
445 self->qos_tx.window_size.value); in irlap_qos_negotiate()
447 self->qos_tx.additional_bofs.value); in irlap_qos_negotiate()
449 self->qos_tx.max_turn_time.value); in irlap_qos_negotiate()
[all …]
Dparameters.c38 static int irda_extract_integer(void *self, __u8 *buf, int len, __u8 pi,
40 static int irda_extract_string(void *self, __u8 *buf, int len, __u8 pi,
42 static int irda_extract_octseq(void *self, __u8 *buf, int len, __u8 pi,
44 static int irda_extract_no_value(void *self, __u8 *buf, int len, __u8 pi,
47 static int irda_insert_integer(void *self, __u8 *buf, int len, __u8 pi,
49 static int irda_insert_no_value(void *self, __u8 *buf, int len, __u8 pi,
78 static int irda_insert_no_value(void *self, __u8 *buf, int len, __u8 pi, in irda_insert_no_value() argument
88 ret = (*func)(self, &p, PV_GET); in irda_insert_no_value()
105 static int irda_extract_no_value(void *self, __u8 *buf, int len, __u8 pi, in irda_extract_no_value() argument
115 ret = (*func)(self, &p, PV_PUT); in irda_extract_no_value()
[all …]
Dirda_device.c106 struct irlap_cb *self; in irda_device_set_media_busy() local
110 self = (struct irlap_cb *) dev->atalk_ptr; in irda_device_set_media_busy()
119 if (!self || self->magic != LAP_MAGIC) in irda_device_set_media_busy()
123 self->media_busy = TRUE; in irda_device_set_media_busy()
125 irlap_start_mbusy_timer(self, SMALLBUSY_TIMEOUT); in irda_device_set_media_busy()
127 irlap_start_mbusy_timer(self, MEDIABUSY_TIMEOUT); in irda_device_set_media_busy()
130 self->media_busy = FALSE; in irda_device_set_media_busy()
131 irlap_stop_mbusy_timer(self); in irda_device_set_media_busy()
/linux-4.1.27/net/irda/ircomm/
Dircomm_tty_attach.c47 static void ircomm_tty_ias_register(struct ircomm_tty_cb *self);
53 static void ircomm_tty_start_watchdog_timer(struct ircomm_tty_cb *self,
57 static int ircomm_tty_state_idle(struct ircomm_tty_cb *self,
61 static int ircomm_tty_state_search(struct ircomm_tty_cb *self,
65 static int ircomm_tty_state_query_parameters(struct ircomm_tty_cb *self,
69 static int ircomm_tty_state_query_lsap_sel(struct ircomm_tty_cb *self,
73 static int ircomm_tty_state_setup(struct ircomm_tty_cb *self,
77 static int ircomm_tty_state_ready(struct ircomm_tty_cb *self,
109 static int (*state[])(struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event,
127 int ircomm_tty_attach_cable(struct ircomm_tty_cb *self) in ircomm_tty_attach_cable() argument
[all …]
Dircomm_tty.c68 static void ircomm_tty_shutdown(struct ircomm_tty_cb *self);
110 struct ircomm_tty_cb *self = container_of(port, struct ircomm_tty_cb, in ircomm_port_raise_dtr_rts() local
118 self->settings.dte |= IRCOMM_RTS | IRCOMM_DTR; in ircomm_port_raise_dtr_rts()
120 self->settings.dte &= ~(IRCOMM_RTS | IRCOMM_DTR); in ircomm_port_raise_dtr_rts()
122 ircomm_param_request(self, IRCOMM_DTE, TRUE); in ircomm_port_raise_dtr_rts()
127 struct ircomm_tty_cb *self = container_of(port, struct ircomm_tty_cb, in ircomm_port_carrier_raised() local
129 return self->settings.dce & IRCOMM_CD; in ircomm_port_carrier_raised()
175 static void __exit __ircomm_tty_cleanup(struct ircomm_tty_cb *self) in __ircomm_tty_cleanup() argument
177 IRDA_ASSERT(self != NULL, return;); in __ircomm_tty_cleanup()
178 IRDA_ASSERT(self->magic == IRCOMM_TTY_MAGIC, return;); in __ircomm_tty_cleanup()
[all …]
Dircomm_core.c49 static int __ircomm_close(struct ircomm_cb *self);
50 static void ircomm_control_indication(struct ircomm_cb *self,
109 struct ircomm_cb *self = NULL; in ircomm_open() local
117 self = kzalloc(sizeof(struct ircomm_cb), GFP_KERNEL); in ircomm_open()
118 if (self == NULL) in ircomm_open()
121 self->notify = *notify; in ircomm_open()
122 self->magic = IRCOMM_MAGIC; in ircomm_open()
126 self->flow_status = FLOW_START; in ircomm_open()
127 ret = ircomm_open_lsap(self); in ircomm_open()
129 ret = ircomm_open_tsap(self); in ircomm_open()
[all …]
Dircomm_param.c98 int ircomm_param_request(struct ircomm_tty_cb *self, __u8 pi, int flush) in ircomm_param_request() argument
104 IRDA_ASSERT(self != NULL, return -1;); in ircomm_param_request()
105 IRDA_ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;); in ircomm_param_request()
108 if (self->service_type == IRCOMM_3_WIRE_RAW) in ircomm_param_request()
111 spin_lock_irqsave(&self->spinlock, flags); in ircomm_param_request()
113 skb = self->ctrl_skb; in ircomm_param_request()
117 spin_unlock_irqrestore(&self->spinlock, flags); in ircomm_param_request()
121 skb_reserve(skb, self->max_header_size); in ircomm_param_request()
122 self->ctrl_skb = skb; in ircomm_param_request()
128 count = irda_param_insert(self, pi, skb_tail_pointer(skb), in ircomm_param_request()
[all …]
Dircomm_event.c41 static int ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event,
43 static int ircomm_state_waiti(struct ircomm_cb *self, IRCOMM_EVENT event,
45 static int ircomm_state_waitr(struct ircomm_cb *self, IRCOMM_EVENT event,
47 static int ircomm_state_conn(struct ircomm_cb *self, IRCOMM_EVENT event,
76 static int (*state[])(struct ircomm_cb *self, IRCOMM_EVENT event,
91 static int ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event, in ircomm_state_idle() argument
98 ircomm_next_state(self, IRCOMM_WAITI); in ircomm_state_idle()
99 ret = self->issue.connect_request(self, skb, info); in ircomm_state_idle()
103 ircomm_next_state(self, IRCOMM_WAITR); in ircomm_state_idle()
104 ircomm_connect_indication(self, skb, info); in ircomm_state_idle()
[all …]
Dircomm_lmp.c49 static int ircomm_lmp_connect_request(struct ircomm_cb *self, in ircomm_lmp_connect_request() argument
59 ret = irlmp_connect_request(self->lsap, info->dlsap_sel, in ircomm_lmp_connect_request()
70 static int ircomm_lmp_connect_response(struct ircomm_cb *self, in ircomm_lmp_connect_response() argument
96 return irlmp_connect_response(self->lsap, tx_skb); in ircomm_lmp_connect_response()
99 static int ircomm_lmp_disconnect_request(struct ircomm_cb *self, in ircomm_lmp_disconnect_request() argument
119 ret = irlmp_disconnect_request(self->lsap, userdata); in ircomm_lmp_disconnect_request()
134 struct ircomm_cb *self; in ircomm_lmp_flow_control() local
143 self = (struct ircomm_cb *) hashbin_lock_find(ircomm, line, NULL); in ircomm_lmp_flow_control()
144 if (!self) { in ircomm_lmp_flow_control()
149 IRDA_ASSERT(self != NULL, return;); in ircomm_lmp_flow_control()
[all …]
Dircomm_tty_ioctl.c53 static void ircomm_tty_change_speed(struct ircomm_tty_cb *self, in ircomm_tty_change_speed() argument
59 if (!self->ircomm) in ircomm_tty_change_speed()
85 self->settings.data_rate = baud; in ircomm_tty_change_speed()
86 ircomm_param_request(self, IRCOMM_DATA_RATE, FALSE); in ircomm_tty_change_speed()
90 self->port.flags |= ASYNC_CTS_FLOW; in ircomm_tty_change_speed()
91 self->settings.flow_control |= IRCOMM_RTS_CTS_IN; in ircomm_tty_change_speed()
93 if (self->service_type == IRCOMM_3_WIRE_RAW) in ircomm_tty_change_speed()
97 self->port.flags &= ~ASYNC_CTS_FLOW; in ircomm_tty_change_speed()
98 self->settings.flow_control &= ~IRCOMM_RTS_CTS_IN; in ircomm_tty_change_speed()
101 self->port.flags &= ~ASYNC_CHECK_CD; in ircomm_tty_change_speed()
[all …]
Dircomm_ttp.c57 static int ircomm_ttp_data_request(struct ircomm_cb *self,
60 static int ircomm_ttp_connect_request(struct ircomm_cb *self,
63 static int ircomm_ttp_connect_response(struct ircomm_cb *self,
65 static int ircomm_ttp_disconnect_request(struct ircomm_cb *self,
75 int ircomm_open_tsap(struct ircomm_cb *self) in ircomm_open_tsap() argument
86 notify.instance = self; in ircomm_open_tsap()
89 self->tsap = irttp_open_tsap(LSAP_ANY, DEFAULT_INITIAL_CREDIT, in ircomm_open_tsap()
91 if (!self->tsap) { in ircomm_open_tsap()
95 self->slsap_sel = self->tsap->stsap_sel; in ircomm_open_tsap()
100 self->issue.data_request = ircomm_ttp_data_request; in ircomm_open_tsap()
[all …]
/linux-4.1.27/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DSchedGui.py23 def __init__(self, sched_tracer, title, parent = None, id = -1): argument
24 wx.Frame.__init__(self, parent, id, title)
26 (self.screen_width, self.screen_height) = wx.GetDisplaySize()
27 self.screen_width -= 10
28 self.screen_height -= 10
29 self.zoom = 0.5
30 self.scroll_scale = 20
31 self.sched_tracer = sched_tracer
32 self.sched_tracer.set_root_win(self)
33 (self.ts_start, self.ts_end) = sched_tracer.interval()
[all …]
DEventClass.py36 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_GENERIC): argument
37 self.name = name
38 self.comm = comm
39 self.dso = dso
40 self.symbol = symbol
41 self.raw_buf = raw_buf
42 self.ev_type = ev_type
45 def show(self): argument
46 …MU event: name=%12s, symbol=%24s, comm=%8s, dso=%12s" % (self.name, self.symbol, self.comm, self.d…
55 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS): argument
[all …]
DCore.py109 def __init__(self, common_cpu, common_secs, common_nsecs, argument
111 self.cpu = common_cpu
112 self.secs = common_secs
113 self.nsecs = common_nsecs
114 self.pid = common_pid
115 self.comm = common_comm
116 self.callchain = common_callchain
118 def ts(self): argument
119 return (self.secs * (10 ** 9)) + self.nsecs
121 def ts_format(self): argument
[all …]
/linux-4.1.27/drivers/net/irda/
Ddonauboe.c244 toshoboe_dumpregs (struct toshoboe_cb *self) in toshoboe_dumpregs() argument
254 self->int_tx, self->int_rx, self->int_txunder, self->int_rxover, in toshoboe_dumpregs()
255 self->int_sip); in toshoboe_dumpregs()
272 if (self->ring) in toshoboe_dumpregs()
275 ringbase = virt_to_bus (self->ring); in toshoboe_dumpregs()
279 printk (" (%d,%02x)",self->ring->rx[i].len,self->ring->rx[i].control); in toshoboe_dumpregs()
283 printk (" (%d,%02x)",self->ring->tx[i].len,self->ring->tx[i].control); in toshoboe_dumpregs()
291 toshoboe_disablebm (struct toshoboe_cb *self) in toshoboe_disablebm() argument
294 pci_read_config_byte (self->pdev, PCI_COMMAND, &command); in toshoboe_disablebm()
296 pci_write_config_byte (self->pdev, PCI_COMMAND, command); in toshoboe_disablebm()
[all …]
Dirda-usb.c109 static void irda_usb_init_qos(struct irda_usb_cb *self) ;
112 static void irda_usb_change_speed_xbofs(struct irda_usb_cb *self);
115 static int irda_usb_open(struct irda_usb_cb *self);
116 static void irda_usb_close(struct irda_usb_cb *self);
148 static void irda_usb_build_header(struct irda_usb_cb *self, in irda_usb_build_header() argument
156 if (self->capability & IUC_STIR421X && in irda_usb_build_header()
157 ((self->new_speed != -1) || (self->new_xbofs != -1))) { in irda_usb_build_header()
162 if (self->new_speed == -1) in irda_usb_build_header()
163 self->new_speed = self->speed ; in irda_usb_build_header()
165 if (self->new_xbofs == -1) in irda_usb_build_header()
[all …]
Dsh_irda.c135 int (*xir_fre) (struct sh_irda_self *self);
136 int (*xir_trov) (struct sh_irda_self *self);
137 int (*xir_9) (struct sh_irda_self *self);
138 int (*xir_8) (struct sh_irda_self *self);
139 int (*xir_fte) (struct sh_irda_self *self);
168 static void sh_irda_write(struct sh_irda_self *self, u32 offset, u16 data) in sh_irda_write() argument
172 spin_lock_irqsave(&self->lock, flags); in sh_irda_write()
173 iowrite16(data, self->membase + offset); in sh_irda_write()
174 spin_unlock_irqrestore(&self->lock, flags); in sh_irda_write()
177 static u16 sh_irda_read(struct sh_irda_self *self, u32 offset) in sh_irda_read() argument
[all …]
Dali-ircc.c104 static int ali_ircc_close(struct ali_ircc_cb *self);
107 static int ali_ircc_is_receiving(struct ali_ircc_cb *self);
111 static void ali_ircc_change_speed(struct ali_ircc_cb *self, __u32 baud);
116 static irqreturn_t ali_ircc_sir_interrupt(struct ali_ircc_cb *self);
117 static void ali_ircc_sir_receive(struct ali_ircc_cb *self);
118 static void ali_ircc_sir_write_wakeup(struct ali_ircc_cb *self);
126 static irqreturn_t ali_ircc_fir_interrupt(struct ali_ircc_cb *self);
127 static int ali_ircc_dma_receive(struct ali_ircc_cb *self);
128 static int ali_ircc_dma_receive_complete(struct ali_ircc_cb *self);
129 static int ali_ircc_dma_xmit_complete(struct ali_ircc_cb *self);
[all …]
Dvia-ircc.c81 static int via_ircc_dma_receive(struct via_ircc_cb *self);
82 static int via_ircc_dma_receive_complete(struct via_ircc_cb *self,
88 static void via_hw_init(struct via_ircc_cb *self);
89 static void via_ircc_change_speed(struct via_ircc_cb *self, __u32 baud);
91 static int via_ircc_is_receiving(struct via_ircc_cb *self);
100 static int RxTimerHandler(struct via_ircc_cb *self, int iobase);
101 static void hwreset(struct via_ircc_cb *self);
102 static int via_ircc_dma_xmit(struct via_ircc_cb *self, u16 iobase);
103 static int upload_rxdata(struct via_ircc_cb *self, int iobase);
285 struct via_ircc_cb *self; in via_ircc_open() local
[all …]
Dsh_sir.c127 static void sh_sir_write(struct sh_sir_self *self, u32 offset, u16 data) in sh_sir_write() argument
129 iowrite16(data, self->membase + offset); in sh_sir_write()
132 static u16 sh_sir_read(struct sh_sir_self *self, u32 offset) in sh_sir_read() argument
134 return ioread16(self->membase + offset); in sh_sir_read()
137 static void sh_sir_update_bits(struct sh_sir_self *self, u32 offset, in sh_sir_update_bits() argument
142 old = sh_sir_read(self, offset); in sh_sir_update_bits()
145 sh_sir_write(self, offset, new); in sh_sir_update_bits()
155 static void sh_sir_crc_reset(struct sh_sir_self *self) in sh_sir_crc_reset() argument
157 sh_sir_write(self, IRIF_CRC0, CRC_RST); in sh_sir_crc_reset()
160 static void sh_sir_crc_add(struct sh_sir_self *self, u8 data) in sh_sir_crc_add() argument
[all …]
Dw83977af_ir.c88 static int w83977af_close(struct w83977af_ir *self);
90 static int w83977af_dma_receive(struct w83977af_ir *self);
91 static int w83977af_dma_receive_complete(struct w83977af_ir *self);
95 static void w83977af_dma_write(struct w83977af_ir *self, int iobase);
96 static void w83977af_change_speed(struct w83977af_ir *self, __u32 speed);
97 static int w83977af_is_receiving(struct w83977af_ir *self);
153 struct w83977af_ir *self; in w83977af_open() local
178 self = netdev_priv(dev); in w83977af_open()
179 spin_lock_init(&self->lock); in w83977af_open()
183 self->io.fir_base = iobase; in w83977af_open()
[all …]
Dnsc-ircc.c172 static int nsc_ircc_close(struct nsc_ircc_cb *self);
174 static void nsc_ircc_pio_receive(struct nsc_ircc_cb *self);
175 static int nsc_ircc_dma_receive(struct nsc_ircc_cb *self);
176 static int nsc_ircc_dma_receive_complete(struct nsc_ircc_cb *self, int iobase);
182 static void nsc_ircc_dma_xmit(struct nsc_ircc_cb *self, int iobase);
183 static __u8 nsc_ircc_change_speed(struct nsc_ircc_cb *self, __u32 baud);
184 static int nsc_ircc_is_receiving(struct nsc_ircc_cb *self);
366 struct nsc_ircc_cb *self; in nsc_ircc_open() local
396 self = netdev_priv(dev); in nsc_ircc_open()
397 self->netdev = dev; in nsc_ircc_open()
[all …]
Dbfin_sir.c168 struct bfin_sir_self *self = netdev_priv(dev); in bfin_sir_is_receiving() local
169 struct bfin_sir_port *port = self->sir_port; in bfin_sir_is_receiving()
173 return self->rx_buff.state != OUTSIDE_FRAME; in bfin_sir_is_receiving()
180 struct bfin_sir_self *self = netdev_priv(dev); in bfin_sir_tx_chars() local
181 struct bfin_sir_port *port = self->sir_port; in bfin_sir_tx_chars()
183 if (self->tx_buff.len != 0) { in bfin_sir_tx_chars()
184 chr = *(self->tx_buff.data); in bfin_sir_tx_chars()
186 self->tx_buff.data++; in bfin_sir_tx_chars()
187 self->tx_buff.len--; in bfin_sir_tx_chars()
189 self->stats.tx_packets++; in bfin_sir_tx_chars()
[all …]
Dsmsc-ircc2.c188 static void smsc_ircc_setup_io(struct smsc_ircc_cb *self, unsigned int fir_base, unsigned int sir_b…
189 static void smsc_ircc_setup_qos(struct smsc_ircc_cb *self);
190 static void smsc_ircc_init_chip(struct smsc_ircc_cb *self);
191 static int __exit smsc_ircc_close(struct smsc_ircc_cb *self);
192 static int smsc_ircc_dma_receive(struct smsc_ircc_cb *self);
193 static void smsc_ircc_dma_receive_complete(struct smsc_ircc_cb *self);
194 static void smsc_ircc_sir_receive(struct smsc_ircc_cb *self);
199 static void smsc_ircc_dma_xmit(struct smsc_ircc_cb *self, int bofs);
200 static void smsc_ircc_dma_xmit_complete(struct smsc_ircc_cb *self);
201 static void smsc_ircc_change_speed(struct smsc_ircc_cb *self, u32 speed);
[all …]
Dsir-dev.h110 int sirdev_put_instance(struct sir_dev *self);
123 int sirdev_get_dongle(struct sir_dev *self, IRDA_DONGLE type);
124 int sirdev_put_dongle(struct sir_dev *self);
Dvia-ircc.h435 static int CkRxRecv(__u16 iobase, struct via_ircc_cb *self) in CkRxRecv() argument
456 static __u16 RxCurCount(__u16 iobase, struct via_ircc_cb * self) in RxCurCount() argument
472 static __u16 GetRecvByte(__u16 iobase, struct via_ircc_cb * self) in GetRecvByte() argument
483 if (wTmp >= self->RxLastCount) in GetRecvByte()
484 ret = wTmp - self->RxLastCount; in GetRecvByte()
486 ret = (0x8000 - self->RxLastCount) + wTmp; in GetRecvByte()
487 self->RxLastCount = wTmp; in GetRecvByte()
/linux-4.1.27/net/irda/irnet/
Dirnet_irda.c23 irnet_socket * self = in irnet_ppp_disconnect() local
26 if (self == NULL) in irnet_ppp_disconnect()
32 if (self->ppp_open && !self->ttp_open && !self->ttp_connect) { in irnet_ppp_disconnect()
33 ppp_unregister_channel(&self->chan); in irnet_ppp_disconnect()
34 self->ppp_open = 0; in irnet_ppp_disconnect()
124 irnet_open_tsap(irnet_socket * self) in irnet_open_tsap() argument
128 DENTER(IRDA_SR_TRACE, "(self=0x%p)\n", self); in irnet_open_tsap()
130 DABORT(self->tsap != NULL, -EBUSY, IRDA_SR_ERROR, "Already busy !\n"); in irnet_open_tsap()
141 notify.instance = self; in irnet_open_tsap()
145 self->tsap = irttp_open_tsap(LSAP_ANY, DEFAULT_INITIAL_CREDIT, in irnet_open_tsap()
[all …]
Dirnet_ppp.c922 irnet_socket * self = (struct irnet_socket *) chan->private; in ppp_irnet_send() local
926 chan, self); in ppp_irnet_send()
929 DASSERT(self != NULL, 0, PPP_ERROR, "Self is NULL !!!\n"); in ppp_irnet_send()
932 if(!(test_bit(0, &self->ttp_open))) in ppp_irnet_send()
939 irda_irnet_connect(self); in ppp_irnet_send()
943 self->ttp_open, self->ttp_connect); in ppp_irnet_send()
966 if(test_bit(0, &self->ttp_connect)) in ppp_irnet_send()
979 if(self->tx_flow != FLOW_START) in ppp_irnet_send()
981 skb_queue_len(&self->tsap->tx_queue)); in ppp_irnet_send()
984 skb = irnet_prepare_skb(self, skb); in ppp_irnet_send()
[all …]
/linux-4.1.27/net/irda/irlan/
Dirlan_client_event.c39 static int irlan_client_state_idle (struct irlan_cb *self, IRLAN_EVENT event,
41 static int irlan_client_state_query(struct irlan_cb *self, IRLAN_EVENT event,
43 static int irlan_client_state_conn (struct irlan_cb *self, IRLAN_EVENT event,
45 static int irlan_client_state_info (struct irlan_cb *self, IRLAN_EVENT event,
47 static int irlan_client_state_media(struct irlan_cb *self, IRLAN_EVENT event,
49 static int irlan_client_state_open (struct irlan_cb *self, IRLAN_EVENT event,
51 static int irlan_client_state_wait (struct irlan_cb *self, IRLAN_EVENT event,
53 static int irlan_client_state_arb (struct irlan_cb *self, IRLAN_EVENT event,
55 static int irlan_client_state_data (struct irlan_cb *self, IRLAN_EVENT event,
57 static int irlan_client_state_close(struct irlan_cb *self, IRLAN_EVENT event,
[all …]
Dirlan_client.c67 static void irlan_check_response_param(struct irlan_cb *self, char *param,
69 static void irlan_client_open_ctrl_tsap(struct irlan_cb *self);
73 struct irlan_cb *self = (struct irlan_cb *) data; in irlan_client_kick_timer_expired() local
75 IRDA_ASSERT(self != NULL, return;); in irlan_client_kick_timer_expired()
76 IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); in irlan_client_kick_timer_expired()
83 if ((self->provider.access_type == ACCESS_PEER) && in irlan_client_kick_timer_expired()
84 (self->client.state == IRLAN_IDLE) && in irlan_client_kick_timer_expired()
85 (self->provider.state != IRLAN_IDLE)) { in irlan_client_kick_timer_expired()
86 irlan_client_wakeup(self, self->saddr, self->daddr); in irlan_client_kick_timer_expired()
90 static void irlan_client_start_kick_timer(struct irlan_cb *self, int timeout) in irlan_client_start_kick_timer() argument
[all …]
Dirlan_common.c102 static void __irlan_close(struct irlan_cb *self);
106 static void irlan_open_unicast_addr(struct irlan_cb *self);
107 static void irlan_get_unicast_addr(struct irlan_cb *self);
108 void irlan_close_tsaps(struct irlan_cb *self);
171 struct irlan_cb *self, *next; in irlan_cleanup() local
182 list_for_each_entry_safe(self, next, &irlans, dev_list) { in irlan_cleanup()
183 __irlan_close(self); in irlan_cleanup()
197 struct irlan_cb *self; in irlan_open() local
204 self = netdev_priv(dev); in irlan_open()
205 self->dev = dev; in irlan_open()
[all …]
Dirlan_provider_event.c33 static int irlan_provider_state_idle(struct irlan_cb *self, IRLAN_EVENT event,
35 static int irlan_provider_state_info(struct irlan_cb *self, IRLAN_EVENT event,
37 static int irlan_provider_state_open(struct irlan_cb *self, IRLAN_EVENT event,
39 static int irlan_provider_state_data(struct irlan_cb *self, IRLAN_EVENT event,
42 static int (*state[])(struct irlan_cb *self, IRLAN_EVENT event,
58 void irlan_do_provider_event(struct irlan_cb *self, IRLAN_EVENT event, in irlan_do_provider_event() argument
61 IRDA_ASSERT(*state[ self->provider.state] != NULL, return;); in irlan_do_provider_event()
63 (*state[self->provider.state]) (self, event, skb); in irlan_do_provider_event()
72 static int irlan_provider_state_idle(struct irlan_cb *self, IRLAN_EVENT event, in irlan_provider_state_idle() argument
75 IRDA_ASSERT(self != NULL, return -1;); in irlan_provider_state_idle()
[all …]
Dirlan_filter.c38 void irlan_filter_request(struct irlan_cb *self, struct sk_buff *skb) in irlan_filter_request() argument
40 IRDA_ASSERT(self != NULL, return;); in irlan_filter_request()
41 IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); in irlan_filter_request()
43 if ((self->provider.filter_type == IRLAN_DIRECTED) && in irlan_filter_request()
44 (self->provider.filter_operation == DYNAMIC)) in irlan_filter_request()
47 self->provider.mac_address[0] = 0x40; in irlan_filter_request()
48 self->provider.mac_address[1] = 0x00; in irlan_filter_request()
49 self->provider.mac_address[2] = 0x00; in irlan_filter_request()
50 self->provider.mac_address[3] = 0x00; in irlan_filter_request()
53 if (self->provider.access_type == ACCESS_PEER) { in irlan_filter_request()
[all …]
Dirlan_provider.c70 struct irlan_cb *self; in irlan_provider_data_indication() local
73 self = instance; in irlan_provider_data_indication()
75 IRDA_ASSERT(self != NULL, return -1;); in irlan_provider_data_indication()
76 IRDA_ASSERT(self->magic == IRLAN_MAGIC, return -1;); in irlan_provider_data_indication()
84 irlan_do_provider_event(self, IRLAN_GET_INFO_CMD, skb); in irlan_provider_data_indication()
89 irlan_do_provider_event(self, IRLAN_GET_MEDIA_CMD, skb); in irlan_provider_data_indication()
93 irlan_do_provider_event(self, IRLAN_OPEN_DATA_CMD, skb); in irlan_provider_data_indication()
97 irlan_do_provider_event(self, IRLAN_FILTER_CONFIG_CMD, skb); in irlan_provider_data_indication()
126 struct irlan_cb *self; in irlan_provider_connect_indication() local
129 self = instance; in irlan_provider_connect_indication()
[all …]
Dirlan_eth.c111 struct irlan_cb *self = netdev_priv(dev); in irlan_eth_open() local
117 self->disconnect_reason = 0; in irlan_eth_open()
118 irlan_client_wakeup(self, self->saddr, self->daddr); in irlan_eth_open()
122 return wait_event_interruptible(self->open_wait, in irlan_eth_open()
123 !self->tsap_data->connected); in irlan_eth_open()
136 struct irlan_cb *self = netdev_priv(dev); in irlan_eth_close() local
141 irlan_close_data_channel(self); in irlan_eth_close()
142 irlan_close_tsaps(self); in irlan_eth_close()
144 irlan_do_client_event(self, IRLAN_LMP_DISCONNECT, NULL); in irlan_eth_close()
145 irlan_do_provider_event(self, IRLAN_LMP_DISCONNECT, NULL); in irlan_eth_close()
[all …]
Dirlan_event.c41 void irlan_next_client_state(struct irlan_cb *self, IRLAN_STATE state) in irlan_next_client_state() argument
45 IRDA_ASSERT(self != NULL, return;); in irlan_next_client_state()
46 IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); in irlan_next_client_state()
48 self->client.state = state; in irlan_next_client_state()
51 void irlan_next_provider_state(struct irlan_cb *self, IRLAN_STATE state) in irlan_next_provider_state() argument
55 IRDA_ASSERT(self != NULL, return;); in irlan_next_provider_state()
56 IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;); in irlan_next_provider_state()
58 self->provider.state = state; in irlan_next_provider_state()
/linux-4.1.27/tools/perf/scripts/python/
Dsched-migration.py39 def __repr__(self): argument
47 def __init__(self, sleeper): argument
48 self.sleeper = sleeper
50 def __repr__(self): argument
51 return "%s gone to sleep" % thread_name(self.sleeper)
58 def __init__(self, wakee): argument
59 self.wakee = wakee
61 def __repr__(self): argument
62 return "%s woke up" % thread_name(self.wakee)
69 def __init__(self, child): argument
[all …]
/linux-4.1.27/drivers/net/wireless/cw1200/
Dcw1200_sdio.c68 static int cw1200_sdio_memcpy_fromio(struct hwbus_priv *self, in cw1200_sdio_memcpy_fromio() argument
72 return sdio_memcpy_fromio(self->func, dst, addr, count); in cw1200_sdio_memcpy_fromio()
75 static int cw1200_sdio_memcpy_toio(struct hwbus_priv *self, in cw1200_sdio_memcpy_toio() argument
79 return sdio_memcpy_toio(self->func, addr, (void *)src, count); in cw1200_sdio_memcpy_toio()
82 static void cw1200_sdio_lock(struct hwbus_priv *self) in cw1200_sdio_lock() argument
84 sdio_claim_host(self->func); in cw1200_sdio_lock()
87 static void cw1200_sdio_unlock(struct hwbus_priv *self) in cw1200_sdio_unlock() argument
89 sdio_release_host(self->func); in cw1200_sdio_unlock()
94 struct hwbus_priv *self = sdio_get_drvdata(func); in cw1200_sdio_irq_handler() local
97 if (self->core) in cw1200_sdio_irq_handler()
[all …]
Dcw1200_spi.c60 static int cw1200_spi_memcpy_fromio(struct hwbus_priv *self, in cw1200_spi_memcpy_fromio() argument
92 if (self->func->bits_per_word == 8) in cw1200_spi_memcpy_fromio()
99 ret = spi_sync(self->func, &m); in cw1200_spi_memcpy_fromio()
115 if (self->func->bits_per_word == 8) in cw1200_spi_memcpy_fromio()
126 static int cw1200_spi_memcpy_toio(struct hwbus_priv *self, in cw1200_spi_memcpy_toio() argument
157 if (self->func->bits_per_word == 8) in cw1200_spi_memcpy_toio()
179 rval = spi_sync(self->func, &m); in cw1200_spi_memcpy_toio()
187 if (self->func->bits_per_word == 8) in cw1200_spi_memcpy_toio()
197 static void cw1200_spi_lock(struct hwbus_priv *self) in cw1200_spi_lock() argument
205 add_wait_queue(&self->wq, &wait); in cw1200_spi_lock()
[all …]
Dhwbus.h23 int (*hwbus_memcpy_fromio)(struct hwbus_priv *self, unsigned int addr,
25 int (*hwbus_memcpy_toio)(struct hwbus_priv *self, unsigned int addr,
27 void (*lock)(struct hwbus_priv *self);
28 void (*unlock)(struct hwbus_priv *self);
29 size_t (*align_size)(struct hwbus_priv *self, size_t size);
30 int (*power_mgmt)(struct hwbus_priv *self, bool suspend);
Dmain.c589 void cw1200_core_release(struct cw1200_common *self) in cw1200_core_release() argument
592 self->hwbus_ops->lock(self->hwbus_priv); in cw1200_core_release()
593 __cw1200_irq_enable(self, 0); in cw1200_core_release()
594 self->hwbus_ops->unlock(self->hwbus_priv); in cw1200_core_release()
597 cw1200_unregister_common(self->hw); in cw1200_core_release()
598 cw1200_free_common(self->hw); in cw1200_core_release()
/linux-4.1.27/tools/perf/tests/
Dattr.py13 def __init__(self, test, msg): argument
14 self.msg = msg
15 self.test = test
16 def getMsg(self): argument
17 return '\'%s\' - %s' % (self.test.path, self.msg)
20 def __init__(self, test): argument
21 self.test = test
22 def getMsg(self): argument
23 return '\'%s\'' % self.test.path
66 def add(self, data): argument
[all …]
/linux-4.1.27/scripts/gdb/linux/
Dsymbols.py24 def __init__(self, spec, gdb_command): argument
25 super(LoadModuleBreakpoint, self).__init__(spec, internal=True)
26 self.silent = True
27 self.gdb_command = gdb_command
29 def stop(self): argument
32 cmd = self.gdb_command
71 def __init__(self): argument
72 super(LxSymbols, self).__init__("lx-symbols", gdb.COMMAND_FILES,
75 def _update_module_files(self): argument
76 self.module_files = []
[all …]
Dutils.py18 def __init__(self, name): argument
19 self._type = None
20 self._name = name
22 def _new_objfile_handler(self, event): argument
23 self._type = None
24 gdb.events.new_objfile.disconnect(self._new_objfile_handler)
26 def get_type(self): argument
27 if self._type is None:
28 self._type = gdb.lookup_type(self._name)
29 if self._type is None:
[all …]
Dmodules.py47 def __init__(self): argument
48 super(LxModule, self).__init__("lx_module")
50 def invoke(self, mod_name): argument
67 def __init__(self): argument
68 super(LxLsmod, self).__init__("lx-lsmod", gdb.COMMAND_DATA)
70 def invoke(self, arg, from_tty): argument
83 t = self._module_use_type.get_type().pointer()
Dtasks.py54 def __init__(self): argument
55 super(LxTaskByPidFunc, self).__init__("lx_task_by_pid")
57 def invoke(self, pid): argument
93 def __init__(self): argument
94 super(LxThreadInfoFunc, self).__init__("lx_thread_info")
96 def invoke(self, task): argument
Dcpus.py110 def __init__(self): argument
111 super(PerCpu, self).__init__("lx_per_cpu")
113 def invoke(self, var_name, cpu=-1): argument
127 def __init__(self): argument
128 super(LxCurrentFunc, self).__init__("lx_current")
130 def invoke(self, cpu=-1): argument
Ddmesg.py23 def __init__(self): argument
24 super(LxDmesg, self).__init__("lx-dmesg", gdb.COMMAND_DATA)
26 def invoke(self, arg, from_tty): argument
/linux-4.1.27/scripts/tracing/
Ddraw_functrace.py35 def __init__(self, func, time = None, parent = None): argument
36 self._func = func
37 self._time = time
39 self._parent = CallTree.ROOT
41 self._parent = parent
42 self._children = []
44 def calls(self, func, calltime): argument
49 child = CallTree(func, calltime, self)
50 self._children.append(child)
53 def getParent(self, func): argument
[all …]
/linux-4.1.27/include/net/irda/
Dirttp.h156 int irttp_close_tsap(struct tsap_cb *self);
158 int irttp_data_request(struct tsap_cb *self, struct sk_buff *skb);
159 int irttp_udata_request(struct tsap_cb *self, struct sk_buff *skb);
161 int irttp_connect_request(struct tsap_cb *self, __u8 dtsap_sel,
165 int irttp_connect_response(struct tsap_cb *self, __u32 max_sdu_size,
167 int irttp_disconnect_request(struct tsap_cb *self, struct sk_buff *skb,
169 void irttp_flow_request(struct tsap_cb *self, LOCAL_FLOW flow);
170 struct tsap_cb *irttp_dup(struct tsap_cb *self, void *instance);
172 static inline __u32 irttp_get_saddr(struct tsap_cb *self) in irttp_get_saddr() argument
174 return irlmp_get_saddr(self->lsap); in irttp_get_saddr()
[all …]
Dirlmp.h198 void irlmp_close_lsap( struct lsap_cb *self);
216 void irlmp_connect_indication(struct lsap_cb *self, struct sk_buff *skb);
219 struct lsap_cb *irlmp_dup(struct lsap_cb *self, void *instance);
221 void irlmp_disconnect_indication(struct lsap_cb *self, LM_REASON reason,
245 void irlmp_flow_indication(struct lap_cb *self, LOCAL_FLOW flow);
249 static inline __u32 irlmp_get_saddr(const struct lsap_cb *self) in irlmp_get_saddr() argument
251 return (self && self->lap) ? self->lap->saddr : 0; in irlmp_get_saddr()
254 static inline __u32 irlmp_get_daddr(const struct lsap_cb *self) in irlmp_get_daddr() argument
256 return (self && self->lap) ? self->lap->daddr : 0; in irlmp_get_daddr()
269 static inline int irlmp_lap_tx_queue_full(struct lsap_cb *self) in irlmp_lap_tx_queue_full() argument
[all …]
Dircomm_core.h85 int ircomm_close(struct ircomm_cb *self);
87 int ircomm_data_request(struct ircomm_cb *self, struct sk_buff *skb);
88 void ircomm_data_indication(struct ircomm_cb *self, struct sk_buff *skb);
89 void ircomm_process_data(struct ircomm_cb *self, struct sk_buff *skb);
90 int ircomm_control_request(struct ircomm_cb *self, struct sk_buff *skb);
91 int ircomm_connect_request(struct ircomm_cb *self, __u8 dlsap_sel,
94 void ircomm_connect_indication(struct ircomm_cb *self, struct sk_buff *skb,
96 void ircomm_connect_confirm(struct ircomm_cb *self, struct sk_buff *skb,
98 int ircomm_connect_response(struct ircomm_cb *self, struct sk_buff *userdata);
99 int ircomm_disconnect_request(struct ircomm_cb *self, struct sk_buff *userdata);
[all …]
Dirlap.h223 void irlap_close(struct irlap_cb *self);
225 void irlap_connect_request(struct irlap_cb *self, __u32 daddr,
227 void irlap_connect_response(struct irlap_cb *self, struct sk_buff *skb);
228 void irlap_connect_indication(struct irlap_cb *self, struct sk_buff *skb);
250 void irlap_reset_indication(struct irlap_cb *self);
262 void irlap_apply_default_connection_parameters(struct irlap_cb *self);
263 void irlap_apply_connection_parameters(struct irlap_cb *self, int now);
265 #define IRLAP_GET_HEADER_SIZE(self) (LAP_MAX_HEADER) argument
266 #define IRLAP_GET_TX_QUEUE_LEN(self) skb_queue_len(&self->txq) argument
270 static inline int irlap_is_primary(struct irlap_cb *self) in irlap_is_primary() argument
[all …]
Dirlan_common.h201 void irlan_close(struct irlan_cb *self);
202 void irlan_close_tsaps(struct irlan_cb *self);
204 int irlan_register_netdev(struct irlan_cb *self);
205 void irlan_ias_register(struct irlan_cb *self, __u8 tsap_sel);
206 void irlan_start_watchdog_timer(struct irlan_cb *self, int timeout);
208 void irlan_open_data_tsap(struct irlan_cb *self);
210 int irlan_run_ctrl_tx_queue(struct irlan_cb *self);
213 void irlan_get_provider_info(struct irlan_cb *self);
214 void irlan_get_media_char(struct irlan_cb *self);
215 void irlan_open_data_channel(struct irlan_cb *self);
[all …]
Diriap_event.h68 void iriap_next_client_state (struct iriap_cb *self, IRIAP_STATE state);
69 void iriap_next_call_state (struct iriap_cb *self, IRIAP_STATE state);
70 void iriap_next_server_state (struct iriap_cb *self, IRIAP_STATE state);
71 void iriap_next_r_connect_state(struct iriap_cb *self, IRIAP_STATE state);
74 void iriap_do_client_event(struct iriap_cb *self, IRIAP_EVENT event,
76 void iriap_do_call_event (struct iriap_cb *self, IRIAP_EVENT event,
79 void iriap_do_server_event (struct iriap_cb *self, IRIAP_EVENT event,
81 void iriap_do_r_connect_event(struct iriap_cb *self, IRIAP_EVENT event,
Dtimer.h90 void irlap_start_slot_timer(struct irlap_cb *self, int timeout);
91 void irlap_start_query_timer(struct irlap_cb *self, int S, int s);
92 void irlap_start_final_timer(struct irlap_cb *self, int timeout);
93 void irlap_start_wd_timer(struct irlap_cb *self, int timeout);
94 void irlap_start_backoff_timer(struct irlap_cb *self, int timeout);
96 void irlap_start_mbusy_timer(struct irlap_cb *self, int timeout);
102 void irlmp_stop_idle_timer(struct lap_cb *self);
Dirlap_frame.h141 void irlap_queue_xmit(struct irlap_cb *self, struct sk_buff *skb);
146 void irlap_send_test_frame(struct irlap_cb *self, __u8 caddr, __u32 daddr,
149 void irlap_send_dm_frame(struct irlap_cb *self);
150 void irlap_send_rd_frame(struct irlap_cb *self);
151 void irlap_send_disc_frame(struct irlap_cb *self);
152 void irlap_send_rr_frame(struct irlap_cb *self, int command);
159 void irlap_resend_rejected_frame(struct irlap_cb *self, int command);
161 void irlap_send_ui_frame(struct irlap_cb *self, struct sk_buff *skb,
164 int irlap_insert_qos_negotiation_params(struct irlap_cb *self,
Dircomm_tty_attach.h70 int ircomm_tty_do_event(struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event,
74 int ircomm_tty_attach_cable(struct ircomm_tty_cb *self);
75 void ircomm_tty_detach_cable(struct ircomm_tty_cb *self);
89 int ircomm_tty_send_initial_parameters(struct ircomm_tty_cb *self);
90 void ircomm_tty_link_established(struct ircomm_tty_cb *self);
Diriap.h95 void iriap_close(struct iriap_cb *self);
97 int iriap_getvaluebyclass_request(struct iriap_cb *self,
100 void iriap_connect_request(struct iriap_cb *self);
101 void iriap_send_ack( struct iriap_cb *self);
102 void iriap_call_indication(struct iriap_cb *self, struct sk_buff *skb);
Dirlan_provider.h42 int irlan_parse_open_data_cmd(struct irlan_cb *self, struct sk_buff *skb);
43 int irlan_provider_parse_command(struct irlan_cb *self, int cmd,
46 void irlan_provider_send_reply(struct irlan_cb *self, int command,
48 int irlan_provider_open_ctrl_tsap(struct irlan_cb *self);
Dirlan_event.h72 void irlan_do_client_event(struct irlan_cb *self, IRLAN_EVENT event,
75 void irlan_do_provider_event(struct irlan_cb *self, IRLAN_EVENT event,
78 void irlan_next_client_state(struct irlan_cb *self, IRLAN_STATE state);
79 void irlan_next_provider_state(struct irlan_cb *self, IRLAN_STATE state);
Dirlmp_frame.h42 void irlmp_send_data_pdu(struct lap_cb *self, __u8 dlsap, __u8 slsap,
44 void irlmp_send_lcf_pdu(struct lap_cb *self, __u8 dlsap, __u8 slsap,
55 void irlmp_link_connect_confirm(struct lap_cb *self, struct qos_info *qos,
59 void irlmp_link_discovery_confirm(struct lap_cb *self, hashbin_t *log);
Dparameters.h69 typedef int (*PI_HANDLER)(void *self, irda_param_t *param, int get);
70 typedef int (*PV_HANDLER)(void *self, __u8 *buf, int len, __u8 pi,
92 int irda_param_insert(void *self, __u8 pi, __u8 *buf, int len,
94 int irda_param_extract_all(void *self, __u8 *buf, int len,
Dirlan_filter.h28 void irlan_check_command_param(struct irlan_cb *self, char *param,
30 void irlan_filter_request(struct irlan_cb *self, struct sk_buff *skb);
Dirlan_client.h37 void irlan_client_wakeup(struct irlan_cb *self, __u32 saddr, __u32 daddr);
39 void irlan_client_parse_response(struct irlan_cb *self, struct sk_buff *skb);
Dircomm_event.h79 int ircomm_do_event(struct ircomm_cb *self, IRCOMM_EVENT event,
81 void ircomm_next_state(struct ircomm_cb *self, IRCOMM_STATE state);
Dirlmp_event.h89 void irlmp_do_lap_event(struct lap_cb *self, IRLMP_EVENT event,
91 int irlmp_do_lsap_event(struct lsap_cb *self, IRLMP_EVENT event,
Dirlap_event.h123 void irlap_do_event(struct irlap_cb *self, IRLAP_EVENT event,
127 int irlap_qos_negotiate(struct irlap_cb *self, struct sk_buff *skb);
Dircomm_lmp.h34 int ircomm_open_lsap(struct ircomm_cb *self);
Dircomm_ttp.h34 int ircomm_open_tsap(struct ircomm_cb *self);
Dirda_device.h216 void irlap_close(struct irlap_cb *self);
228 int irda_device_set_raw_mode(struct net_device* self, int status);
Dircomm_tty.h104 void ircomm_tty_check_modem_status(struct ircomm_tty_cb *self);
Dircomm_param.h142 int ircomm_param_request(struct ircomm_tty_cb *self, __u8 pi, int flush);
/linux-4.1.27/scripts/kconfig/
Dkxgettext.c71 struct file_line *self = malloc(sizeof(*self)); in file_line__new() local
73 if (self == NULL) in file_line__new()
76 self->file = file; in file_line__new()
77 self->lineno = lineno; in file_line__new()
78 self->next = NULL; in file_line__new()
80 return self; in file_line__new()
95 struct message *self = malloc(sizeof(*self)); in message__new() local
97 if (self == NULL) in message__new()
100 self->files = file_line__new(file, lineno); in message__new()
101 if (self->files == NULL) in message__new()
[all …]
/linux-4.1.27/scripts/
Danalyze_suspend.py110 def __init__(self): argument
111 self.hostname = platform.node()
112 if(self.hostname == ''):
113 self.hostname = 'localhost'
120 self.rtcpath = rtc
121 def setOutputFile(self): argument
122 if((self.htmlfile == '') and (self.dmesgfile != '')):
123 m = re.match('(?P<name>.*)_dmesg\.txt$', self.dmesgfile)
125 self.htmlfile = m.group('name')+'.html'
126 if((self.htmlfile == '') and (self.ftracefile != '')):
[all …]
/linux-4.1.27/fs/proc/
Dself.c51 struct dentry *self; in proc_setup_self() local
54 self = d_alloc_name(s->s_root, "self"); in proc_setup_self()
55 if (self) { in proc_setup_self()
64 d_add(self, inode); in proc_setup_self()
66 dput(self); in proc_setup_self()
67 self = ERR_PTR(-ENOMEM); in proc_setup_self()
70 self = ERR_PTR(-ENOMEM); in proc_setup_self()
73 if (IS_ERR(self)) { in proc_setup_self()
75 return PTR_ERR(self); in proc_setup_self()
77 ns->proc_self = self; in proc_setup_self()
DMakefile25 proc-y += self.o
/linux-4.1.27/tools/perf/util/
Dsetup.py10 def finalize_options(self): argument
11 _build_ext.finalize_options(self)
12 self.build_lib = build_lib
13 self.build_temp = build_tmp
16 def finalize_options(self): argument
17 _install_lib.finalize_options(self)
18 self.build_dir = build_lib
/linux-4.1.27/drivers/crypto/qat/qat_dh895xcc/
Dadf_dh895xcc_hw_data.c82 static uint32_t get_num_accels(struct adf_hw_device_data *self) in get_num_accels() argument
86 if (!self || !self->accel_mask) in get_num_accels()
90 if (self->accel_mask & (1 << i)) in get_num_accels()
96 static uint32_t get_num_aes(struct adf_hw_device_data *self) in get_num_aes() argument
100 if (!self || !self->ae_mask) in get_num_aes()
104 if (self->ae_mask & (1 << i)) in get_num_aes()
110 static uint32_t get_misc_bar_id(struct adf_hw_device_data *self) in get_misc_bar_id() argument
115 static uint32_t get_etr_bar_id(struct adf_hw_device_data *self) in get_etr_bar_id() argument
120 static enum dev_sku_info get_sku(struct adf_hw_device_data *self) in get_sku() argument
122 int sku = (self->fuses & ADF_DH895XCC_FUSECTL_SKU_MASK) in get_sku()
/linux-4.1.27/drivers/usb/core/
Dhcd.c442 s = hcd->self.bus_name; in rh_string()
529 tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
537 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control()
542 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
544 device_set_wakeup_enable(&hcd->self.root_hub->dev, 1); in rh_call_control()
595 if (device_can_wakeup(&hcd->self.root_hub->dev)) in rh_call_control()
619 dev_dbg (hcd->self.controller, "root hub device address %d\n", in rh_call_control()
635 dev_dbg (hcd->self.controller, "no endpoint features yet\n"); in rh_call_control()
660 usb_hub_adjust_deviceremovable(hcd->self.root_hub, in rh_call_control()
671 dev_dbg (hcd->self.controller, in rh_call_control()
[all …]
Dbuffer.c65 if (!hcd->self.controller->dma_mask && in hcd_buffer_create()
74 hcd->pool[i] = dma_pool_create(name, hcd->self.controller, in hcd_buffer_create()
131 return dma_alloc_coherent(hcd->self.controller, size, dma, mem_flags); in hcd_buffer_alloc()
159 dma_free_coherent(hcd->self.controller, size, addr, dma); in hcd_buffer_free()
Dhcd-pci.c87 if (!companion_hcd || !companion_hcd->self.root_hub) in for_each_companion()
105 udev = companion_hcd->self.root_hub; in ehci_pre_add()
125 companion_hcd->self.hs_companion = &hcd->self; in ehci_post_add()
127 udev = companion_hcd->self.root_hub; in ehci_post_add()
143 hcd->self.hs_companion = &companion_hcd->self; in non_ehci_add()
152 companion_hcd->self.hs_companion = NULL; in ehci_remove()
293 device_wakeup_enable(hcd->self.controller); in usb_hcd_pci_probe()
359 hcd->self.hs_companion = NULL; in usb_hcd_pci_remove()
/linux-4.1.27/drivers/usb/host/
Dehci-xilinx-of.c52 dev_warn(hcd->self.controller, "port %d cannot be enabled\n", portnum); in ehci_xilinx_port_handed_over()
54 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over()
57 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over()
60 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over()
62 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over()
65 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over()
197 device_wakeup_enable(hcd->self.controller); in ehci_hcd_xilinx_of_probe()
Dohci-s3c2410.c54 return dev_get_platdata(hcd->self.controller); in to_s3c2410_info()
121 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_status_data()
172 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
190 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n"); in ohci_s3c2410_hub_control()
199 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
210 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
219 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
244 dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n", in ohci_s3c2410_hub_control()
262 dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n", in ohci_s3c2410_hub_control()
270 dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex); in ohci_s3c2410_hub_control()
[all …]
Dohci-omap.c179 const unsigned port = hcd->self.otg_port - 1; in start_hnp()
201 struct omap_usb_config *config = dev_get_platdata(hcd->self.controller); in ohci_omap_reset()
205 dev_dbg(hcd->self.controller, "starting USB Controller\n"); in ohci_omap_reset()
208 hcd->self.otg_port = config->otg; in ohci_omap_reset()
226 &ohci_to_hcd(ohci)->self); in ohci_omap_reset()
227 dev_dbg(hcd->self.controller, "init %s phy, status %d\n", in ohci_omap_reset()
234 dev_err(hcd->self.controller, "can't find phy\n"); in ohci_omap_reset()
370 device_wakeup_enable(hcd->self.controller); in usb_hcd_omap_probe()
399 dev_dbg(hcd->self.controller, "stopping USB Controller\n"); in usb_hcd_omap_remove()
Dsl811-hcd.c99 dev_dbg(hcd->self.controller, "power %s\n", in port_power()
101 sl811->board->port_power(hcd->self.controller, is_on); in port_power()
106 sl811->board->reset(hcd->self.controller); in port_power()
282 dev_dbg(sl811_to_hcd(sl811)->self.controller, "sof irq on\n"); in sofirq_on()
290 dev_dbg(sl811_to_hcd(sl811)->self.controller, "sof irq off\n"); in sofirq_off()
338 dev_dbg(sl811_to_hcd(sl811)->self.controller, in start()
392 dev_dbg(sl811_to_hcd(sl811)->self.controller, in start()
449 dev_dbg(sl811_to_hcd(sl811)->self.controller, in finish_request()
463 sl811_to_hcd(sl811)->self.bandwidth_allocated in finish_request()
596 dev_dbg(sl811_to_hcd(sl811)->self.controller, in checkdone()
[all …]
Dohci-at91.c191 board = hcd->self.controller->platform_data; in usb_hcd_at91_probe()
198 device_wakeup_enable(hcd->self.controller); in usb_hcd_at91_probe()
261 struct at91_usbh_data *pdata = hcd->self.controller->platform_data; in ohci_at91_hub_status_data()
282 struct at91_usbh_data *pdata = dev_get_platdata(hcd->self.controller); in ohci_at91_hub_control()
287 dev_dbg(hcd->self.controller, in ohci_at91_hub_control()
296 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n"); in ohci_at91_hub_control()
309 dev_dbg(hcd->self.controller, in ohci_at91_hub_control()
320 dev_dbg(hcd->self.controller, in ohci_at91_hub_control()
329 dev_dbg(hcd->self.controller, in ohci_at91_hub_control()
351 dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n", in ohci_at91_hub_control()
[all …]
Dehci-mem.c149 dma_free_coherent (ehci_to_hcd(ehci)->self.controller, in ehci_mem_cleanup()
166 ehci_to_hcd(ehci)->self.controller, in ehci_mem_init()
176 ehci_to_hcd(ehci)->self.controller, in ehci_mem_init()
190 ehci_to_hcd(ehci)->self.controller, in ehci_mem_init()
200 ehci_to_hcd(ehci)->self.controller, in ehci_mem_init()
210 dma_alloc_coherent (ehci_to_hcd(ehci)->self.controller, in ehci_mem_init()
Dehci-fsl.c127 device_wakeup_enable(hcd->self.controller); in usb_hcd_fsl_probe()
139 &ehci_to_hcd(ehci)->self); in usb_hcd_fsl_probe()
201 struct device *dev = hcd->self.controller; in ehci_fsl_setup_phy()
205 dev_warn(hcd->self.controller, "Could not get controller version\n"); in ehci_fsl_setup_phy()
252 dev_warn(hcd->self.controller, "USB PHY clock invalid\n"); in ehci_fsl_setup_phy()
271 pdata = dev_get_platdata(hcd->self.controller); in ehci_fsl_usb_setup()
342 dev = hcd->self.controller; in ehci_fsl_setup()
343 pdata = dev_get_platdata(hcd->self.controller); in ehci_fsl_setup()
578 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_fsl_drv_resume()
593 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_fsl_drv_restore()
Dohci-jz4740.c50 dev_err(hcd->self.controller, "Can not start %s", in ohci_jz4740_start()
51 hcd->self.bus_name); in ohci_jz4740_start()
69 dev_err(jz4740_hcd_to_hcd(jz4740_ohci)->self.controller, in ohci_jz4740_set_vbus_power()
205 device_wakeup_enable(hcd->self.controller); in jz4740_ohci_probe()
Dohci-pci.c36 device_init_wakeup(&hcd->self.root_hub->dev, 0); in broken_suspend()
73 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ohci_quirk_ns()
228 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ohci_pci_reset()
231 if (hcd->self.controller) { in ohci_pci_reset()
Dmax3421-hcd.c352 struct spi_device *spi = to_spi_device(hcd->self.controller); in spi_rd8()
377 struct spi_device *spi = to_spi_device(hcd->self.controller); in spi_wr8()
401 struct spi_device *spi = to_spi_device(hcd->self.controller); in spi_rd_buf()
427 struct spi_device *spi = to_spi_device(hcd->self.controller); in spi_wr_buf()
556 struct spi_device *spi = to_spi_device(hcd->self.controller); in max3421_transfer_out()
662 struct spi_device *spi = to_spi_device(hcd->self.controller); in max3421_select_and_start_urb()
798 struct spi_device *spi = to_spi_device(hcd->self.controller); in max3421_check_unlink()
881 struct spi_device *spi = to_spi_device(hcd->self.controller); in max3421_handle_error()
973 struct spi_device *spi = to_spi_device(hcd->self.controller); in max3421_transfer_in_done()
1168 struct spi_device *spi = to_spi_device(hcd->self.controller); in max3421_irq_handler()
[all …]
Dohci-tilegx.c48 dev_err(hcd->self.controller, "can't start %s\n", in tilegx_ohci_start()
49 hcd->self.bus_name); in tilegx_ohci_start()
162 device_wakeup_enable(hcd->self.controller); in ohci_hcd_tilegx_drv_probe()
Dohci-q.c44 struct device *dev = ohci_to_hcd(ohci)->self.controller; in finish_urb()
58 ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs--; in finish_urb()
59 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0) { in finish_urb()
67 ohci_to_hcd(ohci)->self.bandwidth_int_reqs--; in finish_urb()
78 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0 in finish_urb()
79 && ohci_to_hcd(ohci)->self.bandwidth_int_reqs == 0) { in finish_urb()
177 ohci_to_hcd(ohci)->self.bandwidth_allocated += ed->load / ed->interval; in periodic_link()
287 ohci_to_hcd(ohci)->self.bandwidth_allocated -= ed->load / ed->interval; in periodic_unlink()
593 struct device *dev = ohci_to_hcd(ohci)->self.controller; in td_submit_urb()
645 periodic = ohci_to_hcd(ohci)->self.bandwidth_int_reqs++ == 0 in td_submit_urb()
[all …]
Dohci-ppc-of.c34 dev_err(hcd->self.controller, "can't start %s\n", in ohci_ppc_of_start()
35 hcd->self.bus_name); in ohci_ppc_of_start()
145 device_wakeup_enable(hcd->self.controller); in ohci_hcd_ppc_of_probe()
Dehci-hub.c169 if (!ehci_to_hcd(ehci)->self.root_hub->do_remote_wakeup || do_wakeup) in ehci_adjust_port_wakeup_flags()
249 if (hcd->self.root_hub->do_remote_wakeup) { in ehci_bus_suspend()
281 if (hcd->self.root_hub->do_remote_wakeup) { in ehci_bus_suspend()
357 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_bus_suspend()
777 hcd->self.controller, in request_single_step_set_feature_urb()
782 hcd->self.controller, in request_single_step_set_feature_urb()
801 udev = usb_hub_find_child(hcd->self.root_hub, port); in ehset_single_step_set_feature()
924 if ((hcd->self.otg_port == (wIndex + 1)) in ehci_hub_control()
925 && hcd->self.b_hnp_enable) { in ehci_hub_control()
950 usb_hcd_start_port_resume(&hcd->self, wIndex); in ehci_hub_control()
[all …]
Dohci-hub.c112 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) { in ohci_rh_suspend()
199 usb_root_hub_lost_power(hcd->self.root_hub); in ohci_rh_resume()
285 if (hcd->self.bandwidth_isoc_reqs || hcd->self.bandwidth_int_reqs) in ohci_rh_resume()
368 ->self.root_hub->dev)) { in ohci_root_hub_state_changes()
405 !ohci_to_hcd(ohci)->self.root_hub-> in ohci_root_hub_state_changes()
769 if (hcd->self.otg_port == (wIndex + 1) in ohci_hub_control()
770 && hcd->self.b_hnp_enable) in ohci_hub_control()
Dohci-da8xx.c87 struct device *dev = hcd->self.controller; in ohci_da8xx_init()
156 dev_dbg(hcd->self.controller, "over-current indicator change " in ohci_da8xx_hub_status_data()
173 struct device *dev = hcd->self.controller; in ohci_da8xx_hub_control()
335 device_wakeup_enable(hcd->self.controller); in usb_hcd_da8xx_probe()
Dohci-sm501.c28 struct device *dev = hcd->self.controller; in ohci_sm501_start()
33 dev_err(dev, "can't start %s", hcd->self.bus_name); in ohci_sm501_start()
171 device_wakeup_enable(hcd->self.controller); in ohci_hcd_sm501_drv_probe()
Dfhci.h458 dev_dbg(fhci_to_hcd(fhci)->self.controller, fmt, ##args)
460 dev_vdbg(fhci_to_hcd(fhci)->self.controller, fmt, ##args)
462 dev_err(fhci_to_hcd(fhci)->self.controller, fmt, ##args)
464 dev_info(fhci_to_hcd(fhci)->self.controller, fmt, ##args)
466 dev_warn(fhci_to_hcd(fhci)->self.controller, fmt, ##args)
Dohci-mem.c39 ohci_to_hcd(ohci)->self.controller, in ohci_mem_init()
46 ohci_to_hcd(ohci)->self.controller, in ohci_mem_init()
Dxhci-plat.c42 struct device_node *of_node = hcd->self.controller->of_node; in xhci_plat_setup()
57 struct device_node *of_node = hcd->self.controller->of_node; in xhci_plat_start()
134 device_wakeup_enable(hcd->self.controller); in xhci_plat_probe()
Dohci-ps3.c48 dev_err(hcd->self.controller, "can't start %s\n", in ps3_ohci_hc_start()
49 hcd->self.bus_name); in ps3_ohci_hc_start()
176 device_wakeup_enable(hcd->self.controller); in ps3_ohci_probe()
Dehci-mv.c72 struct device *dev = hcd->self.controller; in mv_ehci_reset()
224 retval = otg_set_host(ehci_mv->otg->otg, &hcd->self); in mv_ehci_probe()
243 device_wakeup_enable(hcd->self.controller); in mv_ehci_probe()
Dehci-sysfs.c164 struct device *controller = ehci_to_hcd(ehci)->self.controller; in create_sysfs_files()
180 struct device *controller = ehci_to_hcd(ehci)->self.controller; in remove_sysfs_files()
Dohci-tmio.c143 dev_err(hcd->self.controller, "can't start %s\n", in ohci_tmio_start()
144 hcd->self.bus_name); in ohci_tmio_start()
252 device_wakeup_enable(hcd->self.controller); in ohci_hcd_tmio_drv_probe()
Duhci-hcd.c289 struct usb_device *rhdev = uhci_to_hcd(uhci)->self.root_hub; in suspend_rh()
402 dev_dbg(&uhci_to_hcd(uhci)->self.root_hub->dev, in wakeup_rh()
573 hcd->self.sg_tablesize = ~0; in uhci_start()
582 dentry = debugfs_create_file(hcd->self.bus_name, in uhci_start()
739 else if (hcd->self.root_hub->do_remote_wakeup && in uhci_rh_suspend()
Dehci-sched.c601 ehci_to_hcd(ehci)->self.bandwidth_allocated += qh->ps.bw_period in qh_link_periodic()
639 ehci_to_hcd(ehci)->self.bandwidth_allocated -= qh->ps.bw_period in qh_unlink_periodic()
979 ehci_to_hcd(ehci)->self.bandwidth_int_reqs++; in intr_submit()
1106 ehci_to_hcd(ehci)->self.root_hub)) in iso_stream_init()
1780 ehci_to_hcd(ehci)->self.bandwidth_allocated in itd_link_urb()
1783 if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) { in itd_link_urb()
1788 ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs++; in itd_link_urb()
1911 ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs--; in itd_complete()
1912 if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) { in itd_complete()
1918 ehci_to_hcd(ehci)->self.bandwidth_allocated in itd_complete()
[all …]
Duhci-pci.c235 usb_root_hub_lost_power(hcd->self.root_hub); in uhci_pci_resume()
242 if (!uhci->RD_enable && hcd->self.root_hub->do_remote_wakeup) in uhci_pci_resume()
Dohci.h490 dev_dbg (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
492 dev_err (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
494 dev_info (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
496 dev_warn (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
Dehci.h842 dev_dbg(ehci_to_hcd(ehci)->self.controller , fmt , ## args)
844 dev_err(ehci_to_hcd(ehci)->self.controller , fmt , ## args)
846 dev_info(ehci_to_hcd(ehci)->self.controller , fmt , ## args)
848 dev_warn(ehci_to_hcd(ehci)->self.controller , fmt , ## args)
Dxhci-pci.c204 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_setup()
373 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_suspend()
399 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_resume()
Dehci-pci.c103 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ehci_pci_setup()
352 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ehci_pci_resume()
/linux-4.1.27/drivers/pci/hotplug/
Dsgi_hotplug.c248 dev_dbg(&slot->pci_bus->self->dev, "is already active\n"); in sn_slot_enable()
253 dev_dbg(&slot->pci_bus->self->dev, "L1 failure %d with message: %s", in sn_slot_enable()
259 dev_dbg(&slot->pci_bus->self->dev, "insert failed with error %d sub-error %d\n", in sn_slot_enable()
284 dev_dbg(&slot->pci_bus->self->dev, "Slot %s already inactive\n", slot->physical_path); in sn_slot_disable()
289 dev_dbg(&slot->pci_bus->self->dev, "Cannot remove last 33MHz card\n"); in sn_slot_disable()
294 dev_dbg(&slot->pci_bus->self->dev, "L1 failure %d with message \n%s\n", in sn_slot_disable()
300 dev_dbg(&slot->pci_bus->self->dev, "remove failed with error %d sub-error %d\n", in sn_slot_disable()
311 dev_dbg(&slot->pci_bus->self->dev, "remove successful\n"); in sn_slot_disable()
316 dev_dbg(&slot->pci_bus->self->dev,"remove failed rc = %d\n", rc); in sn_slot_disable()
369 dev_dbg(&slot->pci_bus->self->dev, "no device in slot\n"); in enable_slot()
[all …]
Drpadlpar_core.c367 bus->self ? pci_name(bus->self) : "<!PHB!>"); in dlpar_remove_pci_slot()
395 BUG_ON(!bus->self); in dlpar_remove_pci_slot()
396 pr_debug("PCI: Now removing bridge device %s\n", pci_name(bus->self)); in dlpar_remove_pci_slot()
397 pci_stop_and_remove_bus_device(bus->self); in dlpar_remove_pci_slot()
Dacpiphp_glue.c120 context->hp.self->hp = NULL; in acpiphp_put_context()
205 if (!bus->self) in acpiphp_post_dock_fixup()
211 pci_read_config_dword(bus->self, PCI_PRIMARY_BUS, &buses); in acpiphp_post_dock_fixup()
218 pci_write_config_dword(bus->self, PCI_PRIMARY_BUS, buses); in acpiphp_post_dock_fixup()
753 acpi_handle handle = context->hp.self->handle; in hotplug_event()
848 bridge->pci_dev = pci_dev_get(bus->self); in acpiphp_enumerate_slots()
/linux-4.1.27/arch/alpha/kernel/
Dsys_miata.c208 else if ((PCI_SLOT(dev->bus->self->devfn) == 8) || in miata_swizzle()
209 (PCI_SLOT(dev->bus->self->devfn) == 20)) { in miata_swizzle()
216 if ((PCI_SLOT(dev->bus->self->devfn) == 8) || in miata_swizzle()
217 (PCI_SLOT(dev->bus->self->devfn) == 20)) { in miata_swizzle()
224 dev = dev->bus->self; in miata_swizzle()
227 } while (dev->bus->self); in miata_swizzle()
Dsys_ruffian.c151 else if (PCI_SLOT(dev->bus->self->devfn) == 13) { in ruffian_swizzle()
158 if (PCI_SLOT(dev->bus->self->devfn) == 13) { in ruffian_swizzle()
165 dev = dev->bus->self; in ruffian_swizzle()
168 } while (dev->bus->self); in ruffian_swizzle()
Dsys_noritake.c233 else if (PCI_SLOT(dev->bus->self->devfn) == 8) { in noritake_swizzle()
240 if (PCI_SLOT(dev->bus->self->devfn) == 8) { in noritake_swizzle()
247 dev = dev->bus->self; in noritake_swizzle()
250 } while (dev->bus->self); in noritake_swizzle()
Dsys_nautilus.c76 dev->bus->self && dev->bus->self->device == 0x700f) in nautilus_map_irq()
217 bus->self = irongate; in nautilus_init_pci()
257 bus->self = NULL; in nautilus_init_pci()
Dsys_eiger.c182 while (dev->bus->self) { in eiger_swizzle()
185 && (PCI_SLOT(dev->bus->self->devfn) in eiger_swizzle()
194 dev = dev->bus->self; in eiger_swizzle()
Dsys_takara.c183 unsigned int busslot = PCI_SLOT(dev->bus->self->devfn); in takara_map_irq_srm()
221 if (!dev->bus->self) in takara_swizzle()
224 busslot = PCI_SLOT(dev->bus->self->devfn); in takara_swizzle()
Dsys_sable.c416 else if (PCI_SLOT(dev->bus->self->devfn) == 3) { in lynx_swizzle()
423 if (PCI_SLOT(dev->bus->self->devfn) == 3) { in lynx_swizzle()
430 dev = dev->bus->self; in lynx_swizzle()
433 } while (dev->bus->self); in lynx_swizzle()
Dsys_dp264.c436 else if (hose->index == 1 && PCI_SLOT(dev->bus->self->devfn) == 8) { in monet_swizzle()
443 PCI_SLOT(dev->bus->self->devfn) == 8) { in monet_swizzle()
450 dev = dev->bus->self; in monet_swizzle()
453 } while (dev->bus->self); in monet_swizzle()
/linux-4.1.27/kernel/
Dkthread.c157 static void __kthread_parkme(struct kthread *self) in __kthread_parkme() argument
160 while (test_bit(KTHREAD_SHOULD_PARK, &self->flags)) { in __kthread_parkme()
161 if (!test_and_set_bit(KTHREAD_IS_PARKED, &self->flags)) in __kthread_parkme()
162 complete(&self->parked); in __kthread_parkme()
166 clear_bit(KTHREAD_IS_PARKED, &self->flags); in __kthread_parkme()
182 struct kthread self; in kthread() local
185 self.flags = 0; in kthread()
186 self.data = data; in kthread()
187 init_completion(&self.exited); in kthread()
188 init_completion(&self.parked); in kthread()
[all …]
Dcgroup.c231 struct cgroup_subsys_state *parent_css = cgrp->self.parent; in cgroup_parent()
234 return container_of(parent_css, struct cgroup, self); in cgroup_parent()
256 return &cgrp->self; in cgroup_css()
275 return &cgrp->self; in cgroup_e_css()
327 return !(cgrp->self.flags & CSS_ONLINE); in cgroup_is_dead()
346 return &cgrp->self; in of_css()
418 list_for_each_entry((child), &(cgrp)->self.children, self.sibling) \
901 BUG_ON(!list_empty(&cgrp->self.children)); in cgroup_destroy_root()
1045 css_get(&cgrp->self); in cgroup_get()
1050 return css_tryget(&cgrp->self); in cgroup_tryget()
[all …]
/linux-4.1.27/drivers/crypto/qat/qat_common/
Dadf_accel_devices.h139 uint32_t (*get_misc_bar_id)(struct adf_hw_device_data *self);
140 uint32_t (*get_etr_bar_id)(struct adf_hw_device_data *self);
141 uint32_t (*get_num_aes)(struct adf_hw_device_data *self);
142 uint32_t (*get_num_accels)(struct adf_hw_device_data *self);
143 enum dev_sku_info (*get_sku)(struct adf_hw_device_data *self);
/linux-4.1.27/drivers/pci/
Dof.c34 if (bus->self == NULL) in pci_set_bus_of_node()
37 bus->dev.of_node = of_node_get(bus->self->dev.of_node); in pci_set_bus_of_node()
49 if (WARN_ON(bus->self || bus->parent)) in pcibios_get_phb_of_node()
Dpci.h155 if (dev->bus->self) in pci_no_d1d2()
156 parent_dstates = dev->bus->self->no_d1d2; in pci_no_d1d2()
227 return bus->self && bus->self->ari_enabled; in pci_ari_enabled()
249 struct pci_dev *self; /* this PF */ member
Dsetup-bus.c527 struct pci_dev *bridge = bus->self; in pci_setup_cardbus()
682 struct pci_dev *bridge = bus->self; in __pci_setup_bridge()
749 struct pci_dev *bridge = bus->self; in pci_bridge_check_ranges()
879 if (bus->self->io_window_1k) in window_alignment()
951 dev_info(&bus->self->dev, "disabling bridge window %pR to %pR (unused)\n", in pbus_size_io()
961 add_to_list(realloc_head, bus->self, b_res, size1-size0, in pbus_size_io()
963 dev_printk(KERN_DEBUG, &bus->self->dev, "bridge window %pR to %pR add_size %llx\n", in pbus_size_io()
1099 dev_info(&bus->self->dev, "disabling bridge window %pR to %pR (unused)\n", in pbus_size_mem()
1108 add_to_list(realloc_head, bus->self, b_res, size1-size0, add_align); in pbus_size_mem()
1109 dev_printk(KERN_DEBUG, &bus->self->dev, "bridge window %pR to %pR add_size %llx add_align %llx\n", in pbus_size_mem()
[all …]
Dprobe.c340 struct pci_dev *dev = child->self; in pci_read_bridge_io()
380 struct pci_dev *dev = child->self; in pci_read_bridge_mmio()
402 struct pci_dev *dev = child->self; in pci_read_bridge_mmio_pref()
455 struct pci_dev *dev = child->self; in pci_read_bridge_bases()
611 struct pci_dev *bridge = bus->self; in pci_set_bus_speed()
706 child->self = bridge; in pci_alloc_child_bus()
946 bus->self->transparent ? " transparent" : "", in pci_scan_bridge()
1640 struct pci_dev *parent = bus->self; in only_one_child()
1687 if (bus->self && nr) in pci_scan_slot()
1688 pcie_aspm_init_link_state(bus->self); in pci_scan_slot()
[all …]
Dvc.c128 pos2 = pci_find_ext_capability(dev->bus->self, PCI_EXT_CAP_ID_VC); in pci_vc_enable()
132 pci_read_config_dword(dev->bus->self, pos2 + PCI_VC_PORT_CAP1, &cap1); in pci_vc_enable()
141 pci_read_config_dword(dev->bus->self, ctrl_pos2, &ctrl2); in pci_vc_enable()
143 link = dev->bus->self; in pci_vc_enable()
Dsearch.c54 if (!bus->self) in pci_for_each_dma_alias()
57 tmp = bus->self; in pci_for_each_dma_alias()
/linux-4.1.27/drivers/gpu/drm/mga/
Dmga_drv.c136 if ((pdev->device == 0x0525) && pdev->bus->self in mga_driver_device_is_agp()
137 && (pdev->bus->self->vendor == 0x3388) in mga_driver_device_is_agp()
138 && (pdev->bus->self->device == 0x0021)) { in mga_driver_device_is_agp()
/linux-4.1.27/include/linux/
Duprobes.h49 int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs);
50 int (*ret_handler)(struct uprobe_consumer *self,
53 bool (*filter)(struct uprobe_consumer *self,
128 extern int arch_uprobe_exception_notify(struct notifier_block *self, unsigned long val, void *data…
Dpci-acpi.h46 if (!pbus->self) in acpi_pci_get_bridge_handle()
49 dev = &pbus->self->dev; in acpi_pci_get_bridge_handle()
/linux-4.1.27/arch/powerpc/kernel/
Dpci_64.c92 if (bus->self) { in pcibios_unmap_io_space()
98 pci_name(bus->self)); in pcibios_unmap_io_space()
182 if (bus->self) { in pcibios_map_io_space()
184 pci_name(bus->self)); in pcibios_map_io_space()
Dpci-common.c859 struct pci_dev *dev = bus->self; in pcibios_uninitialized_bridge_resource()
926 struct pci_dev *dev = bus->self; in pcibios_fixup_bridge()
931 if (i >= 3 && bus->self->transparent) in pcibios_fixup_bridge()
966 if (bus->self != NULL) in pcibios_setup_bus_self()
1026 bus->number, bus->self ? pci_name(bus->self) : "PHB"); in pcibios_setup_bus_devices()
1196 pr = pci_find_parent_resource(bus->self, res); in pcibios_allocate_bus_resources()
1208 bus->self ? pci_name(bus->self) : "PHB", in pcibios_allocate_bus_resources()
1216 struct pci_dev *dev = bus->self; in pcibios_allocate_bus_resources()
/linux-4.1.27/arch/arm/mach-pxa/
Dsleep.S58 @ enable SDRAM self-refresh mode
99 @ enable SDRAM self-refresh mode
159 @ external accesses after SDRAM is put in self-refresh mode
160 @ (see Errata 38 ...hangs when entering self-refresh mode)
165 @ put SDRAM into self-refresh
/linux-4.1.27/drivers/parisc/
Ddino.c567 if((bus->self->resource[i].flags & in dino_fixup_bus()
571 if(bus->self->resource[i].flags & IORESOURCE_MEM) { in dino_fixup_bus()
578 …bus->self->resource[i].end = bus->self->resource[i].end - bus->self->resource[i].start + DINO_BRID… in dino_fixup_bus()
579 bus->self->resource[i].start = DINO_BRIDGE_ALIGN; in dino_fixup_bus()
584 dev_name(&bus->self->dev), i, in dino_fixup_bus()
585 &bus->self->resource[i]); in dino_fixup_bus()
586 WARN_ON(pci_assign_resource(bus->self, i)); in dino_fixup_bus()
588 dev_name(&bus->self->dev), i, in dino_fixup_bus()
589 &bus->self->resource[i]); in dino_fixup_bus()
/linux-4.1.27/arch/powerpc/sysdev/
Dmpic_u3msi.c71 for (bus = pdev->bus; bus && bus->self; bus = bus->parent) { in find_ht_magic_addr()
72 pos = pci_find_ht_capability(bus->self, HT_CAPTYPE_MSI_MAPPING); in find_ht_magic_addr()
74 return read_ht_magic_addr(bus->self, pos); in find_ht_magic_addr()
/linux-4.1.27/arch/arm/kernel/
Dxscale-cp0.c33 static int dsp_do(struct notifier_block *self, unsigned long cmd, void *t) in dsp_do() argument
58 static int iwmmxt_do(struct notifier_block *self, unsigned long cmd, void *t) in iwmmxt_do() argument
Dthumbee.c42 static int thumbee_notifier(struct notifier_block *self, unsigned long cmd, void *t) in thumbee_notifier() argument
Dpj4-cp0.c22 static int iwmmxt_do(struct notifier_block *self, unsigned long cmd, void *t) in iwmmxt_do() argument
/linux-4.1.27/arch/mn10300/kernel/
Dirq.c313 unsigned int self, new; in migrate_irqs() local
316 self = smp_processor_id(); in migrate_irqs()
323 if (cpumask_test_cpu(self, &data->affinity) && in migrate_irqs()
331 if (irq_affinity_online[irq] == self) { in migrate_irqs()
/linux-4.1.27/drivers/acpi/
Dpci_irq.c272 if (!bus_it->self) in bridge_has_boot_interrupt_variant()
274 if (bus_it->self->irq_reroute_variant) in bridge_has_boot_interrupt_variant()
275 return bus_it->self->irq_reroute_variant; in bridge_has_boot_interrupt_variant()
339 bridge = dev->bus->self; in acpi_pci_irq_lookup()
365 bridge = dev->bus->self; in acpi_pci_irq_lookup()
/linux-4.1.27/arch/arm/mach-prima2/
Dsleep.S40 @ read the MEM ctl register and set the self
47 @ the RAM is going to self refresh mode
/linux-4.1.27/Documentation/cgroups/
Dfreezer-subsystem.txt54 cgroup has its own state (self-state) and the state inherited from the
63 "FREEZING" or "FROZEN". This is the combined self and parent-states.
72 When written, sets the self-state of the cgroup. Two values are
77 If THAWED is written, the self-state of the cgroup is changed to
85 Shows the self-state. 0 if the self-state is THAWED; otherwise, 1.
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/
Dapi.h188 int LNetPut(lnet_nid_t self,
197 int LNetGet(lnet_nid_t self,
/linux-4.1.27/arch/arm/mach-omap2/
Dsleep24xx.S73 orr r4, r4, #0x40 @ enable self refresh on idle req
84 bic r4, r4, #0x40 @ now clear self refresh bit.
/linux-4.1.27/drivers/staging/lustre/lnet/
DKconfig16 tristate "Lustre networking self testing"
19 Choose Y here if you want to do lnet self testing. To compile this
/linux-4.1.27/drivers/usb/chipidea/
Dhost.c46 struct device *dev = hcd->self.controller; in ehci_ci_portpower()
139 otg->host = &hcd->self; in host_start()
140 hcd->self.otg_port = 1; in host_start()
/linux-4.1.27/arch/microblaze/pci/
Dpci-common.c741 struct pci_dev *dev = bus->self; in pcibios_uninitialized_bridge_resource()
804 struct pci_dev *dev = bus->self; in pcibios_fixup_bridge()
811 if (i >= 3 && bus->self->transparent) in pcibios_fixup_bridge()
839 if (bus->self != NULL) in pcibios_setup_bus_self()
848 bus->number, bus->self ? pci_name(bus->self) : "PHB"); in pcibios_setup_bus_devices()
870 if (bus->self != NULL) in pcibios_fixup_bus()
1009 pr = pci_find_parent_resource(bus->self, res); in pcibios_allocate_bus_resources()
1020 bus->self ? pci_name(bus->self) : "PHB", in pcibios_allocate_bus_resources()
1029 struct pci_dev *dev = bus->self; in pcibios_allocate_bus_resources()
/linux-4.1.27/drivers/usb/isp1760/
Disp1760-hcd.c372 dev_err(hcd->self.controller, "%s: Invalid pointer: %08x\n", in free_mem()
475 dev_err(hcd->self.controller, "Scratch test failed.\n"); in isp1760_hc_setup()
999 dev_dbg(hcd->self.controller, "%s: underrun " in check_int_transfer()
1005 dev_dbg(hcd->self.controller, "%s: transaction " in check_int_transfer()
1012 dev_dbg(hcd->self.controller, "%s: babble " in check_int_transfer()
1053 dev_dbg(hcd->self.controller, "PID error; reloading ptd\n"); in check_atl_transfer()
1188 dev_err(hcd->self.controller, in handle_done_ptds()
1343 dev_info(hcd->self.controller, "USB ISP %04x HW rev. %d started\n", in isp1760_run()
1405 dev_err(hcd->self.controller, in packetize_urb()
1517 dev_err(hcd->self.controller, "%s: isochronous USB packets " in isp1760_urb_enqueue()
[all …]
/linux-4.1.27/drivers/oprofile/
Dbuffer_sync.c55 task_free_notify(struct notifier_block *self, unsigned long val, void *data) in task_free_notify() argument
70 task_exit_notify(struct notifier_block *self, unsigned long val, void *data) in task_exit_notify() argument
86 munmap_notify(struct notifier_block *self, unsigned long val, void *data) in munmap_notify() argument
113 module_load_notify(struct notifier_block *self, unsigned long val, void *data) in module_load_notify() argument
/linux-4.1.27/arch/frv/kernel/
Dcmode.S118 # self-refresh mode. Execute the dummy load to all memory
145 # instruction that executes the self-loop 256 times. (Meanwhile,
154 # (14) Release the self-refresh of SDRAM.
Dsleep.S85 # when dram is in self-refresh state.
135 # put SDRAM in self-refresh mode
146 # put the SDRAM into self-refresh mode
152 # wait for SDRAM to reach self-refresh mode
189 # wake SDRAM from self-refresh mode
/linux-4.1.27/arch/mips/pci/
Dpci-xlp.c190 return (p && p->parent) ? bus->self : NULL; in xlp_get_pcie_link()
196 return p ? bus->self : NULL; in xlp_get_pcie_link()
203 return PCI_FUNC(lnkdev->bus->self->devfn); in xlp_socdev_to_node()
/linux-4.1.27/drivers/infiniband/core/
Daddr.c89 static struct rdma_addr_client self; variable
482 ret = rdma_resolve_ip(&self, &sgid_addr._sockaddr, &dgid_addr._sockaddr, in rdma_addr_find_dmac_by_grh()
522 static int netevent_callback(struct notifier_block *self, unsigned long event, in netevent_callback() argument
546 rdma_addr_register_client(&self); in addr_init()
552 rdma_addr_unregister_client(&self); in addr_cleanup()
/linux-4.1.27/arch/mn10300/include/asm/
Dkprobes.h43 extern int kprobe_exceptions_notify(struct notifier_block *self,
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dconnection.c48 ptlrpc_connection_get(lnet_process_id_t peer, lnet_nid_t self, in ptlrpc_connection_get() argument
62 conn->c_self = self; in ptlrpc_connection_get()
/linux-4.1.27/tools/testing/selftests/mount/
DMakefile12 override RUN_TESTS := if [ -f /proc/self/uid_map ] ; then ./unprivileged-remount-test ; fi
/linux-4.1.27/arch/avr32/include/asm/
Dkprobes.h44 extern int kprobe_exceptions_notify(struct notifier_block *self,
/linux-4.1.27/arch/s390/include/asm/
Duprobes.h37 int arch_uprobe_exception_notify(struct notifier_block *self, unsigned long val,
Dkprobes.h85 int kprobe_exceptions_notify(struct notifier_block *self,
/linux-4.1.27/arch/mips/kernel/
Dpm.c71 static int mips_pm_notifier(struct notifier_block *self, unsigned long cmd, in mips_pm_notifier() argument
/linux-4.1.27/lib/
DKconfig109 bool "CRC32 perform self test on init"
114 self test on initialization. The self test computes crc32_le
206 bool "PRNG perform self test on init"
210 self test on initialization.
426 bool "glob self-test on init"
430 This option enables a simple self-test of the glob_match
/linux-4.1.27/arch/sparc/include/asm/
Dkprobes.h46 int kprobe_exceptions_notify(struct notifier_block *self,
/linux-4.1.27/arch/arc/include/asm/
Dkprobes.h36 int kprobe_exceptions_notify(struct notifier_block *self,
/linux-4.1.27/arch/sh/include/asm/
Dkprobes.h49 extern int kprobe_exceptions_notify(struct notifier_block *self,
/linux-4.1.27/arch/tile/include/asm/
Dkprobes.h76 extern int kprobe_exceptions_notify(struct notifier_block *self,
/linux-4.1.27/arch/ia64/pci/
Dfixup.c44 bridge = bus->self; in pci_fixup_video()
/linux-4.1.27/drivers/usb/wusbcore/
Dpal.c41 wusbhc->pal.device = wusbhc->usb_hcd.self.controller; in wusbhc_pal_register()
/linux-4.1.27/drivers/xen/xen-pciback/
Dpassthrough.c133 dev = dev_entry->dev->bus->self; in __xen_pcibk_publish_pci_roots()
134 for (; !found && dev != NULL; dev = dev->bus->self) { in __xen_pcibk_publish_pci_roots()
/linux-4.1.27/arch/sparc/oprofile/
Dinit.c22 static int profile_timer_exceptions_notify(struct notifier_block *self, in profile_timer_exceptions_notify() argument
/linux-4.1.27/drivers/clocksource/
Ddummy_timer.c44 static int dummy_timer_cpu_notify(struct notifier_block *self, in dummy_timer_cpu_notify() argument
/linux-4.1.27/arch/arm/mach-tegra/
Dirq.c53 static int tegra_gic_notifier(struct notifier_block *self, in tegra_gic_notifier() argument
/linux-4.1.27/arch/mips/include/asm/
Dkprobes.h94 extern int kprobe_exceptions_notify(struct notifier_block *self,
/linux-4.1.27/arch/arm/mach-ep93xx/
Dcrunch.c39 static int crunch_do(struct notifier_block *self, unsigned long cmd, void *t) in crunch_do() argument
/linux-4.1.27/fs/hpfs/
Dmap.c204 if (le32_to_cpu(anode->self) != ano) { in hpfs_map_anode()
249 if (le32_to_cpu(dnode->self) != secno) in hpfs_map_dnode()
250 hpfs_error(s, "bad self pointer on dnode %08x self = %08x", secno, le32_to_cpu(dnode->self)); in hpfs_map_dnode()
Ddnode.c17 if (de == fde) return ((loff_t) le32_to_cpu(d->self) << 4) | (loff_t)i; in get_pos()
21 return ((loff_t)le32_to_cpu(d->self) << 4) | (loff_t)1; in get_pos()
140 hpfs_error(s, "set_last_pointer: empty dnode %08x", le32_to_cpu(d->self)); in set_last_pointer()
146 le32_to_cpu(d->self), de_down_pointer(de)); in set_last_pointer()
150 hpfs_error(s, "set_last_pointer: bad last dirent in dnode %08x", le32_to_cpu(d->self)); in set_last_pointer()
157 hpfs_error(s, "set_last_pointer: too long dnode %08x", le32_to_cpu(d->self)); in set_last_pointer()
179 hpfs_error(s, "name (%c,%d) already exists in dnode %08x", *name, namelen, le32_to_cpu(d->self)); in hpfs_add_de()
204 hpfs_error(s, "attempt to delete last dirent in dnode %08x", le32_to_cpu(d->self)); in hpfs_delete_de()
215 dnode_secno dno = le32_to_cpu(d->self); in fix_up_ptrs()
/linux-4.1.27/arch/sh/drivers/pci/
Dfixups-cayman.c41 dev = dev->bus->self; in pcibios_map_platform_irq()
/linux-4.1.27/block/
Dblk-mq-cpu.c21 static int blk_mq_main_cpu_notify(struct notifier_block *self, in blk_mq_main_cpu_notify() argument
/linux-4.1.27/arch/sh/kernel/
Dnmi_debug.c23 static int nmi_debug_notify(struct notifier_block *self, in nmi_debug_notify() argument
/linux-4.1.27/arch/arm/include/asm/
Dkprobes.h50 int kprobe_exceptions_notify(struct notifier_block *self,
/linux-4.1.27/arch/avr32/kernel/
Dnmi_debug.c24 static int nmi_debug_notify(struct notifier_block *self, in nmi_debug_notify() argument
/linux-4.1.27/drivers/mtd/
Dsm_ftl.h89 static void sm_erase_callback(struct erase_info *self);
/linux-4.1.27/kernel/trace/
Dtrace_printk.c81 static int module_trace_bprintk_format_notify(struct notifier_block *self, in module_trace_bprintk_format_notify() argument
167 module_trace_bprintk_format_notify(struct notifier_block *self, in module_trace_bprintk_format_notify() argument
/linux-4.1.27/arch/arm/mach-omap1/
Dsleep.S81 @ prepare to put SDRAM into self-refresh manually
166 @ prepare to put SDRAM into self-refresh manually
236 @ Prepare to put SDRAM into self-refresh manually

1234