/linux/drivers/block/ |
H A D | pktcdvd.c | 98 static sector_t get_zone(sector_t sector, struct pktcdvd_device *pd) in get_zone() 122 struct pktcdvd_device *pd = dev_get_drvdata(dev); in packets_started_show() local 131 struct pktcdvd_device *pd = dev_get_drvdata(dev); in packets_finished_show() local 140 struct pktcdvd_device *pd = dev_get_drvdata(dev); in kb_written_show() local 149 struct pktcdvd_device *pd = dev_get_drvdata(dev); in kb_read_show() local 158 struct pktcdvd_device *pd = dev_get_drvdata(dev); in kb_read_gather_show() local 167 struct pktcdvd_device *pd = dev_get_drvdata(dev); in reset_store() local 198 struct pktcdvd_device *pd = dev_get_drvdata(dev); in size_show() local 228 struct pktcdvd_device *pd = dev_get_drvdata(dev); in congestion_off_show() local 241 struct pktcdvd_device *pd = dev_get_drvdata(dev); in congestion_off_store() local [all …]
|
/linux/drivers/clk/sifive/ |
H A D | sifive-prci.c | 32 static u32 __prci_readl(struct __prci_data *pd, u32 offs) in __prci_readl() 37 static void __prci_writel(u32 v, u32 offs, struct __prci_data *pd) in __prci_writel() 127 static void __prci_wrpll_read_cfg0(struct __prci_data *pd, in __prci_wrpll_read_cfg0() 147 static void __prci_wrpll_write_cfg0(struct __prci_data *pd, in __prci_wrpll_write_cfg0() 163 static void __prci_wrpll_write_cfg1(struct __prci_data *pd, in __prci_wrpll_write_cfg1() 206 struct __prci_data *pd = pc->pd; in sifive_prci_wrpll_set_rate() local 227 struct __prci_data *pd = pc->pd; in sifive_clk_is_enabled() local 242 struct __prci_data *pd = pc->pd; in sifive_prci_clock_enable() local 259 struct __prci_data *pd = pc->pd; in sifive_prci_clock_disable() local 277 struct __prci_data *pd = pc->pd; in sifive_prci_tlclksel_recalc_rate() local [all …]
|
/linux/drivers/net/ethernet/smsc/ |
H A D | smsc9420.c | 87 static inline u32 smsc9420_reg_read(struct smsc9420_pdata *pd, u32 offset) in smsc9420_reg_read() 93 smsc9420_reg_write(struct smsc9420_pdata *pd, u32 offset, u32 value) in smsc9420_reg_write() 98 static inline void smsc9420_pci_flush_write(struct smsc9420_pdata *pd) in smsc9420_pci_flush_write() 106 struct smsc9420_pdata *pd = bus->priv; in smsc9420_mii_read() local 144 struct smsc9420_pdata *pd = bus->priv; in smsc9420_mii_write() local 190 static int smsc9420_eeprom_reload(struct smsc9420_pdata *pd) in smsc9420_eeprom_reload() 217 struct smsc9420_pdata *pd = netdev_priv(netdev); in smsc9420_ethtool_get_drvinfo() local 227 struct smsc9420_pdata *pd = netdev_priv(netdev); in smsc9420_ethtool_get_msglevel() local 233 struct smsc9420_pdata *pd = netdev_priv(netdev); in smsc9420_ethtool_set_msglevel() local 247 struct smsc9420_pdata *pd = netdev_priv(dev); in smsc9420_ethtool_getregs() local [all …]
|
/linux/arch/arm/mach-s3c/ |
H A D | devs.c | 73 void __init s3c_fb_set_platdata(struct s3c_fb_platdata *pd) in s3c_fb_set_platdata() 106 void s3c_sdhci0_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci0_set_platdata() 136 void s3c_sdhci1_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci1_set_platdata() 168 void s3c_sdhci2_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci2_set_platdata() 198 void s3c_sdhci3_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci3_set_platdata() 225 void __init s3c_i2c0_set_platdata(struct s3c2410_platform_i2c *pd) in s3c_i2c0_set_platdata() 253 void __init s3c_i2c1_set_platdata(struct s3c2410_platform_i2c *pd) in s3c_i2c1_set_platdata() 284 void __init samsung_keypad_set_platdata(struct samsung_keypad_platdata *pd) in samsung_keypad_set_platdata() 309 void __init samsung_pwm_set_platdata(struct samsung_pwm_variant *pd) in samsung_pwm_set_platdata() 354 void __init dwc2_hsotg_set_platdata(struct dwc2_hsotg_plat *pd) in dwc2_hsotg_set_platdata() [all …]
|
/linux/drivers/pmdomain/mediatek/ |
H A D | mtk-pm-domains.c | 65 static bool scpsys_domain_is_on(struct scpsys_domain *pd) in scpsys_domain_is_on() 80 static int scpsys_sram_enable(struct scpsys_domain *pd) in scpsys_sram_enable() 104 static int scpsys_sram_disable(struct scpsys_domain *pd) in scpsys_sram_disable() 124 static struct regmap *scpsys_bus_protect_get_regmap(struct scpsys_domain *pd, in scpsys_bus_protect_get_regmap() 133 static struct regmap *scpsys_bus_protect_get_sta_regmap(struct scpsys_domain *pd, in scpsys_bus_protect_get_sta_regmap() 142 static int scpsys_bus_protect_clear(struct scpsys_domain *pd, in scpsys_bus_protect_clear() 166 static int scpsys_bus_protect_set(struct scpsys_domain *pd, in scpsys_bus_protect_set() 184 static int scpsys_bus_protect_enable(struct scpsys_domain *pd) in scpsys_bus_protect_enable() 204 static int scpsys_bus_protect_disable(struct scpsys_domain *pd) in scpsys_bus_protect_disable() 236 struct scpsys_domain *pd = container_of(genpd, struct scpsys_domain, genpd); in scpsys_power_on() local [all …]
|
/linux/net/l2tp/ |
H A D | l2tp_debugfs.c | 43 static void l2tp_dfs_next_tunnel(struct l2tp_dfs_seq_data *pd) in l2tp_dfs_next_tunnel() 53 static void l2tp_dfs_next_session(struct l2tp_dfs_seq_data *pd) in l2tp_dfs_next_session() 72 struct l2tp_dfs_seq_data *pd = SEQ_START_TOKEN; in l2tp_dfs_seq_start() local 105 struct l2tp_dfs_seq_data *pd = v; in l2tp_dfs_seq_stop() local 232 struct l2tp_dfs_seq_data *pd = v; in l2tp_dfs_seq_show() local 268 struct l2tp_dfs_seq_data *pd; in l2tp_dfs_seq_open() local 304 struct l2tp_dfs_seq_data *pd; in l2tp_dfs_seq_release() local
|
/linux/drivers/infiniband/hw/usnic/ |
H A D | usnic_uiom.c | 191 struct usnic_uiom_pd *pd) in usnic_uiom_unmap_sorted_intervals() 209 static void __usnic_uiom_reg_release(struct usnic_uiom_pd *pd, in __usnic_uiom_reg_release() 250 struct usnic_uiom_pd *pd = uiomr->pd; in usnic_uiom_map_sorted_intervals() local 329 struct usnic_uiom_reg *usnic_uiom_reg_get(struct usnic_uiom_pd *pd, in usnic_uiom_reg_get() 439 struct usnic_uiom_pd *pd; in usnic_uiom_alloc_pd() local 461 void usnic_uiom_dealloc_pd(struct usnic_uiom_pd *pd) in usnic_uiom_dealloc_pd() 467 int usnic_uiom_attach_dev_to_pd(struct usnic_uiom_pd *pd, struct device *dev) in usnic_uiom_attach_dev_to_pd() 502 void usnic_uiom_detach_dev_from_pd(struct usnic_uiom_pd *pd, struct device *dev) in usnic_uiom_detach_dev_from_pd() 529 struct device **usnic_uiom_get_dev_list(struct usnic_uiom_pd *pd) in usnic_uiom_get_dev_list()
|
/linux/drivers/pmdomain/xilinx/ |
H A D | zynqmp-pm-domains.c | 75 struct zynqmp_pm_domain *pd = to_zynqmp_pm_domain(domain); in zynqmp_gpd_power_on() local 106 struct zynqmp_pm_domain *pd = to_zynqmp_pm_domain(domain); in zynqmp_gpd_power_off() local 155 struct zynqmp_pm_domain *pd = to_zynqmp_pm_domain(domain); in zynqmp_gpd_attach_dev() local 192 struct zynqmp_pm_domain *pd = to_zynqmp_pm_domain(domain); in zynqmp_gpd_detach_dev() local 217 struct zynqmp_pm_domain *pd; in zynqmp_gpd_xlate() local 253 struct zynqmp_pm_domain *pd; in zynqmp_gpd_probe() local
|
/linux/drivers/pmdomain/renesas/ |
H A D | rcar-sysc.c | 72 static int rcar_sysc_pwr_on_off(const struct rcar_sysc_pd *pd, bool on) in rcar_sysc_pwr_on_off() 103 static int rcar_sysc_power(const struct rcar_sysc_pd *pd, bool on) in rcar_sysc_power() 170 static bool rcar_sysc_power_is_off(const struct rcar_sysc_pd *pd) in rcar_sysc_power_is_off() 188 struct rcar_sysc_pd *pd = to_rcar_pd(genpd); in rcar_sysc_pd_power_off() local 196 struct rcar_sysc_pd *pd = to_rcar_pd(genpd); in rcar_sysc_pd_power_on() local 204 static int __init rcar_sysc_pd_setup(struct rcar_sysc_pd *pd) in rcar_sysc_pd_setup() 396 struct rcar_sysc_pd *pd; in rcar_sysc_pd_init() local 450 struct rcar_sysc_pd *pd; in rcar_sysc_power_cpu() local
|
H A D | rmobile-sysc.c | 136 struct device_node *pd; member 153 struct device_node *pd; in add_special_pd() local 204 static enum pd_types __init pd_type(const struct device_node *pd) in pd_type() 216 struct rmobile_pm_domain *pd) in rmobile_setup_pm_domain() 272 struct rmobile_pm_domain *pd; in rmobile_add_pm_domains() local
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_ppgtt.c | 37 struct i915_page_directory *pd; in __alloc_pd() local 55 struct i915_page_directory *pd; in alloc_pd() local 76 struct i915_page_directory *pd = in free_px() local 99 __set_pd_entry(struct i915_page_directory * const pd, in __set_pd_entry() 113 clear_pd_entry(struct i915_page_directory * const pd, in clear_pd_entry() 125 release_pd_entry(struct i915_page_directory * const pd, in release_pd_entry() 260 struct i915_page_directory *pd; in i915_vm_alloc_pt_stash() local
|
H A D | gen8_ppgtt.c | 205 struct i915_page_directory *pd, in __gen8_ppgtt_cleanup() 240 struct i915_page_directory * const pd, in __gen8_ppgtt_clear() 324 struct i915_page_directory * const pd, in __gen8_ppgtt_alloc() 407 struct i915_page_directory *pd, in __gen8_ppgtt_foreach() 462 struct i915_page_directory *pd; in gen8_ppgtt_insert_pte() local 519 struct i915_page_directory * const pd = in xehp_ppgtt_insert_huge() local 626 struct i915_page_directory * const pd = in gen8_ppgtt_insert_huge() local 772 struct i915_page_directory *pd = in gen8_ppgtt_insert_entry() local 793 struct i915_page_directory *pd = in xehp_ppgtt_insert_entry_lm() local 895 struct i915_page_directory *pd = ppgtt->pd; in gen8_preallocate_top_level_pdp() local [all …]
|
H A D | gen6_ppgtt.c | 116 struct i915_page_directory * const pd = ppgtt->pd; in gen6_ppgtt_insert_entries() local 152 struct i915_page_directory * const pd = ppgtt->base.pd; in gen6_flush_pd() local 177 struct i915_page_directory * const pd = ppgtt->base.pd; in gen6_alloc_va_range() local 258 struct i915_page_directory * const pd = ppgtt->base.pd; in gen6_ppgtt_free_pd() local 300 struct i915_page_directory * const pd = ppgtt->base.pd; in pd_vma_unbind() local 383 struct i915_page_directory *pd; in gen6_alloc_top_pd() local
|
/linux/net/netfilter/ipvs/ |
H A D | ip_vs_proto_tcp.c | 36 struct ip_vs_proto_data *pd, in tcp_conn_schedule() 485 static void tcp_timeout_change(struct ip_vs_proto_data *pd, int flags) in tcp_timeout_change() 512 set_tcp_state(struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, in set_tcp_state() 590 struct ip_vs_proto_data *pd) in tcp_state_transition() 622 struct ip_vs_proto_data *pd = ip_vs_proto_data_get(ipvs, IPPROTO_TCP); in tcp_register_app() local 643 struct ip_vs_proto_data *pd = ip_vs_proto_data_get(ipvs, IPPROTO_TCP); in tcp_unregister_app() local 695 struct ip_vs_proto_data *pd = ip_vs_proto_data_get(cp->ipvs, IPPROTO_TCP); in ip_vs_tcp_conn_listen() local 708 static int __ip_vs_tcp_init(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in __ip_vs_tcp_init() 719 static void __ip_vs_tcp_exit(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in __ip_vs_tcp_exit()
|
H A D | ip_vs_proto_udp.c | 32 struct ip_vs_proto_data *pd, in udp_conn_schedule() 367 struct ip_vs_proto_data *pd = ip_vs_proto_data_get(ipvs, IPPROTO_UDP); in udp_register_app() local 388 struct ip_vs_proto_data *pd = ip_vs_proto_data_get(ipvs, IPPROTO_UDP); in udp_unregister_app() local 454 struct ip_vs_proto_data *pd) in udp_state_transition() 466 static int __udp_init(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in __udp_init() 476 static void __udp_exit(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in __udp_exit()
|
H A D | ip_vs_proto_sctp.c | 17 struct ip_vs_proto_data *pd, in sctp_conn_schedule() 380 set_sctp_state(struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, in set_sctp_state() 477 const struct sk_buff *skb, struct ip_vs_proto_data *pd) in sctp_state_transition() 496 struct ip_vs_proto_data *pd = ip_vs_proto_data_get(ipvs, IPPROTO_SCTP); in sctp_register_app() local 515 struct ip_vs_proto_data *pd = ip_vs_proto_data_get(ipvs, IPPROTO_SCTP); in sctp_unregister_app() local 561 static int __ip_vs_sctp_init(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in __ip_vs_sctp_init() 571 static void __ip_vs_sctp_exit(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in __ip_vs_sctp_exit()
|
/linux/kernel/ |
H A D | padata.c | 50 static int padata_index_to_cpu(struct parallel_data *pd, int cpu_index) in padata_index_to_cpu() 61 static int padata_cpu_hash(struct parallel_data *pd, unsigned int seq_nr) in padata_cpu_hash() 180 struct parallel_data *pd; in padata_do_parallel() local 248 static struct padata_priv *padata_find_next(struct parallel_data *pd, in padata_find_next() 284 static void padata_reorder(struct parallel_data *pd) in padata_reorder() 345 struct parallel_data *pd; in invoke_padata_reorder() local 356 struct parallel_data *pd; in padata_serial_worker() local 397 struct parallel_data *pd = padata->pd; in padata_do_serial() local 554 static void padata_init_squeues(struct parallel_data *pd) in padata_init_squeues() 568 static void padata_init_reorder_list(struct parallel_data *pd) in padata_init_reorder_list() [all …]
|
/linux/drivers/pmdomain/rockchip/ |
H A D | pm-domains.c | 223 struct rockchip_pm_domain *pd; in rockchip_pmu_block() local 286 struct rockchip_pm_domain *pd; in rockchip_pmu_unblock() local 309 static bool rockchip_pmu_domain_is_idle(struct rockchip_pm_domain *pd) in rockchip_pmu_domain_is_idle() 327 static int rockchip_pmu_ungate_clk(struct rockchip_pm_domain *pd, bool ungate) in rockchip_pmu_ungate_clk() 347 static int rockchip_pmu_set_idle_request(struct rockchip_pm_domain *pd, in rockchip_pmu_set_idle_request() 395 static int rockchip_pmu_save_qos(struct rockchip_pm_domain *pd) in rockchip_pmu_save_qos() 419 static int rockchip_pmu_restore_qos(struct rockchip_pm_domain *pd) in rockchip_pmu_restore_qos() 444 static bool rockchip_pmu_domain_is_on(struct rockchip_pm_domain *pd) in rockchip_pmu_domain_is_on() 465 static bool rockchip_pmu_domain_is_mem_on(struct rockchip_pm_domain *pd) in rockchip_pmu_domain_is_mem_on() 477 static bool rockchip_pmu_domain_is_chain_on(struct rockchip_pm_domain *pd) in rockchip_pmu_domain_is_chain_on() [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_lmtt.c | 100 struct xe_lmtt_pt *pd; in lmtt_init_pd() local 115 struct xe_lmtt_pt *pd = lmtt->pd; in lmtt_fini_pd() local 239 static void lmtt_destroy_pt(struct xe_lmtt *lmtt, struct xe_lmtt_pt *pd) in lmtt_destroy_pt() 259 struct xe_lmtt_pt *pd = lmtt->pd; in lmtt_drop_pages() local 274 static int __lmtt_alloc_range(struct xe_lmtt *lmtt, struct xe_lmtt_pt *pd, in __lmtt_alloc_range() 318 struct xe_lmtt_pt *pd = lmtt->pd; in lmtt_alloc_range() local 359 struct xe_lmtt_pt *pd = lmtt->pd; in lmtt_leaf_pt() local
|
/linux/drivers/i2c/busses/ |
H A D | i2c-pca-isa.c | 37 static void pca_isa_writebyte(void *pd, int reg, int val) in pca_isa_writebyte() 47 static int pca_isa_readbyte(void *pd, int reg) in pca_isa_readbyte() 59 static int pca_isa_waitforcompletion(void *pd) in pca_isa_waitforcompletion() 83 static void pca_isa_resetchip(void *pd) in pca_isa_resetchip()
|
/linux/drivers/pmdomain/sunxi/ |
H A D | sun20i-ppu.c | 51 static bool sun20i_ppu_pd_is_on(const struct sun20i_ppu_pd *pd) in sun20i_ppu_pd_is_on() 58 static int sun20i_ppu_pd_set_power(const struct sun20i_ppu_pd *pd, bool power_on) in sun20i_ppu_pd_set_power() 90 const struct sun20i_ppu_pd *pd = to_sun20i_ppu_pd(genpd); in sun20i_ppu_pd_power_on() local 97 const struct sun20i_ppu_pd *pd = to_sun20i_ppu_pd(genpd); in sun20i_ppu_pd_power_off() local 150 struct sun20i_ppu_pd *pd = &pds[i]; in sun20i_ppu_probe() local
|
/linux/drivers/pmdomain/arm/ |
H A D | scmi_perf_domain.c | 24 #define to_scmi_pd(pd) container_of(pd, struct scmi_perf_domain, genpd) argument 29 struct scmi_perf_domain *pd = to_scmi_pd(genpd); in scmi_pd_set_perf_state() local 49 struct scmi_perf_domain *pd = to_scmi_pd(genpd); in scmi_pd_attach_dev() local 69 struct scmi_perf_domain *pd = to_scmi_pd(genpd); in scmi_pd_detach_dev() local
|
/linux/drivers/usb/typec/ |
H A D | pd.c | 480 usb_power_delivery_register_capabilities(struct usb_power_delivery *pd, in usb_power_delivery_register_capabilities() 534 struct usb_power_delivery *pd = to_usb_power_delivery(dev); in revision_show() local 542 struct usb_power_delivery *pd = to_usb_power_delivery(dev); in version_show() local 556 struct usb_power_delivery *pd = to_usb_power_delivery(kobj_to_dev(kobj)); in pd_attr_is_visible() local 572 struct usb_power_delivery *pd = to_usb_power_delivery(dev); in pd_release() local 612 struct usb_power_delivery *pd; in usb_power_delivery_register() local 648 void usb_power_delivery_unregister(struct usb_power_delivery *pd) in usb_power_delivery_unregister() 665 int usb_power_delivery_link_device(struct usb_power_delivery *pd, struct device *dev) in usb_power_delivery_link_device() 690 void usb_power_delivery_unlink_device(struct usb_power_delivery *pd, struct device *dev) in usb_power_delivery_unlink_device()
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | mr.c | 64 struct ib_pd *pd) in set_mkc_access_pd_addr_fields() 1022 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx5_ib_get_dma_mr() 1110 static struct mlx5_ib_mr *alloc_cacheable_mr(struct ib_pd *pd, in alloc_cacheable_mr() 1160 reg_create_crossing_vhca_mr(struct ib_pd *pd, u64 iova, u64 length, int access_flags, in reg_create_crossing_vhca_mr() 1220 static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, struct ib_umem *umem, in reg_create() 1319 static struct ib_mr *mlx5_ib_get_dm_mr(struct ib_pd *pd, u64 start_addr, in mlx5_ib_get_dm_mr() 1365 int mlx5_ib_advise_mr(struct ib_pd *pd, in mlx5_ib_advise_mr() 1381 struct ib_mr *mlx5_ib_reg_dm_mr(struct ib_pd *pd, struct ib_dm *dm, in mlx5_ib_reg_dm_mr() 1415 static struct ib_mr *create_real_mr(struct ib_pd *pd, struct ib_umem *umem, in create_real_mr() 1460 static struct ib_mr *create_user_odp_mr(struct ib_pd *pd, u64 start, u64 length, in create_user_odp_mr() [all …]
|
/linux/drivers/powercap/ |
H A D | dtpm_devfreq.c | 39 struct em_perf_domain *pd = em_pd_get(dev); in update_pd_power_uw() local 58 struct em_perf_domain *pd = em_pd_get(dev); in set_pd_power_limit() local 98 struct em_perf_domain *pd = em_pd_get(dev); in get_pd_power_uw() local 151 struct em_perf_domain *pd; in __dtpm_devfreq_setup() local
|