/linux-6.3-rc2/drivers/scsi/libfc/ |
A D | fc_rport.c | 117 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 D | fc_disc.c | 53 struct fc_rport_priv *rdata; in fc_disc_stop_rports() local 59 fc_rport_logoff(rdata); in fc_disc_stop_rports() 278 if (rdata->disc_id) { in fc_disc_done() 280 fc_rport_login(rdata); in fc_disc_done() 282 fc_rport_logoff(rdata); in fc_disc_done() 434 if (rdata) { in fc_disc_gpn_ft_parse() 617 fc_rport_login(rdata); in fc_disc_gpn_id_resp() 621 fc_rport_logoff(rdata); in fc_disc_gpn_id_resp() 657 kref_get(&rdata->kref); in fc_disc_gpn_id_req() 673 if (!rdata) in fc_disc_single() [all …]
|
A D | fc_lport.c | 176 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-6.3-rc2/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-desc.c | 131 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 D | xgbe-drv.c | 2372 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() 2661 rdata->state_saved = 1; in xgbe_rx_poll() 2662 rdata->state.skb = skb; in xgbe_rx_poll() 2663 rdata->state.len = len; in xgbe_rx_poll() 2749 rdesc = rdata->rdesc; in xgbe_dump_tx_desc() [all …]
|
/linux-6.3-rc2/drivers/media/dvb-frontends/cxd2880/ |
A D | cxd2880_tnrdmd_dvbt_mon.c | 29 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 D | cxd2880_tnrdmd_mon.c | 20 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 D | cxd2880_top.c | 48 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 …]
|
A D | cxd2880_io.c | 35 u8 rdata = 0x00; in cxd2880_io_set_reg_bits() local 37 ret = io->read_regs(io, tgt, sub_address, &rdata, 1); in cxd2880_io_set_reg_bits() 41 data = (data & mask) | (rdata & (mask ^ 0xff)); in cxd2880_io_set_reg_bits()
|
/linux-6.3-rc2/drivers/platform/x86/ |
A D | msi-laptop.c | 162 &rdata, 1); in get_lcd_level() 175 &rdata, 1); in get_auto_brightness() 190 &rdata, 1); in set_auto_brightness() 253 u8 rdata; in get_wireless_state_ec_standard() local 271 u8 rdata; in get_threeg_exists() local 439 u8 rdata; in show_touchpad() local 453 u8 rdata; in show_turbo() local 467 u8 rdata; in show_eco() local 481 u8 rdata; in show_turbo_cooldown() local 496 u8 rdata; in show_auto_fan() local [all …]
|
/linux-6.3-rc2/drivers/reset/ |
A D | reset-uniphier-glue.c | 27 struct reset_simple_data rdata; member 62 priv->rdata.membase = devm_ioremap_resource(dev, res); in uniphier_glue_reset_probe() 63 if (IS_ERR(priv->rdata.membase)) in uniphier_glue_reset_probe() 64 return PTR_ERR(priv->rdata.membase); in uniphier_glue_reset_probe() 95 spin_lock_init(&priv->rdata.lock); in uniphier_glue_reset_probe() 96 priv->rdata.rcdev.owner = THIS_MODULE; in uniphier_glue_reset_probe() 97 priv->rdata.rcdev.nr_resets = resource_size(res) * BITS_PER_BYTE; in uniphier_glue_reset_probe() 98 priv->rdata.rcdev.ops = &reset_simple_ops; in uniphier_glue_reset_probe() 99 priv->rdata.rcdev.of_node = dev->of_node; in uniphier_glue_reset_probe() 100 priv->rdata.active_low = true; in uniphier_glue_reset_probe() [all …]
|
/linux-6.3-rc2/drivers/regulator/ |
A D | irq_helpers.c | 25 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 D | s5m8767.c | 433 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-6.3-rc2/drivers/target/tcm_fc/ |
A D | tfc_sess.c | 208 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-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_sp.c | 2103 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-6.3-rc2/drivers/media/usb/pvrusb2/ |
A D | pvrusb2-i2c-core.c | 166 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-6.3-rc2/drivers/scsi/bnx2fc/ |
A D | bnx2fc_tgt.c | 21 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-6.3-rc2/drivers/scsi/fcoe/ |
A D | fcoe_ctlr.c | 2003 return container_of(rdata, struct fcoe_rport, rdata); in fcoe_ctlr_rport() 2140 rdata->ids.port_id); in fcoe_ctlr_vn_rport_callback() 2498 if (!rdata) { in fcoe_ctlr_vn_add() 2508 ids = &rdata->ids; in fcoe_ctlr_vn_add() 2525 rdata->rp_state); in fcoe_ctlr_vn_add() 2550 if (rdata) { in fcoe_ctlr_vn_lookup() 2649 rdata = fc_rport_lookup(lport, new->rdata.ids.port_id); in fcoe_ctlr_vn_beacon() 2650 if (rdata) { in fcoe_ctlr_vn_beacon() 2651 if (rdata->ids.node_name == new->rdata.ids.node_name && in fcoe_ctlr_vn_beacon() 2652 rdata->ids.port_name == new->rdata.ids.port_name) { in fcoe_ctlr_vn_beacon() [all …]
|
/linux-6.3-rc2/fs/cifs/ |
A D | file.c | 3790 rdata = kzalloc(sizeof(*rdata), GFP_KERNEL); in cifs_readdata_alloc() 3791 if (rdata) { in cifs_readdata_alloc() 3798 return rdata; in cifs_readdata_alloc() 3818 kfree(rdata); in cifs_readdata_release() 4050 rdata, in collect_uncached_read_data() 4070 if (rdata->got_bytes && rdata->got_bytes < rdata->bytes) in collect_uncached_read_data() 4455 bool good = rdata->result == 0 || (rdata->result == -EAGAIN && rdata->got_bytes); in cifs_readahead_complete() 4461 rdata->offset, rdata->bytes); in cifs_readahead_complete() 4466 last = (rdata->offset + rdata->bytes - 1) / PAGE_SIZE; in cifs_readahead_complete() 4621 rdata->offset, rdata->bytes); in cifs_readahead() [all …]
|
/linux-6.3-rc2/drivers/hid/ |
A D | hid-multitouch.c | 619 rdata = devm_kzalloc(&td->hdev->dev, sizeof(*rdata), GFP_KERNEL); in mt_allocate_report_data() 620 if (!rdata) in mt_allocate_report_data() 649 return rdata; in mt_allocate_report_data() 659 rdata = tmp; in mt_find_report_data() 664 if (!rdata) in mt_find_report_data() 667 return rdata; in mt_find_report_data() 1351 if (!rdata) { in mt_input_mapping() 1423 if (rdata && rdata->is_mt_collection) { in mt_input_mapped() 1439 if (rdata && rdata->is_mt_collection) in mt_event() 1455 if (rdata && rdata->is_mt_collection) in mt_report() [all …]
|
/linux-6.3-rc2/include/trace/events/ |
A D | fsi_master_ast_cf.h | 48 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-6.3-rc2/drivers/tty/serial/ |
A D | ar933x_uart.c | 122 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 …]
|
/linux-6.3-rc2/drivers/scsi/qedf/ |
A D | qedf_els.c | 371 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 …]
|
A D | qedf_main.c | 735 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() 1020 rdata = fcport->rdata; in qedf_fcport_lookup() 1021 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 …]
|
/linux-6.3-rc2/drivers/soc/mediatek/ |
A D | mtk-pmic-wrap.c | 1357 *rdata = 0; in pwrap_read32() 1415 int ret, msb, rdata; in pwrap_write32() local 1501 u32 rdata; in pwrap_init_sidly() local 1511 &rdata); in pwrap_init_sidly() 1533 u32 rdata; in pwrap_init_dual_io() local 1631 u32 rdata; in pwrap_is_pmic_cipher_ready() local 1635 &rdata); in pwrap_is_pmic_cipher_ready() 1639 return rdata == 1; in pwrap_is_pmic_cipher_ready() 1646 u32 rdata = 0; in pwrap_init_cipher() local 1732 &rdata) || in pwrap_init_cipher() [all …]
|