Home
last modified time | relevance | path

Searched refs:self (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/drivers/gpu/drm/msm/registers/
A Dgen_header.py83 elif self.type == "uint" or self.type == "hex" or self.type == "a3xx_regid":
95 elif self.type == "float" and self.high - self.low == 31:
98 elif self.type == "float" and self.high - self.low == 15:
290 self.name = self.parent.name + "_" + self.local_name
292 self.name = self.local_name
376 self.full_name = self.domain + "_" + self.name
410 self.bitset.dump(self.full_name)
414 self.bitset.dump_pack_struct(self)
625 self.file.append(self.current_reg)
682 self.bitsets[self.current_bitset.name] = self.current_bitset
[all …]
/drivers/net/ethernet/aquantia/atlantic/hw_atl/
A Dhw_atl_b0.c123 self->aq_fw_ops->set_state(self, MPI_RESET); in hw_atl_b0_hw_reset()
195 hw_atl_b0_set_fc(self, self->aq_nic_cfg->fc.req, tc); in hw_atl_b0_hw_qos_set()
464 aq_hw_write_reg(self, 0x00007040U, ATL_HW_IS_CHIP_FEATURE(self, TPO2) ? in hw_atl_b0_hw_init_tx_path()
524 aq_hw_write_reg(self, 0x00005040U, ATL_HW_IS_CHIP_FEATURE(self, RPF2) ? in hw_atl_b0_hw_init_rx_path()
579 self->aq_fw_ops->set_link_speed(self, aq_nic_cfg->link_speed_msk); in hw_atl_b0_hw_init()
580 self->aq_fw_ops->set_state(self, MPI_INIT); in hw_atl_b0_hw_init()
599 self->aq_fw_ops->update_stats(self); in hw_atl_b0_hw_init()
1303 self->aq_fw_ops->adjust_ptp(self, self->ptp_clk_offset); in hw_atl_b0_adj_sys_clock()
1340 return self->aq_fw_ops->send_fw_request(self, &fwreq, size); in hw_atl_b0_adj_clock_freq()
1358 return self->aq_fw_ops->send_fw_request(self, &fwreq, size); in hw_atl_b0_gpio_pulse()
[all …]
A Dhw_atl_a0.c101 self, val, val == 0, in hw_atl_a0_hw_reset()
111 self, val, val == 0, in hw_atl_a0_hw_reset()
116 self->aq_fw_ops->set_state(self, MPI_RESET); in hw_atl_a0_hw_reset()
199 self, val, val == 0, in hw_atl_a0_hw_rss_hash_set()
235 self, val, val == 0, in hw_atl_a0_hw_rss_set()
367 self->aq_fw_ops->set_link_speed(self, aq_nic_cfg->link_speed_msk); in hw_atl_a0_hw_init()
368 self->aq_fw_ops->set_state(self, MPI_INIT); in hw_atl_a0_hw_init()
373 hw_atl_a0_hw_qos_set(self); in hw_atl_a0_hw_init()
379 self->aq_fw_ops->update_stats(self); in hw_atl_a0_hw_init()
740 atomic_inc(&self->dpc); in hw_atl_a0_hw_irq_disable()
[all …]
A Dhw_atl_utils.c74 self->fw_ver_actual = hw_atl_utils_get_fw_version(self); in hw_atl_utils_initfw()
90 err = self->aq_fw_ops->init(self); in hw_atl_utils_initfw()
271 self, val, in hw_atl_utils_soft_reset()
338 self, val, in hw_atl_utils_fw_downld_dwords()
379 self, val, in hw_atl_utils_write_b1_mbox()
405 self, val, in hw_atl_utils_write_b0_mbox()
446 return hw_atl_utils_fw_upload_dwords(self, self->rpc_addr, p, in hw_atl_write_fwcfg_dwords()
492 self, self->mbox_addr, in hw_atl_utils_init_ucp()
524 err = hw_atl_write_fwcfg_dwords(self, (u32 *)(void *)&self->rpc, in hw_atl_utils_fw_rpc_call()
551 self, fw.val, in hw_atl_utils_fw_rpc_wait()
[all …]
A Dhw_atl_utils_fw2x.c101 self, self->mbox_addr, in aq_fw2x_init()
102 self->mbox_addr != 0U, in aq_fw2x_init()
106 self, self->rpc_addr, in aq_fw2x_init()
107 self->rpc_addr != 0U, in aq_fw2x_init()
110 err = aq_fw2x_settings_get(self, &self->settings_addr); in aq_fw2x_init()
232 self->aq_nic_cfg->fc.req); in aq_fw2x_set_state()
314 self, stats_val, in aq_fw2x_update_stats()
408 if (self->aq_nic_cfg->wol) in aq_fw2x_set_power()
409 err = aq_fw2x_set_wol(self, mac); in aq_fw2x_set_power()
530 self->aq_nic_cfg->fc.req); in aq_fw2x_set_flow_control()
[all …]
A Dhw_atl_b0.h35 int hw_atl_b0_hw_rss_hash_set(struct aq_hw_s *self,
37 int hw_atl_b0_hw_offload_set(struct aq_hw_s *self,
53 int hw_atl_b0_hw_ring_tx_head_update(struct aq_hw_s *self,
59 void hw_atl_b0_hw_init_rx_rss_ctrl1(struct aq_hw_s *self);
61 int hw_atl_b0_hw_mac_addr_set(struct aq_hw_s *self, const u8 *mac_addr);
63 int hw_atl_b0_set_fc(struct aq_hw_s *self, u32 fc, u32 tc);
66 int hw_atl_b0_hw_start(struct aq_hw_s *self);
68 int hw_atl_b0_hw_irq_enable(struct aq_hw_s *self, u64 mask);
69 int hw_atl_b0_hw_irq_disable(struct aq_hw_s *self, u64 mask);
70 int hw_atl_b0_hw_irq_read(struct aq_hw_s *self, u64 *mask);
[all …]
A Dhw_atl_utils.h15 #define HW_ATL_FLUSH() { (void)aq_hw_read_reg(self, 0x10); }
586 int hw_atl_utils_soft_reset(struct aq_hw_s *self);
590 int hw_atl_utils_mpi_read_mbox(struct aq_hw_s *self,
593 void hw_atl_utils_mpi_read_stats(struct aq_hw_s *self,
596 void hw_atl_utils_mpi_set(struct aq_hw_s *self,
607 int hw_atl_utils_hw_get_regs(struct aq_hw_s *self,
611 int hw_atl_utils_hw_set_power(struct aq_hw_s *self,
614 int hw_atl_utils_hw_deinit(struct aq_hw_s *self);
616 u32 hw_atl_utils_get_fw_version(struct aq_hw_s *self);
618 int hw_atl_utils_update_stats(struct aq_hw_s *self);
[all …]
/drivers/net/ethernet/aquantia/atlantic/
A Daq_nic.c222 self->aq_hw_ops->hw_irq_enable(self->aq_hw, in aq_linkstate_threaded_isr()
249 self->aq_fw_ops->update_stats(self->aq_hw); in aq_nic_service_task()
285 err = self->aq_hw_ops->hw_prepare(self->aq_hw, &self->aq_fw_ops); in aq_nic_hw_prepare()
343 for (self->aq_vecs = 0; self->aq_vecs < aq_nic_get_cfg(self)->vecs; in aq_nic_ndev_register()
345 self->aq_vec[self->aq_vecs] = in aq_nic_ndev_register()
346 aq_vec_alloc(self, self->aq_vecs, aq_nic_get_cfg(self)); in aq_nic_ndev_register()
347 if (!self->aq_vec[self->aq_vecs]) { in aq_nic_ndev_register()
542 self->ndev->name, self); in aq_nic_start()
1450 self->aq_fw_ops->deinit(self->aq_hw); in aq_nic_deinit()
1480 for (self->aq_vecs = 0; self->aq_vecs < cfg->vecs; self->aq_vecs++) { in aq_nic_realloc_vectors()
[all …]
A Daq_vec.c38 if (!self) { in aq_vec_poll()
60 err = self->aq_hw_ops->hw_ring_rx_receive(self->aq_hw, in aq_vec_poll()
94 self->aq_hw_ops->hw_irq_enable(self->aq_hw, in aq_vec_poll()
107 self = kzalloc(sizeof(*self), GFP_KERNEL); in aq_vec_alloc()
108 if (!self) in aq_vec_alloc()
196 err = self->aq_hw_ops->hw_ring_tx_init(self->aq_hw, in aq_vec_init()
258 self->aq_hw_ops->hw_ring_tx_stop(self->aq_hw, in aq_vec_stop()
261 self->aq_hw_ops->hw_ring_rx_stop(self->aq_hw, in aq_vec_stop()
347 self->aq_hw_ops->hw_irq_disable(self->aq_hw, in aq_vec_isr_legacy()
351 self->aq_hw_ops->hw_irq_enable(self->aq_hw, 1U); in aq_vec_isr_legacy()
[all …]
A Daq_ring.c149 self->size * self->dx_size, in aq_ring_alloc()
213 memset(self, 0, sizeof(*self)); in aq_ring_hwts_rx_alloc()
333 self->sw_head = aq_ring_next_dx(self, self->sw_head); in aq_ring_tx_clean()
535 self->sw_head = aq_ring_next_dx(self, self->sw_head), in __aq_ring_rx_clean()
855 (self->sw_head * self->dx_size), in aq_ring_hwts_rx_clean()
859 self->sw_head = aq_ring_next_dx(self, self->sw_head); in aq_ring_hwts_rx_clean()
875 self->sw_tail = aq_ring_next_dx(self, self->sw_tail)) { in aq_ring_rx_fill()
898 for (; self->sw_head != self->sw_tail; in aq_ring_rx_deinit()
899 self->sw_head = aq_ring_next_dx(self, self->sw_head)) { in aq_ring_rx_deinit()
916 self->size * self->dx_size, self->dx_ring, in aq_ring_free()
[all …]
A Daq_hw.h228 int (*hw_prepare)(struct aq_hw_s *self,
231 int (*hw_reset)(struct aq_hw_s *self);
235 int (*hw_start)(struct aq_hw_s *self);
237 int (*hw_stop)(struct aq_hw_s *self);
291 int (*hw_rss_set)(struct aq_hw_s *self,
299 int (*hw_get_regs)(struct aq_hw_s *self,
351 int (*init)(struct aq_hw_s *self);
353 int (*deinit)(struct aq_hw_s *self);
355 int (*reset)(struct aq_hw_s *self);
357 int (*renegotiate)(struct aq_hw_s *self);
[all …]
A Daq_nic.h170 return self->ndev->dev.parent; in aq_nic_get_dev()
173 void aq_nic_ndev_init(struct aq_nic_s *self);
178 int aq_nic_init(struct aq_nic_s *self);
179 void aq_nic_cfg_start(struct aq_nic_s *self);
180 int aq_nic_ndev_register(struct aq_nic_s *self);
181 void aq_nic_ndev_free(struct aq_nic_s *self);
182 int aq_nic_start(struct aq_nic_s *self);
191 int aq_nic_stop(struct aq_nic_s *self);
193 void aq_nic_set_power(struct aq_nic_s *self);
208 int aq_nic_set_loopback(struct aq_nic_s *self);
[all …]
A Daq_pci_func.c183 irq_data = self; in aq_pci_func_free_irqs()
216 struct aq_nic_s *self; in aq_pci_probe() local
236 self->pdev = pdev; in aq_pci_probe()
247 self->aq_hw = kzalloc(sizeof(*self->aq_hw), GFP_KERNEL); in aq_pci_probe()
248 if (!self->aq_hw) { in aq_pci_probe()
252 self->aq_hw->aq_nic_cfg = aq_nic_get_cfg(self); in aq_pci_probe()
330 kfree(self->aq_hw); in aq_pci_probe()
345 if (self->ndev) { in aq_pci_remove()
351 aq_macsec_free(self); in aq_pci_remove()
357 kfree(self->aq_hw); in aq_pci_remove()
[all …]
A Daq_ring.h176 return (++dx >= self->size) ? 0U : dx; in aq_ring_next_dx()
181 return (((self->sw_tail >= self->sw_head)) ? in aq_ring_avail_dx()
182 (self->size - 1) - self->sw_tail + self->sw_head : in aq_ring_avail_dx()
183 self->sw_head - self->sw_tail - 1); in aq_ring_avail_dx()
186 int aq_ring_tx_alloc(struct aq_ring_s *self,
190 int aq_ring_rx_alloc(struct aq_ring_s *self,
196 void aq_ring_rx_deinit(struct aq_ring_s *self);
197 void aq_ring_free(struct aq_ring_s *self);
201 bool aq_ring_tx_clean(struct aq_ring_s *self);
204 int aq_ring_rx_clean(struct aq_ring_s *self,
[all …]
A Daq_vec.h35 int aq_vec_ring_alloc(struct aq_vec_s *self, struct aq_nic_s *aq_nic,
37 int aq_vec_init(struct aq_vec_s *self, const struct aq_hw_ops *aq_hw_ops,
39 void aq_vec_deinit(struct aq_vec_s *self);
40 void aq_vec_free(struct aq_vec_s *self);
41 void aq_vec_ring_free(struct aq_vec_s *self);
42 int aq_vec_start(struct aq_vec_s *self);
43 void aq_vec_stop(struct aq_vec_s *self);
44 cpumask_t *aq_vec_get_affinity_mask(struct aq_vec_s *self);
45 bool aq_vec_is_valid_tc(struct aq_vec_s *self, const unsigned int tc);
46 unsigned int aq_vec_get_sw_stats(struct aq_vec_s *self, const unsigned int tc, u64 *data);
/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
A Dhw_atl2.c105 self->aq_fw_ops->set_state(self, MPI_RESET); in hw_atl2_hw_reset()
107 err = aq_hw_err_from_flags(self); in hw_atl2_hw_reset()
142 aq_hw_write_reg(self, in hw_atl2_hw_queue_to_tc_map_set()
151 aq_hw_write_reg(self, in hw_atl2_hw_queue_to_tc_map_set()
200 hw_atl_b0_set_fc(self, self->aq_nic_cfg->fc.req, tc); in hw_atl2_hw_qos_set()
471 self, val, val == 1, in hw_atl2_act_rslvr_table_set()
561 self->aq_fw_ops->set_link_speed(self, aq_nic_cfg->link_speed_msk); in hw_atl2_hw_init()
562 self->aq_fw_ops->set_state(self, MPI_INIT); in hw_atl2_hw_init()
564 hw_atl2_hw_qos_set(self); in hw_atl2_hw_init()
572 self->aq_fw_ops->update_stats(self); in hw_atl2_hw_init()
[all …]
A Dhw_atl2_utils_fw.c110 self, val, val == 0U, in hw_atl2_shared_buffer_finish_ack()
134 self, val, val == 0U, in aq_a2_fw_init()
296 self->aq_link_status.mbps = 5000; in aq_a2_fw_update_link_status()
299 self->aq_link_status.mbps = 2500; in aq_a2_fw_update_link_status()
302 self->aq_link_status.mbps = 1000; in aq_a2_fw_update_link_status()
305 self->aq_link_status.mbps = 100; in aq_a2_fw_update_link_status()
308 self->aq_link_status.mbps = 10; in aq_a2_fw_update_link_status()
311 self->aq_link_status.mbps = 0; in aq_a2_fw_update_link_status()
353 if (self->aq_link_status.mbps) { in aq_a2_fill_a0_stats()
395 if (self->aq_link_status.mbps) { in aq_a2_fill_b0_stats()
[all …]
A Dhw_atl2_utils.c37 self->fw_ver_actual = hw_atl2_utils_get_fw_version(self); in hw_atl2_utils_initfw()
43 self->fw_ver_actual); in hw_atl2_utils_initfw()
47 self->aq_fw_ops = *fw_ops; in hw_atl2_utils_initfw()
48 err = self->aq_fw_ops->init(self); in hw_atl2_utils_initfw()
50 self->chip_features |= ATL_HW_CHIP_ANTIGUA; in hw_atl2_utils_initfw()
59 rbl_status = hw_atl2_mif_mcp_boot_reg_get(self); in hw_atl2_mcp_boot_complete()
77 hw_atl2_mif_host_req_int_clr(self, 0x01); in hw_atl2_utils_soft_reset()
82 hw_atl2_mif_mcp_boot_reg_set(self, rbl_request); in hw_atl2_utils_soft_reset()
113 if (hw_atl2_mif_host_req_int_get(self) & in hw_atl2_utils_soft_reset()
120 if (self->aq_fw_ops) { in hw_atl2_utils_soft_reset()
[all …]
/drivers/net/wireless/st/cw1200/
A Dcw1200_spi.c215 self->claimed = 1; in cw1200_spi_lock()
227 self->claimed = 0; in cw1200_spi_unlock()
238 if (self->core) { in cw1200_spi_irq_handler()
268 free_irq(self->func->irq, self); in cw1200_spi_irq_subscribe()
277 free_irq(self->func->irq, self); in cw1200_spi_irq_unsubscribe()
301 if (self->reset || self->powerup) in cw1200_spi_on()
380 self = devm_kzalloc(&func->dev, sizeof(*self), GFP_KERNEL); in cw1200_spi_probe()
381 if (!self) { in cw1200_spi_probe()
420 self, &func->dev, &self->core, in cw1200_spi_probe()
439 if (self) { in cw1200_spi_disconnect()
[all …]
A Dcw1200_sdio.c89 if (self->core) in cw1200_sdio_irq_handler()
102 if (self->core) { in cw1200_gpio_irq()
172 free_irq(self->pdata->irq, self); in cw1200_sdio_irq_unsubscribe()
290 self = kzalloc(sizeof(*self), GFP_KERNEL); in cw1200_sdio_probe()
291 if (!self) { in cw1200_sdio_probe()
299 self->func = func; in cw1200_sdio_probe()
308 self, &func->dev, &self->core, in cw1200_sdio_probe()
319 kfree(self); in cw1200_sdio_probe()
332 if (self) { in cw1200_sdio_disconnect()
334 if (self->core) { in cw1200_sdio_disconnect()
[all …]
/drivers/comedi/drivers/ni_routing/tools/
A Dconvert_csv_to_c.py227 def to_listinit(self): argument
262 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f:
268 EXTERN_H = os.path.join(self.ITEMS_DIR, self.EXTERN_H)
277 def save(self): argument
278 filename=os.path.join(self.OUTPUT_DIR, self.SET_C)
281 os.makedirs(os.path.join(self.OUTPUT_DIR, self.ITEMS_DIR))
451 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f:
457 EXTERN_H = os.path.join(self.ITEMS_DIR, self.EXTERN_H)
466 def save(self): argument
467 filename=os.path.join(self.OUTPUT_DIR, self.SET_C)
[all …]
A Dcsv_collection.py14 def __init__(self, pattern, skip_commented_lines=True, strip_lines=True): argument
15 super(CSVCollection, self).__init__()
16 self.pattern = pattern
25 key = self.source_column_name
28 dR = csv.DictReader(F, delimiter=self.delimiter,
29 quotechar=self.quotechar)
39 self[name] = D
/drivers/crypto/intel/qat/qat_c3xxx/
A Dadf_c3xxx_hw_data.c26 static u32 get_accel_mask(struct adf_hw_device_data *self) in get_accel_mask() argument
28 u32 fuses = self->fuses[ADF_FUSECTL0]; in get_accel_mask()
29 u32 straps = self->straps; in get_accel_mask()
38 static u32 get_ae_mask(struct adf_hw_device_data *self) in get_ae_mask() argument
40 u32 fuses = self->fuses[ADF_FUSECTL0]; in get_ae_mask()
41 u32 straps = self->straps; in get_ae_mask()
55 static u32 get_ts_clock(struct adf_hw_device_data *self) in get_ts_clock() argument
60 return self->clock_frequency / 16; in get_ts_clock()
77 static u32 get_misc_bar_id(struct adf_hw_device_data *self) in get_misc_bar_id() argument
82 static u32 get_etr_bar_id(struct adf_hw_device_data *self) in get_etr_bar_id() argument
[all …]
/drivers/crypto/intel/qat/qat_c62x/
A Dadf_c62x_hw_data.c26 static u32 get_accel_mask(struct adf_hw_device_data *self) in get_accel_mask() argument
28 u32 fuses = self->fuses[ADF_FUSECTL0]; in get_accel_mask()
29 u32 straps = self->straps; in get_accel_mask()
38 static u32 get_ae_mask(struct adf_hw_device_data *self) in get_ae_mask() argument
40 u32 fuses = self->fuses[ADF_FUSECTL0]; in get_ae_mask()
41 u32 straps = self->straps; in get_ae_mask()
55 static u32 get_ts_clock(struct adf_hw_device_data *self) in get_ts_clock() argument
60 return self->clock_frequency / 16; in get_ts_clock()
77 static u32 get_misc_bar_id(struct adf_hw_device_data *self) in get_misc_bar_id() argument
82 static u32 get_etr_bar_id(struct adf_hw_device_data *self) in get_etr_bar_id() argument
[all …]
/drivers/usb/core/
A Dhcd.c433 s = hcd->self.bus_name; in rh_string()
1422 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1463 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1478 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1493 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
2601 usb_bus_init(&hcd->self); in __usb_create_hcd()
2602 hcd->self.controller = dev; in __usb_create_hcd()
2603 hcd->self.sysdev = sysdev; in __usb_create_hcd()
2768 rhdev = hcd->self.root_hub; in usb_put_invalidate_rhdev()
2769 hcd->self.root_hub = NULL; in usb_put_invalidate_rhdev()
[all …]

Completed in 62 milliseconds

12345678910>>...12