Lines Matching defs:dev
81 static void dump_iic_regs(const char* header, struct ibm_iic_private* dev) in dump_iic_regs()
94 # define DUMP_REGS(h,dev) dump_iic_regs((h),(dev)) argument
96 # define DUMP_REGS(h,dev) ((void)0) argument
125 static inline void iic_interrupt_mode(struct ibm_iic_private* dev, int enable) in iic_interrupt_mode()
133 static void iic_dev_init(struct ibm_iic_private* dev) in iic_dev_init()
178 static void iic_dev_reset(struct ibm_iic_private* dev) in iic_dev_reset()
239 static int iic_smbus_quick(struct ibm_iic_private* dev, const struct i2c_msg* p) in iic_smbus_quick()
326 struct ibm_iic_private* dev = (struct ibm_iic_private*)dev_id; in iic_handler() local
343 static int iic_xfer_result(struct ibm_iic_private* dev) in iic_xfer_result()
376 static void iic_abort_xfer(struct ibm_iic_private* dev) in iic_abort_xfer()
408 static int iic_wait_for_tc(struct ibm_iic_private* dev){ in iic_wait_for_tc()
458 static int iic_xfer_bytes(struct ibm_iic_private* dev, struct i2c_msg* pm, in iic_xfer_bytes()
517 static inline void iic_address(struct ibm_iic_private* dev, struct i2c_msg* msg) in iic_address()
554 struct ibm_iic_private* dev = (struct ibm_iic_private*)(i2c_get_adapdata(adap)); in iic_xfer() local
659 struct ibm_iic_private *dev) in iic_request_irq()
692 struct ibm_iic_private *dev; in iic_probe() local
773 struct ibm_iic_private *dev = platform_get_drvdata(ofdev); in iic_remove() local