Home
last modified time | relevance | path

Searched defs:dev (Results 901 – 925 of 10137) sorted by relevance

1...<<31323334353637383940>>...406

/linux/drivers/hwmon/
H A Dnct6775-core.c1077 static int nct6775_add_template_attr_group(struct device *dev, struct nct6775_data *data, in nct6775_add_template_attr_group()
1304 static int nct6775_init_fan_common(struct device *dev, in nct6775_init_fan_common()
1337 static int nct6775_select_fan_div(struct device *dev, in nct6775_select_fan_div()
1391 static int nct6775_update_pwm(struct device *dev) in nct6775_update_pwm()
1475 static int nct6775_update_pwm_limits(struct device *dev) in nct6775_update_pwm_limits()
1569 struct nct6775_data *nct6775_update_device(struct device *dev) in nct6775_update_device()
1714 show_in_reg(struct device *dev, struct device_attribute *attr, char *buf) in show_in_reg()
1729 store_in_reg(struct device *dev, struct device_attribute *attr, const char *buf, in store_in_reg()
1750 nct6775_show_alarm(struct device *dev, struct device_attribute *attr, char *buf) in nct6775_show_alarm()
1783 show_temp_alarm(struct device *dev, struct device_attribute *attr, char *buf) in show_temp_alarm()
[all …]
H A Dw83792d.c339 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in()
405 store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min()
429 show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div()
445 store_fan_div(struct device *dev, struct device_attribute *attr, in store_fan_div()
487 static ssize_t show_temp1(struct device *dev, struct device_attribute *attr, in show_temp1()
496 static ssize_t store_temp1(struct device *dev, struct device_attribute *attr, in store_temp1()
521 static ssize_t show_temp23(struct device *dev, struct device_attribute *attr, in show_temp23()
534 static ssize_t store_temp23(struct device *dev, struct device_attribute *attr, in store_temp23()
564 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) in alarms_show()
570 static ssize_t show_alarm(struct device *dev, in show_alarm()
[all …]
H A Dw83791d.c428 static ssize_t show_beep(struct device *dev, struct device_attribute *attr, in show_beep()
439 static ssize_t store_beep(struct device *dev, struct device_attribute *attr, in store_beep()
474 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
530 static ssize_t store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min()
552 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div()
567 static ssize_t store_fan_div(struct device *dev, struct device_attribute *attr, in store_fan_div()
708 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm()
717 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm()
749 static ssize_t show_pwmenable(struct device *dev, struct device_attribute *attr, in show_pwmenable()
758 static ssize_t store_pwmenable(struct device *dev, in store_pwmenable()
[all …]
H A Dadm1031.c107 static struct adm1031_data *adm1031_update_device(struct device *dev) in adm1031_update_device()
320 static ssize_t fan_auto_channel_show(struct device *dev, in fan_auto_channel_show()
329 fan_auto_channel_store(struct device *dev, struct device_attribute *attr, in fan_auto_channel_store()
385 static ssize_t auto_temp_off_show(struct device *dev, in auto_temp_off_show()
393 static ssize_t auto_temp_min_show(struct device *dev, in auto_temp_min_show()
402 auto_temp_min_store(struct device *dev, struct device_attribute *attr, in auto_temp_min_store()
423 static ssize_t auto_temp_max_show(struct device *dev, in auto_temp_max_show()
432 auto_temp_max_store(struct device *dev, struct device_attribute *attr, in auto_temp_max_store()
466 static ssize_t pwm_show(struct device *dev, struct device_attribute *attr, in pwm_show()
473 static ssize_t pwm_store(struct device *dev, struct device_attribute *attr, in pwm_store()
[all …]
H A Dadt7470.c424 static struct adt7470_data *adt7470_update_device(struct device *dev) in adt7470_update_device()
472 static ssize_t auto_update_interval_show(struct device *dev, in auto_update_interval_show()
484 static ssize_t auto_update_interval_store(struct device *dev, in auto_update_interval_store()
503 static ssize_t num_temp_sensors_show(struct device *dev, in num_temp_sensors_show()
515 static ssize_t num_temp_sensors_store(struct device *dev, in num_temp_sensors_store()
536 static int adt7470_temp_read(struct device *dev, u32 attr, int channel, long *val) in adt7470_temp_read()
563 static int adt7470_temp_write(struct device *dev, u32 attr, int channel, long val) in adt7470_temp_write()
591 static ssize_t alarm_mask_show(struct device *dev, in alarm_mask_show()
602 static ssize_t alarm_mask_store(struct device *dev, in alarm_mask_store()
624 static int adt7470_fan_read(struct device *dev, u32 attr, int channel, long *val) in adt7470_fan_read()
[all …]
H A Dltc4215.c43 static struct ltc4215_data *ltc4215_update_device(struct device *dev) in ltc4215_update_device()
76 static int ltc4215_get_voltage(struct device *dev, u8 reg) in ltc4215_get_voltage()
108 static unsigned int ltc4215_get_current(struct device *dev) in ltc4215_get_current()
136 static ssize_t ltc4215_voltage_show(struct device *dev, in ltc4215_voltage_show()
145 static ssize_t ltc4215_current_show(struct device *dev, in ltc4215_current_show()
153 static ssize_t ltc4215_power_show(struct device *dev, in ltc4215_power_show()
165 static ssize_t ltc4215_alarm_show(struct device *dev, in ltc4215_alarm_show()
224 struct device *dev = &client->dev; in ltc4215_probe() local
H A Dlm78.c142 static ssize_t in_show(struct device *dev, struct device_attribute *da, in in_show()
150 static ssize_t in_min_show(struct device *dev, struct device_attribute *da, in in_min_show()
158 static ssize_t in_max_show(struct device *dev, struct device_attribute *da, in in_max_show()
166 static ssize_t in_min_store(struct device *dev, struct device_attribute *da, in in_min_store()
186 static ssize_t in_max_store(struct device *dev, struct device_attribute *da, in in_max_store()
229 static ssize_t temp1_input_show(struct device *dev, in temp1_input_show()
236 static ssize_t temp1_max_show(struct device *dev, struct device_attribute *da, in temp1_max_show()
243 static ssize_t temp1_max_store(struct device *dev, in temp1_max_store()
262 static ssize_t temp1_max_hyst_show(struct device *dev, in temp1_max_hyst_show()
269 static ssize_t temp1_max_hyst_store(struct device *dev, in temp1_max_hyst_store()
[all …]
/linux/drivers/net/ethernet/realtek/
H A D8139cp.c324 struct net_device *dev; member
466 struct net_device *dev = cp->dev; in cp_rx_poll() local
570 struct net_device *dev = dev_instance; in cp_interrupt() local
637 static void cp_poll_controller(struct net_device *dev) in cp_poll_controller()
732 struct net_device *dev) in cp_start_xmit()
888 static void __cp_set_rx_mode (struct net_device *dev) in __cp_set_rx_mode()
926 static void cp_set_rx_mode (struct net_device *dev) in cp_set_rx_mode()
943 static struct net_device_stats *cp_get_stats(struct net_device *dev) in cp_get_stats()
1030 struct net_device *dev = cp->dev; in cp_init_hw() local
1060 struct net_device *dev = cp->dev; in cp_refill_rx() local
[all …]
/linux/drivers/net/ethernet/ibm/ehea/
H A Dehea_main.c321 static void ehea_get_stats64(struct net_device *dev, in ehea_get_stats64()
351 struct net_device *dev = port->netdev; in ehea_update_stats() local
386 struct net_device *dev = pr->port->netdev; in ehea_refill_rq1() local
425 struct net_device *dev = pr->port->netdev; in ehea_init_fill_rq1() local
446 struct net_device *dev = pr->port->netdev; in ehea_refill_rq_def() local
543 static inline void ehea_fill_skb(struct net_device *dev, in ehea_fill_skb()
653 static int ehea_proc_rwqes(struct net_device *dev, in ehea_proc_rwqes()
881 struct net_device *dev = pr->port->netdev; in ehea_poll() local
1144 struct net_device *dev; in ehea_parse_eqe() local
1265 static int ehea_reg_interrupts(struct net_device *dev) in ehea_reg_interrupts()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dsdio_mcu.c19 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921s_mcu_send_message() local
54 static u32 mt7921s_read_rm3r(struct mt792x_dev *dev) in mt7921s_read_rm3r()
61 static u32 mt7921s_clear_rm3r_drv_own(struct mt792x_dev *dev) in mt7921s_clear_rm3r_drv_own()
74 int mt7921s_mcu_init(struct mt792x_dev *dev) in mt7921s_mcu_init()
100 int mt7921s_mcu_drv_pmctrl(struct mt792x_dev *dev) in mt7921s_mcu_drv_pmctrl()
136 int mt7921s_mcu_fw_pmctrl(struct mt792x_dev *dev) in mt7921s_mcu_fw_pmctrl()
/linux/virt/kvm/
H A Dcoalesced_mmio.c20 static inline struct kvm_coalesced_mmio_dev *to_mmio(struct kvm_io_device *dev) in to_mmio()
25 static int coalesced_mmio_in_range(struct kvm_coalesced_mmio_dev *dev, in coalesced_mmio_in_range()
47 struct kvm_coalesced_mmio_dev *dev = to_mmio(this); in coalesced_mmio_write() local
83 struct kvm_coalesced_mmio_dev *dev = to_mmio(this); in coalesced_mmio_destructor() local
126 struct kvm_coalesced_mmio_dev *dev; in kvm_vm_ioctl_register_coalesced_mmio() local
161 struct kvm_coalesced_mmio_dev *dev, *tmp; in kvm_vm_ioctl_unregister_coalesced_mmio() local
H A Dvfio.c120 static void kvm_vfio_update_coherency(struct kvm_device *dev) in kvm_vfio_update_coherency()
143 static int kvm_vfio_file_add(struct kvm_device *dev, unsigned int fd) in kvm_vfio_file_add()
188 static int kvm_vfio_file_del(struct kvm_device *dev, unsigned int fd) in kvm_vfio_file_del()
224 static int kvm_vfio_file_set_spapr_tce(struct kvm_device *dev, in kvm_vfio_file_set_spapr_tce()
266 static int kvm_vfio_set_file(struct kvm_device *dev, long attr, in kvm_vfio_set_file()
292 static int kvm_vfio_set_attr(struct kvm_device *dev, in kvm_vfio_set_attr()
304 static int kvm_vfio_has_attr(struct kvm_device *dev, in kvm_vfio_has_attr()
324 static void kvm_vfio_release(struct kvm_device *dev) in kvm_vfio_release()
355 static int kvm_vfio_create(struct kvm_device *dev, u32 type) in kvm_vfio_create()
/linux/drivers/tty/serial/8250/
H A D8250_pnp.c398 static bool check_resources(struct pnp_dev *dev) in check_resources()
422 static int serial_pnp_guess_board(struct pnp_dev *dev) in serial_pnp_guess_board()
435 serial_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id) in serial_pnp_probe()
492 static void serial_pnp_remove(struct pnp_dev *dev) in serial_pnp_remove()
500 static int serial_pnp_suspend(struct device *dev) in serial_pnp_suspend()
508 static int serial_pnp_resume(struct device *dev) in serial_pnp_resume()
/linux/drivers/nvmem/
H A Dcore.c174 static ssize_t type_show(struct device *dev, in type_show()
184 static ssize_t force_ro_show(struct device *dev, struct device_attribute *attr, in force_ro_show()
192 static ssize_t force_ro_store(struct device *dev, struct device_attribute *attr, in force_ro_store()
216 struct device *dev; in bin_attr_nvmem_read() local
249 struct device *dev; in bin_attr_nvmem_write() local
301 struct device *dev = kobj_to_dev(kobj); in nvmem_bin_attr_is_visible() local
311 struct device *dev = kobj_to_dev(kobj); in nvmem_bin_attr_size() local
320 struct device *dev = kobj_to_dev(kobj); in nvmem_attr_is_visible() local
534 static void nvmem_release(struct device *dev) in nvmem_release()
791 struct device *dev = &nvmem->dev; in nvmem_add_cells_from_dt() local
[all …]
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c196 static int is_sqp(struct mthca_dev *dev, struct mthca_qp *qp) in is_sqp()
202 static int is_qp0(struct mthca_dev *dev, struct mthca_qp *qp) in is_qp0()
238 void mthca_qp_event(struct mthca_dev *dev, u32 qpn, in mthca_qp_event()
310 static void init_port(struct mthca_dev *dev, int port) in init_port()
397 static void to_rdma_ah_attr(struct mthca_dev *dev, in to_rdma_ah_attr()
433 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_query_qp() local
522 static int mthca_path_set(struct mthca_dev *dev, const struct rdma_ah_attr *ah, in mthca_path_set()
562 struct mthca_dev *dev = to_mdev(ibqp->device); in __mthca_modify_qp() local
861 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_modify_qp() local
931 static int mthca_max_data_size(struct mthca_dev *dev, struct mthca_qp *qp, int desc_sz) in mthca_max_data_size()
[all …]
/linux/drivers/target/
H A Dtarget_core_stat.c222 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_lu_name_show() local
232 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_vend_show() local
240 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_prod_show() local
248 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_rev_show() local
256 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_dev_type_show() local
265 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_status_show() local
282 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_num_cmds_show() local
299 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_read_mbytes_show() local
316 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_write_mbytes_show() local
332 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_resets_show() local
[all …]
/linux/drivers/acpi/arm64/
H A Diort.c264 struct device *dev = context; in iort_match_node_callback() local
548 static struct acpi_iort_node *iort_find_dev_node(struct device *dev) in iort_find_dev_node()
584 u32 iort_msi_map_id(struct device *dev, u32 input_id) in iort_msi_map_id()
604 int iort_pmsi_get_dev_id(struct device *dev, u32 *dev_id) in iort_pmsi_get_dev_id()
656 static int iort_dev_find_its_id(struct device *dev, u32 id, in iort_dev_find_its_id()
690 struct irq_domain *iort_get_device_domain(struct device *dev, u32 id, in iort_get_device_domain()
706 static void iort_set_device_domain(struct device *dev, in iort_set_device_domain()
756 static struct irq_domain *iort_get_platform_device_domain(struct device *dev) in iort_get_platform_device_domain()
790 void acpi_configure_pmsi_domain(struct device *dev) in acpi_configure_pmsi_domain()
800 static void iort_rmr_free(struct device *dev, in iort_rmr_free()
[all …]
/linux/drivers/parisc/
H A Diommu.h9 static inline struct pci_hba_data *parisc_walk_tree(struct device *dev) in parisc_walk_tree()
29 static inline struct ioc *GET_IOC(struct device *dev) in GET_IOC()
46 #define ccio_get_iommu(dev) NULL argument
47 #define ccio_request_resource(dev, res) insert_resource(&iomem_resource, res) argument
48 #define ccio_allocate_resource(dev, res, size, min, max, align) \ argument
/linux/drivers/scsi/libsas/
H A Dsas_internal.h125 static inline bool sas_phy_match_dev_addr(struct domain_device *dev, in sas_phy_match_dev_addr()
142 static inline void sas_fail_probe(struct domain_device *dev, const char *func, int err) in sas_fail_probe()
165 static inline void sas_fill_in_rphy(struct domain_device *dev, in sas_fill_in_rphy()
190 static inline void sas_phy_set_target(struct asd_sas_phy *p, struct domain_device *dev) in sas_phy_set_target()
208 struct domain_device *dev = kzalloc(sizeof(*dev), GFP_KERNEL); in sas_alloc_device() local
220 static inline void sas_put_device(struct domain_device *dev) in sas_put_device()
242 static inline int sas_ata_init(struct domain_device *dev) in sas_ata_init()
263 static inline void sas_ata_wait_eh(struct domain_device *dev) in sas_ata_wait_eh()
284 static inline int sas_discover_sata(struct domain_device *dev) in sas_discover_sata()
/linux/net/dsa/
H A Dtag_brcm.c90 struct net_device *dev, in brcm_tag_xmit_ll()
148 struct net_device *dev, in brcm_tag_rcv_ll()
188 struct net_device *dev) in brcm_tag_xmit()
195 static struct sk_buff *brcm_tag_rcv(struct sk_buff *skb, struct net_device *dev) in brcm_tag_rcv()
224 struct net_device *dev) in brcm_leg_tag_rcv()
265 struct net_device *dev) in brcm_leg_tag_xmit()
315 struct net_device *dev) in brcm_leg_fcs_tag_xmit()
375 struct net_device *dev) in brcm_tag_xmit_prepend()
382 struct net_device *dev) in brcm_tag_rcv_prepend()
/linux/drivers/rtc/
H A Drtc-rc5t583.c38 static int rc5t583_rtc_alarm_irq_enable(struct device *dev, unsigned enabled) in rc5t583_rtc_alarm_irq_enable()
59 static int rc5t583_rtc_read_time(struct device *dev, struct rtc_time *tm) in rc5t583_rtc_read_time()
83 static int rc5t583_rtc_set_time(struct device *dev, struct rtc_time *tm) in rc5t583_rtc_set_time()
107 static int rc5t583_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alm) in rc5t583_rtc_read_alarm()
139 static int rc5t583_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alm) in rc5t583_rtc_set_alarm()
170 struct device *dev = rtc; in rc5t583_rtc_interrupt() local
273 static int rc5t583_rtc_suspend(struct device *dev) in rc5t583_rtc_suspend()
285 static int rc5t583_rtc_resume(struct device *dev) in rc5t583_rtc_resume()
/linux/sound/core/
H A Dseq_device.c43 static int snd_seq_bus_match(struct device *dev, const struct device_driver *drv) in snd_seq_bus_match()
63 static int print_dev_info(struct device *dev, void *data) in print_dev_info()
89 static int request_seq_drv(struct device *dev, void *data) in request_seq_drv()
156 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_free() local
167 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_register() local
180 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_disconnect() local
186 static void snd_seq_dev_release(struct device *dev) in snd_seq_dev_release()
201 struct snd_seq_device *dev; in snd_seq_device_new() local
/linux/net/atm/
H A Dresources.c37 struct atm_dev *dev; in __alloc_atm_dev() local
54 struct atm_dev *dev; in __atm_dev_lookup() local
67 struct atm_dev *dev; in atm_dev_lookup() local
80 struct atm_dev *dev, *inuse; in atm_dev_register() local
139 void atm_dev_deregister(struct atm_dev *dev) in atm_dev_deregister()
176 static int fetch_stats(struct atm_dev *dev, struct atm_dev_stats __user *arg, in fetch_stats()
198 struct atm_dev *dev; in atm_getnames() local
232 struct atm_dev *dev; in atm_dev_ioctl() local
/linux/drivers/comedi/drivers/
H A Drtd520.c413 static unsigned short rtd_convert_chan_gain(struct comedi_device *dev, in rtd_convert_chan_gain()
458 static void rtd_load_channelgain_list(struct comedi_device *dev, in rtd_load_channelgain_list()
481 static int rtd520_probe_fifo_depth(struct comedi_device *dev) in rtd520_probe_fifo_depth()
518 static int rtd_ai_eoc(struct comedi_device *dev, in rtd_ai_eoc()
531 static int rtd_ai_rinsn(struct comedi_device *dev, in rtd_ai_rinsn()
574 static int ai_read_n(struct comedi_device *dev, struct comedi_subdevice *s, in ai_read_n()
610 struct comedi_device *dev = d; in rtd_interrupt() local
687 static int rtd_ai_cmdtest(struct comedi_device *dev, in rtd_ai_cmdtest()
828 static int rtd_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in rtd_ai_cmd()
978 static int rtd_ai_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in rtd_ai_cancel()
[all …]
H A Dni_pcidio.c293 static int ni_pcidio_request_di_mite_channel(struct comedi_device *dev) in ni_pcidio_request_di_mite_channel()
316 static void ni_pcidio_release_di_mite_channel(struct comedi_device *dev) in ni_pcidio_release_di_mite_channel()
332 static int setup_mite_dma(struct comedi_device *dev, struct comedi_subdevice *s) in setup_mite_dma()
357 static int ni_pcidio_poll(struct comedi_device *dev, struct comedi_subdevice *s) in ni_pcidio_poll()
375 struct comedi_device *dev = d; in nidio_interrupt() local
466 static int ni_pcidio_insn_config(struct comedi_device *dev, in ni_pcidio_insn_config()
491 static int ni_pcidio_insn_bits(struct comedi_device *dev, in ni_pcidio_insn_bits()
527 static int ni_pcidio_cmdtest(struct comedi_device *dev, in ni_pcidio_cmdtest()
601 static int ni_pcidio_inttrig(struct comedi_device *dev, in ni_pcidio_inttrig()
617 static int ni_pcidio_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in ni_pcidio_cmd()
[all …]

1...<<31323334353637383940>>...406