/linux-master/include/linux/soc/cirrus/ |
H A D | ep93xx.h | 14 int ep93xx_pwm_acquire_gpio(struct platform_device *pdev); 15 void ep93xx_pwm_release_gpio(struct platform_device *pdev); 16 int ep93xx_ide_acquire_gpio(struct platform_device *pdev); 17 void ep93xx_ide_release_gpio(struct platform_device *pdev); 18 int ep93xx_keypad_acquire_gpio(struct platform_device *pdev); 19 void ep93xx_keypad_release_gpio(struct platform_device *pdev); 25 static inline int ep93xx_pwm_acquire_gpio(struct platform_device *pdev) { return 0; } argument 26 static inline void ep93xx_pwm_release_gpio(struct platform_device *pdev) {} argument 27 static inline int ep93xx_ide_acquire_gpio(struct platform_device *pdev) { return 0; } argument 28 static inline void ep93xx_ide_release_gpio(struct platform_device *pdev) {} argument 29 ep93xx_keypad_acquire_gpio(struct platform_device *pdev) argument 30 ep93xx_keypad_release_gpio(struct platform_device *pdev) argument [all...] |
/linux-master/drivers/media/usb/pwc/ |
H A D | pwc-dec1.c | 15 void pwc_dec1_init(struct pwc_device *pdev, const unsigned char *cmd) argument 17 struct pwc_dec1_private *pdec = &pdev->dec1; 19 pdec->version = pdev->release;
|
H A D | pwc-misc.c | 29 int pwc_get_size(struct pwc_device *pdev, int width, int height) argument 36 if (!(pdev->image_mask & (1 << i))) 46 if (pdev->image_mask & (1 << i)) 55 void pwc_construct(struct pwc_device *pdev) argument 57 if (DEVICE_USE_CODEC1(pdev->type)) { 59 pdev->image_mask = 1 << PSZ_SQCIF | 1 << PSZ_QCIF | 1 << PSZ_CIF; 60 pdev->vcinterface = 2; 61 pdev->vendpoint = 4; 62 pdev->frame_header_size = 0; 63 pdev [all...] |
H A D | pwc-ctrl.c | 95 static int recv_control_msg(struct pwc_device *pdev, argument 100 rc = usb_control_msg(pdev->udev, usb_rcvctrlpipe(pdev->udev, 0), 103 value, pdev->vcinterface, 104 pdev->ctrl_buf, recv_count, USB_CTRL_GET_TIMEOUT); 111 static inline int send_video_command(struct pwc_device *pdev, argument 116 memcpy(pdev->ctrl_buf, buf, buflen); 118 rc = usb_control_msg(pdev->udev, usb_sndctrlpipe(pdev->udev, 0), 122 pdev 131 send_control_msg(struct pwc_device *pdev, u8 request, u16 value, void *buf, int buflen) argument 141 set_video_mode_Nala(struct pwc_device *pdev, int size, int pixfmt, int frames, int *compression, int send_to_cam) argument 216 set_video_mode_Timon(struct pwc_device *pdev, int size, int pixfmt, int frames, int *compression, int send_to_cam) argument 267 set_video_mode_Kiara(struct pwc_device *pdev, int size, int pixfmt, int frames, int *compression, int send_to_cam) argument 319 pwc_set_video_mode(struct pwc_device *pdev, int width, int height, int pixfmt, int frames, int *compression, int send_to_cam) argument 348 pwc_get_fps_Nala(struct pwc_device *pdev, unsigned int index, unsigned int size) argument 360 pwc_get_fps_Kiara(struct pwc_device *pdev, unsigned int index, unsigned int size) argument 372 pwc_get_fps_Timon(struct pwc_device *pdev, unsigned int index, unsigned int size) argument 384 pwc_get_fps(struct pwc_device *pdev, unsigned int index, unsigned int size) argument 401 pwc_get_u8_ctrl(struct pwc_device *pdev, u8 request, u16 value, int *data) argument 413 pwc_set_u8_ctrl(struct pwc_device *pdev, u8 request, u16 value, u8 data) argument 425 pwc_get_s8_ctrl(struct pwc_device *pdev, u8 request, u16 value, int *data) argument 437 pwc_get_u16_ctrl(struct pwc_device *pdev, u8 request, u16 value, int *data) argument 449 pwc_set_u16_ctrl(struct pwc_device *pdev, u8 request, u16 value, u16 data) argument 462 pwc_button_ctrl(struct pwc_device *pdev, u16 value) argument 474 pwc_camera_power(struct pwc_device *pdev, int power) argument 495 pwc_set_leds(struct pwc_device *pdev, int on_value, int off_value) argument 524 pwc_get_cmos_sensor(struct pwc_device *pdev, int *sensor) argument [all...] |
H A D | pwc-uncompress.c | 21 int pwc_decompress(struct pwc_device *pdev, struct pwc_frame_buf *fbuf) argument 30 yuv = fbuf->data + pdev->frame_header_size; /* Skip header */ 33 if (pdev->pixfmt != V4L2_PIX_FMT_YUV420) 36 raw_frame->type = cpu_to_le16(pdev->type); 37 raw_frame->vbandlength = cpu_to_le16(pdev->vbandlength); 41 memcpy(raw_frame->cmd, pdev->cmd_buf, 4); 42 memcpy(raw_frame->rawframe, yuv, pdev->frame_size); 44 struct_size(raw_frame, rawframe, pdev->frame_size)); 49 pdev->width * pdev [all...] |
/linux-master/include/linux/ |
H A D | ptp_pch.h | 17 void pch_ch_control_write(struct pci_dev *pdev, u32 val); 18 u32 pch_ch_event_read(struct pci_dev *pdev); 19 void pch_ch_event_write(struct pci_dev *pdev, u32 val); 20 u32 pch_src_uuid_lo_read(struct pci_dev *pdev); 21 u32 pch_src_uuid_hi_read(struct pci_dev *pdev); 22 u64 pch_rx_snap_read(struct pci_dev *pdev); 23 u64 pch_tx_snap_read(struct pci_dev *pdev); 24 int pch_set_station_address(u8 *addr, struct pci_dev *pdev);
|
H A D | vgaarb.h | 29 void vga_set_legacy_decoding(struct pci_dev *pdev, unsigned int decodes); 30 int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible); 31 void vga_put(struct pci_dev *pdev, unsigned int rsrc); 33 void vga_set_default_device(struct pci_dev *pdev); 34 int vga_remove_vgacon(struct pci_dev *pdev); 35 int vga_client_register(struct pci_dev *pdev, 36 unsigned int (*set_decode)(struct pci_dev *pdev, bool state)); 38 static inline void vga_set_legacy_decoding(struct pci_dev *pdev, argument 42 static inline int vga_get(struct pci_dev *pdev, unsigned int rsrc, argument 47 static inline void vga_put(struct pci_dev *pdev, unsigne argument 54 vga_set_default_device(struct pci_dev *pdev) argument 57 vga_remove_vgacon(struct pci_dev *pdev) argument 61 vga_client_register(struct pci_dev *pdev, unsigned int (*set_decode)(struct pci_dev *pdev, bool state)) argument 77 vga_get_interruptible(struct pci_dev *pdev, unsigned int rsrc) argument 92 vga_get_uninterruptible(struct pci_dev *pdev, unsigned int rsrc) argument 98 vga_client_unregister(struct pci_dev *pdev) argument [all...] |
/linux-master/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_cmm.h | 29 int rcar_cmm_init(struct platform_device *pdev); 31 int rcar_cmm_enable(struct platform_device *pdev); 32 void rcar_cmm_disable(struct platform_device *pdev); 34 int rcar_cmm_setup(struct platform_device *pdev, 37 static inline int rcar_cmm_init(struct platform_device *pdev) argument 42 static inline int rcar_cmm_enable(struct platform_device *pdev) argument 47 static inline void rcar_cmm_disable(struct platform_device *pdev) argument 51 static inline int rcar_cmm_setup(struct platform_device *pdev, argument
|
/linux-master/drivers/gpu/drm/xe/display/ |
H A D | xe_display_misc.c | 10 unsigned int intel_gmch_vga_set_decode(struct pci_dev *pdev, bool enable_decode); 12 unsigned int intel_gmch_vga_set_decode(struct pci_dev *pdev, bool enable_decode) argument
|
/linux-master/include/linux/platform_data/ |
H A D | iommu-omap.h | 14 int (*assert_reset)(struct platform_device *pdev, const char *name); 15 int (*deassert_reset)(struct platform_device *pdev, const char *name); 16 int (*device_enable)(struct platform_device *pdev); 17 int (*device_idle)(struct platform_device *pdev); 18 int (*set_pwrdm_constraint)(struct platform_device *pdev, bool request,
|
H A D | wkup_m3.h | 18 int (*assert_reset)(struct platform_device *pdev, const char *name); 19 int (*deassert_reset)(struct platform_device *pdev, const char *name);
|
/linux-master/arch/mips/pci/ |
H A D | fixup-fuloong2e.c | 47 static void loongson2e_nec_fixup(struct pci_dev *pdev) argument 52 pci_read_config_dword(pdev, 0xe0, &val); 53 pci_write_config_dword(pdev, 0xe0, (val & ~7) | 0x4); 56 pci_write_config_dword(pdev, 0xe4, 1 << 5); 59 static void loongson2e_686b_func0_fixup(struct pci_dev *pdev) argument 63 sb_slot = PCI_SLOT(pdev->devfn); 68 pci_write_config_byte(pdev, 0x40, 0x08); 71 pci_write_config_byte(pdev, 0x41, 0x01); 74 pci_write_config_byte(pdev, 0x45, 0x00); 77 pci_write_config_byte(pdev, 134 loongson2e_686b_func1_fixup(struct pci_dev *pdev) argument 167 loongson2e_686b_func2_fixup(struct pci_dev *pdev) argument 173 loongson2e_686b_func3_fixup(struct pci_dev *pdev) argument 179 loongson2e_686b_func5_fixup(struct pci_dev *pdev) argument [all...] |
/linux-master/include/linux/usb/ |
H A D | ohci_pdriver.h | 27 int (*power_on)(struct platform_device *pdev); 29 void (*power_off)(struct platform_device *pdev); 32 void (*power_suspend)(struct platform_device *pdev);
|
/linux-master/sound/soc/sof/ |
H A D | sof-of-dev.h | 21 int sof_of_probe(struct platform_device *pdev); 22 void sof_of_remove(struct platform_device *pdev); 23 void sof_of_shutdown(struct platform_device *pdev);
|
H A D | sof-acpi-dev.h | 13 int sof_acpi_probe(struct platform_device *pdev, const struct sof_dev_desc *desc); 14 void sof_acpi_remove(struct platform_device *pdev);
|
/linux-master/drivers/net/dsa/realtek/ |
H A D | realtek-smi.h | 18 int realtek_smi_probe(struct platform_device *pdev); 19 void realtek_smi_remove(struct platform_device *pdev); 20 void realtek_smi_shutdown(struct platform_device *pdev); 33 static inline int realtek_smi_probe(struct platform_device *pdev) argument 38 static inline void realtek_smi_remove(struct platform_device *pdev) argument 42 static inline void realtek_smi_shutdown(struct platform_device *pdev) argument
|
/linux-master/arch/x86/include/asm/ |
H A D | probe_roms.h | 6 extern void __iomem *pci_map_biosrom(struct pci_dev *pdev); 8 extern size_t pci_biosrom_size(struct pci_dev *pdev);
|
/linux-master/arch/arm/mach-s3c/ |
H A D | usb-phy.h | 10 extern int s3c_usb_phy_init(struct platform_device *pdev, int type); 11 extern int s3c_usb_phy_exit(struct platform_device *pdev, int type);
|
/linux-master/sound/soc/ux500/ |
H A D | ux500_pcm.h | 16 int ux500_pcm_register_platform(struct platform_device *pdev); 17 int ux500_pcm_unregister_platform(struct platform_device *pdev);
|
/linux-master/arch/arm/mach-omap2/ |
H A D | omap_device.h | 39 * @pdev: platform_device 53 struct platform_device *pdev; member in struct:omap_device 63 int omap_device_enable(struct platform_device *pdev); 64 int omap_device_idle(struct platform_device *pdev); 68 int omap_device_assert_hardreset(struct platform_device *pdev, 70 int omap_device_deassert_hardreset(struct platform_device *pdev, 74 static inline struct omap_device *to_omap_device(struct platform_device *pdev) argument 76 return pdev ? pdev->archdata.od : NULL;
|
/linux-master/drivers/mmc/host/ |
H A D | dw_mmc-pltfm.h | 11 extern int dw_mci_pltfm_register(struct platform_device *pdev, 13 extern void dw_mci_pltfm_remove(struct platform_device *pdev);
|
/linux-master/drivers/platform/x86/siemens/ |
H A D | simatic-ipc-batt.h | 14 int simatic_ipc_batt_probe(struct platform_device *pdev, 17 void simatic_ipc_batt_remove(struct platform_device *pdev,
|
/linux-master/arch/m68k/amiga/ |
H A D | platform.c | 51 struct platform_device *pdev; local 58 pdev = platform_device_register_simple("amiga-zorro", -1, 60 return PTR_ERR_OR_ZERO(pdev); 136 struct platform_device *pdev; local 144 pdev = platform_device_register_simple("amiga-video", -1, NULL, 146 if (IS_ERR(pdev)) 147 return PTR_ERR(pdev); 153 pdev = platform_device_register_simple("amiga-audio", -1, NULL, 155 if (IS_ERR(pdev)) 156 return PTR_ERR(pdev); [all...] |
/linux-master/drivers/pci/pcie/ |
H A D | dpc.c | 81 static bool dpc_completed(struct pci_dev *pdev) argument 85 pci_read_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_STATUS, &status); 89 if (test_bit(PCI_DPC_RECOVERING, &pdev->priv_flags)) 97 * @pdev: PCI device 99 * Return true if DPC was triggered for @pdev and has recovered successfully. 103 bool pci_dpc_recovered(struct pci_dev *pdev) argument 107 if (!pdev->dpc_cap) 114 host = pci_find_host_bridge(pdev->bus); 123 wait_event_timeout(dpc_completed_waitqueue, dpc_completed(pdev), 130 dpc_wait_rp_inactive(struct pci_dev *pdev) argument 148 dpc_reset_link(struct pci_dev *pdev) argument 190 dpc_process_rp_pio_error(struct pci_dev *pdev) argument 260 dpc_process_error(struct pci_dev *pdev) argument 300 pci_clear_surpdn_errors(struct pci_dev *pdev) argument 316 dpc_handle_surprise_removal(struct pci_dev *pdev) argument 337 dpc_is_surprise_removal(struct pci_dev *pdev) argument 353 struct pci_dev *pdev = context; local 374 struct pci_dev *pdev = context; local 389 pci_dpc_init(struct pci_dev *pdev) argument 418 struct pci_dev *pdev = dev->port; local 455 struct pci_dev *pdev = dev->port; local [all...] |
/linux-master/drivers/pci/ |
H A D | ats.c | 60 struct pci_dev *pdev; local 77 pdev = pci_physfn(dev); 78 if (pdev->ats_stu != ps) 151 * @pdev: the PCI device 160 int pci_ats_page_aligned(struct pci_dev *pdev) argument 164 if (!pdev->ats_cap) 167 pci_read_config_word(pdev, pdev->ats_cap + PCI_ATS_CAP, &cap); 176 void pci_pri_init(struct pci_dev *pdev) argument 180 pdev 197 pci_enable_pri(struct pci_dev *pdev, u32 reqs) argument 243 pci_disable_pri(struct pci_dev *pdev) argument 270 pci_restore_pri_state(struct pci_dev *pdev) argument 296 pci_reset_pri(struct pci_dev *pdev) argument 323 pci_prg_resp_pasid_required(struct pci_dev *pdev) argument 337 pci_pri_supported(struct pci_dev *pdev) argument 348 pci_pasid_init(struct pci_dev *pdev) argument 362 pci_enable_pasid(struct pci_dev *pdev, int features) argument 411 pci_disable_pasid(struct pci_dev *pdev) argument 436 pci_restore_pasid_state(struct pci_dev *pdev) argument 464 pci_pasid_features(struct pci_dev *pdev) argument 491 pci_max_pasids(struct pci_dev *pdev) argument [all...] |