/linux-6.6.21/drivers/net/dsa/mv88e6xxx/ ! |
D | global1_vtu.c | 24 int err; in mv88e6xxx_g1_vtu_fid_read() local 26 err = mv88e6xxx_g1_read(chip, MV88E6352_G1_VTU_FID, &val); in mv88e6xxx_g1_vtu_fid_read() 27 if (err) in mv88e6xxx_g1_vtu_fid_read() 28 return err; in mv88e6xxx_g1_vtu_fid_read() 51 int err; in mv88e6xxx_g1_vtu_sid_read() local 53 err = mv88e6xxx_g1_read(chip, MV88E6352_G1_VTU_SID, &val); in mv88e6xxx_g1_vtu_sid_read() 54 if (err) in mv88e6xxx_g1_vtu_sid_read() 55 return err; in mv88e6xxx_g1_vtu_sid_read() 80 int err; in mv88e6xxx_g1_vtu_op() local 82 err = mv88e6xxx_g1_write(chip, MV88E6XXX_G1_VTU_OP, in mv88e6xxx_g1_vtu_op() [all …]
|
D | global1.c | 85 int err; in mv88e6xxx_g1_set_switch_mac() local 88 err = mv88e6xxx_g1_write(chip, MV88E6XXX_G1_MAC_01, reg); in mv88e6xxx_g1_set_switch_mac() 89 if (err) in mv88e6xxx_g1_set_switch_mac() 90 return err; in mv88e6xxx_g1_set_switch_mac() 93 err = mv88e6xxx_g1_write(chip, MV88E6XXX_G1_MAC_23, reg); in mv88e6xxx_g1_set_switch_mac() 94 if (err) in mv88e6xxx_g1_set_switch_mac() 95 return err; in mv88e6xxx_g1_set_switch_mac() 98 err = mv88e6xxx_g1_write(chip, MV88E6XXX_G1_MAC_45, reg); in mv88e6xxx_g1_set_switch_mac() 99 if (err) in mv88e6xxx_g1_set_switch_mac() 100 return err; in mv88e6xxx_g1_set_switch_mac() [all …]
|
D | global1_atu.c | 30 int err; in mv88e6xxx_g1_atu_set_learn2all() local 32 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_CTL, &val); in mv88e6xxx_g1_atu_set_learn2all() 33 if (err) in mv88e6xxx_g1_atu_set_learn2all() 34 return err; in mv88e6xxx_g1_atu_set_learn2all() 52 int err; in mv88e6xxx_g1_atu_set_age_time() local 60 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_CTL, &val); in mv88e6xxx_g1_atu_set_age_time() 61 if (err) in mv88e6xxx_g1_atu_set_age_time() 62 return err; in mv88e6xxx_g1_atu_set_age_time() 68 err = mv88e6xxx_g1_write(chip, MV88E6XXX_G1_ATU_CTL, val); in mv88e6xxx_g1_atu_set_age_time() 69 if (err) in mv88e6xxx_g1_atu_set_age_time() [all …]
|
D | port.c | 54 int err; in mv88e6185_port_set_pause() local 56 err = mv88e6xxx_port_read(chip, port, MV88E6XXX_PORT_STS, ®); in mv88e6185_port_set_pause() 57 if (err) in mv88e6185_port_set_pause() 58 return err; in mv88e6185_port_set_pause() 81 int err; in mv88e6xxx_port_set_rgmii_delay() local 83 err = mv88e6xxx_port_read(chip, port, MV88E6XXX_PORT_MAC_CTL, ®); in mv88e6xxx_port_set_rgmii_delay() 84 if (err) in mv88e6xxx_port_set_rgmii_delay() 85 return err; in mv88e6xxx_port_set_rgmii_delay() 107 err = mv88e6xxx_port_write(chip, port, MV88E6XXX_PORT_MAC_CTL, reg); in mv88e6xxx_port_set_rgmii_delay() 108 if (err) in mv88e6xxx_port_set_rgmii_delay() [all …]
|
/linux-6.6.21/drivers/gpu/drm/bridge/analogix/ ! |
D | analogix-anx78xx.c | 117 int err; in anx78xx_set_hpd() local 119 err = anx78xx_clear_bits(anx78xx->map[I2C_IDX_RX_P0], in anx78xx_set_hpd() 121 if (err) in anx78xx_set_hpd() 122 return err; in anx78xx_set_hpd() 124 err = anx78xx_set_bits(anx78xx->map[I2C_IDX_TX_P2], SP_VID_CTRL3_REG, in anx78xx_set_hpd() 126 if (err) in anx78xx_set_hpd() 127 return err; in anx78xx_set_hpd() 134 int err; in anx78xx_clear_hpd() local 136 err = anx78xx_clear_bits(anx78xx->map[I2C_IDX_TX_P2], SP_VID_CTRL3_REG, in anx78xx_clear_hpd() 138 if (err) in anx78xx_clear_hpd() [all …]
|
D | analogix-anx6345.c | 100 int err; in anx6345_dp_link_training() local 102 err = anx6345_clear_bits(anx6345->map[I2C_IDX_TXCOM], in anx6345_dp_link_training() 105 if (err) in anx6345_dp_link_training() 106 return err; in anx6345_dp_link_training() 108 err = drm_dp_dpcd_readb(&anx6345->aux, DP_MAX_LINK_RATE, &dp_bw); in anx6345_dp_link_training() 109 if (err < 0) in anx6345_dp_link_training() 110 return err; in anx6345_dp_link_training() 122 err = anx6345_set_bits(anx6345->map[I2C_IDX_TXCOM], SP_VID_CTRL1_REG, in anx6345_dp_link_training() 124 if (err) in anx6345_dp_link_training() 125 return err; in anx6345_dp_link_training() [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ ! |
D | reporter_rx.c | 29 int err; in mlx5e_query_rq_state() local 35 err = mlx5_core_query_rq(dev, rqn, out); in mlx5e_query_rq_state() 36 if (err) in mlx5e_query_rq_state() 44 return err; in mlx5e_query_rq_state() 84 int err; in mlx5e_rx_reporter_err_icosq_cqe_recover() local 96 err = mlx5_core_query_sq_state(mdev, icosq->sqn, &state); in mlx5e_rx_reporter_err_icosq_cqe_recover() 97 if (err) { in mlx5e_rx_reporter_err_icosq_cqe_recover() 99 icosq->sqn, err); in mlx5e_rx_reporter_err_icosq_cqe_recover() 110 err = mlx5e_wait_for_icosq_flush(icosq); in mlx5e_rx_reporter_err_icosq_cqe_recover() 111 if (err) in mlx5e_rx_reporter_err_icosq_cqe_recover() [all …]
|
D | health.c | 10 int err; in mlx5e_health_fmsg_named_obj_nest_start() local 12 err = devlink_fmsg_pair_nest_start(fmsg, name); in mlx5e_health_fmsg_named_obj_nest_start() 13 if (err) in mlx5e_health_fmsg_named_obj_nest_start() 14 return err; in mlx5e_health_fmsg_named_obj_nest_start() 16 err = devlink_fmsg_obj_nest_start(fmsg); in mlx5e_health_fmsg_named_obj_nest_start() 17 if (err) in mlx5e_health_fmsg_named_obj_nest_start() 18 return err; in mlx5e_health_fmsg_named_obj_nest_start() 25 int err; in mlx5e_health_fmsg_named_obj_nest_end() local 27 err = devlink_fmsg_obj_nest_end(fmsg); in mlx5e_health_fmsg_named_obj_nest_end() 28 if (err) in mlx5e_health_fmsg_named_obj_nest_end() [all …]
|
D | reporter_tx.c | 55 int err; in mlx5e_health_sq_put_sw_state() local 60 err = mlx5e_health_fmsg_named_obj_nest_start(fmsg, "SW State"); in mlx5e_health_sq_put_sw_state() 61 if (err) in mlx5e_health_sq_put_sw_state() 62 return err; in mlx5e_health_sq_put_sw_state() 65 err = devlink_fmsg_u32_pair_put(fmsg, sq_sw_state_type_name[i], in mlx5e_health_sq_put_sw_state() 67 if (err) in mlx5e_health_sq_put_sw_state() 68 return err; in mlx5e_health_sq_put_sw_state() 80 int err; in mlx5e_tx_reporter_err_cqe_recover() local 89 err = mlx5_core_query_sq_state(mdev, sq->sqn, &state); in mlx5e_tx_reporter_err_cqe_recover() 90 if (err) { in mlx5e_tx_reporter_err_cqe_recover() [all …]
|
/linux-6.6.21/net/sunrpc/auth_gss/ ! |
D | gss_rpc_xdr.c | 98 int err; in gssx_enc_option() local 100 err = gssx_enc_buffer(xdr, &opt->option); in gssx_enc_option() 101 if (err) in gssx_enc_option() 102 return err; in gssx_enc_option() 103 err = gssx_enc_buffer(xdr, &opt->value); in gssx_enc_option() 104 return err; in gssx_enc_option() 110 int err; in gssx_dec_option() local 112 err = gssx_dec_buffer(xdr, &opt->option); in gssx_dec_option() 113 if (err) in gssx_dec_option() 114 return err; in gssx_dec_option() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ ! |
D | pinning.c | 13 int err; in get_map_id() local 21 err = bpf_map_get_info_by_fd(bpf_map__fd(map), in get_map_id() 23 CHECK(err, "get map info", "err %d errno %d", err, errno); in get_map_id() 40 int err, map_fd; in test_pinning() local 47 err = libbpf_get_error(obj); in test_pinning() 48 if (CHECK(err != -EINVAL, "invalid open", "err %d errno %d\n", err, errno)) { in test_pinning() 55 err = libbpf_get_error(obj); in test_pinning() 56 if (CHECK(err, "default open", "err %d errno %d\n", err, errno)) { in test_pinning() 61 err = bpf_object__load(obj); in test_pinning() 62 if (CHECK(err, "default load", "err %d errno %d\n", err, errno)) in test_pinning() [all …]
|
D | test_bpffs.c | 36 int err, map; in fn() local 38 err = unshare(CLONE_NEWNS); in fn() 39 if (!ASSERT_OK(err, "unshare")) in fn() 42 err = mount("", "/", "", MS_REC | MS_PRIVATE, NULL); in fn() 43 if (!ASSERT_OK(err, "mount /")) in fn() 46 err = umount(TDIR); in fn() 47 if (!ASSERT_OK(err, "umount " TDIR)) in fn() 50 err = mount("none", TDIR, "tmpfs", 0, NULL); in fn() 51 if (!ASSERT_OK(err, "mount tmpfs")) in fn() 54 err = mkdir(TDIR "/fs1", 0777); in fn() [all …]
|
D | linked_list.c | 267 int id, err; in list_and_rb_node_same_struct() local 286 err = btf__add_field(btf, "a", LIST_NODE, 0, 0); in list_and_rb_node_same_struct() 287 if (!ASSERT_OK(err, "btf__add_field bar::a")) in list_and_rb_node_same_struct() 289 err = btf__add_field(btf, "c", bpf_rb_node_btf_id, 192, 0); in list_and_rb_node_same_struct() 290 if (!ASSERT_OK(err, "btf__add_field bar::c")) in list_and_rb_node_same_struct() 293 err = btf__add_field(btf, "ref", bpf_refcount_btf_id, 448, 0); in list_and_rb_node_same_struct() 294 if (!ASSERT_OK(err, "btf__add_field bar::ref")) in list_and_rb_node_same_struct() 301 err = btf__add_field(btf, "a", LIST_HEAD, 0, 0); in list_and_rb_node_same_struct() 302 if (!ASSERT_OK(err, "btf__add_field foo::a")) in list_and_rb_node_same_struct() 304 err = btf__add_field(btf, "b", SPIN_LOCK, 128, 0); in list_and_rb_node_same_struct() [all …]
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ ! |
D | ice_ptp_hw.c | 302 int err; in ice_read_phy_reg_e822() local 307 err = ice_sbq_rw_reg(hw, &msg); in ice_read_phy_reg_e822() 308 if (err) { in ice_read_phy_reg_e822() 310 err); in ice_read_phy_reg_e822() 311 return err; in ice_read_phy_reg_e822() 336 int err; in ice_read_64b_phy_reg_e822() local 347 err = ice_read_phy_reg_e822(hw, port, low_addr, &low); in ice_read_64b_phy_reg_e822() 348 if (err) { in ice_read_64b_phy_reg_e822() 350 low_addr, err); in ice_read_64b_phy_reg_e822() 351 return err; in ice_read_64b_phy_reg_e822() [all …]
|
/linux-6.6.21/sound/firewire/bebob/ ! |
D | bebob_command.c | 14 int err; in avc_audio_set_selector() local 30 err = fcp_avc_transaction(unit, buf, 12, buf, 12, in avc_audio_set_selector() 33 if (err < 0) in avc_audio_set_selector() 35 else if (err < 9) in avc_audio_set_selector() 36 err = -EIO; in avc_audio_set_selector() 38 err = -ENOSYS; in avc_audio_set_selector() 40 err = -EINVAL; in avc_audio_set_selector() 42 err = 0; in avc_audio_set_selector() 45 return err; in avc_audio_set_selector() 52 int err; in avc_audio_get_selector() local [all …]
|
D | bebob_stream.c | 66 int err; in snd_bebob_stream_get_rate() local 70 err = avc_general_get_sig_fmt(bebob->unit, &tx_rate, in snd_bebob_stream_get_rate() 72 } while (err == -EAGAIN && ++trials < 3); in snd_bebob_stream_get_rate() 73 if (err < 0) in snd_bebob_stream_get_rate() 78 err = avc_general_get_sig_fmt(bebob->unit, &rx_rate, in snd_bebob_stream_get_rate() 80 } while (err == -EAGAIN && ++trials < 3); in snd_bebob_stream_get_rate() 81 if (err < 0) in snd_bebob_stream_get_rate() 89 err = avc_general_set_sig_fmt(bebob->unit, rx_rate, in snd_bebob_stream_get_rate() 92 return err; in snd_bebob_stream_get_rate() 98 int err; in snd_bebob_stream_set_rate() local [all …]
|
/linux-6.6.21/drivers/net/netdevsim/ ! |
D | health.c | 66 int err; in nsim_dev_dummy_fmsg_put() local 69 err = devlink_fmsg_bool_pair_put(fmsg, "test_bool", true); in nsim_dev_dummy_fmsg_put() 70 if (err) in nsim_dev_dummy_fmsg_put() 71 return err; in nsim_dev_dummy_fmsg_put() 72 err = devlink_fmsg_u8_pair_put(fmsg, "test_u8", 1); in nsim_dev_dummy_fmsg_put() 73 if (err) in nsim_dev_dummy_fmsg_put() 74 return err; in nsim_dev_dummy_fmsg_put() 75 err = devlink_fmsg_u32_pair_put(fmsg, "test_u32", 3); in nsim_dev_dummy_fmsg_put() 76 if (err) in nsim_dev_dummy_fmsg_put() 77 return err; in nsim_dev_dummy_fmsg_put() [all …]
|
/linux-6.6.21/drivers/media/radio/ ! |
D | saa7706h.c | 129 int err = i2c_master_send(client, data, len); in saa7706h_i2c_send() local 130 if (err == len) in saa7706h_i2c_send() 132 return err > 0 ? -EIO : err; in saa7706h_i2c_send() 138 int err = i2c_transfer(client->adapter, msgs, num); in saa7706h_i2c_transfer() local 139 if (err == num) in saa7706h_i2c_transfer() 141 return err > 0 ? -EIO : err; in saa7706h_i2c_transfer() 160 int *err) in saa7706h_set_reg24_err() argument 162 return *err ? *err : saa7706h_set_reg24(sd, reg, val); in saa7706h_set_reg24_err() 180 int *err) in saa7706h_set_reg16_err() argument 182 return *err ? *err : saa7706h_set_reg16(sd, reg, val); in saa7706h_set_reg16_err() [all …]
|
/linux-6.6.21/drivers/dma-buf/ ! |
D | st-dma-fence-chain.c | 80 int err = 0; in sanitycheck() local 88 err = -ENOMEM; in sanitycheck() 97 return err; in sanitycheck() 117 int err = 0; in fence_chains_init() local 127 err = -ENOMEM; in fence_chains_init() 135 err = -ENOMEM; in fence_chains_init() 143 err = -ENOMEM; in fence_chains_init() 163 return err; in fence_chains_init() 185 int err; in find_seqno() local 188 err = fence_chains_init(&fc, 64, seqno_inc); in find_seqno() [all …]
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/ ! |
D | ael1002.c | 86 int err; in set_phy_regs() local 88 for (err = 0; rv->mmd_addr && !err; rv++) { in set_phy_regs() 90 err = t3_mdio_write(phy, rv->mmd_addr, rv->reg_addr, in set_phy_regs() 93 err = t3_mdio_change_bits(phy, rv->mmd_addr, in set_phy_regs() 97 return err; in set_phy_regs() 115 int i, err; in ael_i2c_rd() local 118 err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, AEL_I2C_CTRL, in ael_i2c_rd() 120 if (err) in ael_i2c_rd() 121 return err; in ael_i2c_rd() 125 err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL_I2C_STAT, &stat); in ael_i2c_rd() [all …]
|
/linux-6.6.21/drivers/mtd/tests/ ! |
D | pagetest.c | 53 int err = 0, i; in verify_eraseblock() local 68 err = mtdtest_read(mtd, addr0, bufsize, twopages); in verify_eraseblock() 69 if (err) in verify_eraseblock() 70 return err; in verify_eraseblock() 71 err = mtdtest_read(mtd, addrn - bufsize, bufsize, twopages); in verify_eraseblock() 72 if (err) in verify_eraseblock() 73 return err; in verify_eraseblock() 75 err = mtdtest_read(mtd, addr, bufsize, twopages); in verify_eraseblock() 76 if (err) in verify_eraseblock() 89 err = mtdtest_read(mtd, addr0, bufsize, twopages); in verify_eraseblock() [all …]
|
/linux-6.6.21/sound/firewire/oxfw/ ! |
D | oxfw-stream.c | 43 int err; in set_rate() local 45 err = avc_general_set_sig_fmt(oxfw->unit, rate, in set_rate() 47 if (err < 0) in set_rate() 51 err = avc_general_set_sig_fmt(oxfw->unit, rate, in set_rate() 54 return err; in set_rate() 64 int i, err; in set_stream_format() local 76 err = snd_oxfw_stream_parse_format(formats[i], &formation); in set_stream_format() 77 if (err < 0) in set_stream_format() 78 return err; in set_stream_format() 93 err = avc_stream_set_format(oxfw->unit, dir, 0, formats[i], len); in set_stream_format() [all …]
|
/linux-6.6.21/drivers/mfd/ ! |
D | twl4030-power.c | 189 int err; in twl4030_write_script_byte() local 191 err = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, address, R_MEMORY_ADDRESS); in twl4030_write_script_byte() 192 if (err) in twl4030_write_script_byte() 194 err = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, byte, R_MEMORY_DATA); in twl4030_write_script_byte() 196 return err; in twl4030_write_script_byte() 202 int err; in twl4030_write_script_ins() local 205 err = twl4030_write_script_byte(address++, pmb_message >> 8); in twl4030_write_script_ins() 206 if (err) in twl4030_write_script_ins() 208 err = twl4030_write_script_byte(address++, pmb_message & 0xff); in twl4030_write_script_ins() 209 if (err) in twl4030_write_script_ins() [all …]
|
/linux-6.6.21/drivers/media/usb/gspca/m5602/ ! |
D | m5602_po1030.c | 158 int err; in po1030_probe() local 177 err = m5602_write_sensor(sd, preinit_po1030[i][1], in po1030_probe() 180 err = m5602_write_bridge(sd, preinit_po1030[i][1], in po1030_probe() 182 if (err < 0) in po1030_probe() 183 return err; in po1030_probe() 204 int i, err = 0; in po1030_init() local 207 for (i = 0; i < ARRAY_SIZE(init_po1030) && !err; i++) { in po1030_init() 212 err = m5602_write_bridge(sd, in po1030_init() 219 err = m5602_write_sensor(sd, in po1030_init() 228 if (err < 0) in po1030_init() [all …]
|
/linux-6.6.21/drivers/gpu/drm/bridge/ ! |
D | parade-ps8622.c | 87 int err = 0; in ps8622_send_config() local 90 err = ps8622_set(cl, 0x02, 0xa1, 0x01); in ps8622_send_config() 91 if (err) in ps8622_send_config() 95 err = ps8622_set(cl, 0x04, 0x14, 0x01); in ps8622_send_config() 96 if (err) in ps8622_send_config() 100 err = ps8622_set(cl, 0x04, 0xe3, 0x20); in ps8622_send_config() 101 if (err) in ps8622_send_config() 105 err = ps8622_set(cl, 0x04, 0xe2, 0x80); in ps8622_send_config() 106 if (err) in ps8622_send_config() 113 err = ps8622_set(cl, 0x04, 0x8a, 0x0c); in ps8622_send_config() [all …]
|