mif 43 drivers/i2c/busses/i2c-pnx.c struct i2c_pnx_mif mif; mif 122 drivers/i2c/busses/i2c-pnx.c struct timer_list *timer = &alg_data->mif.timer; mif 149 drivers/i2c/busses/i2c-pnx.c slave_addr, alg_data->mif.mode); mif 184 drivers/i2c/busses/i2c-pnx.c (slave_addr << 1) | start_bit | alg_data->mif.mode); mif 187 drivers/i2c/busses/i2c-pnx.c iowrite32((slave_addr << 1) | start_bit | alg_data->mif.mode, mif 237 drivers/i2c/busses/i2c-pnx.c if (alg_data->mif.len > 0) { mif 239 drivers/i2c/busses/i2c-pnx.c val = *alg_data->mif.buf++; mif 241 drivers/i2c/busses/i2c-pnx.c if (alg_data->mif.len == 1) mif 244 drivers/i2c/busses/i2c-pnx.c alg_data->mif.len--; mif 248 drivers/i2c/busses/i2c-pnx.c __func__, val, alg_data->mif.len + 1); mif 250 drivers/i2c/busses/i2c-pnx.c if (alg_data->mif.len == 0) { mif 262 drivers/i2c/busses/i2c-pnx.c del_timer_sync(&alg_data->mif.timer); mif 268 drivers/i2c/busses/i2c-pnx.c complete(&alg_data->mif.complete); mif 270 drivers/i2c/busses/i2c-pnx.c } else if (alg_data->mif.len == 0) { mif 280 drivers/i2c/busses/i2c-pnx.c del_timer_sync(&alg_data->mif.timer); mif 285 drivers/i2c/busses/i2c-pnx.c complete(&alg_data->mif.complete); mif 316 drivers/i2c/busses/i2c-pnx.c if (alg_data->mif.order) { mif 321 drivers/i2c/busses/i2c-pnx.c if (alg_data->mif.order == 1) { mif 341 drivers/i2c/busses/i2c-pnx.c alg_data->mif.order--; mif 347 drivers/i2c/busses/i2c-pnx.c if (alg_data->mif.len > 0) { mif 349 drivers/i2c/busses/i2c-pnx.c *alg_data->mif.buf++ = (u8) (val & 0xff); mif 351 drivers/i2c/busses/i2c-pnx.c __func__, val, alg_data->mif.len); mif 353 drivers/i2c/busses/i2c-pnx.c alg_data->mif.len--; mif 354 drivers/i2c/busses/i2c-pnx.c if (alg_data->mif.len == 0) { mif 368 drivers/i2c/busses/i2c-pnx.c del_timer_sync(&alg_data->mif.timer); mif 369 drivers/i2c/busses/i2c-pnx.c complete(&alg_data->mif.complete); mif 389 drivers/i2c/busses/i2c-pnx.c alg_data->mif.mode); mif 395 drivers/i2c/busses/i2c-pnx.c alg_data->mif.ret = -EIO; mif 404 drivers/i2c/busses/i2c-pnx.c del_timer_sync(&alg_data->mif.timer); mif 405 drivers/i2c/busses/i2c-pnx.c complete(&alg_data->mif.complete); mif 420 drivers/i2c/busses/i2c-pnx.c alg_data->mif.ret = -EIO; mif 423 drivers/i2c/busses/i2c-pnx.c del_timer_sync(&alg_data->mif.timer); mif 424 drivers/i2c/busses/i2c-pnx.c complete(&alg_data->mif.complete); mif 436 drivers/i2c/busses/i2c-pnx.c if (alg_data->mif.mode == I2C_SMBUS_WRITE) { mif 438 drivers/i2c/busses/i2c-pnx.c } else if (alg_data->mif.mode == I2C_SMBUS_READ) { mif 458 drivers/i2c/busses/i2c-pnx.c struct i2c_pnx_algo_data *alg_data = from_timer(alg_data, t, mif.timer); mif 474 drivers/i2c/busses/i2c-pnx.c alg_data->mif.ret = -EIO; mif 475 drivers/i2c/busses/i2c-pnx.c complete(&alg_data->mif.complete); mif 540 drivers/i2c/busses/i2c-pnx.c alg_data->mif.buf = pmsg->buf; mif 541 drivers/i2c/busses/i2c-pnx.c alg_data->mif.len = pmsg->len; mif 542 drivers/i2c/busses/i2c-pnx.c alg_data->mif.order = pmsg->len; mif 543 drivers/i2c/busses/i2c-pnx.c alg_data->mif.mode = (pmsg->flags & I2C_M_RD) ? mif 545 drivers/i2c/busses/i2c-pnx.c alg_data->mif.ret = 0; mif 549 drivers/i2c/busses/i2c-pnx.c __func__, alg_data->mif.mode, alg_data->mif.len); mif 554 drivers/i2c/busses/i2c-pnx.c init_completion(&alg_data->mif.complete); mif 567 drivers/i2c/busses/i2c-pnx.c wait_for_completion(&alg_data->mif.complete); mif 569 drivers/i2c/busses/i2c-pnx.c if (!(rc = alg_data->mif.ret)) mif 593 drivers/i2c/busses/i2c-pnx.c alg_data->mif.buf = NULL; mif 594 drivers/i2c/busses/i2c-pnx.c alg_data->mif.len = 0; mif 595 drivers/i2c/busses/i2c-pnx.c alg_data->mif.order = 0; mif 680 drivers/i2c/busses/i2c-pnx.c timer_setup(&alg_data->mif.timer, i2c_pnx_timeout, 0); mif 719 drivers/i2c/busses/i2c-pnx.c init_completion(&alg_data->mif.complete);