/drivers/acpi/dptf/ |
D | dptf_power.c | 125 unsigned long long ptype; in dptf_participant_type() local 128 status = acpi_evaluate_integer(handle, "PTYP", NULL, &ptype); in dptf_participant_type() 132 return ptype; in dptf_participant_type() 175 unsigned long long ptype; in dptf_power_add() local 182 ptype = dptf_participant_type(acpi_dev->handle); in dptf_power_add() 183 if (ptype == 0x11) in dptf_power_add() 185 else if (ptype == 0x0C) in dptf_power_add()
|
D | dptf_pch_fivr.c | 113 unsigned long long ptype; in pch_fivr_add() local 121 status = acpi_evaluate_integer(acpi_dev->handle, "PTYP", NULL, &ptype); in pch_fivr_add() 122 if (ACPI_FAILURE(status) || ptype != 0x05) in pch_fivr_add()
|
/drivers/media/platform/qcom/venus/ |
D | venc.c | 541 u32 ptype, rate_control, bitrate; in venc_set_properties() local 549 ptype = HFI_PROPERTY_CONFIG_FRAME_RATE; in venc_set_properties() 553 ret = hfi_session_set_property(inst, ptype, &frate); in venc_set_properties() 562 ptype = HFI_PROPERTY_PARAM_VENC_H264_VUI_TIMING_INFO; in venc_set_properties() 567 ret = hfi_session_set_property(inst, ptype, &info); in venc_set_properties() 571 ptype = HFI_PROPERTY_PARAM_VENC_H264_ENTROPY_CONTROL; in venc_set_properties() 577 ret = hfi_session_set_property(inst, ptype, &entropy); in venc_set_properties() 581 ptype = HFI_PROPERTY_PARAM_VENC_H264_DEBLOCK_CONTROL; in venc_set_properties() 588 ret = hfi_session_set_property(inst, ptype, &deblock); in venc_set_properties() 598 ptype = HFI_PROPERTY_CONFIG_VENC_IDR_PERIOD; in venc_set_properties() [all …]
|
D | hfi_cmds.c | 381 void *cookie, u32 ptype) in pkt_session_get_property_1x() argument 383 switch (ptype) { in pkt_session_get_property_1x() 395 pkt->data[0] = ptype; in pkt_session_get_property_1x() 401 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_1x() argument 415 pkt->data[0] = ptype; in pkt_session_set_property_1x() 417 switch (ptype) { in pkt_session_set_property_1x() 1072 void *cookie, u32 ptype) in pkt_session_get_property_3xx() argument 1084 switch (ptype) { in pkt_session_get_property_3xx() 1089 ret = pkt_session_get_property_1x(pkt, cookie, ptype); in pkt_session_get_property_3xx() 1098 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_3xx() argument [all …]
|
D | helpers.c | 558 u32 ptype = HFI_PROPERTY_CONFIG_BUFFER_REQUIREMENTS; in venus_helper_get_bufreq() local 566 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_bufreq() 799 const u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; in venus_helper_get_profile_level() local 803 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_profile_level() 815 const u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; in venus_helper_set_profile_level() local 820 return hfi_session_set_property(inst, ptype, &pl); in venus_helper_set_profile_level() 1003 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_input_resolution() local 1010 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_input_resolution() 1018 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_output_resolution() local 1025 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_output_resolution() [all …]
|
D | hfi.h | 134 int (*session_set_property)(struct venus_inst *inst, u32 ptype, 136 int (*session_get_property)(struct venus_inst *inst, u32 ptype); 171 int hfi_session_get_property(struct venus_inst *inst, u32 ptype, 173 int hfi_session_set_property(struct venus_inst *inst, u32 ptype, void *pdata);
|
D | venc_ctrls.c | 76 u32 ptype; in venc_op_s_ctrl() local 87 ptype = HFI_PROPERTY_CONFIG_VENC_TARGET_BITRATE; in venc_op_s_ctrl() 91 ret = hfi_session_set_property(inst, ptype, &brate); in venc_op_s_ctrl() 192 ptype = HFI_PROPERTY_CONFIG_VENC_REQUEST_SYNC_FRAME; in venc_op_s_ctrl() 193 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl()
|
D | hfi.c | 438 int hfi_session_get_property(struct venus_inst *inst, u32 ptype, in hfi_session_get_property() argument 449 ret = ops->session_get_property(inst, ptype); in hfi_session_get_property() 463 int hfi_session_set_property(struct venus_inst *inst, u32 ptype, void *pdata) in hfi_session_set_property() argument 470 return ops->session_set_property(inst, ptype, pdata); in hfi_session_set_property()
|
D | hfi_cmds.h | 291 void *cookie, u32 ptype); 293 void *cookie, u32 ptype, void *pdata);
|
D | hfi_msgs.c | 31 u32 ptype; in event_seq_changed() local 54 ptype = *((u32 *)data_ptr); in event_seq_changed() 55 switch (ptype) { in event_seq_changed()
|
/drivers/net/ethernet/intel/ice/ |
D | ice_txrx_lib.c | 43 static enum pkt_hash_types ice_ptype_to_htype(u8 __always_unused ptype) in ice_ptype_to_htype() argument 84 union ice_32b_rx_flex_desc *rx_desc, u8 ptype) in ice_rx_csum() argument 93 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_csum() 169 struct sk_buff *skb, u8 ptype) in ice_process_skb_fields() argument 171 ice_rx_hash(rx_ring, rx_desc, skb, ptype); in ice_process_skb_fields() 176 ice_rx_csum(rx_ring, skb, rx_desc, ptype); in ice_process_skb_fields()
|
D | ice_flex_pipe.c | 1881 ice_ptg_find_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 *ptg) in ice_ptg_find_ptype() argument 1883 if (ptype >= ICE_XLT1_CNT || !ptg) in ice_ptg_find_ptype() 1886 *ptg = hw->blk[blk].xlt1.ptypes[ptype].ptg; in ice_ptg_find_ptype() 1915 ice_ptg_remove_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg) in ice_ptg_remove_ptype() argument 1920 if (ptype > ICE_XLT1_CNT - 1) in ice_ptg_remove_ptype() 1934 if (ptype == (p - hw->blk[blk].xlt1.ptypes)) { in ice_ptg_remove_ptype() 1943 hw->blk[blk].xlt1.ptypes[ptype].ptg = ICE_DEFAULT_PTG; in ice_ptg_remove_ptype() 1944 hw->blk[blk].xlt1.ptypes[ptype].next_ptype = NULL; in ice_ptg_remove_ptype() 1962 ice_ptg_add_mv_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg) in ice_ptg_add_mv_ptype() argument 1967 if (ptype > ICE_XLT1_CNT - 1) in ice_ptg_add_mv_ptype() [all …]
|
D | ice_txrx_lib.h | 56 struct sk_buff *skb, u8 ptype);
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb.c | 203 u8 *ptype) in ixgbe_dcb_unpack_prio() argument 209 ptype[tc] = tc_config[tc].path[direction].prio_type; in ixgbe_dcb_unpack_prio() 254 u8 ptype[MAX_TRAFFIC_CLASS]; in ixgbe_dcb_hw_config() local 265 ixgbe_dcb_unpack_prio(dcb_config, DCB_TX_CONFIG, ptype); in ixgbe_dcb_hw_config() 271 bwgid, ptype); in ixgbe_dcb_hw_config() 278 bwgid, ptype, prio_tc); in ixgbe_dcb_hw_config()
|
/drivers/acpi/nfit/ |
D | intel.c | 53 enum nvdimm_passphrase_type ptype) in intel_security_flags() argument 80 if (nvdimm_in_overwrite(nvdimm) && ptype == NVDIMM_USER) in intel_security_flags() 91 if (ptype == NVDIMM_MASTER) { in intel_security_flags() 149 enum nvdimm_passphrase_type ptype) in intel_security_change_key() argument 152 unsigned int cmd = ptype == NVDIMM_MASTER ? in intel_security_change_key() 278 enum nvdimm_passphrase_type ptype) in intel_security_erase() argument 282 unsigned int cmd = ptype == NVDIMM_MASTER ? in intel_security_erase()
|
/drivers/net/ethernet/intel/iavf/ |
D | iavf_prototype.h | 56 static inline struct iavf_rx_ptype_decoded decode_rx_desc_ptype(u8 ptype) in decode_rx_desc_ptype() argument 58 return iavf_ptype_lookup[ptype]; in decode_rx_desc_ptype()
|
/drivers/usb/host/ |
D | uhci-debug.c | 106 char *ptype; in uhci_show_urbp() local 119 case PIPE_ISOCHRONOUS: ptype = "ISO"; break; in uhci_show_urbp() 120 case PIPE_INTERRUPT: ptype = "INT"; break; in uhci_show_urbp() 121 case PIPE_BULK: ptype = "BLK"; break; in uhci_show_urbp() 123 case PIPE_CONTROL: ptype = "CTL"; break; in uhci_show_urbp() 126 out += sprintf(out, "%s%s", ptype, (urbp->fsbr ? " FSBR" : "")); in uhci_show_urbp()
|
/drivers/usb/typec/ |
D | class.c | 136 const char *ptype = NULL; in get_pd_product_type() local 143 ptype = product_type_ufp[PD_IDH_PTYPE(id->id_header)]; in get_pd_product_type() 145 ptype = product_type_dfp[PD_IDH_DFP_PTYPE(id->id_header)]; in get_pd_product_type() 148 ptype = product_type_cable[PD_IDH_PTYPE(id->id_header)]; in get_pd_product_type() 150 ptype = to_typec_cable(dev)->active ? in get_pd_product_type() 155 return ptype; in get_pd_product_type() 235 const char *ptype; in typec_product_type_notify() local 237 ptype = get_pd_product_type(dev); in typec_product_type_notify() 238 if (!ptype) in typec_product_type_notify() 243 envp[0] = kasprintf(GFP_KERNEL, "PRODUCT_TYPE=%s", ptype); in typec_product_type_notify() [all …]
|
/drivers/net/ethernet/netronome/nfp/abm/ |
D | main.c | 78 enum nfp_port_type ptype) in nfp_abm_spawn_repr() argument 88 if (ptype == NFP_PORT_PHYS_PORT) { in nfp_abm_spawn_repr() 102 port = nfp_port_alloc(app, ptype, netdev); in nfp_abm_spawn_repr() 108 if (ptype == NFP_PORT_PHYS_PORT) { in nfp_abm_spawn_repr() 135 ptype == NFP_PORT_PF_PORT ? "PCIe" : "Phys", in nfp_abm_spawn_repr()
|
/drivers/media/usb/dvb-usb/ |
D | usb-urb.c | 18 int ptype = usb_pipetype(urb->pipe); in usb_urb_complete() local 23 ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk", in usb_urb_complete() 41 switch (ptype) { in usb_urb_complete()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | dwxgmac2_descs.c | 265 u32 ptype; in dwxgmac2_get_rx_hash() local 268 ptype = (rdes3 & XGMAC_RDES3_L34T) >> XGMAC_RDES3_L34T_SHIFT; in dwxgmac2_get_rx_hash() 270 switch (ptype) { in dwxgmac2_get_rx_hash()
|
/drivers/media/usb/dvb-usb-v2/ |
D | usb_urb.c | 22 int ptype = usb_pipetype(urb->pipe); in usb_urb_complete() local 28 __func__, ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk", in usb_urb_complete() 49 switch (ptype) { in usb_urb_complete()
|
/drivers/nvdimm/ |
D | nd-core.h | 52 struct nvdimm *nvdimm, enum nvdimm_passphrase_type ptype) in nvdimm_security_flags() argument 63 flags = nvdimm->sec.ops->get_flags(nvdimm, ptype); in nvdimm_security_flags()
|
/drivers/media/usb/au0828/ |
D | au0828-dvb.c | 111 int ptype = usb_pipetype(purb->pipe); in urb_completion() local 126 if (ptype != PIPE_BULK) { in urb_completion() 128 __func__, ptype); in urb_completion()
|
/drivers/net/ |
D | geneve.c | 479 const struct packet_offload *ptype; in geneve_gro_receive() local 518 ptype = gro_find_receive_by_type(type); in geneve_gro_receive() 519 if (!ptype) in geneve_gro_receive() 524 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in geneve_gro_receive() 539 struct packet_offload *ptype; in geneve_gro_complete() local 549 ptype = gro_find_complete_by_type(type); in geneve_gro_complete() 550 if (ptype) in geneve_gro_complete() 551 err = ptype->callbacks.gro_complete(skb, nhoff + gh_len); in geneve_gro_complete()
|