Home
last modified time | relevance | path

Searched refs:dev (Results 2626 - 2650 of 38041) sorted by relevance

1...<<101102103104105106107108109110>>...1522

/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_client.c37 struct drm_device *dev = client->dev; in drm_client_open() local
40 file = drm_file_alloc(dev->primary); in drm_client_open()
44 mutex_lock(&dev->filelist_mutex); in drm_client_open()
45 list_add(&file->lhead, &dev->filelist_internal); in drm_client_open()
46 mutex_unlock(&dev->filelist_mutex); in drm_client_open()
55 struct drm_device *dev = client->dev; in drm_client_close() local
57 mutex_lock(&dev->filelist_mutex); in drm_client_close()
59 mutex_unlock(&dev in drm_client_close()
79 drm_client_init(struct drm_device *dev, struct drm_client_dev *client, const char *name, const struct drm_client_funcs *funcs) drm_client_init() argument
132 struct drm_device *dev = client->dev; drm_client_register() local
173 struct drm_device *dev = client->dev; drm_client_release() local
185 drm_client_dev_unregister(struct drm_device *dev) drm_client_dev_unregister() argument
214 drm_client_dev_hotplug(struct drm_device *dev) drm_client_dev_hotplug() argument
244 drm_client_dev_restore(struct drm_device *dev) drm_client_dev_restore() argument
281 struct drm_device *dev = client->dev; drm_client_buffer_create() local
522 struct drm_device *dev = entry->dev; drm_client_debugfs_internal_clients() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wan/
H A Dsdla.c76 #define SDLA_WINDOW(dev,addr) outb((((addr) >> 13) & 0x1F), (dev)->base_addr + SDLA_REG_Z80_WINDOW)
78 static void __sdla_read(struct net_device *dev, int addr, void *buf, short len) in __sdla_read() argument
89 base = (const void *) (dev->mem_start + offset); in __sdla_read()
91 SDLA_WINDOW(dev, addr); in __sdla_read()
100 static void sdla_read(struct net_device *dev, int addr, void *buf, short len) in sdla_read() argument
104 __sdla_read(dev, addr, buf, len); in sdla_read()
108 static void __sdla_write(struct net_device *dev, int addr, in __sdla_write() argument
120 base = (void *) (dev->mem_start + offset); in __sdla_write()
122 SDLA_WINDOW(dev, add in __sdla_write()
131 sdla_write(struct net_device *dev, int addr, const void *buf, short len) sdla_write() argument
142 sdla_clear(struct net_device *dev) sdla_clear() argument
166 sdla_byte(struct net_device *dev, int addr) sdla_byte() argument
181 sdla_stop(struct net_device *dev) sdla_stop() argument
208 sdla_start(struct net_device *dev) sdla_start() argument
246 sdla_z80_poll(struct net_device *dev, int z80_addr, int jiffs, char resp1, char resp2) sdla_z80_poll() argument
276 sdla_cpuspeed(struct net_device *dev, struct ifreq *ifr) sdla_cpuspeed() argument
338 sdla_errors(struct net_device *dev, int cmd, int dlci, int ret, int len, void *data) sdla_errors() argument
426 sdla_cmd(struct net_device *dev, int cmd, short dlci, short flags, void *inbuf, short inlen, void *outbuf, short *outlen) sdla_cmd() argument
656 sdla_transmit(struct sk_buff *skb, struct net_device *dev) sdla_transmit() argument
748 sdla_receive(struct net_device *dev) sdla_receive() argument
878 struct net_device *dev; sdla_isr() local
930 struct net_device *dev = flp->dev; sdla_poll() local
939 sdla_close(struct net_device *dev) sdla_close() argument
998 sdla_open(struct net_device *dev) sdla_open() argument
1094 sdla_config(struct net_device *dev, struct frad_conf __user *conf, int get) sdla_config() argument
1192 sdla_xfer(struct net_device *dev, struct sdla_mem __user *info, int read) sdla_xfer() argument
1224 sdla_reconfig(struct net_device *dev) sdla_reconfig() argument
1248 sdla_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) sdla_ioctl() argument
1317 sdla_change_mtu(struct net_device *dev, int new_mtu) sdla_change_mtu() argument
1326 sdla_set_config(struct net_device *dev, struct ifmap *map) sdla_set_config() argument
1595 setup_sdla(struct net_device *dev) setup_sdla() argument
[all...]
/kernel/linux/linux-5.10/drivers/fpga/
H A Ddfl-fme-error.c42 static ssize_t pcie0_errors_show(struct device *dev, in pcie0_errors_show() argument
45 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in pcie0_errors_show()
49 base = dfl_get_feature_ioaddr_by_id(dev, FME_FEATURE_ID_GLOBAL_ERR); in pcie0_errors_show()
58 static ssize_t pcie0_errors_store(struct device *dev, in pcie0_errors_store() argument
62 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in pcie0_errors_store()
70 base = dfl_get_feature_ioaddr_by_id(dev, FME_FEATURE_ID_GLOBAL_ERR); in pcie0_errors_store()
87 static ssize_t pcie1_errors_show(struct device *dev, in pcie1_errors_show() argument
90 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in pcie1_errors_show()
94 base = dfl_get_feature_ioaddr_by_id(dev, FME_FEATURE_ID_GLOBAL_ERR); in pcie1_errors_show()
103 static ssize_t pcie1_errors_store(struct device *dev, in pcie1_errors_store() argument
132 nonfatal_errors_show(struct device *dev, struct device_attribute *attr, char *buf) nonfatal_errors_show() argument
144 catfatal_errors_show(struct device *dev, struct device_attribute *attr, char *buf) catfatal_errors_show() argument
156 inject_errors_show(struct device *dev, struct device_attribute *attr, char *buf) inject_errors_show() argument
173 inject_errors_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) inject_errors_store() argument
201 fme_errors_show(struct device *dev, struct device_attribute *attr, char *buf) fme_errors_show() argument
217 fme_errors_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) fme_errors_store() argument
248 first_error_show(struct device *dev, struct device_attribute *attr, char *buf) first_error_show() argument
265 next_error_show(struct device *dev, struct device_attribute *attr, char *buf) next_error_show() argument
297 struct device *dev = kobj_to_dev(kobj); fme_global_err_attrs_visible() local
315 fme_err_mask(struct device *dev, bool mask) fme_err_mask() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/
H A Dip22-gio.c31 static void gio_bus_release(struct device *dev) in gio_bus_release() argument
33 kfree(dev); in gio_bus_release()
45 * @dev: the of device structure to match against
52 const struct gio_device *dev) in gio_match_device()
57 if (ids->id == dev->id.id) in gio_match_device()
63 struct gio_device *gio_dev_get(struct gio_device *dev) in gio_dev_get() argument
67 if (!dev) in gio_dev_get()
69 tmp = get_device(&dev->dev); in gio_dev_get()
77 void gio_dev_put(struct gio_device *dev) in gio_dev_put() argument
51 gio_match_device(const struct gio_device_id *match, const struct gio_device *dev) gio_match_device() argument
91 gio_release_dev(struct device *dev) gio_release_dev() argument
114 gio_bus_match(struct device *dev, struct device_driver *drv) gio_bus_match() argument
122 gio_device_probe(struct device *dev) gio_device_probe() argument
146 gio_device_remove(struct device *dev) gio_device_remove() argument
156 gio_device_shutdown(struct device *dev) gio_device_shutdown() argument
165 modalias_show(struct device *dev, struct device_attribute *a, char *buf) modalias_show() argument
175 name_show(struct device *dev, struct device_attribute *attr, char *buf) name_show() argument
185 id_show(struct device *dev, struct device_attribute *attr, char *buf) id_show() argument
203 gio_device_uevent(struct device *dev, struct kobj_uevent_env *env) gio_device_uevent() argument
231 gio_set_master(struct gio_device *dev) gio_set_master() argument
[all...]
/kernel/linux/linux-5.10/drivers/mux/
H A Dcore.c50 static void mux_chip_release(struct device *dev) in mux_chip_release() argument
52 struct mux_chip *mux_chip = to_mux_chip(dev); in mux_chip_release()
65 * @dev: The parent device implementing the mux interface.
79 struct mux_chip *mux_chip_alloc(struct device *dev, in mux_chip_alloc() argument
85 if (WARN_ON(!dev || !controllers)) in mux_chip_alloc()
95 mux_chip->dev.class = &mux_class; in mux_chip_alloc()
96 mux_chip->dev.type = &mux_type; in mux_chip_alloc()
97 mux_chip->dev.parent = dev; in mux_chip_alloc()
98 mux_chip->dev in mux_chip_alloc()
202 devm_mux_chip_release(struct device *dev, void *res) devm_mux_chip_release() argument
219 devm_mux_chip_alloc(struct device *dev, unsigned int controllers, size_t sizeof_priv) devm_mux_chip_alloc() argument
242 devm_mux_chip_reg_release(struct device *dev, void *res) devm_mux_chip_reg_release() argument
258 devm_mux_chip_register(struct device *dev, struct mux_chip *mux_chip) devm_mux_chip_register() argument
411 struct device *dev; of_find_mux_chip_by_node() local
425 mux_control_get(struct device *dev, const char *mux_name) mux_control_get() argument
493 devm_mux_control_release(struct device *dev, void *res) devm_mux_control_release() argument
508 devm_mux_control_get(struct device *dev, const char *mux_name) devm_mux_control_get() argument
[all...]
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
H A Dcoresight-funnel.c80 struct funnel_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in funnel_enable()
96 dev_dbg(&csdev->dev, "FUNNEL inport %d enabled\n", inport); in funnel_enable()
121 struct funnel_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in funnel_disable()
134 dev_dbg(&csdev->dev, "FUNNEL inport %d disabled\n", inport); in funnel_disable()
146 static ssize_t priority_show(struct device *dev, in priority_show() argument
149 struct funnel_drvdata *drvdata = dev_get_drvdata(dev->parent); in priority_show()
155 static ssize_t priority_store(struct device *dev, in priority_store() argument
161 struct funnel_drvdata *drvdata = dev_get_drvdata(dev->parent); in priority_store()
183 static ssize_t funnel_ctrl_show(struct device *dev, in funnel_ctrl_show() argument
187 struct funnel_drvdata *drvdata = dev_get_drvdata(dev in funnel_ctrl_show()
206 funnel_probe(struct device *dev, struct resource *res) funnel_probe() argument
277 funnel_remove(struct device *dev) funnel_remove() argument
287 funnel_runtime_suspend(struct device *dev) funnel_runtime_suspend() argument
297 funnel_runtime_resume(struct device *dev) funnel_runtime_resume() argument
[all...]
/kernel/linux/linux-5.10/drivers/video/backlight/
H A Dlm3533_bl.c64 static ssize_t show_id(struct device *dev, in show_id() argument
67 struct lm3533_bl *bl = dev_get_drvdata(dev); in show_id()
72 static ssize_t show_als_channel(struct device *dev, in show_als_channel() argument
75 struct lm3533_bl *bl = dev_get_drvdata(dev); in show_als_channel()
81 static ssize_t show_als_en(struct device *dev, in show_als_en() argument
84 struct lm3533_bl *bl = dev_get_drvdata(dev); in show_als_en()
101 static ssize_t store_als_en(struct device *dev, in store_als_en() argument
105 struct lm3533_bl *bl = dev_get_drvdata(dev); in store_als_en()
130 static ssize_t show_linear(struct device *dev, in show_linear() argument
133 struct lm3533_bl *bl = dev_get_drvdata(dev); in show_linear()
153 store_linear(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_linear() argument
181 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) show_pwm() argument
196 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_pwm() argument
232 struct device *dev = kobj_to_dev(kobj); lm3533_bl_attr_is_visible() local
357 lm3533_bl_suspend(struct device *dev) lm3533_bl_suspend() argument
366 lm3533_bl_resume(struct device *dev) lm3533_bl_resume() argument
[all...]
/kernel/linux/linux-5.10/drivers/mfd/
H A Dadp5520.c34 struct device *dev; member
49 dev_err(&client->dev, "failed reading at 0x%02x\n", reg); in __adp5520_read()
64 dev_err(&client->dev, "failed writing 0x%02x to 0x%02x\n", in __adp5520_write()
91 int adp5520_write(struct device *dev, int reg, uint8_t val) in adp5520_write() argument
93 return __adp5520_write(to_i2c_client(dev), reg, val); in adp5520_write()
97 int adp5520_read(struct device *dev, int reg, uint8_t *val) in adp5520_read() argument
99 return __adp5520_read(to_i2c_client(dev), reg, val); in adp5520_read()
103 int adp5520_set_bits(struct device *dev, int reg, uint8_t bit_mask) in adp5520_set_bits() argument
105 struct adp5520_chip *chip = dev_get_drvdata(dev); in adp5520_set_bits()
123 int adp5520_clr_bits(struct device *dev, in argument
143 adp5520_register_notifier(struct device *dev, struct notifier_block *nb, unsigned int events) adp5520_register_notifier() argument
161 adp5520_unregister_notifier(struct device *dev, struct notifier_block *nb, unsigned int events) adp5520_unregister_notifier() argument
196 __remove_subdev(struct device *dev, void *unused) __remove_subdev() argument
309 adp5520_suspend(struct device *dev) adp5520_suspend() argument
321 adp5520_resume(struct device *dev) adp5520_resume() argument
[all...]
/kernel/linux/linux-5.10/drivers/pci/pcie/
H A Dpme.c50 * @dev: PCIe root port or event collector.
53 void pcie_pme_interrupt_enable(struct pci_dev *dev, bool enable) in pcie_pme_interrupt_enable() argument
56 pcie_capability_set_word(dev, PCI_EXP_RTCTL, in pcie_pme_interrupt_enable()
59 pcie_capability_clear_word(dev, PCI_EXP_RTCTL, in pcie_pme_interrupt_enable()
71 struct pci_dev *dev; in pcie_pme_walk_bus() local
74 list_for_each_entry(dev, &bus->devices, bus_list) { in pcie_pme_walk_bus()
76 if (!pci_is_pcie(dev) && pci_check_pme_status(dev)) { in pcie_pme_walk_bus()
77 if (dev->pme_poll) in pcie_pme_walk_bus()
78 dev in pcie_pme_walk_bus()
103 struct pci_dev *dev; pcie_pme_from_pci_bridge() local
133 struct pci_dev *dev; pcie_pme_handle_request() local
296 pcie_pme_can_wakeup(struct pci_dev *dev, void *ign) pcie_pme_can_wakeup() argument
355 struct pci_dev *dev; pcie_pme_check_wakeup() local
[all...]
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-wm831x.c110 dev_warn(wm831x->dev, "Failed to read RTC write counter: %d\n", in wm831x_rtc_add_randomness()
118 static int wm831x_rtc_readtime(struct device *dev, struct rtc_time *tm) in wm831x_rtc_readtime() argument
120 struct wm831x_rtc *wm831x_rtc = dev_get_drvdata(dev); in wm831x_rtc_readtime()
129 dev_err(dev, "Failed to read RTC control: %d\n", ret); in wm831x_rtc_readtime()
133 dev_dbg(dev, "RTC not yet configured\n"); in wm831x_rtc_readtime()
160 dev_err(dev, "Timed out reading current time\n"); in wm831x_rtc_readtime()
168 static int wm831x_rtc_settime(struct device *dev, struct rtc_time *tm) in wm831x_rtc_settime() argument
170 struct wm831x_rtc *wm831x_rtc = dev_get_drvdata(dev); in wm831x_rtc_settime()
182 dev_err(dev, "Failed to write TIME_1: %d\n", ret); in wm831x_rtc_settime()
188 dev_err(dev, "Faile in wm831x_rtc_settime()
230 wm831x_rtc_readalarm(struct device *dev, struct rtc_wkalrm *alrm) wm831x_rtc_readalarm() argument
278 wm831x_rtc_setalarm(struct device *dev, struct rtc_wkalrm *alrm) wm831x_rtc_setalarm() argument
317 wm831x_rtc_alarm_irq_enable(struct device *dev, unsigned int enabled) wm831x_rtc_alarm_irq_enable() argument
347 wm831x_rtc_suspend(struct device *dev) wm831x_rtc_suspend() argument
368 wm831x_rtc_resume(struct device *dev) wm831x_rtc_resume() argument
383 wm831x_rtc_freeze(struct device *dev) wm831x_rtc_freeze() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Daddi_apci_3501.c95 static int apci3501_wait_for_dac(struct comedi_device *dev) in apci3501_wait_for_dac() argument
100 status = inl(dev->iobase + APCI3501_AO_CTRL_STATUS_REG); in apci3501_wait_for_dac()
106 static int apci3501_ao_insn_write(struct comedi_device *dev, in apci3501_ao_insn_write() argument
124 outl(0, dev->iobase + APCI3501_AO_CTRL_STATUS_REG); in apci3501_ao_insn_write()
128 dev->iobase + APCI3501_AO_CTRL_STATUS_REG); in apci3501_ao_insn_write()
136 dev_err(dev->class_dev, in apci3501_ao_insn_write()
142 ret = apci3501_wait_for_dac(dev); in apci3501_ao_insn_write()
147 dev->iobase + APCI3501_AO_DATA_REG); in apci3501_ao_insn_write()
155 static int apci3501_di_insn_bits(struct comedi_device *dev, in apci3501_di_insn_bits() argument
160 data[1] = inl(dev in apci3501_di_insn_bits()
165 apci3501_do_insn_bits(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3501_do_insn_bits() argument
228 apci3501_eeprom_get_ao_n_chan(struct comedi_device *dev) apci3501_eeprom_get_ao_n_chan() argument
254 apci3501_eeprom_insn_read(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3501_eeprom_insn_read() argument
274 apci3501_reset(struct comedi_device *dev) apci3501_reset() argument
304 apci3501_auto_attach(struct comedi_device *dev, unsigned long context_unused) apci3501_auto_attach() argument
381 apci3501_detach(struct comedi_device *dev) apci3501_detach() argument
395 apci3501_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) apci3501_pci_probe() argument
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
H A Dadp5520.c34 struct device *dev; member
49 dev_err(&client->dev, "failed reading at 0x%02x\n", reg); in __adp5520_read()
64 dev_err(&client->dev, "failed writing 0x%02x to 0x%02x\n", in __adp5520_write()
91 int adp5520_write(struct device *dev, int reg, uint8_t val) in adp5520_write() argument
93 return __adp5520_write(to_i2c_client(dev), reg, val); in adp5520_write()
97 int adp5520_read(struct device *dev, int reg, uint8_t *val) in adp5520_read() argument
99 return __adp5520_read(to_i2c_client(dev), reg, val); in adp5520_read()
103 int adp5520_set_bits(struct device *dev, int reg, uint8_t bit_mask) in adp5520_set_bits() argument
105 struct adp5520_chip *chip = dev_get_drvdata(dev); in adp5520_set_bits()
123 int adp5520_clr_bits(struct device *dev, in argument
143 adp5520_register_notifier(struct device *dev, struct notifier_block *nb, unsigned int events) adp5520_register_notifier() argument
161 adp5520_unregister_notifier(struct device *dev, struct notifier_block *nb, unsigned int events) adp5520_unregister_notifier() argument
196 __remove_subdev(struct device *dev, void *unused) __remove_subdev() argument
308 adp5520_suspend(struct device *dev) adp5520_suspend() argument
320 adp5520_resume(struct device *dev) adp5520_resume() argument
[all...]
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_tmr.c106 struct se_device *dev, in core_tmr_abort_task()
117 for (i = 0; i < dev->queue_cnt; i++) { in core_tmr_abort_task()
118 flush_work(&dev->queues[i].sq.work); in core_tmr_abort_task()
120 spin_lock_irqsave(&dev->queues[i].lock, flags); in core_tmr_abort_task()
121 list_for_each_entry_safe(se_cmd, next, &dev->queues[i].state_list, in core_tmr_abort_task()
148 spin_unlock_irqrestore(&dev->queues[i].lock, flags); in core_tmr_abort_task()
150 if (dev->transport->tmr_notify) in core_tmr_abort_task()
151 dev->transport->tmr_notify(dev, TMR_ABORT_TASK, in core_tmr_abort_task()
160 atomic_long_inc(&dev in core_tmr_abort_task()
105 core_tmr_abort_task( struct se_device *dev, struct se_tmr_req *tmr, struct se_session *se_sess) core_tmr_abort_task() argument
175 core_tmr_drain_tmr_list( struct se_device *dev, struct se_tmr_req *tmr, struct list_head *preempt_and_abort_list) core_tmr_drain_tmr_list() argument
265 core_tmr_drain_state_list( struct se_device *dev, struct se_cmd *prout_cmd, struct se_session *tmr_sess, bool tas, struct list_head *preempt_and_abort_list) core_tmr_drain_state_list() argument
354 core_tmr_lun_reset( struct se_device *dev, struct se_tmr_req *tmr, struct list_head *preempt_and_abort_list, struct se_cmd *prout_cmd) core_tmr_lun_reset() argument
[all...]
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-wm831x.c110 dev_warn(wm831x->dev, "Failed to read RTC write counter: %d\n", in wm831x_rtc_add_randomness()
118 static int wm831x_rtc_readtime(struct device *dev, struct rtc_time *tm) in wm831x_rtc_readtime() argument
120 struct wm831x_rtc *wm831x_rtc = dev_get_drvdata(dev); in wm831x_rtc_readtime()
129 dev_err(dev, "Failed to read RTC control: %d\n", ret); in wm831x_rtc_readtime()
133 dev_dbg(dev, "RTC not yet configured\n"); in wm831x_rtc_readtime()
160 dev_err(dev, "Timed out reading current time\n"); in wm831x_rtc_readtime()
168 static int wm831x_rtc_settime(struct device *dev, struct rtc_time *tm) in wm831x_rtc_settime() argument
170 struct wm831x_rtc *wm831x_rtc = dev_get_drvdata(dev); in wm831x_rtc_settime()
182 dev_err(dev, "Failed to write TIME_1: %d\n", ret); in wm831x_rtc_settime()
188 dev_err(dev, "Faile in wm831x_rtc_settime()
230 wm831x_rtc_readalarm(struct device *dev, struct rtc_wkalrm *alrm) wm831x_rtc_readalarm() argument
278 wm831x_rtc_setalarm(struct device *dev, struct rtc_wkalrm *alrm) wm831x_rtc_setalarm() argument
317 wm831x_rtc_alarm_irq_enable(struct device *dev, unsigned int enabled) wm831x_rtc_alarm_irq_enable() argument
347 wm831x_rtc_suspend(struct device *dev) wm831x_rtc_suspend() argument
368 wm831x_rtc_resume(struct device *dev) wm831x_rtc_resume() argument
383 wm831x_rtc_freeze(struct device *dev) wm831x_rtc_freeze() argument
[all...]
/kernel/linux/linux-6.6/drivers/video/backlight/
H A Dlm3533_bl.c64 static ssize_t show_id(struct device *dev, in show_id() argument
67 struct lm3533_bl *bl = dev_get_drvdata(dev); in show_id()
72 static ssize_t show_als_channel(struct device *dev, in show_als_channel() argument
75 struct lm3533_bl *bl = dev_get_drvdata(dev); in show_als_channel()
81 static ssize_t show_als_en(struct device *dev, in show_als_en() argument
84 struct lm3533_bl *bl = dev_get_drvdata(dev); in show_als_en()
101 static ssize_t store_als_en(struct device *dev, in store_als_en() argument
105 struct lm3533_bl *bl = dev_get_drvdata(dev); in store_als_en()
130 static ssize_t show_linear(struct device *dev, in show_linear() argument
133 struct lm3533_bl *bl = dev_get_drvdata(dev); in show_linear()
153 store_linear(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_linear() argument
181 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) show_pwm() argument
196 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_pwm() argument
232 struct device *dev = kobj_to_dev(kobj); lm3533_bl_attr_is_visible() local
355 lm3533_bl_suspend(struct device *dev) lm3533_bl_suspend() argument
364 lm3533_bl_resume(struct device *dev) lm3533_bl_resume() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/common/
H A Dulpi.c25 return ulpi->ops->read(ulpi->dev.parent, addr); in ulpi_read()
31 return ulpi->ops->write(ulpi->dev.parent, addr, val); in ulpi_write()
37 static int ulpi_match(struct device *dev, struct device_driver *driver) in ulpi_match() argument
40 struct ulpi *ulpi = to_ulpi_dev(dev); in ulpi_match()
48 return of_driver_match_device(dev, driver); in ulpi_match()
58 static int ulpi_uevent(const struct device *dev, struct kobj_uevent_env *env) in ulpi_uevent() argument
60 const struct ulpi *ulpi = to_ulpi_dev(dev); in ulpi_uevent()
63 ret = of_device_uevent_modalias(dev, env); in ulpi_uevent()
73 static int ulpi_probe(struct device *dev) in ulpi_probe() argument
75 struct ulpi_driver *drv = to_ulpi_driver(dev in ulpi_probe()
85 ulpi_remove(struct device *dev) ulpi_remove() argument
103 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) modalias_show() argument
132 ulpi_dev_release(struct device *dev) ulpi_dev_release() argument
276 ulpi_register(struct device *dev, struct ulpi *ulpi) ulpi_register() argument
321 ulpi_register_interface(struct device *dev, const struct ulpi_ops *ops) ulpi_register_interface() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/misc/
H A Dusb3503.c46 struct device *dev; member
58 struct device *dev = hub->dev; in usb3503_connect() local
67 dev_err(dev, "SP_ILOCK failed (%d)\n", err); in usb3503_connect()
77 dev_err(dev, "PDS failed (%d)\n", err); in usb3503_connect()
87 dev_err(dev, "CFG1 failed (%d)\n", err); in usb3503_connect()
96 dev_err(dev, "SP_ILOCK failed (%d)\n", err); in usb3503_connect()
105 dev_info(dev, "switched to HUB mode\n"); in usb3503_connect()
112 struct device *dev = hub->dev; in usb3503_switch_mode() local
164 struct device *dev = hub->dev; usb3503_probe() local
362 usb3503_i2c_suspend(struct device *dev) usb3503_i2c_suspend() argument
369 usb3503_i2c_resume(struct device *dev) usb3503_i2c_resume() argument
376 usb3503_platform_suspend(struct device *dev) usb3503_platform_suspend() argument
381 usb3503_platform_resume(struct device *dev) usb3503_platform_resume() argument
[all...]
/kernel/linux/linux-6.6/drivers/fpga/
H A Ddfl-fme-error.c42 static ssize_t pcie0_errors_show(struct device *dev, in pcie0_errors_show() argument
45 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in pcie0_errors_show()
49 base = dfl_get_feature_ioaddr_by_id(dev, FME_FEATURE_ID_GLOBAL_ERR); in pcie0_errors_show()
58 static ssize_t pcie0_errors_store(struct device *dev, in pcie0_errors_store() argument
62 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in pcie0_errors_store()
70 base = dfl_get_feature_ioaddr_by_id(dev, FME_FEATURE_ID_GLOBAL_ERR); in pcie0_errors_store()
87 static ssize_t pcie1_errors_show(struct device *dev, in pcie1_errors_show() argument
90 struct dfl_feature_platform_data *pdata = dev_get_platdata(dev); in pcie1_errors_show()
94 base = dfl_get_feature_ioaddr_by_id(dev, FME_FEATURE_ID_GLOBAL_ERR); in pcie1_errors_show()
103 static ssize_t pcie1_errors_store(struct device *dev, in pcie1_errors_store() argument
132 nonfatal_errors_show(struct device *dev, struct device_attribute *attr, char *buf) nonfatal_errors_show() argument
144 catfatal_errors_show(struct device *dev, struct device_attribute *attr, char *buf) catfatal_errors_show() argument
156 inject_errors_show(struct device *dev, struct device_attribute *attr, char *buf) inject_errors_show() argument
173 inject_errors_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) inject_errors_store() argument
201 fme_errors_show(struct device *dev, struct device_attribute *attr, char *buf) fme_errors_show() argument
217 fme_errors_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) fme_errors_store() argument
248 first_error_show(struct device *dev, struct device_attribute *attr, char *buf) first_error_show() argument
265 next_error_show(struct device *dev, struct device_attribute *attr, char *buf) next_error_show() argument
297 struct device *dev = kobj_to_dev(kobj); fme_global_err_attrs_visible() local
315 fme_err_mask(struct device *dev, bool mask) fme_err_mask() argument
[all...]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Daddi_apci_3501.c95 static int apci3501_wait_for_dac(struct comedi_device *dev) in apci3501_wait_for_dac() argument
100 status = inl(dev->iobase + APCI3501_AO_CTRL_STATUS_REG); in apci3501_wait_for_dac()
106 static int apci3501_ao_insn_write(struct comedi_device *dev, in apci3501_ao_insn_write() argument
124 outl(0, dev->iobase + APCI3501_AO_CTRL_STATUS_REG); in apci3501_ao_insn_write()
128 dev->iobase + APCI3501_AO_CTRL_STATUS_REG); in apci3501_ao_insn_write()
136 dev_err(dev->class_dev, in apci3501_ao_insn_write()
142 ret = apci3501_wait_for_dac(dev); in apci3501_ao_insn_write()
147 dev->iobase + APCI3501_AO_DATA_REG); in apci3501_ao_insn_write()
155 static int apci3501_di_insn_bits(struct comedi_device *dev, in apci3501_di_insn_bits() argument
160 data[1] = inl(dev in apci3501_di_insn_bits()
165 apci3501_do_insn_bits(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3501_do_insn_bits() argument
228 apci3501_eeprom_get_ao_n_chan(struct comedi_device *dev) apci3501_eeprom_get_ao_n_chan() argument
254 apci3501_eeprom_insn_read(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3501_eeprom_insn_read() argument
274 apci3501_reset(struct comedi_device *dev) apci3501_reset() argument
304 apci3501_auto_attach(struct comedi_device *dev, unsigned long context_unused) apci3501_auto_attach() argument
381 apci3501_detach(struct comedi_device *dev) apci3501_detach() argument
395 apci3501_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) apci3501_pci_probe() argument
[all...]
/kernel/linux/linux-6.6/drivers/pci/pcie/
H A Dpme.c50 * @dev: PCIe root port or event collector.
53 void pcie_pme_interrupt_enable(struct pci_dev *dev, bool enable) in pcie_pme_interrupt_enable() argument
56 pcie_capability_set_word(dev, PCI_EXP_RTCTL, in pcie_pme_interrupt_enable()
59 pcie_capability_clear_word(dev, PCI_EXP_RTCTL, in pcie_pme_interrupt_enable()
71 struct pci_dev *dev; in pcie_pme_walk_bus() local
74 list_for_each_entry(dev, &bus->devices, bus_list) { in pcie_pme_walk_bus()
76 if (!pci_is_pcie(dev) && pci_check_pme_status(dev)) { in pcie_pme_walk_bus()
77 if (dev->pme_poll) in pcie_pme_walk_bus()
78 dev in pcie_pme_walk_bus()
103 struct pci_dev *dev; pcie_pme_from_pci_bridge() local
133 struct pci_dev *dev; pcie_pme_handle_request() local
296 pcie_pme_can_wakeup(struct pci_dev *dev, void *ign) pcie_pme_can_wakeup() argument
363 struct pci_dev *dev; pcie_pme_check_wakeup() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
H A Dpanel-samsung-atna33xc20.c62 static int atana33xc20_suspend(struct device *dev) in atana33xc20_suspend() argument
64 struct atana33xc20_panel *p = dev_get_drvdata(dev); in atana33xc20_suspend()
84 static int atana33xc20_resume(struct device *dev) in atana33xc20_resume() argument
86 struct atana33xc20_panel *p = dev_get_drvdata(dev); in atana33xc20_resume()
111 dev_warn(dev, "Error waiting for HPD GPIO: %d\n", ret); in atana33xc20_resume()
120 dev_warn(dev, "Controller error waiting for HPD: %d\n", ret); in atana33xc20_resume()
214 ret = pm_runtime_put_sync_suspend(panel->dev); in atana33xc20_unprepare()
231 ret = pm_runtime_get_sync(panel->dev); in atana33xc20_prepare()
233 pm_runtime_put_autosuspend(panel->dev); in atana33xc20_prepare()
245 struct dp_aux_ep_device *aux_ep = to_dp_aux_ep_dev(panel->dev); in atana33xc20_get_modes()
281 struct device *dev = &aux_ep->dev; atana33xc20_probe() local
336 struct device *dev = &aux_ep->dev; atana33xc20_remove() local
348 struct device *dev = &aux_ep->dev; atana33xc20_shutdown() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/allegro-dvt/
H A Dallegro-core.c112 struct allegro_dev *dev; member
180 struct allegro_dev *dev; member
307 static inline u32 to_mcu_addr(struct allegro_dev *dev, dma_addr_t phys) in to_mcu_addr() argument
310 v4l2_warn(&dev->v4l2_dev, in to_mcu_addr()
316 static inline u32 to_mcu_size(struct allegro_dev *dev, size_t size) in to_mcu_size() argument
321 static inline u32 to_codec_addr(struct allegro_dev *dev, dma_addr_t phys) in to_codec_addr() argument
324 v4l2_warn(&dev->v4l2_dev, in to_codec_addr()
337 static unsigned long allegro_next_user_id(struct allegro_dev *dev) in allegro_next_user_id() argument
339 if (dev->channel_user_ids == ~0UL) in allegro_next_user_id()
342 return ffz(dev in allegro_next_user_id()
346 allegro_find_channel_by_user_id(struct allegro_dev *dev, unsigned int user_id) allegro_find_channel_by_user_id() argument
360 allegro_find_channel_by_channel_id(struct allegro_dev *dev, unsigned int channel_id) allegro_find_channel_by_channel_id() argument
558 allegro_get_firmware_info(struct allegro_dev *dev, const struct firmware *fw, const struct firmware *fw_codec) allegro_get_firmware_info() argument
578 allegro_alloc_buffer(struct allegro_dev *dev, struct allegro_buffer *buffer, size_t size) allegro_alloc_buffer() argument
590 allegro_free_buffer(struct allegro_dev *dev, struct allegro_buffer *buffer) allegro_free_buffer() argument
609 allegro_mbox_init(struct allegro_dev *dev, unsigned int base, size_t size) allegro_mbox_init() argument
724 struct allegro_dev *dev = mbox->dev; allegro_mbox_send() local
754 struct allegro_dev *dev = mbox->dev; allegro_mbox_notify() local
785 allegro_mcu_send_init(struct allegro_dev *dev, dma_addr_t suballoc_dma, size_t suballoc_size) allegro_mcu_send_init() argument
1012 allegro_mcu_send_create_channel(struct allegro_dev *dev, struct allegro_channel *channel) allegro_mcu_send_create_channel() argument
1042 allegro_mcu_send_destroy_channel(struct allegro_dev *dev, struct allegro_channel *channel) allegro_mcu_send_destroy_channel() argument
1059 allegro_mcu_send_put_stream_buffer(struct allegro_dev *dev, struct allegro_channel *channel, dma_addr_t paddr, unsigned long size, u64 stream_id) allegro_mcu_send_put_stream_buffer() argument
1085 allegro_mcu_send_encode_frame(struct allegro_dev *dev, struct allegro_channel *channel, dma_addr_t src_y, dma_addr_t src_uv, u64 src_handle) allegro_mcu_send_encode_frame() argument
1114 allegro_mcu_wait_for_init_timeout(struct allegro_dev *dev, unsigned long timeout_ms) allegro_mcu_wait_for_init_timeout() argument
1131 struct allegro_dev *dev = channel->dev; allegro_mcu_push_buffer_internal() local
1197 struct allegro_dev *dev = channel->dev; allocate_buffers_internal() local
1230 struct allegro_dev *dev = channel->dev; destroy_buffers_internal() local
1270 struct allegro_dev *dev = channel->dev; allegro_h264_write_sps() local
1361 struct allegro_dev *dev = channel->dev; allegro_h264_write_pps() local
1474 struct allegro_dev *dev = channel->dev; allegro_channel_finish_frame() local
1632 allegro_handle_init(struct allegro_dev *dev, struct mcu_msg_init_response *msg) allegro_handle_init() argument
1641 allegro_handle_create_channel(struct allegro_dev *dev, struct mcu_msg_create_channel_response *msg) allegro_handle_create_channel() argument
1721 allegro_handle_destroy_channel(struct allegro_dev *dev, struct mcu_msg_destroy_channel_response *msg) allegro_handle_destroy_channel() argument
1744 allegro_handle_encode_frame(struct allegro_dev *dev, struct mcu_msg_encode_frame_response *msg) allegro_handle_encode_frame() argument
1763 allegro_handle_message(struct allegro_dev *dev, union mcu_msg_response *msg) allegro_handle_message() argument
1789 struct allegro_dev *dev = data; allegro_hardirq() local
1803 struct allegro_dev *dev = data; allegro_irq_thread() local
1819 allegro_copy_firmware(struct allegro_dev *dev, const u8 * const buf, size_t size) allegro_copy_firmware() argument
1832 allegro_copy_fw_codec(struct allegro_dev *dev, const u8 * const buf, size_t size) allegro_copy_fw_codec() argument
1879 allegro_free_fw_codec(struct allegro_dev *dev) allegro_free_fw_codec() argument
1888 allegro_mcu_enable_interrupts(struct allegro_dev *dev) allegro_mcu_enable_interrupts() argument
1893 allegro_mcu_disable_interrupts(struct allegro_dev *dev) allegro_mcu_disable_interrupts() argument
1898 allegro_mcu_wait_for_sleep(struct allegro_dev *dev) allegro_mcu_wait_for_sleep() argument
1914 allegro_mcu_start(struct allegro_dev *dev) allegro_mcu_start() argument
1939 allegro_mcu_reset(struct allegro_dev *dev) allegro_mcu_reset() argument
1963 allegro_mcu_interrupt(struct allegro_dev *dev) allegro_mcu_interrupt() argument
1970 struct allegro_dev *dev = channel->dev; allegro_destroy_channel() local
2021 struct allegro_dev *dev = channel->dev; allegro_create_channel() local
2125 struct allegro_dev *dev = channel->dev; allegro_queue_setup() local
2155 struct allegro_dev *dev = channel->dev; allegro_buf_prepare() local
2192 struct allegro_dev *dev = channel->dev; allegro_start_streaming() local
2211 struct allegro_dev *dev = channel->dev; allegro_stop_streaming() local
2343 struct allegro_dev *dev = channel->dev; allegro_s_ctrl() local
2385 struct allegro_dev *dev = video_get_drvdata(vdev); allegro_open() local
2537 struct allegro_dev *dev = video_get_drvdata(vdev); allegro_querycap() local
2681 struct allegro_dev *dev = channel->dev; allegro_channel_cmd_stop() local
2901 allegro_register_device(struct allegro_dev *dev) allegro_register_device() argument
2921 struct allegro_dev *dev = channel->dev; allegro_device_run() local
2954 allegro_mcu_hw_init(struct allegro_dev *dev, const struct fw_info *info) allegro_mcu_hw_init() argument
3012 allegro_mcu_hw_deinit(struct allegro_dev *dev) allegro_mcu_hw_deinit() argument
3033 struct allegro_dev *dev = context; allegro_fw_callback() local
3106 allegro_firmware_request_nowait(struct allegro_dev *dev) allegro_firmware_request_nowait() argument
3119 struct allegro_dev *dev; allegro_probe() local
3202 struct allegro_dev *dev = platform_get_drvdata(pdev); allegro_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/qedr/
H A Dverbs.c87 struct qedr_dev *dev = get_qedr_dev(ibdev); in qedr_iw_query_gid() local
90 ether_addr_copy(sgid->raw, dev->ndev->dev_addr); in qedr_iw_query_gid()
92 DP_DEBUG(dev, QEDR_MSG_INIT, "QUERY sgid[%d]=%llx:%llx\n", index, in qedr_iw_query_gid()
100 struct qedr_dev *dev = get_qedr_dev(ibsrq->device); in qedr_query_srq() local
101 struct qedr_device_attr *qattr = &dev->attr; in qedr_query_srq()
114 struct qedr_dev *dev = get_qedr_dev(ibdev); in qedr_query_device() local
115 struct qedr_device_attr *qattr = &dev->attr; in qedr_query_device()
117 if (!dev->rdma_ctx) { in qedr_query_device()
118 DP_ERR(dev, in qedr_query_device()
120 dev in qedr_query_device()
217 struct qedr_dev *dev; qedr_query_port() local
268 struct qedr_dev *dev = get_qedr_dev(ibdev); qedr_alloc_ucontext() local
378 struct qedr_dev *dev = entry->dev; qedr_mmap_free() local
390 struct ib_device *dev = ucontext->device; qedr_mmap() local
439 struct qedr_dev *dev = get_qedr_dev(ibdev); qedr_alloc_pd() local
481 struct qedr_dev *dev = get_qedr_dev(ibpd->device); qedr_dealloc_pd() local
492 struct qedr_dev *dev = get_qedr_dev(ibxrcd->device); qedr_alloc_xrcd() local
500 struct qedr_dev *dev = get_qedr_dev(ibxrcd->device); qedr_dealloc_xrcd() local
506 qedr_free_pbl(struct qedr_dev *dev, struct qedr_pbl_info *pbl_info, struct qedr_pbl *pbl) qedr_free_pbl() argument
529 qedr_alloc_pbl_tbl(struct qedr_dev *dev, struct qedr_pbl_info *pbl_info, gfp_t flags) qedr_alloc_pbl_tbl() argument
573 qedr_prepare_pbl_tbl(struct qedr_dev *dev, struct qedr_pbl_info *pbl_info, u32 num_pbes, int two_layer_capable) qedr_prepare_pbl_tbl() argument
621 qedr_populate_pbls(struct qedr_dev *dev, struct ib_umem *umem, struct qedr_pbl *pbl, struct qedr_pbl_info *pbl_info, u32 pg_shift) qedr_populate_pbls() argument
672 qedr_db_recovery_add(struct qedr_dev *dev, void __iomem *db_addr, void *db_data, enum qed_db_rec_width db_width, enum qed_db_rec_space db_space) qedr_db_recovery_add() argument
687 qedr_db_recovery_del(struct qedr_dev *dev, void __iomem *db_addr, void *db_data) qedr_db_recovery_del() argument
702 qedr_copy_cq_uresp(struct qedr_dev *dev, struct qedr_cq *cq, struct ib_udata *udata, u32 db_offset) qedr_copy_cq_uresp() argument
743 qedr_init_user_db_rec(struct ib_udata *udata, struct qedr_dev *dev, struct qedr_userq *q, bool requires_db_rec) qedr_init_user_db_rec() argument
790 qedr_init_user_queue(struct ib_udata *udata, struct qedr_dev *dev, struct qedr_userq *q, u64 buf_addr, size_t buf_len, bool requires_db_rec, int access, int alloc_and_init) qedr_init_user_queue() argument
840 qedr_init_cq_params(struct qedr_cq *cq, struct qedr_ucontext *ctx, struct qedr_dev *dev, int vector, int chain_entries, int page_cnt, u64 pbl_ptr, struct qed_rdma_create_cq_in_params *params) qedr_init_cq_params() argument
870 struct qedr_dev *dev; qedr_arm_cq() local
916 struct qedr_dev *dev = get_qedr_dev(ibdev); qedr_create_cq() local
1061 struct qedr_dev *dev = get_qedr_dev(ibcq->device); qedr_destroy_cq() local
1190 qedr_check_qp_attrs(struct ib_pd *ibpd, struct qedr_dev *dev, struct ib_qp_init_attr *attrs, struct ib_udata *udata) qedr_check_qp_attrs() argument
1255 qedr_copy_srq_uresp(struct qedr_dev *dev, struct qedr_srq *srq, struct ib_udata *udata) qedr_copy_srq_uresp() argument
1270 qedr_copy_rq_uresp(struct qedr_dev *dev, struct qedr_create_qp_uresp *uresp, struct qedr_qp *qp) qedr_copy_rq_uresp() argument
1290 qedr_copy_sq_uresp(struct qedr_dev *dev, struct qedr_create_qp_uresp *uresp, struct qedr_qp *qp) qedr_copy_sq_uresp() argument
1307 qedr_copy_qp_uresp(struct qedr_dev *dev, struct qedr_qp *qp, struct ib_udata *udata, struct qedr_create_qp_uresp *uresp) qedr_copy_qp_uresp() argument
1342 qedr_set_common_qp_params(struct qedr_dev *dev, struct qedr_qp *qp, struct qedr_pd *pd, struct ib_qp_init_attr *attrs) qedr_set_common_qp_params() argument
1393 qedr_set_roce_db_info(struct qedr_dev *dev, struct qedr_qp *qp) qedr_set_roce_db_info() argument
1420 qedr_check_srq_params(struct qedr_dev *dev, struct ib_srq_init_attr *attrs, struct ib_udata *udata) qedr_check_srq_params() argument
1457 struct qedr_dev *dev = srq->dev; qedr_free_srq_kernel_params() local
1496 qedr_alloc_srq_kernel_params(struct qedr_srq *srq, struct qedr_dev *dev, struct ib_srq_init_attr *init_attr) qedr_alloc_srq_kernel_params() argument
1546 struct qedr_dev *dev = get_qedr_dev(ibsrq->device); qedr_create_srq() local
1656 struct qedr_dev *dev = get_qedr_dev(ibsrq->device); qedr_destroy_srq() local
1679 struct qedr_dev *dev = get_qedr_dev(ibsrq->device); qedr_modify_srq() local
1728 qedr_init_common_qp_in_params(struct qedr_dev *dev, struct qedr_pd *pd, struct qedr_qp *qp, struct ib_qp_init_attr *attrs, bool fmr_and_reserved_lkey, struct qed_rdma_create_qp_in_params *params) qedr_init_common_qp_in_params() argument
1765 qedr_qp_user_print(struct qedr_dev *dev, struct qedr_qp *qp) qedr_qp_user_print() argument
1782 qedr_iwarp_populate_user_qp(struct qedr_dev *dev, struct qedr_qp *qp, struct qed_rdma_create_qp_out_params *out_params) qedr_iwarp_populate_user_qp() argument
1800 qedr_cleanup_user(struct qedr_dev *dev, struct qedr_ucontext *ctx, struct qedr_qp *qp) qedr_cleanup_user() argument
1839 qedr_create_user_qp(struct qedr_dev *dev, struct qedr_qp *qp, struct ib_pd *ibpd, struct ib_udata *udata, struct ib_qp_init_attr *attrs) qedr_create_user_qp() argument
1993 qedr_set_iwarp_db_info(struct qedr_dev *dev, struct qedr_qp *qp) qedr_set_iwarp_db_info() argument
2031 qedr_roce_create_kernel_qp(struct qedr_dev *dev, struct qedr_qp *qp, struct qed_rdma_create_qp_in_params *in_params, u32 n_sq_elems, u32 n_rq_elems) qedr_roce_create_kernel_qp() argument
2078 qedr_iwarp_create_kernel_qp(struct qedr_dev *dev, struct qedr_qp *qp, struct qed_rdma_create_qp_in_params *in_params, u32 n_sq_elems, u32 n_rq_elems) qedr_iwarp_create_kernel_qp() argument
2138 qedr_cleanup_kernel(struct qedr_dev *dev, struct qedr_qp *qp) qedr_cleanup_kernel() argument
2161 qedr_create_kernel_qp(struct qedr_dev *dev, struct qedr_qp *qp, struct ib_pd *ibpd, struct ib_qp_init_attr *attrs) qedr_create_kernel_qp() argument
2237 qedr_free_qp_resources(struct qedr_dev *dev, struct qedr_qp *qp, struct ib_udata *udata) qedr_free_qp_resources() argument
2265 struct qedr_dev *dev = get_qedr_dev(ibqp->device); qedr_create_qp() local
2362 qedr_update_qp_state(struct qedr_dev *dev, struct qedr_qp *qp, enum qed_roce_qp_state cur_state, enum qed_roce_qp_state new_state) qedr_update_qp_state() argument
2470 struct qedr_dev *dev = get_qedr_dev(&qp->dev->ibdev); qedr_modify_qp() local
2747 struct qedr_dev *dev = qp->dev; qedr_query_qp() local
2814 struct qedr_dev *dev = qp->dev; qedr_destroy_qp() local
2894 free_mr_info(struct qedr_dev *dev, struct mr_info *info) free_mr_info() argument
2911 init_mr_info(struct qedr_dev *dev, struct mr_info *info, size_t page_list_len, bool two_layered) init_mr_info() argument
2957 struct qedr_dev *dev = get_qedr_dev(ibpd->device); qedr_reg_user_mr() local
3046 struct qedr_dev *dev = get_qedr_dev(ib_mr->device); qedr_dereg_mr() local
3070 struct qedr_dev *dev = get_qedr_dev(ibpd->device); __qedr_alloc_mr() local
3181 handle_completed_mrs(struct qedr_dev *dev, struct mr_info *info) handle_completed_mrs() argument
3214 struct qedr_dev *dev = get_qedr_dev(ibpd->device); qedr_get_dma_mr() local
3289 qedr_prepare_sq_inline_data(struct qedr_dev *dev, struct qedr_qp *qp, u8 *wqe_size, const struct ib_send_wr *wr, const struct ib_send_wr **bad_wr, u8 *bits, u8 bit) qedr_prepare_sq_inline_data() argument
3396 qedr_prepare_sq_rdma_data(struct qedr_dev *dev, struct qedr_qp *qp, struct rdma_sq_rdma_wqe_1st *rwqe, struct rdma_sq_rdma_wqe_2nd *rwqe2, const struct ib_send_wr *wr, const struct ib_send_wr **bad_wr) qedr_prepare_sq_rdma_data() argument
3419 qedr_prepare_sq_send_data(struct qedr_dev *dev, struct qedr_qp *qp, struct rdma_sq_send_wqe_1st *swqe, struct rdma_sq_send_wqe_2st *swqe2, const struct ib_send_wr *wr, const struct ib_send_wr **bad_wr) qedr_prepare_sq_send_data() argument
3506 struct qedr_dev *dev = qp->dev; qedr_can_post_send() local
3543 struct qedr_dev *dev = get_qedr_dev(ibqp->device); __qedr_post_send() local
3758 struct qedr_dev *dev = get_qedr_dev(ibqp->device); qedr_post_send() local
3836 struct qedr_dev *dev = srq->dev; qedr_post_srq_recv() local
3916 struct qedr_dev *dev = qp->dev; qedr_post_recv() local
4052 process_req(struct qedr_dev *dev, struct qedr_qp *qp, struct qedr_cq *cq, int num_entries, struct ib_wc *wc, u16 hw_cons, enum ib_wc_status status, int force) process_req() argument
4107 qedr_poll_cq_req(struct qedr_dev *dev, struct qedr_qp *qp, struct qedr_cq *cq, int num_entries, struct ib_wc *wc, struct rdma_cqe_requester *req) qedr_poll_cq_req() argument
4264 __process_resp_one(struct qedr_dev *dev, struct qedr_qp *qp, struct qedr_cq *cq, struct ib_wc *wc, struct rdma_cqe_responder *resp, u64 wr_id) __process_resp_one() argument
4293 process_resp_one_srq(struct qedr_dev *dev, struct qedr_qp *qp, struct qedr_cq *cq, struct ib_wc *wc, struct rdma_cqe_responder *resp) process_resp_one_srq() argument
4318 process_resp_one(struct qedr_dev *dev, struct qedr_qp *qp, struct qedr_cq *cq, struct ib_wc *wc, struct rdma_cqe_responder *resp) process_resp_one() argument
4367 qedr_poll_cq_resp_srq(struct qedr_dev *dev, struct qedr_qp *qp, struct qedr_cq *cq, int num_entries, struct ib_wc *wc, struct rdma_cqe_responder *resp) qedr_poll_cq_resp_srq() argument
4380 qedr_poll_cq_resp(struct qedr_dev *dev, struct qedr_qp *qp, struct qedr_cq *cq, int num_entries, struct ib_wc *wc, struct rdma_cqe_responder *resp, int *update) qedr_poll_cq_resp() argument
4411 struct qedr_dev *dev = get_qedr_dev(ibcq->device); qedr_poll_cq() local
[all...]
/kernel/linux/linux-5.10/drivers/message/fusion/
H A Dmptlan.c113 struct net_device *dev; member
131 static int mpt_lan_open(struct net_device *dev);
132 static int mpt_lan_reset(struct net_device *dev);
133 static int mpt_lan_close(struct net_device *dev);
135 static void mpt_lan_wake_post_buckets_task(struct net_device *dev,
137 static int mpt_lan_receive_post_turbo(struct net_device *dev, u32 tmsg);
138 static int mpt_lan_receive_post_reply(struct net_device *dev,
140 static int mpt_lan_send_turbo(struct net_device *dev, u32 tmsg);
141 static int mpt_lan_send_reply(struct net_device *dev,
146 struct net_device *dev);
170 struct net_device *dev = ioc->netdev; lan_reply() local
302 struct net_device *dev = ioc->netdev; mpt_lan_ioc_reset() local
378 mpt_lan_open(struct net_device *dev) mpt_lan_open() argument
464 mpt_lan_reset(struct net_device *dev) mpt_lan_reset() argument
495 mpt_lan_close(struct net_device *dev) mpt_lan_close() argument
555 mpt_lan_tx_timeout(struct net_device *dev, unsigned int txqueue) mpt_lan_tx_timeout() argument
569 mpt_lan_send_turbo(struct net_device *dev, u32 tmsg) mpt_lan_send_turbo() argument
602 mpt_lan_send_reply(struct net_device *dev, LANSendReply_t *pSendRep) mpt_lan_send_reply() argument
675 mpt_lan_sdu_send(struct sk_buff *skb, struct net_device *dev) mpt_lan_sdu_send() argument
796 mpt_lan_wake_post_buckets_task(struct net_device *dev, int priority) mpt_lan_wake_post_buckets_task() argument
818 mpt_lan_receive_skb(struct net_device *dev, struct sk_buff *skb) mpt_lan_receive_skb() argument
850 mpt_lan_receive_post_turbo(struct net_device *dev, u32 tmsg) mpt_lan_receive_post_turbo() argument
904 mpt_lan_receive_post_free(struct net_device *dev, LANReceivePostReply_t *pRecvRep) mpt_lan_receive_post_free() argument
959 mpt_lan_receive_post_reply(struct net_device *dev, LANReceivePostReply_t *pRecvRep) mpt_lan_receive_post_reply() argument
1141 struct net_device *dev = priv->dev; mpt_lan_post_receive_buckets() local
1305 struct net_device *dev; mpt_register_lan_device() local
1386 struct net_device *dev; mptlan_probe() local
1432 struct net_device *dev = ioc->netdev; mptlan_remove() local
1489 mpt_lan_type_trans(struct sk_buff *skb, struct net_device *dev) mpt_lan_type_trans() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/microchip/
H A Dksz_ptp.c35 static int ksz_ptp_tou_gpio(struct ksz_device *dev) in ksz_ptp_tou_gpio() argument
39 if (!is_lan937x(dev)) in ksz_ptp_tou_gpio()
42 ret = ksz_rmw32(dev, REG_PTP_CTRL_STAT__4, GPIO_OUT, in ksz_ptp_tou_gpio()
47 ret = ksz_rmw32(dev, REG_SW_GLOBAL_LED_OVR__4, LED_OVR_1 | LED_OVR_2, in ksz_ptp_tou_gpio()
52 return ksz_rmw32(dev, REG_SW_GLOBAL_LED_SRC__4, in ksz_ptp_tou_gpio()
57 static int ksz_ptp_tou_reset(struct ksz_device *dev, u8 unit) in ksz_ptp_tou_reset() argument
63 ret = ksz_rmw32(dev, REG_PTP_CTRL_STAT__4, TRIG_RESET, TRIG_RESET); in ksz_ptp_tou_reset()
66 ret = ksz_write32(dev, REG_PTP_TRIG_STATUS__4, data); in ksz_ptp_tou_reset()
71 ret = ksz_write32(dev, REG_PTP_INT_STATUS__4, data); in ksz_ptp_tou_reset()
76 return ksz_rmw32(dev, REG_PTP_CTRL_STAT__ in ksz_ptp_tou_reset()
94 ksz_ptp_tou_target_time_set(struct ksz_device *dev, struct timespec64 const *ts) ksz_ptp_tou_target_time_set() argument
114 ksz_ptp_tou_start(struct ksz_device *dev, u8 unit) ksz_ptp_tou_start() argument
141 ksz_ptp_configure_perout(struct ksz_device *dev, u32 cycle_width_ns, u32 pulse_width_ns, struct timespec64 const *target_time, u8 index) ksz_ptp_configure_perout() argument
177 ksz_ptp_enable_perout(struct ksz_device *dev, struct ptp_perout_request const *request, int on) ksz_ptp_enable_perout() argument
262 ksz_ptp_enable_mode(struct ksz_device *dev) ksz_ptp_enable_mode() argument
298 struct ksz_device *dev = ds->priv; ksz_get_ts_info() local
327 struct ksz_device *dev = ds->priv; ksz_hwtstamp_get() local
338 ksz_set_hwtstamp_config(struct ksz_device *dev, struct ksz_port *prt, struct hwtstamp_config *config) ksz_set_hwtstamp_config() argument
412 struct ksz_device *dev = ds->priv; ksz_hwtstamp_set() local
434 ksz_tstamp_reconstruct(struct ksz_device *dev, ktime_t tstamp) ksz_tstamp_reconstruct() argument
465 struct ksz_device *dev = ds->priv; ksz_port_rxtstamp() local
505 struct ksz_device *dev = ds->priv; ksz_port_txtstamp() local
554 ksz_ptp_txtstamp_skb(struct ksz_device *dev, struct ksz_port *prt, struct sk_buff *skb) ksz_ptp_txtstamp_skb() argument
577 struct ksz_device *dev = ds->priv; ksz_port_deferred_xmit() local
595 _ksz_ptp_gettime(struct ksz_device *dev, struct timespec64 *ts) _ksz_ptp_gettime() argument
628 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); ksz_ptp_gettime() local
638 ksz_ptp_restart_perout(struct ksz_device *dev) ksz_ptp_restart_perout() argument
687 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); ksz_ptp_settime() local
734 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); ksz_ptp_adjfine() local
773 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); ksz_ptp_adjtime() local
835 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); ksz_ptp_enable() local
872 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); ksz_ptp_do_aux_work() local
891 ksz_ptp_start_clock(struct ksz_device *dev) ksz_ptp_start_clock() argument
908 struct ksz_device *dev = ds->priv; ksz_ptp_clock_register() local
962 struct ksz_device *dev = ds->priv; ksz_ptp_clock_unregister() local
974 struct ksz_device *dev; ksz_ptp_msg_thread_fn() local
1002 struct ksz_device *dev; ksz_ptp_irq_thread_fn() local
1055 struct ksz_device *dev = kirq->dev; ksz_ptp_irq_bus_sync_unlock() local
1125 struct ksz_device *dev = ds->priv; ksz_ptp_irq_setup() local
1184 struct ksz_device *dev = ds->priv; ksz_ptp_irq_free() local
[all...]

Completed in 22 milliseconds

1...<<101102103104105106107108109110>>...1522