Home
last modified time | relevance | path

Searched refs:ptl (Results 1 – 12 of 12) sorted by relevance

/drivers/platform/surface/aggregator/
Dssh_packet_layer.c335 ptl_info(packet->ptl, "packet error injection: dropping ACK packet %p\n", in __ssh_ptl_should_drop_ack_packet()
347 ptl_info(packet->ptl, "packet error injection: dropping NAK packet %p\n", in __ssh_ptl_should_drop_nak_packet()
359 ptl_info(packet->ptl, in __ssh_ptl_should_drop_dsq_packet()
387 static int ssh_ptl_write_buf(struct ssh_ptl *ptl, struct ssh_packet *packet, in ssh_ptl_write_buf() argument
395 ptl_info(packet->ptl, in ssh_ptl_write_buf()
402 return serdev_device_write_buf(ptl->serdev, buf, count); in ssh_ptl_write_buf()
419 ptl_info(packet->ptl, in ssh_ptl_tx_inject_invalid_data()
431 static void ssh_ptl_rx_inject_invalid_syn(struct ssh_ptl *ptl, in ssh_ptl_rx_inject_invalid_syn() argument
448 static void ssh_ptl_rx_inject_invalid_data(struct ssh_ptl *ptl, in ssh_ptl_rx_inject_invalid_data() argument
486 static inline int ssh_ptl_write_buf(struct ssh_ptl *ptl, in ssh_ptl_write_buf() argument
[all …]
Dssh_packet_layer.h139 int ssh_ptl_init(struct ssh_ptl *ptl, struct serdev_device *serdev,
142 void ssh_ptl_destroy(struct ssh_ptl *ptl);
151 static inline struct device *ssh_ptl_get_device(struct ssh_ptl *ptl) in ssh_ptl_get_device() argument
153 return ptl->serdev ? &ptl->serdev->dev : NULL; in ssh_ptl_get_device()
156 int ssh_ptl_tx_start(struct ssh_ptl *ptl);
157 int ssh_ptl_tx_stop(struct ssh_ptl *ptl);
158 int ssh_ptl_rx_start(struct ssh_ptl *ptl);
159 int ssh_ptl_rx_stop(struct ssh_ptl *ptl);
160 void ssh_ptl_shutdown(struct ssh_ptl *ptl);
162 int ssh_ptl_submit(struct ssh_ptl *ptl, struct ssh_packet *p);
[all …]
Dssh_request_layer.h66 struct ssh_ptl ptl; member
94 #define rtl_dbg(r, fmt, ...) ptl_dbg(&(r)->ptl, fmt, ##__VA_ARGS__)
95 #define rtl_info(p, fmt, ...) ptl_info(&(p)->ptl, fmt, ##__VA_ARGS__)
96 #define rtl_warn(r, fmt, ...) ptl_warn(&(r)->ptl, fmt, ##__VA_ARGS__)
97 #define rtl_err(r, fmt, ...) ptl_err(&(r)->ptl, fmt, ##__VA_ARGS__)
112 return ssh_ptl_get_device(&rtl->ptl); in ssh_rtl_get_device()
123 struct ssh_ptl *ptl; in ssh_request_rtl() local
125 ptl = READ_ONCE(rqst->packet.ptl); in ssh_request_rtl()
126 return likely(ptl) ? to_ssh_rtl(ptl, ptl) : NULL; in ssh_request_rtl()
Dssh_request_layer.c258 status = ssh_ptl_submit(&rtl->ptl, &rqst->packet); in ssh_rtl_tx_try_process_one()
391 if (cmpxchg(&rqst->packet.ptl, NULL, &rtl->ptl)) { in ssh_rtl_submit()
619 if (flags == fixed && !READ_ONCE(r->packet.ptl)) { in ssh_rtl_cancel_nonpending()
674 if (!READ_ONCE(r->packet.ptl)) { in ssh_rtl_cancel_pending()
911 struct ssh_rtl *rtl = to_ssh_rtl(p, ptl); in ssh_rtl_rx_command()
1032 status = ssh_ptl_init(&rtl->ptl, serdev, &ptl_ops); in ssh_rtl_init()
1066 ssh_ptl_destroy(&rtl->ptl); in ssh_rtl_destroy()
1079 status = ssh_ptl_tx_start(&rtl->ptl); in ssh_rtl_start()
1085 status = ssh_ptl_rx_start(&rtl->ptl); in ssh_rtl_start()
1088 ssh_ptl_tx_stop(&rtl->ptl); in ssh_rtl_start()
[all …]
Dcontroller.h244 return ssh_ptl_rx_rcvbuf(&ctrl->rtl.ptl, buf, n); in ssam_controller_receive_buf()
254 ssh_ptl_tx_wakeup_transfer(&ctrl->rtl.ptl); in ssam_controller_write_wakeup()
Dcontroller.c1332 ctrl->rtl.ptl.serdev = NULL; in ssam_controller_shutdown()
/drivers/media/platform/allegro-dvt/
Dnal-hevc.c101 struct nal_hevc_profile_tier_level *ptl) in nal_hevc_rbsp_profile_tier_level() argument
106 rbsp_bits(rbsp, 2, &ptl->general_profile_space); in nal_hevc_rbsp_profile_tier_level()
107 rbsp_bit(rbsp, &ptl->general_tier_flag); in nal_hevc_rbsp_profile_tier_level()
108 rbsp_bits(rbsp, 5, &ptl->general_profile_idc); in nal_hevc_rbsp_profile_tier_level()
110 rbsp_bit(rbsp, &ptl->general_profile_compatibility_flag[i]); in nal_hevc_rbsp_profile_tier_level()
111 rbsp_bit(rbsp, &ptl->general_progressive_source_flag); in nal_hevc_rbsp_profile_tier_level()
112 rbsp_bit(rbsp, &ptl->general_interlaced_source_flag); in nal_hevc_rbsp_profile_tier_level()
113 rbsp_bit(rbsp, &ptl->general_non_packed_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
114 rbsp_bit(rbsp, &ptl->general_frame_only_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
115 if (ptl->general_profile_idc == 4 || in nal_hevc_rbsp_profile_tier_level()
[all …]
Dallegro-core.c1725 struct nal_hevc_profile_tier_level *ptl; in allegro_hevc_write_vps() local
1740 ptl = &vps->profile_tier_level; in allegro_hevc_write_vps()
1741 ptl->general_profile_idc = nal_hevc_profile(profile); in allegro_hevc_write_vps()
1742 ptl->general_profile_compatibility_flag[ptl->general_profile_idc] = 1; in allegro_hevc_write_vps()
1743 ptl->general_tier_flag = nal_hevc_tier(tier); in allegro_hevc_write_vps()
1744 ptl->general_progressive_source_flag = 1; in allegro_hevc_write_vps()
1745 ptl->general_frame_only_constraint_flag = 1; in allegro_hevc_write_vps()
1746 ptl->general_level_idc = nal_hevc_level(level); in allegro_hevc_write_vps()
1764 struct nal_hevc_profile_tier_level *ptl; in allegro_hevc_write_sps() local
1780 ptl = &sps->profile_tier_level; in allegro_hevc_write_sps()
[all …]
/drivers/input/touchscreen/
Dilitek_ts_i2c.c55 struct ilitek_protocol_info ptl; member
241 ts->ptl.ver = get_unaligned_be16(outbuf); in api_protocol_get_ptl_ver()
242 ts->ptl.ver_major = outbuf[0]; in api_protocol_get_ptl_ver()
414 if (ts->ptl.ver_major == 0x3 || in ilitek_protocol_init()
415 ts->ptl.ver == BL_V1_6 || in ilitek_protocol_init()
416 ts->ptl.ver == BL_V1_7) in ilitek_protocol_init()
/drivers/platform/x86/
Dintel_ips.c1127 u16 ptl;
1129 ptl = thm_readw(THM_PTL);
1130 dev_dbg(ips->dev, "Processor temp limit: %d\n", ptl);
/drivers/vfio/
Dvfio_iommu_type1.c522 spinlock_t *ptl; in follow_fault_pfn() local
525 ret = follow_pte(vma->vm_mm, vaddr, &ptep, &ptl); in follow_fault_pfn()
539 ret = follow_pte(vma->vm_mm, vaddr, &ptep, &ptl); in follow_fault_pfn()
549 pte_unmap_unlock(ptep, ptl); in follow_fault_pfn()
/drivers/perf/
Dxgene_pmu.c438 XGENE_PMU_EVENT_ATTR(pa-cp-ptl-req, 0x06),
450 XGENE_PMU_EVENT_ATTR(pa-ptl-wr-req, 0x16),
451 XGENE_PMU_EVENT_ATTR(pa-ptl-rd-req, 0x17),