Lines Matching defs:lp

199 static void ldc_set_state(struct ldc_channel *lp, u8 state)  in ldc_set_state()
217 static unsigned long rx_advance(struct ldc_channel *lp, unsigned long off) in rx_advance()
222 static unsigned long tx_advance(struct ldc_channel *lp, unsigned long off) in tx_advance()
227 static struct ldc_packet *handshake_get_tx_packet(struct ldc_channel *lp, in handshake_get_tx_packet()
250 static unsigned long head_for_data(struct ldc_channel *lp) in head_for_data()
257 static int tx_has_space_for(struct ldc_channel *lp, unsigned int size) in tx_has_space_for()
282 static struct ldc_packet *data_get_tx_packet(struct ldc_channel *lp, in data_get_tx_packet()
299 static int set_tx_tail(struct ldc_channel *lp, unsigned long tail) in set_tx_tail()
327 static int __set_rx_head(struct ldc_channel *lp, unsigned long head) in __set_rx_head()
347 static int send_tx_packet(struct ldc_channel *lp, in send_tx_packet()
356 static struct ldc_packet *handshake_compose_ctrl(struct ldc_channel *lp, in handshake_compose_ctrl()
374 static int start_handshake(struct ldc_channel *lp) in start_handshake()
396 static int send_version_nack(struct ldc_channel *lp, in send_version_nack()
417 static int send_version_ack(struct ldc_channel *lp, in send_version_ack()
434 static int send_rts(struct ldc_channel *lp) in send_rts()
454 static int send_rtr(struct ldc_channel *lp) in send_rtr()
473 static int send_rdx(struct ldc_channel *lp) in send_rdx()
493 static int send_data_nack(struct ldc_channel *lp, struct ldc_packet *data_pkt) in send_data_nack()
519 static int ldc_abort(struct ldc_channel *lp) in ldc_abort()
579 static int process_ver_info(struct ldc_channel *lp, struct ldc_version *vp) in process_ver_info()
613 static int process_ver_ack(struct ldc_channel *lp, struct ldc_version *vp) in process_ver_ack()
631 static int process_ver_nack(struct ldc_channel *lp, struct ldc_version *vp) in process_ver_nack()
653 static int process_version(struct ldc_channel *lp, in process_version()
675 static int process_rts(struct ldc_channel *lp, in process_rts()
695 static int process_rtr(struct ldc_channel *lp, in process_rtr()
713 static int rx_seq_ok(struct ldc_channel *lp, u32 seqid) in rx_seq_ok()
718 static int process_rdx(struct ldc_channel *lp, in process_rdx()
736 static int process_control_frame(struct ldc_channel *lp, in process_control_frame()
757 static int process_error_frame(struct ldc_channel *lp, in process_error_frame()
763 static int process_data_ack(struct ldc_channel *lp, in process_data_ack()
785 static void send_events(struct ldc_channel *lp, unsigned int event_mask) in send_events()
797 struct ldc_channel *lp = dev_id; in ldc_rx() local
915 struct ldc_channel *lp = dev_id; in ldc_tx() local
960 struct ldc_channel *lp; in __ldc_channel_exists() local
1035 static int ldc_iommu_init(const char *name, struct ldc_channel *lp) in ldc_iommu_init()
1094 static void ldc_iommu_release(struct ldc_channel *lp) in ldc_iommu_release()
1118 struct ldc_channel *lp; in ldc_alloc() local
1259 void ldc_unbind(struct ldc_channel *lp) in ldc_unbind()
1282 void ldc_free(struct ldc_channel *lp) in ldc_free()
1298 int ldc_bind(struct ldc_channel *lp) in ldc_bind()
1367 int ldc_connect(struct ldc_channel *lp) in ldc_connect()
1390 int ldc_disconnect(struct ldc_channel *lp) in ldc_disconnect()
1444 int ldc_state(struct ldc_channel *lp) in ldc_state()
1450 static int write_raw(struct ldc_channel *lp, const void *buf, unsigned int size) in write_raw()
1472 static int read_raw(struct ldc_channel *lp, void *buf, unsigned int size) in read_raw()
1515 static int write_nonraw(struct ldc_channel *lp, const void *buf, in write_nonraw()
1583 static int rx_bad_seq(struct ldc_channel *lp, struct ldc_packet *p, in rx_bad_seq()
1602 static int data_ack_nack(struct ldc_channel *lp, struct ldc_packet *p) in data_ack_nack()
1615 static int rx_data_wait(struct ldc_channel *lp, unsigned long cur_head) in rx_data_wait()
1648 static int rx_set_head(struct ldc_channel *lp, unsigned long head) in rx_set_head()
1659 static void send_data_ack(struct ldc_channel *lp) in send_data_ack()
1681 static int read_nonraw(struct ldc_channel *lp, void *buf, unsigned int size) in read_nonraw()
1840 static int write_stream(struct ldc_channel *lp, const void *buf, in write_stream()
1848 static int read_stream(struct ldc_channel *lp, void *buf, unsigned int size) in read_stream()
1874 int ldc_write(struct ldc_channel *lp, const void *buf, unsigned int size) in ldc_write()
1898 int ldc_read(struct ldc_channel *lp, void *buf, unsigned int size) in ldc_read()
2079 int ldc_map_sg(struct ldc_channel *lp, in ldc_map_sg()
2123 int ldc_map_single(struct ldc_channel *lp, in ldc_map_single()
2175 void ldc_unmap(struct ldc_channel *lp, struct ldc_trans_cookie *cookies, in ldc_unmap()
2193 int ldc_copy(struct ldc_channel *lp, int copy_dir, in ldc_copy()
2283 void *ldc_alloc_exp_dring(struct ldc_channel *lp, unsigned int len, in ldc_alloc_exp_dring()
2308 void ldc_free_exp_dring(struct ldc_channel *lp, void *buf, unsigned int len, in ldc_free_exp_dring()