Searched refs:hp_sdc (Results 1 – 2 of 2) sorted by relevance
112 static hp_i8042_sdc hp_sdc; /* All driver state is kept in here. */ variable120 write_lock_irqsave(&hp_sdc.ibf_lock, flags); in hp_sdc_status_in8()121 status = sdc_readb(hp_sdc.status_io); in hp_sdc_status_in8()123 hp_sdc.ibf = 0; in hp_sdc_status_in8()124 write_unlock_irqrestore(&hp_sdc.ibf_lock, flags); in hp_sdc_status_in8()131 return sdc_readb(hp_sdc.data_io); in hp_sdc_data_in8()138 write_lock_irqsave(&hp_sdc.ibf_lock, flags); in hp_sdc_status_out8()139 hp_sdc.ibf = 1; in hp_sdc_status_out8()141 hp_sdc.wi = 0xff; in hp_sdc_status_out8()142 sdc_writeb(val, hp_sdc.status_io); in hp_sdc_status_out8()[all …]
18 obj-$(CONFIG_HP_SDC) += hp_sdc.o