Home
last modified time | relevance | path

Searched refs:rdata (Results 1 – 25 of 102) sorted by relevance

12345

/linux/drivers/scsi/libfc/
A Dfc_rport.c117 return rdata; in fc_rport_lookup()
136 if (rdata) { in fc_rport_create()
138 return rdata; in fc_rport_create()
144 if (!rdata) in fc_rport_create()
167 return rdata; in fc_rport_create()
318 rdata->lld_event_callback(lport, rdata, event); in fc_rport_work()
344 rdata->lld_event_callback(lport, rdata, event); in fc_rport_work()
620 -err, fc_rport_state(rdata), rdata->retries); in fc_rport_error()
882 if (!rdata) { in fc_rport_recv_flogi_req()
1705 if (!rdata) { in fc_rport_recv_els_req()
[all …]
A Dfc_disc.c53 struct fc_rport_priv *rdata; in fc_disc_stop_rports() local
59 fc_rport_logoff(rdata); in fc_disc_stop_rports()
281 if (rdata->disc_id) { in fc_disc_done()
283 fc_rport_login(rdata); in fc_disc_done()
285 fc_rport_logoff(rdata); in fc_disc_done()
437 if (rdata) { in fc_disc_gpn_ft_parse()
620 fc_rport_login(rdata); in fc_disc_gpn_id_resp()
624 fc_rport_logoff(rdata); in fc_disc_gpn_id_resp()
660 kref_get(&rdata->kref); in fc_disc_gpn_id_req()
676 if (!rdata) in fc_disc_single()
[all …]
A Dfc_lport.c176 rdata->ids.port_id); in fc_lport_rport_callback()
185 lport->ms_rdata = rdata; in fc_lport_rport_callback()
194 fc_rport_logoff(rdata); in fc_lport_rport_callback()
1422 if (!rdata) in fc_lport_enter_dns()
1426 fc_rport_login(rdata); in fc_lport_enter_dns()
1568 if (!rdata) in fc_lport_enter_fdmi()
1572 fc_rport_login(rdata); in fc_lport_enter_fdmi()
2154 rdata->e_d_tov); in fc_lport_bsg_request()
2164 rdata->e_d_tov); in fc_lport_bsg_request()
2171 if (!rdata) in fc_lport_bsg_request()
[all …]
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-desc.c131 if (ring->rdata) { in xgbe_free_ring()
137 kfree(ring->rdata); in xgbe_free_ring()
138 ring->rdata = NULL; in xgbe_free_ring()
236 if (!ring->rdata) in xgbe_init_ring()
473 if (rdata->skb_dma) { in xgbe_unmap_rdata()
481 rdata->skb_dma = 0; in xgbe_unmap_rdata()
485 if (rdata->skb) { in xgbe_unmap_rdata()
487 rdata->skb = NULL; in xgbe_unmap_rdata()
510 memset(&rdata->tx, 0, sizeof(rdata->tx)); in xgbe_unmap_rdata()
511 memset(&rdata->rx, 0, sizeof(rdata->rx)); in xgbe_unmap_rdata()
[all …]
A Dxgbe-drv.c2372 if (rdata->rx.hdr_len) in xgbe_rx_buf1_len()
2373 return rdata->rx.hdr_len; in xgbe_rx_buf1_len()
2384 return min_t(unsigned int, rdata->rx.hdr.dma_len, rdata->rx.len); in xgbe_rx_buf1_len()
2431 rdesc = rdata->rdesc; in xgbe_tx_poll()
2506 skb = rdata->state.skb; in xgbe_rx_poll()
2508 len = rdata->state.len; in xgbe_rx_poll()
2651 rdata->state_saved = 1; in xgbe_rx_poll()
2652 rdata->state.skb = skb; in xgbe_rx_poll()
2653 rdata->state.len = len; in xgbe_rx_poll()
2739 rdesc = rdata->rdesc; in xgbe_dump_tx_desc()
[all …]
A Dxgbe-dev.c1422 xgbe_tx_desc_reset(rdata); in xgbe_tx_desc_init()
1465 hdr_dma = rdata->rx.hdr.dma_base + rdata->rx.hdr.dma_off; in xgbe_rx_desc_reset()
1466 buf_dma = rdata->rx.buf.dma_base + rdata->rx.buf.dma_off; in xgbe_rx_desc_reset()
1726 rdesc = rdata->rdesc; in xgbe_dev_xmit()
1772 rdesc = rdata->rdesc; in xgbe_dev_xmit()
1781 rdata->skb_dma_len); in xgbe_dev_xmit()
1835 rdesc = rdata->rdesc; in xgbe_dev_xmit()
1843 rdata->skb_dma_len); in xgbe_dev_xmit()
1879 rdesc = rdata->rdesc; in xgbe_dev_xmit()
1917 rdesc = rdata->rdesc; in xgbe_dev_read()
[all …]
/linux/drivers/media/dvb-frontends/cxd2880/
A Dcxd2880_tnrdmd_dvbt_mon.c29 u8 rdata = 0x00; in cxd2880_tnrdmd_dvbt_mon_sync_stat() local
87 u8 rdata = 0x00; in cxd2880_tnrdmd_dvbt_mon_mode_guard() local
142 u8 rdata[4]; in cxd2880_tnrdmd_dvbt_mon_carrier_offset() local
184 ((rdata[0] & 0x1f) << 24) | (rdata[1] << 16) | (rdata[2] << 8) | in cxd2880_tnrdmd_dvbt_mon_carrier_offset()
185 (rdata[3]); in cxd2880_tnrdmd_dvbt_mon_carrier_offset()
212 u8 rdata[7]; in cxd2880_tnrdmd_dvbt_mon_tps_info() local
284 info->cell_id = (rdata[3] << 8) | rdata[4]; in cxd2880_tnrdmd_dvbt_mon_tps_info()
298 u8 rdata[3]; in cxd2880_tnrdmd_dvbt_mon_packet_error_number() local
328 *pen = (rdata[1] << 8) | rdata[2]; in cxd2880_tnrdmd_dvbt_mon_packet_error_number()
394 u8 rdata[2]; in dvbt_read_snr_reg() local
[all …]
A Dcxd2880_tnrdmd_mon.c20 u8 rdata[2]; in cxd2880_tnrdmd_mon_rf_lvl() local
63 0x15, rdata, 2); in cxd2880_tnrdmd_mon_rf_lvl()
67 if (rdata[0] || rdata[1]) in cxd2880_tnrdmd_mon_rf_lvl()
72 0x11, rdata, 2); in cxd2880_tnrdmd_mon_rf_lvl()
77 cxd2880_convert2s_complement((rdata[0] << 3) | in cxd2880_tnrdmd_mon_rf_lvl()
78 ((rdata[1] & 0xe0) >> 5), 11); in cxd2880_tnrdmd_mon_rf_lvl()
A Dcxd2880_top.c48 u8 rdata[2]; in cxd2880_pre_bit_err_t() local
77 0x39, rdata, 1); in cxd2880_pre_bit_err_t()
90 0x22, rdata, 2); in cxd2880_pre_bit_err_t()
96 *pre_bit_err = (rdata[0] << 8) | rdata[1]; in cxd2880_pre_bit_err_t()
100 0x6f, rdata, 1); in cxd2880_pre_bit_err_t()
200 u8 rdata[3]; in cxd2880_post_bit_err_t() local
232 *post_bit_err = ((rdata[0] & 0x3f) << 16) | (rdata[1] << 8) | rdata[2]; in cxd2880_post_bit_err_t()
368 u8 rdata[3]; in cxd2880_read_block_err_t() local
398 *block_err = (rdata[1] << 8) | rdata[2]; in cxd2880_read_block_err_t()
424 u8 rdata[3]; in cxd2880_read_block_err_t2() local
[all …]
/linux/drivers/platform/x86/
A Dmsi-laptop.c164 &rdata, 1); in get_lcd_level()
177 &rdata, 1); in get_auto_brightness()
192 &rdata, 1); in set_auto_brightness()
255 u8 rdata; in get_wireless_state_ec_standard() local
273 u8 rdata; in get_threeg_exists() local
441 u8 rdata; in show_touchpad() local
455 u8 rdata; in show_turbo() local
469 u8 rdata; in show_eco() local
483 u8 rdata; in show_turbo_cooldown() local
498 u8 rdata; in show_auto_fan() local
[all …]
/linux/fs/cifs/
A Dfile.c3420 rdata = kzalloc(sizeof(*rdata), GFP_KERNEL); in cifs_readdata_direct_alloc()
3429 return rdata; in cifs_readdata_direct_alloc()
3463 kfree(rdata); in cifs_readdata_release()
3669 rc = adjust_credits(server, &rdata->credits, rdata->bytes); in cifs_resend_rdata()
3767 if (!rdata) { in cifs_send_async_read()
3815 rc = adjust_credits(server, &rdata->credits, rdata->bytes); in cifs_send_async_read()
3900 rdata, in collect_uncached_read_data()
3922 if (rdata->got_bytes && rdata->got_bytes < rdata->bytes) in collect_uncached_read_data()
4541 if (!rdata) { in cifs_readpages()
4568 rdata->pages[rdata->nr_pages++] = page; in cifs_readpages()
[all …]
/linux/drivers/reset/
A Dreset-uniphier-glue.c27 struct reset_simple_data rdata; member
51 priv->rdata.membase = devm_ioremap_resource(dev, res); in uniphier_glue_reset_probe()
52 if (IS_ERR(priv->rdata.membase)) in uniphier_glue_reset_probe()
53 return PTR_ERR(priv->rdata.membase); in uniphier_glue_reset_probe()
78 spin_lock_init(&priv->rdata.lock); in uniphier_glue_reset_probe()
79 priv->rdata.rcdev.owner = THIS_MODULE; in uniphier_glue_reset_probe()
80 priv->rdata.rcdev.nr_resets = size * BITS_PER_BYTE; in uniphier_glue_reset_probe()
81 priv->rdata.rcdev.ops = &reset_simple_ops; in uniphier_glue_reset_probe()
82 priv->rdata.rcdev.of_node = dev->of_node; in uniphier_glue_reset_probe()
83 priv->rdata.active_low = true; in uniphier_glue_reset_probe()
[all …]
/linux/drivers/regulator/
A Dirq_helpers.c25 struct regulator_irq_data rdata; member
61 rid = &h->rdata; in regulator_notifier_isr_work()
166 rid = &h->rdata; in regulator_notifier_isr()
286 h->rdata.states = devm_kzalloc(dev, sizeof(*h->rdata.states) * in init_rdev_state()
288 if (!h->rdata.states) in init_rdev_state()
291 h->rdata.num_states = rdev_amount; in init_rdev_state()
292 h->rdata.data = h->desc.data; in init_rdev_state()
295 h->rdata.states[i].possible_errs = common_err; in init_rdev_state()
298 h->rdata.states[i].rdev = *rdev++; in init_rdev_state()
308 for (i = 0; i < h->rdata.num_states; i++) in init_rdev_errors()
[all …]
A Ds5m8767.c433 if (rdata->id != S5M8767_BUCK9) in s5m8767_regulator_config_ext_control()
439 if (opmode->id == rdata->id) { in s5m8767_regulator_config_ext_control()
447 rdata->reg_node, mode); in s5m8767_regulator_config_ext_control()
451 if (!rdata->ext_control_gpiod) { in s5m8767_regulator_config_ext_control()
454 rdata->reg_node); in s5m8767_regulator_config_ext_control()
544 rdata = devm_kcalloc(&pdev->dev, in s5m8767_pmic_dt_parse_pdata()
547 if (!rdata) { in s5m8767_pmic_dt_parse_pdata()
560 pdata->regulators = rdata; in s5m8767_pmic_dt_parse_pdata()
588 rdata->id = i; in s5m8767_pmic_dt_parse_pdata()
592 rdata->reg_node = reg_np; in s5m8767_pmic_dt_parse_pdata()
[all …]
/linux/drivers/target/tcm_fc/
A Dtfc_sess.c208 struct fc_rport_priv *rdata) in ft_sess_create() argument
354 tport = ft_tport_get(rdata->local_port); in ft_prli_locked()
379 sess = ft_sess_create(tport, rdata->ids.port_id, rdata); in ft_prli_locked()
388 rdata->prli_count++; in ft_prli_locked()
390 sess->port_name = rdata->ids.port_name; in ft_prli_locked()
391 sess->max_frame = rdata->maxframe_size; in ft_prli_locked()
421 static int ft_prli(struct fc_rport_priv *rdata, u32 spp_len, in ft_prli() argument
427 ret = ft_prli_locked(rdata, spp_len, rspp, spp); in ft_prli()
450 static void ft_prlo(struct fc_rport_priv *rdata) in ft_prlo() argument
463 sess = ft_sess_delete(tport, rdata->ids.port_id); in ft_prlo()
[all …]
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_sp.c2103 raw->rdata = rdata; in bnx2x_init_raw_obj()
5059 memset(rdata, 0, sizeof(*rdata)); in bnx2x_q_send_setup_e1x()
5085 memset(rdata, 0, sizeof(*rdata)); in bnx2x_q_send_setup_e2()
5125 memset(rdata, 0, sizeof(*rdata)); in bnx2x_q_send_setup_tx_only()
5235 memset(rdata, 0, sizeof(*rdata)); in bnx2x_q_send_update()
5326 memset(rdata, 0, sizeof(*rdata)); in bnx2x_q_send_update_tpa()
5675 obj->rdata = rdata; in bnx2x_init_queue_obj()
6146 memset(rdata, 0, sizeof(*rdata)); in bnx2x_func_send_start()
6209 memset(rdata, 0, sizeof(*rdata)); in bnx2x_func_send_switch_update()
6288 memset(rdata, 0, sizeof(*rdata)); in bnx2x_func_send_afex_update()
[all …]
/linux/drivers/media/usb/pvrusb2/
A Dpvrusb2-i2c-core.c166 u8 *rdata, in pvr2_i2c_basic_op() argument
169 if (!rdata) rlen = 0; in pvr2_i2c_basic_op()
186 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_24xxx_ir() argument
207 if (rlen > 0) rdata[0] = 0; in i2c_24xxx_ir()
208 if (rlen > 1) rdata[1] = 0; in i2c_24xxx_ir()
229 rdata[2] = 0xc1; in i2c_24xxx_ir()
232 rdata[0] = 0; in i2c_24xxx_ir()
233 rdata[1] = 0; in i2c_24xxx_ir()
244 rdata[0] = (val >> 8) & 0xffu; in i2c_24xxx_ir()
245 rdata[1] = val & 0xffu; in i2c_24xxx_ir()
[all …]
/linux/drivers/scsi/bnx2fc/
A Dbnx2fc_tgt.c21 struct fc_rport_priv *rdata);
82 struct fc_rport_priv *rdata) in bnx2fc_offload_session() argument
163 fc_rport_logoff(rdata); in bnx2fc_offload_session()
362 tgt->rdata = rdata; in bnx2fc_init_tgt()
440 struct fc_rport_priv *rdata, in bnx2fc_rport_event_handler() argument
452 event, rdata->ids.port_id); in bnx2fc_rport_event_handler()
469 rdata->ids.port_id); in bnx2fc_rport_event_handler()
528 port_id = rdata->ids.port_id; in bnx2fc_rport_event_handler()
584 struct fc_rport_priv *rdata; in bnx2fc_tgt_lookup() local
590 rdata = tgt->rdata; in bnx2fc_tgt_lookup()
[all …]
/linux/drivers/scsi/fcoe/
A Dfcoe_ctlr.c2011 return container_of(rdata, struct fcoe_rport, rdata); in fcoe_ctlr_rport()
2148 rdata->ids.port_id); in fcoe_ctlr_vn_rport_callback()
2506 if (!rdata) { in fcoe_ctlr_vn_add()
2516 ids = &rdata->ids; in fcoe_ctlr_vn_add()
2533 rdata->rp_state); in fcoe_ctlr_vn_add()
2558 if (rdata) { in fcoe_ctlr_vn_lookup()
2657 rdata = fc_rport_lookup(lport, new->rdata.ids.port_id); in fcoe_ctlr_vn_beacon()
2658 if (rdata) { in fcoe_ctlr_vn_beacon()
2659 if (rdata->ids.node_name == new->rdata.ids.node_name && in fcoe_ctlr_vn_beacon()
2660 rdata->ids.port_name == new->rdata.ids.port_name) { in fcoe_ctlr_vn_beacon()
[all …]
/linux/drivers/hid/
A Dhid-multitouch.c608 rdata = devm_kzalloc(&td->hdev->dev, sizeof(*rdata), GFP_KERNEL); in mt_allocate_report_data()
609 if (!rdata) in mt_allocate_report_data()
638 return rdata; in mt_allocate_report_data()
648 rdata = tmp; in mt_find_report_data()
653 if (!rdata) in mt_find_report_data()
656 return rdata; in mt_find_report_data()
1318 if (!rdata) { in mt_input_mapping()
1390 if (rdata && rdata->is_mt_collection) { in mt_input_mapped()
1406 if (rdata && rdata->is_mt_collection) in mt_event()
1422 if (rdata && rdata->is_mt_collection) in mt_report()
[all …]
/linux/include/trace/events/
A Dfsi_master_ast_cf.h48 TP_PROTO(const struct fsi_master_acf *master, u8 rtag, u8 rcrc, __be32 rdata, bool crc_ok),
49 TP_ARGS(master, rtag, rcrc, rdata, crc_ok),
54 __field(u32, rdata)
61 __entry->rdata = be32_to_cpu(rdata);
66 __entry->rdata, __entry->crc_ok ? ' ' : '!'
/linux/drivers/soc/mediatek/
A Dmtk-pmic-wrap.c1243 *rdata = 0; in pwrap_read32()
1295 int ret, msb, rdata; in pwrap_write32() local
1378 u32 rdata; in pwrap_init_sidly() local
1388 &rdata); in pwrap_init_sidly()
1409 u32 rdata; in pwrap_init_dual_io() local
1507 u32 rdata; in pwrap_is_pmic_cipher_ready() local
1511 &rdata); in pwrap_is_pmic_cipher_ready()
1515 return rdata == 1; in pwrap_is_pmic_cipher_ready()
1521 u32 rdata = 0; in pwrap_init_cipher() local
1602 &rdata) || in pwrap_init_cipher()
[all …]
/linux/drivers/scsi/qedf/
A Dqedf_main.c735 rdata = fcport->rdata; in qedf_eh_abort()
736 if (!rdata || !kref_get_unless_zero(&rdata->kref)) { in qedf_eh_abort()
748 rdata->ids.port_id); in qedf_eh_abort()
806 rdata->ids.port_id); in qedf_eh_abort()
893 if (fcport->rdata) in qedf_wait_for_upload()
1019 rdata = fcport->rdata; in qedf_fcport_lookup()
1020 if (rdata == NULL) in qedf_fcport_lookup()
1108 if (rdata) { in qedf_xmit()
1432 struct fc_rport_priv *rdata = fcport->rdata; in qedf_cleanup_fcport() local
1443 fcport->rdata = NULL; in qedf_cleanup_fcport()
[all …]
A Dqedf_els.c371 struct fc_rport_priv *rdata; in qedf_restart_rport() local
394 rdata = fcport->rdata; in qedf_restart_rport()
395 if (rdata && !kref_get_unless_zero(&rdata->kref)) { in qedf_restart_rport()
396 fcport->rdata = NULL; in qedf_restart_rport()
397 rdata = NULL; in qedf_restart_rport()
400 if (rdata && rdata->rp_state == RPORT_ST_READY) { in qedf_restart_rport()
402 port_id = rdata->ids.port_id; in qedf_restart_rport()
405 fc_rport_logoff(rdata); in qedf_restart_rport()
411 if (rdata) in qedf_restart_rport()
412 fc_rport_login(rdata); in qedf_restart_rport()
[all …]
/linux/drivers/tty/serial/
A Dar933x_uart.c122 unsigned int rdata; in ar933x_uart_putc() local
124 rdata = ch & AR933X_UART_DATA_TX_RX_MASK; in ar933x_uart_putc()
125 rdata |= AR933X_UART_DATA_TX_CSR; in ar933x_uart_putc()
126 ar933x_uart_write(up, AR933X_UART_DATA_REG, rdata); in ar933x_uart_putc()
134 unsigned int rdata; in ar933x_uart_tx_empty() local
137 rdata = ar933x_uart_read(up, AR933X_UART_DATA_REG); in ar933x_uart_tx_empty()
367 unsigned int rdata; in ar933x_uart_rx_chars() local
371 if ((rdata & AR933X_UART_DATA_RX_CSR) == 0) in ar933x_uart_rx_chars()
379 ch = rdata & AR933X_UART_DATA_TX_RX_MASK; in ar933x_uart_rx_chars()
410 unsigned int rdata; in ar933x_uart_tx_chars() local
[all …]

Completed in 128 milliseconds

12345