Home
last modified time | relevance | path

Searched refs:pdev (Results 1 – 25 of 4252) sorted by relevance

12345678910>>...171

/Linux-v4.19/drivers/media/usb/pwc/
Dpwc-if.c120 static void pwc_isoc_cleanup(struct pwc_device *pdev);
159 static struct pwc_frame_buf *pwc_get_next_fill_buf(struct pwc_device *pdev) in pwc_get_next_fill_buf() argument
164 spin_lock_irqsave(&pdev->queued_bufs_lock, flags); in pwc_get_next_fill_buf()
165 if (list_empty(&pdev->queued_bufs)) in pwc_get_next_fill_buf()
168 buf = list_entry(pdev->queued_bufs.next, struct pwc_frame_buf, list); in pwc_get_next_fill_buf()
171 spin_unlock_irqrestore(&pdev->queued_bufs_lock, flags); in pwc_get_next_fill_buf()
175 static void pwc_snapshot_button(struct pwc_device *pdev, int down) in pwc_snapshot_button() argument
184 if (pdev->button_dev) { in pwc_snapshot_button()
185 input_report_key(pdev->button_dev, KEY_CAMERA, down); in pwc_snapshot_button()
186 input_sync(pdev->button_dev); in pwc_snapshot_button()
[all …]
Dpwc-ctrl.c107 static int recv_control_msg(struct pwc_device *pdev, in recv_control_msg() argument
112 rc = usb_control_msg(pdev->udev, usb_rcvctrlpipe(pdev->udev, 0), in recv_control_msg()
115 value, pdev->vcinterface, in recv_control_msg()
116 pdev->ctrl_buf, recv_count, USB_CTRL_GET_TIMEOUT); in recv_control_msg()
123 static inline int send_video_command(struct pwc_device *pdev, in send_video_command() argument
128 memcpy(pdev->ctrl_buf, buf, buflen); in send_video_command()
130 rc = usb_control_msg(pdev->udev, usb_sndctrlpipe(pdev->udev, 0), in send_video_command()
134 pdev->ctrl_buf, buflen, USB_CTRL_SET_TIMEOUT); in send_video_command()
136 memcpy(pdev->cmd_buf, buf, buflen); in send_video_command()
143 int send_control_msg(struct pwc_device *pdev, in send_control_msg() argument
[all …]
Dpwc-v4l.c162 int pwc_init_controls(struct pwc_device *pdev) in pwc_init_controls() argument
168 hdl = &pdev->ctrl_handler; in pwc_init_controls()
174 r = pwc_get_u8_ctrl(pdev, GET_LUM_CTL, BRIGHTNESS_FORMATTER, &def); in pwc_init_controls()
177 pdev->brightness = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls()
180 r = pwc_get_u8_ctrl(pdev, GET_LUM_CTL, CONTRAST_FORMATTER, &def); in pwc_init_controls()
183 pdev->contrast = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls()
186 if (pdev->type >= 675) { in pwc_init_controls()
187 if (pdev->type < 730) in pwc_init_controls()
188 pdev->saturation_fmt = SATURATION_MODE_FORMATTER2; in pwc_init_controls()
190 pdev->saturation_fmt = SATURATION_MODE_FORMATTER1; in pwc_init_controls()
[all …]
Dpwc-misc.c41 int pwc_get_size(struct pwc_device *pdev, int width, int height) in pwc_get_size() argument
48 if (!(pdev->image_mask & (1 << i))) in pwc_get_size()
58 if (pdev->image_mask & (1 << i)) in pwc_get_size()
67 void pwc_construct(struct pwc_device *pdev) in pwc_construct() argument
69 if (DEVICE_USE_CODEC1(pdev->type)) { in pwc_construct()
71 pdev->image_mask = 1 << PSZ_SQCIF | 1 << PSZ_QCIF | 1 << PSZ_CIF; in pwc_construct()
72 pdev->vcinterface = 2; in pwc_construct()
73 pdev->vendpoint = 4; in pwc_construct()
74 pdev->frame_header_size = 0; in pwc_construct()
75 pdev->frame_trailer_size = 0; in pwc_construct()
[all …]
/Linux-v4.19/arch/mips/pci/
Dfixup-fuloong2e.c51 static void loongson2e_nec_fixup(struct pci_dev *pdev) in loongson2e_nec_fixup() argument
56 pci_read_config_dword(pdev, 0xe0, &val); in loongson2e_nec_fixup()
57 pci_write_config_dword(pdev, 0xe0, (val & ~7) | 0x4); in loongson2e_nec_fixup()
60 pci_write_config_dword(pdev, 0xe4, 1 << 5); in loongson2e_nec_fixup()
63 static void loongson2e_686b_func0_fixup(struct pci_dev *pdev) in loongson2e_686b_func0_fixup() argument
67 sb_slot = PCI_SLOT(pdev->devfn); in loongson2e_686b_func0_fixup()
72 pci_write_config_byte(pdev, 0x40, 0x08); in loongson2e_686b_func0_fixup()
75 pci_write_config_byte(pdev, 0x41, 0x01); in loongson2e_686b_func0_fixup()
78 pci_write_config_byte(pdev, 0x45, 0x00); in loongson2e_686b_func0_fixup()
81 pci_write_config_byte(pdev, 0x46, 0xe0); in loongson2e_686b_func0_fixup()
[all …]
/Linux-v4.19/drivers/xen/xen-pciback/
Dxenbus.c39 struct xen_pcibk_device *pdev; in alloc_pdev() local
41 pdev = kzalloc(sizeof(struct xen_pcibk_device), GFP_KERNEL); in alloc_pdev()
42 if (pdev == NULL) in alloc_pdev()
44 dev_dbg(&xdev->dev, "allocated pdev @ 0x%p\n", pdev); in alloc_pdev()
46 pdev->xdev = xdev; in alloc_pdev()
48 mutex_init(&pdev->dev_lock); in alloc_pdev()
50 pdev->sh_info = NULL; in alloc_pdev()
51 pdev->evtchn_irq = INVALID_EVTCHN_IRQ; in alloc_pdev()
52 pdev->be_watching = 0; in alloc_pdev()
54 INIT_WORK(&pdev->op_work, xen_pcibk_do_op); in alloc_pdev()
[all …]
/Linux-v4.19/drivers/pci/
Dxen-pcifront.c58 struct pcifront_device *pdev; member
64 return sd->pdev; in pcifront_get_pdev()
69 struct pcifront_device *pdev) in pcifront_init_sd() argument
74 sd->pdev = pdev; in pcifront_init_sd()
105 static inline void schedule_pcifront_aer_op(struct pcifront_device *pdev) in schedule_pcifront_aer_op() argument
107 if (test_bit(_XEN_PCIB_active, (unsigned long *)&pdev->sh_info->flags) in schedule_pcifront_aer_op()
108 && !test_and_set_bit(_PDEVB_op_active, &pdev->flags)) { in schedule_pcifront_aer_op()
109 dev_dbg(&pdev->xdev->dev, "schedule aer frontend job\n"); in schedule_pcifront_aer_op()
110 schedule_work(&pdev->op_work); in schedule_pcifront_aer_op()
114 static int do_pci_op(struct pcifront_device *pdev, struct xen_pci_op *op) in do_pci_op() argument
[all …]
Dats.c43 struct pci_dev *pdev; in pci_enable_ats() local
60 pdev = pci_physfn(dev); in pci_enable_ats()
61 if (pdev->ats_stu != ps) in pci_enable_ats()
64 atomic_inc(&pdev->ats_ref_cnt); /* count enabled VFs */ in pci_enable_ats()
82 struct pci_dev *pdev; in pci_disable_ats() local
92 pdev = pci_physfn(dev); in pci_disable_ats()
93 atomic_dec(&pdev->ats_ref_cnt); in pci_disable_ats()
152 int pci_enable_pri(struct pci_dev *pdev, u32 reqs) in pci_enable_pri() argument
158 if (WARN_ON(pdev->pri_enabled)) in pci_enable_pri()
161 pos = pci_find_ext_capability(pdev, PCI_EXT_CAP_ID_PRI); in pci_enable_pri()
[all …]
Drom.c24 int pci_enable_rom(struct pci_dev *pdev) in pci_enable_rom() argument
26 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_enable_rom()
42 pcibios_resource_to_bus(pdev->bus, &region, res); in pci_enable_rom()
43 pci_read_config_dword(pdev, pdev->rom_base_reg, &rom_addr); in pci_enable_rom()
46 pci_write_config_dword(pdev, pdev->rom_base_reg, rom_addr); in pci_enable_rom()
58 void pci_disable_rom(struct pci_dev *pdev) in pci_disable_rom() argument
60 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_disable_rom()
66 pci_read_config_dword(pdev, pdev->rom_base_reg, &rom_addr); in pci_disable_rom()
68 pci_write_config_dword(pdev, pdev->rom_base_reg, rom_addr); in pci_disable_rom()
83 static size_t pci_get_rom_size(struct pci_dev *pdev, void __iomem *rom, in pci_get_rom_size() argument
[all …]
/Linux-v4.19/drivers/w1/masters/
Dds2482.c106 struct ds2482_data *pdev; member
146 static inline int ds2482_select_register(struct ds2482_data *pdev, u8 read_ptr) in ds2482_select_register() argument
148 if (pdev->read_prt != read_ptr) { in ds2482_select_register()
149 if (i2c_smbus_write_byte_data(pdev->client, in ds2482_select_register()
154 pdev->read_prt = read_ptr; in ds2482_select_register()
167 static inline int ds2482_send_cmd(struct ds2482_data *pdev, u8 cmd) in ds2482_send_cmd() argument
169 if (i2c_smbus_write_byte(pdev->client, cmd) < 0) in ds2482_send_cmd()
172 pdev->read_prt = DS2482_PTR_CODE_STATUS; in ds2482_send_cmd()
186 static inline int ds2482_send_cmd_data(struct ds2482_data *pdev, in ds2482_send_cmd_data() argument
189 if (i2c_smbus_write_byte_data(pdev->client, cmd, byte) < 0) in ds2482_send_cmd_data()
[all …]
/Linux-v4.19/arch/m68k/amiga/
Dplatform.c51 struct platform_device *pdev; in amiga_init_bus() local
58 pdev = platform_device_register_simple("amiga-zorro", -1, in amiga_init_bus()
60 return PTR_ERR_OR_ZERO(pdev); in amiga_init_bus()
136 struct platform_device *pdev; in amiga_init_devices() local
144 pdev = platform_device_register_simple("amiga-video", -1, NULL, in amiga_init_devices()
146 if (IS_ERR(pdev)) in amiga_init_devices()
147 return PTR_ERR(pdev); in amiga_init_devices()
153 pdev = platform_device_register_simple("amiga-audio", -1, NULL, in amiga_init_devices()
155 if (IS_ERR(pdev)) in amiga_init_devices()
156 return PTR_ERR(pdev); in amiga_init_devices()
[all …]
/Linux-v4.19/drivers/misc/mei/
Dpci-txe.c63 static int mei_txe_probe(struct pci_dev *pdev, const struct pci_device_id *ent) in mei_txe_probe() argument
71 err = pcim_enable_device(pdev); in mei_txe_probe()
73 dev_err(&pdev->dev, "failed to enable pci device.\n"); in mei_txe_probe()
77 pci_set_master(pdev); in mei_txe_probe()
79 err = pcim_iomap_regions(pdev, mask, KBUILD_MODNAME); in mei_txe_probe()
81 dev_err(&pdev->dev, "failed to get pci regions.\n"); in mei_txe_probe()
85 err = pci_set_dma_mask(pdev, DMA_BIT_MASK(36)); in mei_txe_probe()
87 err = pci_set_dma_mask(pdev, DMA_BIT_MASK(32)); in mei_txe_probe()
89 dev_err(&pdev->dev, "No suitable DMA available.\n"); in mei_txe_probe()
95 dev = mei_txe_dev_init(pdev); in mei_txe_probe()
[all …]
Dpci-me.c128 static bool mei_me_quirk_probe(struct pci_dev *pdev, in mei_me_quirk_probe() argument
131 if (cfg->quirk_probe && cfg->quirk_probe(pdev)) { in mei_me_quirk_probe()
132 dev_info(&pdev->dev, "Device doesn't have valid ME Interface\n"); in mei_me_quirk_probe()
147 static int mei_me_probe(struct pci_dev *pdev, const struct pci_device_id *ent) in mei_me_probe() argument
159 if (!mei_me_quirk_probe(pdev, cfg)) in mei_me_probe()
163 err = pcim_enable_device(pdev); in mei_me_probe()
165 dev_err(&pdev->dev, "failed to enable pci device.\n"); in mei_me_probe()
169 pci_set_master(pdev); in mei_me_probe()
171 err = pcim_iomap_regions(pdev, BIT(0), KBUILD_MODNAME); in mei_me_probe()
173 dev_err(&pdev->dev, "failed to get pci regions.\n"); in mei_me_probe()
[all …]
/Linux-v4.19/drivers/misc/eeprom/
Didt_89hpesx.c291 static int idt_smb_write_byte(struct idt_89hpesx_dev *pdev, in idt_smb_write_byte() argument
308 sts = idt_smb_safe(write_byte, pdev->client, ccode, in idt_smb_write_byte()
323 static int idt_smb_read_byte(struct idt_89hpesx_dev *pdev, in idt_smb_read_byte() argument
340 sts = idt_smb_safe(read_byte, pdev->client, ccode); in idt_smb_read_byte()
356 static int idt_smb_write_word(struct idt_89hpesx_dev *pdev, in idt_smb_write_word() argument
376 sts = idt_smb_safe(write_word, pdev->client, ccode, in idt_smb_write_word()
390 sts = idt_smb_safe(write_byte, pdev->client, ccode, in idt_smb_write_word()
405 static int idt_smb_read_word(struct idt_89hpesx_dev *pdev, in idt_smb_read_word() argument
425 sts = idt_smb_safe(read_word, pdev->client, ccode); in idt_smb_read_word()
440 sts = idt_smb_safe(read_byte, pdev->client, ccode); in idt_smb_read_word()
[all …]
/Linux-v4.19/drivers/usb/host/
Dxhci-pci.c62 static int xhci_pci_reinit(struct xhci_hcd *xhci, struct pci_dev *pdev) in xhci_pci_reinit() argument
71 if (!pci_set_mwi(pdev)) in xhci_pci_reinit()
80 struct pci_dev *pdev = to_pci_dev(dev); in xhci_pci_quirks() local
83 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks()
84 (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK || in xhci_pci_quirks()
85 pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_FL1400)) { in xhci_pci_quirks()
86 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK && in xhci_pci_quirks()
87 pdev->revision == 0x0) { in xhci_pci_quirks()
93 if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK && in xhci_pci_quirks()
94 pdev->revision == 0x4) { in xhci_pci_quirks()
[all …]
Dehci-pci.c26 static inline bool is_intel_quark_x1000(struct pci_dev *pdev) in is_intel_quark_x1000() argument
28 return pdev->vendor == PCI_VENDOR_ID_INTEL && in is_intel_quark_x1000()
29 pdev->device == PCI_DEVICE_ID_INTEL_QUARK_X1000_SOC; in is_intel_quark_x1000()
45 static inline bool is_bypassed_id(struct pci_dev *pdev) in is_bypassed_id() argument
47 return !!pci_match_id(bypass_pci_id_table, pdev); in is_bypassed_id()
60 static int ehci_pci_reinit(struct ehci_hcd *ehci, struct pci_dev *pdev) in ehci_pci_reinit() argument
69 retval = pci_set_mwi(pdev); in ehci_pci_reinit()
74 if (is_intel_quark_x1000(pdev)) { in ehci_pci_reinit()
90 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ehci_pci_setup() local
105 switch (pdev->vendor) { in ehci_pci_setup()
[all …]
/Linux-v4.19/drivers/mmc/host/
Dsdhci-pci-o2micro.c141 pci_read_config_dword(chip->pdev, in o2_pci_set_baseclk()
147 pci_write_config_dword(chip->pdev, in o2_pci_set_baseclk()
157 ret = pci_read_config_dword(chip->pdev, in o2_pci_led_enable()
163 pci_write_config_dword(chip->pdev, in o2_pci_led_enable()
166 ret = pci_read_config_dword(chip->pdev, in o2_pci_led_enable()
172 pci_write_config_dword(chip->pdev, in o2_pci_led_enable()
182 ret = pci_read_config_dword(chip->pdev, O2_SD_DEV_CTRL, &scratch_32); in sdhci_pci_o2_fujin2_pci_init()
186 pci_write_config_dword(chip->pdev, O2_SD_DEV_CTRL, scratch_32); in sdhci_pci_o2_fujin2_pci_init()
189 ret = pci_read_config_dword(chip->pdev, O2_SD_MISC_REG5, &scratch_32); in sdhci_pci_o2_fujin2_pci_init()
194 pci_write_config_dword(chip->pdev, O2_SD_MISC_REG5, scratch_32); in sdhci_pci_o2_fujin2_pci_init()
[all …]
/Linux-v4.19/arch/powerpc/kernel/
Deeh_sysfs.c43 struct pci_dev *pdev = to_pci_dev(dev); \
44 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); \
59 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_show() local
60 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_show()
75 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_store() local
76 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_store()
97 struct pci_dev *pdev = to_pci_dev(dev); in eeh_notify_resume_show() local
98 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_notify_resume_show()
99 struct pci_dn *pdn = pci_get_pdn(pdev); in eeh_notify_resume_show()
104 pdn = pci_get_pdn(pdev); in eeh_notify_resume_show()
[all …]
/Linux-v4.19/drivers/ata/
Dpata_sil680.c86 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sil680_cable_detect() local
89 pci_read_config_byte(pdev, addr, &ata66); in sil680_cable_detect()
118 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sil680_set_piomode() local
130 pci_write_config_word(pdev, addr, speed_p[pio]); in sil680_set_piomode()
131 pci_write_config_word(pdev, tfaddr, speed_t[lowest_pio]); in sil680_set_piomode()
133 pci_read_config_word(pdev, tfaddr-2, &reg); in sil680_set_piomode()
134 pci_read_config_byte(pdev, addr_mask, &mode); in sil680_set_piomode()
143 pci_write_config_word(pdev, tfaddr-2, reg); in sil680_set_piomode()
144 pci_write_config_byte(pdev, addr_mask, mode); in sil680_set_piomode()
166 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sil680_set_dmamode() local
[all …]
/Linux-v4.19/arch/x86/pci/
Dsta2x11-fixup.c62 static void sta2x11_new_instance(struct pci_dev *pdev) in sta2x11_new_instance() argument
70 instance->bus0 = pdev->subordinate->number + 1; in sta2x11_new_instance()
75 dev_info(&pdev->dev, "Using SWIOTLB (size %i)\n", size); in sta2x11_new_instance()
77 dev_emerg(&pdev->dev, "init swiotlb failed\n"); in sta2x11_new_instance()
86 static struct sta2x11_instance *sta2x11_pdev_to_instance(struct pci_dev *pdev) in sta2x11_pdev_to_instance() argument
92 ep = pdev->bus->number - instance->bus0; in sta2x11_pdev_to_instance()
99 static int sta2x11_pdev_to_ep(struct pci_dev *pdev) in sta2x11_pdev_to_ep() argument
103 instance = sta2x11_pdev_to_instance(pdev); in sta2x11_pdev_to_ep()
107 return pdev->bus->number - instance->bus0; in sta2x11_pdev_to_ep()
110 static struct sta2x11_mapping *sta2x11_pdev_to_mapping(struct pci_dev *pdev) in sta2x11_pdev_to_mapping() argument
[all …]
/Linux-v4.19/arch/arm/mach-omap2/
Domap_device.c58 dev_dbg(&od->pdev->dev, "Creating %s -> %s\n", clk_alias, clk_name); in _add_clkdev()
60 r = clk_get_sys(dev_name(&od->pdev->dev), clk_alias); in _add_clkdev()
62 dev_dbg(&od->pdev->dev, in _add_clkdev()
78 dev_name(&od->pdev->dev)); in _add_clkdev()
80 rc = clk_add_alias(clk_alias, dev_name(&od->pdev->dev), in _add_clkdev()
86 dev_err(&od->pdev->dev, in _add_clkdev()
89 dev_err(&od->pdev->dev, in _add_clkdev()
137 static int omap_device_build_from_dt(struct platform_device *pdev) in omap_device_build_from_dt() argument
142 struct device_node *node = pdev->dev.of_node; in omap_device_build_from_dt()
150 dev_dbg(&pdev->dev, "No 'hwmods' to build omap_device\n"); in omap_device_build_from_dt()
[all …]
/Linux-v4.19/include/linux/ssb/
Dssb_driver_gige.h55 extern bool pdev_is_ssb_gige_core(struct pci_dev *pdev);
58 static inline struct ssb_gige * pdev_to_ssb_gige(struct pci_dev *pdev) in pdev_to_ssb_gige() argument
60 if (!pdev_is_ssb_gige_core(pdev)) in pdev_to_ssb_gige()
62 return container_of(pdev->bus->ops, struct ssb_gige, pci_ops); in pdev_to_ssb_gige()
66 static inline bool ssb_gige_is_rgmii(struct pci_dev *pdev) in ssb_gige_is_rgmii() argument
68 struct ssb_gige *dev = pdev_to_ssb_gige(pdev); in ssb_gige_is_rgmii()
73 static inline bool ssb_gige_have_roboswitch(struct pci_dev *pdev) in ssb_gige_have_roboswitch() argument
75 struct ssb_gige *dev = pdev_to_ssb_gige(pdev); in ssb_gige_have_roboswitch()
83 static inline bool ssb_gige_one_dma_at_once(struct pci_dev *pdev) in ssb_gige_one_dma_at_once() argument
85 struct ssb_gige *dev = pdev_to_ssb_gige(pdev); in ssb_gige_one_dma_at_once()
[all …]
/Linux-v4.19/drivers/media/pci/mantis/
Dmantis_pci.c53 struct pci_dev *pdev = mantis->pdev; in mantis_pci_init() local
59 mantis->pdev->bus->number, in mantis_pci_init()
60 PCI_SLOT(mantis->pdev->devfn), in mantis_pci_init()
61 PCI_FUNC(mantis->pdev->devfn)); in mantis_pci_init()
63 err = pci_enable_device(pdev); in mantis_pci_init()
70 err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32)); in mantis_pci_init()
77 pci_set_master(pdev); in mantis_pci_init()
79 if (!request_mem_region(pci_resource_start(pdev, 0), in mantis_pci_init()
80 pci_resource_len(pdev, 0), in mantis_pci_init()
88 mantis->mmio = ioremap(pci_resource_start(pdev, 0), in mantis_pci_init()
[all …]
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_debugfs.c23 dev_info(&pf->pdev->dev, "%d: bad seid\n", seid); in i40e_dbg_find_vsi()
118 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
122 dev_info(&pf->pdev->dev, "vsi seid %d\n", seid); in i40e_dbg_dump_vsi_seid()
126 dev_info(&pf->pdev->dev, " netdev: name = %s, state = %lu, flags = 0x%08x\n", in i40e_dbg_dump_vsi_seid()
128 dev_info(&pf->pdev->dev, " features = 0x%08lx\n", in i40e_dbg_dump_vsi_seid()
130 dev_info(&pf->pdev->dev, " hw_features = 0x%08lx\n", in i40e_dbg_dump_vsi_seid()
132 dev_info(&pf->pdev->dev, " vlan_features = 0x%08lx\n", in i40e_dbg_dump_vsi_seid()
135 dev_info(&pf->pdev->dev, " active_vlans is %s\n", in i40e_dbg_dump_vsi_seid()
137 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
141 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
[all …]
/Linux-v4.19/drivers/misc/cb710/
Dcore.c20 void cb710_pci_update_config_reg(struct pci_dev *pdev, in cb710_pci_update_config_reg() argument
25 pci_read_config_dword(pdev, reg, &rval); in cb710_pci_update_config_reg()
27 pci_write_config_dword(pdev, reg, rval); in cb710_pci_update_config_reg()
32 static int cb710_pci_configure(struct pci_dev *pdev) in cb710_pci_configure() argument
34 unsigned int devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0); in cb710_pci_configure()
38 cb710_pci_update_config_reg(pdev, 0x48, in cb710_pci_configure()
41 pci_read_config_dword(pdev, 0x48, &val); in cb710_pci_configure()
45 pdev0 = pci_get_slot(pdev->bus, devfn); in cb710_pci_configure()
115 slot->pdev.name = name; in cb710_register_slot()
116 slot->pdev.id = chip->platform_id; in cb710_register_slot()
[all …]

12345678910>>...171