Searched refs:dev (Results 501 - 525 of 20743) sorted by relevance

<<21222324252627282930>>

/linux-master/drivers/ssb/
H A Dbridge_pcmcia_80211.c28 static int ssb_host_pcmcia_probe(struct pcmcia_device *dev) argument
40 dev->config_flags |= CONF_ENABLE_IRQ;
42 dev->resource[2]->flags |= WIN_ENABLE | WIN_DATA_WIDTH_16 |
44 dev->resource[2]->start = 0;
45 dev->resource[2]->end = SSB_CORE_SIZE;
46 res = pcmcia_request_window(dev, dev->resource[2], 250);
50 res = pcmcia_map_mem_page(dev, dev->resource[2], 0);
54 if (!dev
77 ssb_host_pcmcia_remove(struct pcmcia_device *dev) argument
88 ssb_host_pcmcia_suspend(struct pcmcia_device *dev) argument
95 ssb_host_pcmcia_resume(struct pcmcia_device *dev) argument
[all...]
/linux-master/drivers/media/pci/cx88/
H A Dcx88-vp3054-i2c.c26 struct cx8802_dev *dev = data; local
27 struct cx88_core *core = dev->core;
28 struct vp3054_i2c_state *vp3054_i2c = dev->vp3054;
43 struct cx8802_dev *dev = data; local
44 struct cx88_core *core = dev->core;
45 struct vp3054_i2c_state *vp3054_i2c = dev->vp3054;
60 struct cx8802_dev *dev = data; local
61 struct cx88_core *core = dev->core;
70 struct cx8802_dev *dev = data; local
71 struct cx88_core *core = dev
91 vp3054_i2c_probe(struct cx8802_dev *dev) argument
130 vp3054_i2c_remove(struct cx8802_dev *dev) argument
[all...]
/linux-master/drivers/xen/xen-pciback/
H A Dconf_space.h15 typedef void *(*conf_field_init) (struct pci_dev *dev, int offset);
16 typedef void (*conf_field_reset) (struct pci_dev *dev, int offset, void *data);
17 typedef void (*conf_field_free) (struct pci_dev *dev, int offset, void *data);
19 typedef int (*conf_dword_write) (struct pci_dev *dev, int offset, u32 value,
21 typedef int (*conf_word_write) (struct pci_dev *dev, int offset, u16 value,
23 typedef int (*conf_byte_write) (struct pci_dev *dev, int offset, u8 value,
25 typedef int (*conf_dword_read) (struct pci_dev *dev, int offset, u32 *value,
27 typedef int (*conf_word_read) (struct pci_dev *dev, int offset, u16 *value,
29 typedef int (*conf_byte_read) (struct pci_dev *dev, int offset, u8 *value,
80 int xen_pcibk_config_add_field_offset(struct pci_dev *dev,
84 xen_pcibk_config_add_field(struct pci_dev *dev, const struct config_field *field) argument
90 xen_pcibk_config_add_fields(struct pci_dev *dev, const struct config_field *field) argument
102 xen_pcibk_config_add_fields_offset(struct pci_dev *dev, const struct config_field *field, unsigned int offset) argument
[all...]
/linux-master/drivers/media/common/siano/
H A Dsmsir.c34 ir_raw_event_store(coredev->ir.dev, &ev);
36 ir_raw_event_handle(coredev->ir.dev);
43 struct rc_dev *dev; local
46 dev = rc_allocate_device(RC_DRIVER_IR_RAW);
47 if (!dev)
61 dev->device_name = coredev->ir.name;
62 dev->input_phys = coredev->ir.phys;
63 dev->dev.parent = coredev->device;
67 dev
[all...]
/linux-master/drivers/net/can/
H A Dvcan.c51 #include <linux/can/dev.h>
72 static void vcan_rx(struct sk_buff *skb, struct net_device *dev) argument
74 struct net_device_stats *stats = &dev->stats;
80 skb->dev = dev;
86 static netdev_tx_t vcan_tx(struct sk_buff *skb, struct net_device *dev) argument
88 struct net_device_stats *stats = &dev->stats;
92 if (can_dropped_invalid_skb(dev, skb))
125 vcan_rx(skb, dev);
133 static int vcan_change_mtu(struct net_device *dev, in argument
156 vcan_setup(struct net_device *dev) argument
[all...]
/linux-master/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_bus.c17 static int vchiq_bus_type_match(struct device *dev, struct device_driver *drv) argument
19 if (dev->bus == &vchiq_bus_type &&
20 strcmp(dev_name(dev), drv->name) == 0)
26 static int vchiq_bus_uevent(const struct device *dev, struct kobj_uevent_env *env) argument
28 const struct vchiq_device *device = container_of_const(dev, struct vchiq_device, dev);
30 return add_uevent_var(env, "MODALIAS=vchiq:%s", dev_name(&device->dev));
33 static int vchiq_bus_probe(struct device *dev) argument
35 struct vchiq_device *device = to_vchiq_device(dev);
36 struct vchiq_driver *driver = to_vchiq_driver(dev
41 vchiq_bus_remove(struct device *dev) argument
58 vchiq_device_release(struct device *dev) argument
[all...]
/linux-master/drivers/hid/intel-ish-hid/ishtp/
H A Dbus.h21 * @dev: device pointer
38 struct device dev; member in struct:ishtp_cl_device
48 int ishtp_bus_new_client(struct ishtp_device *dev);
49 void ishtp_remove_all_clients(struct ishtp_device *dev);
54 int ishtp_send_msg(struct ishtp_device *dev,
60 int ishtp_write_message(struct ishtp_device *dev,
71 void ishtp_recv(struct ishtp_device *dev);
72 void ishtp_reset_handler(struct ishtp_device *dev);
73 void ishtp_reset_compl_handler(struct ishtp_device *dev);
75 int ishtp_fw_cl_by_uuid(struct ishtp_device *dev, cons
[all...]
/linux-master/include/linux/platform_data/
H A Di2c-s3c2410.h35 void (*cfg_gpio)(struct platform_device *dev);
64 extern void s3c_i2c0_cfg_gpio(struct platform_device *dev);
65 extern void s3c_i2c1_cfg_gpio(struct platform_device *dev);
66 extern void s3c_i2c2_cfg_gpio(struct platform_device *dev);
67 extern void s3c_i2c3_cfg_gpio(struct platform_device *dev);
68 extern void s3c_i2c4_cfg_gpio(struct platform_device *dev);
69 extern void s3c_i2c5_cfg_gpio(struct platform_device *dev);
70 extern void s3c_i2c6_cfg_gpio(struct platform_device *dev);
71 extern void s3c_i2c7_cfg_gpio(struct platform_device *dev);
H A Dmmc-omap.h14 struct device *dev; member in struct:omap_mmc_platform_data
25 int (*init)(struct device *dev);
26 void (*cleanup)(struct device *dev);
27 void (*shutdown)(struct device *dev);
30 int (*get_context_loss_count)(struct device *dev);
84 int (*set_bus_mode)(struct device *dev, int slot, int bus_mode);
85 int (*set_power)(struct device *dev, int slot,
87 int (*get_ro)(struct device *dev, int slot);
88 void (*remux)(struct device *dev, int slot, int power_on);
90 void (*before_set_reg)(struct device *dev, in
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dpci_mcu.c13 static int mt76x0e_load_firmware(struct mt76x02_dev *dev) argument
15 bool is_combo_chip = mt76_chip(&dev->mt76) != 0x7610;
28 err = request_firmware(&fw, firmware, dev->mt76.dev);
51 dev_info(dev->mt76.dev, "Firmware Version: %d.%d.%02d\n",
55 dev_dbg(dev->mt76.dev,
60 if (is_combo_chip && !mt76_poll(dev, MT_MCU_SEMAPHORE_00, 1, 1, 600)) {
61 dev_err(dev
116 mt76x0e_mcu_init(struct mt76x02_dev *dev) argument
[all...]
H A Dmt76x0.h31 static inline bool is_mt7610e(struct mt76x02_dev *dev) argument
33 if (!mt76_is_mmio(&dev->mt76))
36 return mt76_chip(&dev->mt76) == 0x7610;
39 static inline bool is_mt7630(struct mt76x02_dev *dev) argument
41 return mt76_chip(&dev->mt76) == 0x7630;
45 int mt76x0_init_hardware(struct mt76x02_dev *dev);
46 int mt76x0_register_device(struct mt76x02_dev *dev);
47 void mt76x0_chip_onoff(struct mt76x02_dev *dev, bool enable, bool reset);
49 void mt76x0_mac_stop(struct mt76x02_dev *dev);
56 void mt76x0_phy_init(struct mt76x02_dev *dev);
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dpriv.h9 int mlx5_cmd_alloc_sf(struct mlx5_core_dev *dev, u16 function_id);
10 int mlx5_cmd_dealloc_sf(struct mlx5_core_dev *dev, u16 function_id);
12 int mlx5_cmd_sf_enable_hca(struct mlx5_core_dev *dev, u16 func_id);
13 int mlx5_cmd_sf_disable_hca(struct mlx5_core_dev *dev, u16 func_id);
15 u16 mlx5_sf_sw_to_hw_id(struct mlx5_core_dev *dev, u32 controller, u16 sw_id);
17 int mlx5_sf_hw_table_sf_alloc(struct mlx5_core_dev *dev, u32 controller, u32 usr_sfnum);
18 void mlx5_sf_hw_table_sf_free(struct mlx5_core_dev *dev, u32 controller, u16 id);
19 void mlx5_sf_hw_table_sf_deferred_free(struct mlx5_core_dev *dev, u32 controller, u16 id);
20 bool mlx5_sf_hw_table_supported(const struct mlx5_core_dev *dev);
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_trace.h18 TP_PROTO(struct drm_device *dev, uint64_t seqno, uint64_t timeout),
19 TP_ARGS(dev, seqno, timeout),
22 __field(u32, dev)
28 __entry->dev = dev->primary->index;
33 TP_printk("dev=%u, seqno=%llu, timeout=%llu",
34 __entry->dev, __entry->seqno, __entry->timeout)
38 TP_PROTO(struct drm_device *dev, uint64_t seqno),
39 TP_ARGS(dev, seqno),
42 __field(u32, dev)
[all...]
/linux-master/drivers/ata/
H A Data_generic.c56 struct ata_device *dev; local
65 ata_for_each_dev(dev, link, ENABLED) {
67 dev->pio_mode = XFER_PIO_0;
68 dev->dma_mode = XFER_MW_DMA_0;
71 if (dma_enabled & (1 << (5 + dev->devno))) {
72 unsigned int xfer_mask = ata_id_xfermask(dev->id);
83 ata_dev_info(dev, "configured for %s\n", name);
85 dev->xfer_mode = ata_xfer_mask2mode(xfer_mask);
86 dev->xfer_shift = ata_xfer_mode2shift(dev
124 is_intel_ider(struct pci_dev *dev) argument
163 ata_generic_init_one(struct pci_dev *dev, const struct pci_device_id *id) argument
[all...]
/linux-master/include/linux/
H A Dif_bridge.h75 int br_multicast_list_adjacent(struct net_device *dev,
77 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto);
78 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto);
79 bool br_multicast_has_router_adjacent(struct net_device *dev, int proto);
80 bool br_multicast_enabled(const struct net_device *dev);
81 bool br_multicast_router(const struct net_device *dev);
83 static inline int br_multicast_list_adjacent(struct net_device *dev, argument
88 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev, argument
93 static inline bool br_multicast_has_querier_adjacent(struct net_device *dev, argument
99 static inline bool br_multicast_has_router_adjacent(struct net_device *dev, argument
105 br_multicast_enabled(const struct net_device *dev) argument
109 br_multicast_router(const struct net_device *dev) argument
128 br_vlan_enabled(const struct net_device *dev) argument
133 br_vlan_get_pvid(const struct net_device *dev, u16 *p_pvid) argument
138 br_vlan_get_proto(const struct net_device *dev, u16 *p_proto) argument
143 br_vlan_get_pvid_rcu(const struct net_device *dev, u16 *p_pvid) argument
148 br_vlan_get_info(const struct net_device *dev, u16 vid, struct bridge_vlan_info *p_vinfo) argument
154 br_vlan_get_info_rcu(const struct net_device *dev, u16 vid, struct bridge_vlan_info *p_vinfo) argument
160 br_mst_enabled(const struct net_device *dev) argument
165 br_mst_get_info(const struct net_device *dev, u16 msti, unsigned long *vids) argument
170 br_mst_get_state(const struct net_device *dev, u16 msti, u8 *state) argument
194 br_fdb_clear_offload(const struct net_device *dev, u16 vid) argument
199 br_port_flag_is_set(const struct net_device *dev, unsigned long flag) argument
204 br_port_get_stp_state(const struct net_device *dev) argument
[all...]
H A Dacpi_dma.h23 * @dev: struct device of the DMA controller to be used in the filter
29 struct device *dev; member in struct:acpi_dma_spec
35 * @dev: struct device of this controller
43 struct device *dev; member in struct:acpi_dma
59 int acpi_dma_controller_register(struct device *dev,
63 int acpi_dma_controller_free(struct device *dev);
64 int devm_acpi_dma_controller_register(struct device *dev,
68 void devm_acpi_dma_controller_free(struct device *dev);
70 struct dma_chan *acpi_dma_request_slave_chan_by_index(struct device *dev,
72 struct dma_chan *acpi_dma_request_slave_chan_by_name(struct device *dev,
79 acpi_dma_controller_register(struct device *dev, struct dma_chan *(*acpi_dma_xlate) (struct acpi_dma_spec *, struct acpi_dma *), void *data) argument
86 acpi_dma_controller_free(struct device *dev) argument
90 devm_acpi_dma_controller_register(struct device *dev, struct dma_chan *(*acpi_dma_xlate) (struct acpi_dma_spec *, struct acpi_dma *), void *data) argument
97 devm_acpi_dma_controller_free(struct device *dev) argument
101 acpi_dma_request_slave_chan_by_index( struct device *dev, size_t index) argument
106 acpi_dma_request_slave_chan_by_name( struct device *dev, const char *name) argument
[all...]
H A Dlapb.h33 void (*connect_confirmation)(struct net_device *dev, int reason);
34 void (*connect_indication)(struct net_device *dev, int reason);
35 void (*disconnect_confirmation)(struct net_device *dev, int reason);
36 void (*disconnect_indication)(struct net_device *dev, int reason);
37 int (*data_indication)(struct net_device *dev, struct sk_buff *skb);
38 void (*data_transmit)(struct net_device *dev, struct sk_buff *skb);
53 extern int lapb_register(struct net_device *dev,
55 extern int lapb_unregister(struct net_device *dev);
56 extern int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms);
57 extern int lapb_setparms(struct net_device *dev, struc
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dpci.c25 static int mt7925e_init_reset(struct mt792x_dev *dev) argument
27 return mt792x_wpdma_reset(dev, true);
30 static void mt7925e_unregister_device(struct mt792x_dev *dev) argument
33 struct mt76_connac_pm *pm = &dev->pm;
35 cancel_work_sync(&dev->init_work);
36 mt76_unregister_device(&dev->mt76);
37 mt76_for_each_q_rx(&dev->mt76, i)
38 napi_disable(&dev->mt76.napi[i]);
41 cancel_work_sync(&dev->reset_work);
43 mt7925_tx_token_put(dev);
52 mt7925_reg_remap_restore(struct mt792x_dev *dev) argument
66 mt7925_reg_map_l1(struct mt792x_dev *dev, u32 addr) argument
83 mt7925_reg_map_l2(struct mt792x_dev *dev, u32 addr) argument
100 __mt7925_reg_addr(struct mt792x_dev *dev, u32 addr) argument
186 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); local
194 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); local
202 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); local
208 mt7925_dma_init(struct mt792x_dev *dev) argument
306 struct mt792x_dev *dev; local
427 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); local
440 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); local
519 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); local
[all...]
/linux-master/drivers/usb/gadget/udc/
H A Dpch_udc.c275 * @dev: reference to device struct
289 struct pch_udc_dev *dev; member in struct:pch_udc_ep
400 static inline u32 pch_udc_readl(struct pch_udc_dev *dev, unsigned long reg) argument
402 return ioread32(dev->base_addr + reg);
405 static inline void pch_udc_writel(struct pch_udc_dev *dev, argument
408 iowrite32(val, dev->base_addr + reg);
411 static inline void pch_udc_bit_set(struct pch_udc_dev *dev, argument
415 pch_udc_writel(dev, pch_udc_readl(dev, reg) | bitmask, reg);
418 static inline void pch_udc_bit_clr(struct pch_udc_dev *dev, argument
454 pch_udc_csr_busy(struct pch_udc_dev *dev) argument
472 pch_udc_write_csr(struct pch_udc_dev *dev, unsigned long val, unsigned int ep) argument
489 pch_udc_read_csr(struct pch_udc_dev *dev, unsigned int ep) argument
503 pch_udc_rmt_wakeup(struct pch_udc_dev *dev) argument
515 pch_udc_get_frame(struct pch_udc_dev *dev) argument
525 pch_udc_clear_selfpowered(struct pch_udc_dev *dev) argument
534 pch_udc_set_selfpowered(struct pch_udc_dev *dev) argument
543 pch_udc_set_disconnect(struct pch_udc_dev *dev) argument
552 pch_udc_clear_disconnect(struct pch_udc_dev *dev) argument
569 pch_udc_reconnect(struct pch_udc_dev *dev) argument
593 pch_udc_vbus_session(struct pch_udc_dev *dev, int is_active) argument
740 pch_udc_set_dma(struct pch_udc_dev *dev, int dir) argument
756 pch_udc_clear_dma(struct pch_udc_dev *dev, int dir) argument
769 pch_udc_set_csr_done(struct pch_udc_dev *dev) argument
779 pch_udc_disable_interrupts(struct pch_udc_dev *dev, u32 mask) argument
790 pch_udc_enable_interrupts(struct pch_udc_dev *dev, u32 mask) argument
801 pch_udc_disable_ep_interrupts(struct pch_udc_dev *dev, u32 mask) argument
812 pch_udc_enable_ep_interrupts(struct pch_udc_dev *dev, u32 mask) argument
823 pch_udc_read_device_interrupts(struct pch_udc_dev *dev) argument
833 pch_udc_write_device_interrupts(struct pch_udc_dev *dev, u32 val) argument
844 pch_udc_read_ep_interrupts(struct pch_udc_dev *dev) argument
854 pch_udc_write_ep_interrupts(struct pch_udc_dev *dev, u32 val) argument
865 pch_udc_read_device_status(struct pch_udc_dev *dev) argument
929 struct pch_udc_dev *dev = ep->dev; local
1043 pch_udc_init(struct pch_udc_dev *dev) argument
1082 pch_udc_exit(struct pch_udc_dev *dev) argument
1102 struct pch_udc_dev *dev; local
1120 struct pch_udc_dev *dev; local
1144 struct pch_udc_dev *dev; local
1169 struct pch_udc_dev *dev; local
1206 struct pch_udc_dev *dev; local
1255 pch_vbus_gpio_get_value(struct pch_udc_dev *dev) argument
1277 struct pch_udc_dev *dev = local
1318 struct pch_udc_dev *dev = local
1346 struct pch_udc_dev *dev = (struct pch_udc_dev *)data; local
1367 pch_vbus_gpio_init(struct pch_udc_dev *dev) argument
1408 pch_vbus_gpio_free(struct pch_udc_dev *dev) argument
1426 struct pch_udc_dev *dev; variable in typeref:struct:pch_udc_dev
1472 pch_udc_free_dma_chain(struct pch_udc_dev *dev, struct pch_udc_request *req) argument
1584 struct pch_udc_dev *dev = ep->dev; local
1647 struct pch_udc_dev *dev; local
1754 struct pch_udc_dev *dev; local
1789 struct pch_udc_dev *dev; local
2054 struct pch_udc_dev *dev = ep->dev; local
2094 struct pch_udc_dev *dev = ep->dev; local
2153 pch_udc_svc_data_in(struct pch_udc_dev *dev, int ep_num) argument
2197 pch_udc_svc_data_out(struct pch_udc_dev *dev, int ep_num) argument
2267 pch_udc_svc_control_in(struct pch_udc_dev *dev) argument
2387 pch_udc_postsvc_epinters(struct pch_udc_dev *dev, int ep_num) argument
2401 pch_udc_read_all_epstatus(struct pch_udc_dev *dev, u32 ep_intr) argument
2427 pch_udc_activate_control_ep(struct pch_udc_dev *dev) argument
2473 pch_udc_svc_ur_interrupt(struct pch_udc_dev *dev) argument
2517 pch_udc_svc_enum_interrupt(struct pch_udc_dev *dev) argument
2556 pch_udc_svc_intf_interrupt(struct pch_udc_dev *dev) argument
2595 pch_udc_svc_cfg_interrupt(struct pch_udc_dev *dev) argument
2631 pch_udc_dev_isr(struct pch_udc_dev *dev, u32 dev_intr) argument
2694 struct pch_udc_dev *dev = (struct pch_udc_dev *) pdev; local
2752 pch_udc_setup_ep0(struct pch_udc_dev *dev) argument
2767 pch_udc_pcd_reinit(struct pch_udc_dev *dev) argument
2831 pch_udc_pcd_init(struct pch_udc_dev *dev) argument
2848 init_dma_pools(struct pch_udc_dev *dev) argument
2908 struct pch_udc_dev *dev = to_pch_udc(g); local
2925 struct pch_udc_dev *dev = to_pch_udc(g); local
2965 struct pch_udc_dev *dev = dev_get_drvdata(d); local
2973 struct pch_udc_dev *dev = pci_get_drvdata(pdev); local
2984 struct pch_udc_dev *dev = pci_get_drvdata(pdev); local
3021 struct pch_udc_dev *dev = dev_get_drvdata(d); local
3042 struct pch_udc_dev *dev; local
[all...]
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-io.h21 return readl(link->dev->regs + adr);
26 writel(val, link->dev->regs + adr);
29 static inline u32 ddbreadl(struct ddb *dev, u32 adr) argument
31 return readl(dev->regs + adr);
34 static inline void ddbwritel(struct ddb *dev, u32 val, u32 adr) argument
36 writel(val, dev->regs + adr);
39 static inline void ddbcpyto(struct ddb *dev, u32 adr, void *src, long count) argument
41 memcpy_toio(dev->regs + adr, src, count);
44 static inline void ddbcpyfrom(struct ddb *dev, void *dst, u32 adr, long count) argument
46 memcpy_fromio(dst, dev
49 safe_ddbreadl(struct ddb *dev, u32 adr) argument
[all...]
/linux-master/tools/net/ynl/samples/
H A Dethtool.c29 ynl_dump_foreach(channels, dev) {
30 printf(" %8s: ", dev->header.dev_name);
31 if (dev->_present.rx_count)
32 printf("rx %d ", dev->rx_count);
33 if (dev->_present.tx_count)
34 printf("tx %d ", dev->tx_count);
35 if (dev->_present.combined_count)
36 printf("combined %d ", dev->combined_count);
47 ynl_dump_foreach(rings, dev) {
48 printf(" %8s: ", dev
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_beacon.c10 static void mt76x02_set_beacon_offsets(struct mt76x02_dev *dev) argument
16 for (i = 0; i < dev->beacon_ops->nslots; i++) {
17 val = i * dev->beacon_ops->slot_size;
22 mt76_wr(dev, MT_BCN_OFFSET(i), regs[i]);
26 mt76x02_write_beacon(struct mt76x02_dev *dev, int offset, struct sk_buff *skb) argument
28 int beacon_len = dev->beacon_ops->slot_size;
36 if (mt76_is_usb(&dev->mt76)) {
40 mt76x02_mac_write_txwi(dev, txwi, skb, NULL, NULL, skb->len);
45 mt76x02_mac_write_txwi(dev, &txwi, skb, NULL, NULL, skb->len);
46 mt76_wr_copy(dev, offse
54 mt76x02_mac_set_beacon(struct mt76x02_dev *dev, struct sk_buff *skb) argument
69 mt76x02_mac_set_beacon_enable(struct mt76x02_dev *dev, struct ieee80211_vif *vif, bool enable) argument
107 mt76x02_resync_beacon_timer(struct mt76x02_dev *dev) argument
140 struct mt76x02_dev *dev = data->dev; local
159 struct mt76x02_dev *dev = data->dev; local
180 mt76x02_enqueue_buffered_bc(struct mt76x02_dev *dev, struct beacon_bc_data *data, int max_nframes) argument
205 mt76x02_init_beacon_config(struct mt76x02_dev *dev) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dsoc.c12 struct mt7603_dev *dev; local
26 mdev = mt76_alloc_device(&pdev->dev, sizeof(*dev), &mt7603_ops,
31 dev = container_of(mdev, struct mt7603_dev, mt76);
34 mdev->rev = (mt76_rr(dev, MT_HW_CHIPID) << 16) |
35 (mt76_rr(dev, MT_HW_REV) & 0xff);
36 dev_info(mdev->dev, "ASIC revision: %04x\n", mdev->rev);
38 mt76_wr(dev, MT_INT_MASK_CSR, 0);
40 ret = devm_request_irq(mdev->dev, irq, mt7603_irq_handler,
41 IRQF_SHARED, KBUILD_MODNAME, dev);
58 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); local
[all...]
/linux-master/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_def.h17 #define dev_printk_f(level, dev, fmt, args...) \
18 dev_printk(level, dev, "%s() " fmt, __func__, ##args)
21 # define dev_dbg_f(dev, fmt, args...) \
22 dev_printk_f(KERN_DEBUG, dev, fmt, ## args)
23 # define dev_dbg_f_limit(dev, fmt, args...) do { \
25 dev_printk_f(KERN_DEBUG, dev, fmt, ## args); \
27 # define dev_dbg_f_cond(dev, cond, fmt, args...) ({ \
30 dev_printk_f(KERN_DEBUG, dev, fmt, ## args); \
33 # define dev_dbg_f(dev, fmt, args...) do { (void)(dev); } whil
[all...]
/linux-master/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_phy.c19 static u32 _rtl92e_phy_rf_fw_read(struct net_device *dev,
21 static void _rtl92e_phy_rf_fw_write(struct net_device *dev,
32 void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask, argument
38 OriginalValue = rtl92e_readl(dev, dwRegAddr);
41 rtl92e_writel(dev, dwRegAddr, NewValue);
43 rtl92e_writel(dev, dwRegAddr, dwData);
47 u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask) argument
51 OriginalValue = rtl92e_readl(dev, dwRegAddr);
57 static u32 _rtl92e_phy_rf_read(struct net_device *dev, argument
60 struct r8192_priv *priv = rtllib_priv(dev);
104 _rtl92e_phy_rf_write(struct net_device *dev, enum rf90_radio_path eRFPath, u32 Offset, u32 Data) argument
149 rtl92e_set_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath, u32 RegAddr, u32 BitMask, u32 Data) argument
185 rtl92e_get_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath, u32 RegAddr, u32 BitMask) argument
206 _rtl92e_phy_rf_fw_read(struct net_device *dev, enum rf90_radio_path eRFPath, u32 Offset) argument
231 _rtl92e_phy_rf_fw_write(struct net_device *dev, enum rf90_radio_path eRFPath, u32 Offset, u32 Data) argument
251 rtl92e_config_mac(struct net_device *dev) argument
273 _rtl92e_phy_config_bb(struct net_device *dev, u8 ConfigType) argument
300 _rtl92e_init_bb_rf_reg_def(struct net_device *dev) argument
323 rtl92e_check_bb_and_rf(struct net_device *dev, enum hw90_block CheckBlock, enum rf90_radio_path eRFPath) argument
378 _rtl92e_bb_config_para_file(struct net_device *dev) argument
419 rtl92e_config_bb(struct net_device *dev) argument
425 rtl92e_get_tx_power(struct net_device *dev) argument
450 rtl92e_set_tx_power(struct net_device *dev, u8 channel) argument
464 rtl92e_config_rf_path(struct net_device *dev, enum rf90_radio_path eRFPath) argument
498 _rtl92e_set_tx_power_level(struct net_device *dev, u8 channel) argument
508 _rtl92e_phy_set_sw_chnl_cmd_array(struct net_device *dev, struct sw_chnl_cmd *CmdTable, u32 CmdTableIdx, u32 CmdTableSz, enum sw_chnl_cmd_id CmdID, u32 Para1, u32 Para2, u32 msDelay) argument
534 _rtl92e_phy_switch_channel_step(struct net_device *dev, u8 channel, u8 *stage, u8 *step, u32 *delay) argument
652 _rtl92e_phy_switch_channel(struct net_device *dev, u8 channel) argument
667 _rtl92e_phy_switch_channel_work_item(struct net_device *dev) argument
674 rtl92e_set_channel(struct net_device *dev, u8 channel) argument
719 _rtl92e_cck_tx_power_track_bw_switch_tssi(struct net_device *dev) argument
776 _rtl92e_cck_tx_power_track_bw_switch_thermal(struct net_device *dev) argument
801 _rtl92e_cck_tx_power_track_bw_switch(struct net_device *dev) argument
811 _rtl92e_set_bw_mode_work_item(struct net_device *dev) argument
886 rtl92e_set_bw_mode(struct net_device *dev, enum ht_channel_width bandwidth, enum ht_extchnl_offset Offset) argument
909 rtl92e_init_gain(struct net_device *dev, u8 Operation) argument
965 rtl92e_set_rf_off(struct net_device *dev) argument
977 _rtl92e_set_rf_power_state(struct net_device *dev, enum rt_rf_power_state rf_power_state) argument
1078 rtl92e_set_rf_power_state(struct net_device *dev, enum rt_rf_power_state rf_power_state) argument
1094 rtl92e_scan_op_backup(struct net_device *dev, u8 Operation) argument
[all...]

Completed in 512 milliseconds

<<21222324252627282930>>