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